Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 3.6 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. -f, --freeleech | Enables freeleech.
  34. ## Config.json
  35. - 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.
  36. **credentials:**
  37. Config | Description | Example
  38. ------------- | ------------- | -------------
  39. Username | SugoiMusic Username | Slyy
  40. Password | SugoiMusic Password | Password
  41. Passkey | SugoiMusic Passkey | Passkey
  42. **local_prefs**
  43. Config | Description | Example
  44. ------------- | ------------- | -------------
  45. log_directory | directory containing BugsPy log files | `Z:/Bugs/Logs`
  46. generate_tracklist | enable tracklist generation | `true/false`
  47. save_tracklist | write tracklist to .log and save in log folder | `true/false`
  48. enable_release_description | post comments tag to release description | `true/false`
  49. cover_name | name of cover with extension | `cover.jpg`
  50. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  51. add_to_downloads_folder | moves torrent data to local downloads folder | `true/false`
  52. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`
  53. local_downloads_folder | directory of local downloads folder | `Z:/downloads`
  54. **ftp_prefs:**
  55. Config | Description | Example
  56. ------------- | ------------- | -------------
  57. enable_ftp | enable ftp mode, if enabled suggested to disable local watch and downloads folders | `true/false`
  58. add_to_watch_folder | transfer .torrent file to watch folder on FTP server | `true/false`
  59. add_to_downloads_folder | transfer torrent data to downloads folder on FTP server | `true/false`
  60. ftp_server | url of ftp server | bestboxever.seedhost.eu
  61. ftp_username | username of ftp account | slyy
  62. ftp_password | password of ftp account | password
  63. ftp_watch_folder | directory of ftp watch folder | `/downloads/watch/transmission`
  64. ftp_downloads_folder | directory of ftp downloads folder | `/downloads`