Commit Graph

502 Commits

Author SHA1 Message Date
RemixDev a7dd659e22
Added better error reporting for generation in cli 2021-07-16 14:55:11 +02:00
RemixDev 4119617c6b
Fixed spotify plugin not working #7 2021-07-16 14:51:26 +02:00
RemixDev 263ecd4be0
Fixed #6 2021-07-16 14:49:10 +02:00
RemixDev 11447d606b
Version bump to 3.0.3 2021-07-05 18:19:38 +02:00
RemixDev 536caee401
Fixed cli 2021-07-05 18:18:57 +02:00
RemixDev 07bdca4599
Made artist download work 2021-07-05 18:11:17 +02:00
RemixDev 4e1485f8d6
Fixed subscriptable issue 2021-07-05 18:02:08 +02:00
RemixDev f0c3152ffa
Version bump to 3.0.2 2021-07-03 11:00:31 +02:00
RemixDev 78804710d1
Fixed isdecimal issue 2021-07-03 10:59:05 +02:00
RemixDev 82bbb5c2ab
Make sure the new cover md5 exists before overwriting it 2021-07-01 20:19:13 +02:00
RemixDev 01cc9f5199
Version bump to 3.0.1 2021-06-29 01:39:22 +02:00
RemixDev b8e8d27357
Listener logging parity 2021-06-29 01:37:34 +02:00
RemixDev d8ecb244f5
Added missing unlink on error 2021-06-29 01:11:13 +02:00
RemixDev f530a4e89f Merge refactoring (#4)
Removed saveDownloadQueue and tagsLanguage from lib settings

Revert embedded cover change

Fixed bitrate fallback check

Use overwriteFile setting when downloading embedded covers

Fixed bitrate fallback not working

Fixed some issues to make the lib work

Implemented spotify plugin back

Better handling of albums upcs

Fixed queue item not cancelling correctly

Code parity with deemix-js

Code cleanup with pylint

Even more rework on the library

More work on the library (WIP)

Total rework of the library (WIP)

Some rework done on types

Added start queue function

Made nextitem work on a thread

Removed dz as first parameter

Started queuemanager refactoring

Removed eventlet

Co-authored-by: RemixDev <RemixDev64@gmail.com>
Reviewed-on: https://git.freezer.life/RemixDev/deemix-py/pulls/4
Co-Authored-By: RemixDev <remixdev@noreply.localhost>
Co-Committed-By: RemixDev <remixdev@noreply.localhost>
2021-06-27 16:29:41 -04:00
RemixDev 67fcb7d37f
Fixed Spotify URL parsing and version bump to 2.0.16 2021-02-11 12:31:30 +01:00
RemixDev 0814a17600
Fixed whitespace when removing featArtists 2021-02-01 12:33:40 +01:00
RemixDev 0f92b72d0b
Fixed removeFeatures import and version bump to 2.0.14 2021-02-01 11:58:03 +01:00
RemixDev 2c9ed02394
Fixed lyrics download and version bump to 2.0.13 2021-01-31 22:38:29 +01:00
RemixDev e88d05015a
Version bump to 2.0.12 2021-01-31 20:46:45 +01:00
RemixDev 054a4f4fdf
Remove tabs from track titles
Reference to https://git.rip/RemixDev/deemix-pyweb/-/issues/17
2021-01-31 20:35:31 +01:00
RemixDev 8750881108 Refactoring 2021-01-31 19:59:15 +03:00
RemixDev 44eeb3e28e
Version bump to 2.0.11 2021-01-06 21:07:22 +01:00
RemixDev 81e3056ff9
Fixed error logging 2021-01-06 21:06:50 +01:00
RemixDev 933ac68c77
Version bump to 2.0.10 2020-12-31 20:00:44 +01:00
RemixDev e55dabddff
Fixed playlist download when using savePlaylistAsCompilation 2020-12-31 20:00:11 +01:00
RemixDev 102cf51d34
Version bump to 2.0.9 2020-12-31 15:04:41 +01:00
RemixDev 75b6950aff
Fixed blank artist field when only one artist was present 2020-12-31 15:03:40 +01:00
RemixDev 0d5abf18de
Version bump to 2.0.8 2020-12-29 22:25:34 +01:00
RemixDev d234ce09d7
Fixed artist related issues 2020-12-29 22:25:03 +01:00
RemixDev fc03d6a8e0
Version bump to 2.0.7 2020-12-29 21:20:08 +01:00
RemixDev 56300e08f1
Fixed various artists issue with playlists and local tracks 2020-12-29 21:07:45 +01:00
RemixDev 9ade4ba6b3
Version bump to 2.0.6 2020-12-29 19:26:55 +01:00
hicksel 744acc8c94 Fixed downloading of private playlists by mapping gw-api to public api
Depends on RemixDev/deezer-py!2
2020-12-29 18:41:47 +01:00
RemixDev f893fef7db
Removed necessity to pass `settings` to track constructor 2020-12-24 16:28:12 +01:00
RemixDev 16e45dd013
Version bump to 2.0.5 2020-12-17 18:17:45 +01:00
RemixDev 0542d7eacf
Generalized cover URL generation function 2020-12-15 13:27:02 +01:00
kermit 863bd54f86 Directory overrides for docker 2020-12-02 17:03:15 +00:00
RemixDev 001f1aaf66
Version bump to 2.0.4 2020-11-30 16:47:07 +01:00
RemixDev 2c807ffc43
urllib3 SSLError check when downloading the track 2020-11-30 16:45:53 +01:00
DoNot AskMe 2ab1a583c7 catch readtimeouts and retry #12 2020-11-30 16:55:38 +03:00
RemixDev 6f6523ff8b
Fixed playlist downloading 2020-11-22 21:37:57 +01:00
RemixDev 8b70e1424e
Version bump to 2.0.2 2020-11-21 17:44:57 +01:00
RemixDev 846215d5ed
Fixed downloading issue with some tracks
Changed padding type from pkcs7 to just dots
2020-11-21 17:44:19 +01:00
RemixDev ac6a8f8ec4
Added reverseStreamURL function for future use 2020-11-21 17:31:53 +01:00
RemixDev ff8b6da33e
Added %root_artist% template variable 2020-11-21 16:45:40 +01:00
RemixDev 94f3bc95c3
Moved deezer api over to deezer-py pipy package; Version bump to 2.0.1 2020-11-19 22:08:35 +01:00
RemixDev 8840855a96
Fixed AUTH_REQUIRED issue when downloading multiple tracks 2020-11-19 16:53:25 +01:00
RemixDev 13f6eab172
Added support for link.tospotify.com; add warns for not supported links
Updated PyPi to 1.5.20
2020-11-10 13:57:03 +01:00
RemixDev d514db2b76 Fixed folder issue with Windows, updated to 1.5.19 2020-10-30 15:38:21 +01:00
RemixDev c7e85d3808 Update PyPi to 1.5.18 2020-10-30 11:38:10 +01:00
RemixDev 7fd0bfaa07 Made -p cli argument create only that folder and not the default one
Moved default download folder inside music
Check XDG first, then fallback to untranslated 'Music' folder
This fixes #82
2020-10-29 13:00:58 +01:00
RemixDev 97f9258de9 Added SOURCE and SOURCEID tags
This adds #81
2020-10-29 11:23:42 +01:00
RemixDev a7b779072e Updated PyPi to 1.5.17 2020-10-15 12:01:31 +02:00
RemixDev 08070d8ff1 Removed blank lines from SYLT tag
Fixes #77
2020-10-15 12:01:14 +02:00
RemixDev 4567391a4a Fixed issues with songs without lyrics
Updated PyPi to 1.5.16
2020-10-15 00:33:16 +02:00
RemixDev 435069d9c2 Updated PyPi to 1.5.15 2020-10-14 23:28:08 +02:00
RemixDev 06a997d957 Fixed download of local mp3s 2020-10-14 23:25:29 +02:00
RemixDev a7bba342d3 Added interface feedback when processing multiple links 2020-10-14 23:22:21 +02:00
RemixDev 2fdce7d137 Added interface logging of queueErrors 2020-10-14 23:21:13 +02:00
RemixDev a6f5b75577 Fixed download of tracks with no explicit data 2020-10-14 23:20:48 +02:00
RemixDev 7a932c376b Updated PyPi tp 1.5.14 2020-10-13 19:08:13 +02:00
RemixDev ac1d3ba594 Added queue corrupted check when restoring it 2020-10-13 10:52:30 +02:00
RemixDev a9a09c58e0 Added folderCheck for download folder
folderCheck checks if the folder exsists and it's writable
2020-10-08 13:26:17 +02:00
RemixDev 4d09925f64 Fixed FeatureOptions not working 2020-10-08 12:06:08 +02:00
RemixDev 49cf460131 Added catch for empty artists and made release type safe
in case deezer adds a new release type
2020-10-07 21:43:13 +02:00
RemixDev 90ff48ab87 Added "More Albums" to "All". Made artist download "All" category.
All category doesn't include Featured in, you still need to use 
"/discography" for that
2020-10-07 21:27:41 +02:00
RemixDev a3b96d3340 Fixed typo 2020-10-04 11:56:32 +02:00
RemixDev 7ad388b999 Updated PyPi to 1.5.8 2020-10-03 11:18:38 +02:00
RemixDev 7054c57b6f Made move feat to title work with all artists settings
Specified OverwriteOption and FeaturesOption to not have random chars 
and ints in the code
Fixed local artwork download
2020-10-03 10:56:01 +02:00
RemixDev b3265ec050 Updated PyPi to 1.5.7 2020-10-02 19:21:08 +02:00
RemixDev f2caa297f5 Fixed download cancelling issue and made track formats number clearer 2020-10-02 19:20:23 +02:00
RemixDev 431a558467 Cleaned up downloadjob.py 2020-10-02 18:57:23 +02:00
RemixDev 66be97bec4 Merge pull request 'Escape %folder% and %filename% in execute command' (#70) from kermit/deemix:escape-execute into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/70
2020-10-02 18:11:44 +02:00
RemixDev 559d3f0f84 Cleaned up queuemanager.py 2020-10-02 18:10:09 +02:00
kermit 861ac8f347 Escape %folder% and %filename% in execute command 2020-10-02 17:03:01 +01:00
RemixDev 2e8bae427d Updated PyPi to 1.5.6 2020-10-01 18:44:44 +02:00
RemixDev 50d0fdfa0a Fixed #68 2020-10-01 18:42:41 +02:00
kermit 43676f9f34 Green the post-download commands so socketio connection doesn't drop 2020-10-01 17:33:37 +01:00
kermit 314beb682f Expose extrasPath to queue item 2020-10-01 17:33:37 +01:00
kermit 0a11f53c4c Consistent logging 2020-10-01 17:33:37 +01:00
kermit b73d533c2b Fix post-download command for collections 2020-10-01 17:33:37 +01:00
RemixDev f3754dc51b Added exception for when lyrics don't exsist 2020-10-01 16:04:11 +02:00
RemixDev 22e024af39 Fixed overwrite padding size 2020-09-30 20:27:19 +02:00
RemixDev 050b25471f Fixed id not being string 2020-09-30 16:19:14 +02:00
RemixDev 0d0fc9a2b7 Updated PyPi to 1.5.3 2020-09-30 15:34:57 +02:00
RemixDev f209df1fe1 Cleaned up queuemanager.py 2020-09-30 15:34:30 +02:00
RemixDev 860d57c437 Cleaned up settings.py 2020-09-30 15:33:40 +02:00
RemixDev 335a42ea83 Fixed retrocompatibility explicit in queueItem 2020-09-30 15:33:25 +02:00
kermit 1969d3ca7e Use HEAD not GET to test track url, and send User-Agent
Means we can avoid stream=True and the issues around returning the
connection to the pool detailed here:
https://requests.readthedocs.io/en/latest/user/advanced/#body-content-workflow
2020-09-30 09:17:15 +01:00
kermit bb98953963 Fix streamTrack
Fixes several cases:
- When connection error thrown on retry, and subsequent retry started
  from the beginning, not the partial start
- Clone headers instead of adding Range header to dz.http_headers
  variables - this was causing errors on other requests
- Use 'with self.dz.session.get' to make sure request cleaned up on
  failure
- Fix calculation of downloadPercentage for retries: complete is now
  the size of the retry, so percentage needs to account for start
  value
2020-09-30 09:17:15 +01:00
kermit 04eb63b4cd Set a timeout and use session connection pool for getting file sizes 2020-09-30 09:17:15 +01:00
RemixDev 48f6026c75 Merge pull request 'Expose explicit flag in queue' (#64) from kermit/deemix:explicit into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/64
2020-09-30 09:56:41 +02:00
RemixDev effa746b27 Fixed #67 2020-09-30 09:33:14 +02:00
RemixDev 250682ea18 Fixed cli not working on Windows 2020-09-29 08:57:22 +02:00
RemixDev f85b208af4 Fixed path concat in pathtemplates 2020-09-28 23:06:22 +02:00
kermit 4a85bf5b64 Expose explicit flag in queue 2020-09-28 19:32:09 +01:00
RemixDev 798dcdd3d9 Changed all os.path to pathlib + cleanup
Bumped to 1.5.0
2020-09-27 23:44:37 +02:00
RemixDev 6e955ee01f Updated PyPi to 1.4.3 2020-09-26 07:52:03 +02:00
RemixDev 5103380cf5 Cleaned up playlsit section in track.py 2020-09-25 20:24:35 +02:00
RemixDev 0c71827ba9 Added comment for ARTISTS tag
In reference to #62
2020-09-25 18:21:38 +02:00