Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

README.md 3.8 KiB

há 3 anos
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Rewriting for use for uploading video torrents to sugoimusic
  2. ## Overview
  3. **SM-AU-TV** is a tool for automating the uploading process on sugoimusic.me.
  4. **Installation:**
  5. - Install requirements
  6. ```
  7. pip install -r requirements.txt
  8. ```
  9. ## Command Usage
  10. ```
  11. python upload.py {command_name}
  12. ```
  13. Use the copycommand.txt file to easily copy and paste your command.
  14. Command | Description
  15. ------------- | -------------
  16. -h, --help | show help message and exit
  17. -i [INPUT], --input [INPUT] | Initiate upload on input file. This must be added as an argument.
  18. -d, --debug | Enable debug mode.
  19. -dry, --dryrun | Dryrun will carry out all actions other than the actual upload to SM.
  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. -des [DESCRIPTION], --description [DESCRIPTION] | Add a torrent description. This must be added as an argument.
  26. -t [TAGS], --tags [TAGS] | Add additional tags to the upload. At least 2 tags are required
  27. -im [IMAGEURL], --imageURL [IMAGEURL] | Set the torrent cover URL.
  28. -ms [MEDIASOURCE], --mediasource [MEDIASOURCE] | Set the media source.
  29. -rt [RELEASETYPE], --releasetype [RELEASETYPE] | Set the release type.
  30. -s [SUB], --sub [SUB] | Set the subtitle type.
  31. -l [LANGUAGE], --language [LANGUAGE] | Set the language
  32. -y [YEAR], --year [YEAR] | Set the torrent year (YYYYMMDD or YYYY).
  33. -eti [EDITIONTITLE], --editiontitle [EDITIONTITLE] | Set the edition title.
  34. -ey [EDITIONYEAR], --year [EDITIONYEAR] | Set the edition year (YYYYMMDD or YYYY).
  35. -ss [SCREENSHOTURLS], --screenshots [SCREENSHOTURLS] | Set the screenshot URLs. Split multiple with ","
  36. -f, --freeleech | Enables freeleech.
  37. ## Config.json
  38. - It's not recommended to use both local watch/download folders and ftp watch/download folders at the same time as it will result in seeding from 2 locations.
  39. **credentials:**
  40. Config | Description | Example
  41. ------------- | ------------- | -------------
  42. Username | SugoiMusic Username | Slyy
  43. Password | SugoiMusic Password | Password
  44. Passkey | SugoiMusic Passkey | Passkey
  45. **local_prefs**
  46. Config | Description | Example
  47. ------------- | ------------- | -------------
  48. log_directory | directory containing BugsPy log files | `Z:/Bugs/Logs`
  49. generate_tracklist | enable tracklist generation | `true/false`
  50. save_tracklist | write tracklist to .log and save in log folder | `true/false`
  51. enable_release_description | post comments tag to release description | `true/false`
  52. cover_name | name of cover with extension | `cover.jpg`
  53. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  54. add_to_downloads_folder | moves torrent data to local downloads folder | `true/false`
  55. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`
  56. local_downloads_folder | directory of local downloads folder | `Z:/downloads`
  57. **ftp_prefs:**
  58. Config | Description | Example
  59. ------------- | ------------- | -------------
  60. enable_ftp | enable ftp mode, if enabled suggested to disable local watch and downloads folders | `true/false`
  61. add_to_watch_folder | transfer .torrent file to watch folder on FTP server | `true/false`
  62. add_to_downloads_folder | transfer torrent data to downloads folder on FTP server | `true/false`
  63. ftp_server | url of ftp server | bestboxever.seedhost.eu
  64. ftp_username | username of ftp account | slyy
  65. ftp_password | password of ftp account | password
  66. ftp_watch_folder | directory of ftp watch folder | `/downloads/watch/transmission`
  67. ftp_downloads_folder | directory of ftp downloads folder | `/downloads`