Jps2sm

Latest version: v1.16

Safety actively analyzes 641202 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

1.11

* Upload JPS torrents with just a --torrentid
* Update batch statistics output: Add 'bad V.A.' torrents, exclusions via --exccategory, --excaudioformat or --excmedia.
* Handle V.A. artist errors in `GetGroupData()` instead of `collate()`
* Move batch operations out of `main()` and into its own def!
* Check for contrib artists in `GetGroupData()` and error accordingly, so such errors are now correctly shown as a `GetGroupData()` error and not a `collate()` error.
* Improve handling of bad args logic and move it to `GetArgs()`
* Other batch statistics refactoring.

1.10

* Add --batchsort and --batchsortorder, preserve existing defaults
* Allow the SM torrents to not be downloaded if it already exists on SM.
* Create exception for when get_release_data() fails, allow for regex issues to more easily be seen.
* Improve setorigartist(), also fixes oldrepo106
* Remove sleep in get_jps_user_id(), closes oldrepo107
* Fix regex bug where 1k+ seeders/completed were not being seen
* Handle tempfiles properly in decide_duplicate() by closing the handle properly and deleting the file
* Handle duplicates found by decide_duplicate() without an exception, prevents it from skipping the rest of the group
* Add VP9 and OGG support
* Validate --exccategory argument

1.9.1

* Fix bug: originalchars no longer iterable
* Add validation for '24/48' to validate_jps_bitrate()

1.9

* --batchrecent mode: jps2sm recent JPS uploads and wait for the JPS data to have been downloaded
* Create get_group_batch_data() and JPSGroup() dataclass
* Decouple getgroupdata from the useruploads.items() loop in main() for --batchrecent mode.
* Use a master dict batch_group_data{} that contains all group data for all uploads for --batchrecent mode.
* Give collate scrape_only and max_size functionality for --batchrecent mode.
* Create JPSGroup() dataclass for the processing of each group by collate(). This avoids additional refactoring and could help improve other logic in the future by using dataclasses.
* Use BytesIO instead of actual file for processing with JPS torrent
* Detect duplicates using torrent hash
* uploadtorrent() refactoring
* Remove logic that avoided an old SM group merge upload bug
* Remove catch-all exception and do not use RunTimeError for stats
* Docstring updates

1.8

* Allow snatched files to be uploaded for a user with --batchsnatched
* Set more appropriate sort orders for batch modes
* Allow decide_ep() to recognise Albums with cue sheet (fixes oldrepo81)
* Delete *.dat files upon failed login, fixes oldrepo76 (oldrepopull96)

1.7

* Move "s" JPS session global to jpopsuki()
* Move "sm" SugoiMusic session global to sugoimusic()
* Move most code out of if __name__ == "__main__" into main() and fix globals
* Rename modules dir to jps2sm - to allow jps2sm to be a package in the future
* Create new module get_data.py and move defs to it
* Create new module validation.py and move appropriate defs to it
* Refactor GetGroupData() - initiate all class methods inside __init__(), use
__getattr__ to depreate the multiple one-line defs, remove unused vars and
general tidy-up of code.
* Move GetArgs() to utils
* Add new tests
* Fix import for bulk invite

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.