Based off JPS-AU
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ## Overview
  2. **SM-AU** is a tool for automating the uploading process on jpopsuki.eu.
  3. This is intended to be used alongside BugsPy.
  4. **Features:**
  5. - SM Client.
  6. - FTP Support
  7. - FLAC/MP3 Support.
  8. **Installation:**
  9. - Install requirements
  10. ```
  11. pip install -r requirements.txt
  12. ```
  13. ## Command Usage
  14. ```
  15. python autoupload.py {command_name} {ID/URL}
  16. ```
  17. Command | Description | Example
  18. ------------- | ------------- | -------------
  19. -d, --debug | Provides additional information on upload for debugging purposes | `python autoupload.py -d`
  20. -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]"`
  21. -dir, --directory | Appoint directory used for torrent creation | `python autoupload.py -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  22. -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`
  23. -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""`
  24. -tdes [TORRENTDESCRIPTION], --description [TORRENTDESCRIPTION] | Add a torrent description. Only available as an argument.
  25. ## Config.json
  26. - 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.
  27. - Please make sure your password does not contain any special characters.
  28. - For the directory paths in the config please use the forward slash "/"
  29. **credentials:**
  30. Config | Description | Example
  31. ------------- | ------------- | -------------
  32. Username | SugoiMusic Username | User234
  33. Password | SugoiMusic Password | Password
  34. Passkey | SugoiMusic Passkey | Passkey
  35. **local_prefs**
  36. Config | Description | Example
  37. ------------- | ------------- | -------------
  38. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  39. add_to_downloads_folder | moves torrent data to local downloads folder | `true/false`
  40. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`
  41. local_downloads_folder | directory of local downloads folder | `Z:/downloads`
  42. **ftp_prefs:**
  43. Config | Description | Example
  44. ------------- | ------------- | -------------
  45. enable_ftp | enable ftp mode, if enabled suggested to disable local watch and downloads folders | `true/false`
  46. add_to_watch_folder | transfer .torrent file to watch folder on FTP server | `true/false`
  47. add_to_downloads_folder | transfer torrent data to downloads folder on FTP server | `true/false`
  48. ftp_server | url of ftp server | haze.seedhost.eu
  49. ftp_username | username of ftp account | slyy
  50. ftp_password | password of ftp account | password
  51. ftp_watch_folder | directory of ftp watch folder | `/downloads/watch/transmission`
  52. ftp_downloads_folder | directory of ftp downloads folder | `/downloads`
  53. ## Disclaimer
  54. - The usage of this script **may be** illegal in your country. It's your own responsibility to inform yourself of Copyright Law.