Based off JPS-AU
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 3.4 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ## Overview
  2. **SM-AU** is a tool for automating the uploading process on SugoiMusic.eu. It requires python 3.8.
  3. Warning: if your files aren’t tagged nicely it can mess up the generation of the tracklist for the torrent group description.
  4. Use the copycommand.txt file to easily build the commands for each upload.
  5. **Features:**
  6. - SM Client.
  7. - FTP Support
  8. - FLAC/MP3 Support.
  9. - Detection of 24bit FLAC
  10. **Installation:**
  11. - Install requirements
  12. ```
  13. pip install -r requirements.txt
  14. ```
  15. ## Command Usage
  16. ```
  17. python autoupload.py {command_name} {ID/URL}
  18. ```
  19. Command | Description | Example
  20. ------------- | ------------- | -------------
  21. -d, --debug | Provides additional information on upload for debugging purposes | `python autoupload.py -d`
  22. -t, --tags | Add additional tags to upload, separated with comma. Minimum 2 tags required. | `python autoupload.py -t "korean, female.vocalist" -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  23. -dir, --directory | Appoint directory used for torrent creation | `python autoupload.py -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  24. -dry, --dryrun | Carries out all actions other than the upload itself.| `python autoupload.py -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]" -dry`
  25. -im, --imageURL | Set the torrent cover URL | `python autoupload.py -f -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3] -i "https://someimageurl.com/someimage.jpg""`
  26. -tdes [TORRENTDESCRIPTION], --description [TORRENTDESCRIPTION] | Add a torrent description. Only available as an argument.
  27. ## Config.json
  28. - Make a copy of the Config.json.example and rename it Config.json. Edit the Config.json as desired.
  29. - 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.
  30. - Please make sure your password does not contain any special characters.
  31. - For the directory paths in the config please use the forward slash "/"
  32. **credentials:**
  33. Config | Description | Example
  34. ------------- | ------------- | -------------
  35. Username | SugoiMusic Username | User234
  36. Password | SugoiMusic Password | Password
  37. Passkey | SugoiMusic Passkey | Passkey
  38. **local_prefs**
  39. Config | Description | Example
  40. ------------- | ------------- | -------------
  41. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  42. add_to_downloads_folder | moves torrent data to local downloads folder | `true/false`
  43. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`
  44. local_downloads_folder | directory of local downloads folder | `Z:/downloads`
  45. **ftp_prefs:**
  46. Config | Description | Example
  47. ------------- | ------------- | -------------
  48. enable_ftp | enable ftp mode, if enabled suggested to disable local watch and downloads folders | `true/false`
  49. add_to_watch_folder | transfer .torrent file to watch folder on FTP server | `true/false`
  50. add_to_downloads_folder | transfer torrent data to downloads folder on FTP server | `true/false`
  51. ftp_server | url of ftp server | haze.seedhost.eu
  52. ftp_username | username of ftp account | slyy
  53. ftp_password | password of ftp account | password
  54. ftp_watch_folder | directory of ftp watch folder | `/downloads/watch/transmission`
  55. ftp_downloads_folder | directory of ftp downloads folder | `/downloads`
  56. ## Disclaimer
  57. - The usage of this script **may be** illegal in your country. It's your own responsibility to inform yourself of Copyright Law.