您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ## Overview
  2. **SM-AU-TV** is a tool for automating the uploading process of videos on sugoimusic.me. This tool automatically generates the MediaInfo for the upload. Other information must be manually filled in as arguments.
  3. **Installation:**
  4. - Install requirements
  5. ```
  6. pip install -r requirements.txt
  7. ```
  8. ## Command Usage
  9. ```
  10. python upload.py {command_name}
  11. ```
  12. Use the copycommand.txt file to easily copy and paste your command.
  13. Command | Description
  14. ------------- | -------------
  15. -h, --help | show help message and exit
  16. -i [INPUT], --input [INPUT] | Full path of the file to be uploaded.
  17. -d, --debug | Enable debug mode.
  18. -dry, --dryrun | Dryrun will carry out all actions other than the actual upload to SM.
  19. -rt [RELEASETYPE], --releasetype [RELEASETYPE] | Set the release type.
  20. -a [ARTISTS], --artists [ARTISTS] | Set the artists. (Romaji\English). Split multiple with ","
  21. -oa [ORIGINALARTIST], --originalartist [ORIGINALARTIST] | Set the artist. (Original Language)
  22. -ca [CONTRIBUTINGARTISTS], --contributingartists [CONTRIBUTINGARTISTS] | Set the contributing artists. (Romaji\English). Split multiple with ","
  23. -ti [TITLE], --title [TITLE] | Set the title. (Romaji\English)
  24. -oti [ORIGINALTITLE], --originaltitle [ORIGINALTITLE] | Set the title. (Original Language)
  25. -t [TAGS], --tags [TAGS] | Add additional tags to the upload. At least 2 tags are required
  26. -y [YEAR], --year [YEAR] | Set the torrent year (YYYYMMDD or YYYY).
  27. -eti [EDITIONTITLE], --editiontitle [EDITIONTITLE] | Set the edition title.
  28. -ms [MEDIASOURCE], --mediasource [MEDIASOURCE] | Set the media source.
  29. -s [SUB], --sub [SUB] | Set the subtitle type.
  30. -l [LANGUAGE], --language [LANGUAGE] | Set the language
  31. -ey [EDITIONYEAR], --year [EDITIONYEAR] | Set the edition year (YYYYMMDD or YYYY).
  32. -im [IMAGEURL], --imageURL [IMAGEURL] | Set the torrent cover URL.
  33. -ss [SCREENSHOTURLS], --screenshots [SCREENSHOTURLS] | Set the screenshot URLs. Split multiple with ","
  34. -tdes [TORRENTDESCRIPTION], --description [TORRENTDESCRIPTION] | Add a torrent description. Only available as an argument.
  35. -tgdes [TORRENTGROUPDESCRIPTION], --description [TORRENTGROUPDESCRIPTION] | Add a torrent group description. This must be added as an argument.
  36. ## Config.json
  37. Copy Config.json.example and rename it to Config.json then change the fields accordingly.
  38. **credentials:**
  39. Config | Description | Example
  40. ------------- | ------------- | -------------
  41. Username | SugoiMusic Username | Username
  42. Password | SugoiMusic Password | Password
  43. Passkey | SugoiMusic Passkey | Passkey
  44. **local_prefs**
  45. Config | Description | Example
  46. ------------- | ------------- | -------------
  47. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  48. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`