You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.7 KiB

3 years ago
3 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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] | Initiate upload on input file. This must be added as an argument.
  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. **credentials:**
  38. Config | Description | Example
  39. ------------- | ------------- | -------------
  40. Username | SugoiMusic Username | Username
  41. Password | SugoiMusic Password | Password
  42. Passkey | SugoiMusic Passkey | Passkey
  43. **local_prefs**
  44. Config | Description | Example
  45. ------------- | ------------- | -------------
  46. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  47. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`