Originally created by slyyxp
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.md 3.7 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. This project is **NOT** being maintained as i'd rather rewrite it from scratch.
  2. ## Overview
  3. **JPS-AU** is a tool for automating the uploading process on jpopsuki.eu.
  4. This is intended to be used alongside BugsPy.
  5. **Features:**
  6. - JPS Client.
  7. - FTP Support
  8. - FLAC/MP3 Support.
  9. - BugsPy .log Support.
  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. -f, --freeleech | Enables freeleech (VIP+ Userclass Requirement) | `python autoupload.py -f -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  23. -t, --tags | Add additional tags to upload, separated with comma | `python autoupload.py -t "korean, female.vocalist" -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  24. -dir, --directory | Appoint directory used for torrent creation | `python autoupload.py -dir "Z:\Music\Korean\Ego\Ego - E [2020.01.02] [EP] [WEB-MP3]"`
  25. -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`
  26. ## Config.json
  27. - 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.
  28. - If generate_tracklist is set to false the script will try and find BugsPy logs within the selected log folder, this will use the comments tag to find the log. For example if 204815 is within your comments tag, it will search your log folder for 204815.log and use the contents of this log for the album description.
  29. - Similarly to generate_tracklist, if enable_release_description is 'true' the script will create a url to the Bugs.co.kr album webpage to display the source, this can easily be edited to suit your needs within the gatherdata() function
  30. **credentials:**
  31. Config | Description | Example
  32. ------------- | ------------- | -------------
  33. Username | JPopSuki Username | Slyy
  34. Password | JPopSuki Password | Password
  35. **local_prefs**
  36. Config | Description | Example
  37. ------------- | ------------- | -------------
  38. log_directory | directory containing BugsPy log files | `Z:/Bugs/Logs`
  39. generate_tracklist | enable tracklist generation | `true/false`
  40. save_tracklist | write tracklist to .log and save in log folder | `true/false`
  41. enable_release_description | post comments tag to release description | `true/false`
  42. cover_name | name of cover with extension | `cover.jpg`
  43. add_to_watch_folder | moves .torrent file to local watch folder | `true/false`
  44. add_to_downloads_folder | moves torrent data to local downloads folder | `true/false`
  45. local_watch_folder | directory of local watch folder | `Z:/watch/Transmission`
  46. local_downloads_folder | directory of local downloads folder | `Z:/downloads`
  47. **ftp_prefs:**
  48. Config | Description | Example
  49. ------------- | ------------- | -------------
  50. enable_ftp | enable ftp mode, if enabled suggested to disable local watch and downloads folders | `true/false`
  51. add_to_watch_folder | transfer .torrent file to watch folder on FTP server | `true/false`
  52. add_to_downloads_folder | transfer torrent data to downloads folder on FTP server | `true/false`
  53. ftp_server | url of ftp server | haze.seedhost.eu
  54. ftp_username | username of ftp account | slyy
  55. ftp_password | password of ftp account | password
  56. ftp_watch_folder | directory of ftp watch folder | `/downloads/watch/transmission`
  57. ftp_downloads_folder | directory of ftp downloads folder | `/downloads`
  58. ## Disclaimer
  59. - The usage of this script **may be** illegal in your country. It's your own responsibility to inform yourself of Copyright Law.