Commit Graph

284 Commits

Author SHA1 Message Date
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 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 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 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 050b25471f Fixed id not being string 2020-09-30 16:19:14 +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
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
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 5103380cf5 Cleaned up playlsit section in track.py 2020-09-25 20:24:35 +02:00
RemixDev 9f90103b6d Fixed spotify conversion error 2020-09-25 18:10:47 +02:00
RemixDev 4a573233a1 More code cleanup 2020-09-24 19:20:01 +02:00
RemixDev 09331516c7 Fixed sync lyrics timing 2020-09-22 11:32:07 +02:00
RemixDev 09dba218c2 Added simple spotifyCache validation 2020-09-20 18:32:39 +02:00
RemixDev 7461ed2359 Added logging alert for bitrate fallback
Added 'bitrateFallback' and 'searchFallback' emits for queueUpdate
This adds #57
2020-09-20 11:29:18 +02:00
RemixDev 0848941583 Implemented tagsLanguage setting 2020-09-20 11:14:54 +02:00
RemixDev 4e7b170720 Added compilation tag to deezer's compilations 2020-09-20 10:50:09 +02:00
RemixDev 6f1e7ccbb1 Removed shebangs from non executable files 2020-09-20 10:39:20 +02:00
RemixDev 3b2a5ac3bb Moved utils.misc in utils 2020-09-20 10:35:05 +02:00
RemixDev 5fa251ae3a Added option for saving cover description as UTF8 2020-09-19 11:06:35 +02:00
RemixDev 3e0ebc804b Fixed #46 2020-09-18 22:17:58 +02:00
RemixDev 85436d1eb7 Fixed ACK check for artists 2020-09-18 18:52:05 +02:00
RemixDev 31cbcdec77 Fixed issue while converting cached spotify tracks 2020-09-18 15:06:31 +02:00
RemixDev 73684aed45 Fixed pyinstaller spotipy issue and started working on favorites 2020-09-18 13:43:54 +02:00
RemixDev 9603616d33 Fixed spotify features for cli 2020-09-17 23:40:26 +02:00
RemixDev 9773076af3 Added check if file exsists before removing 2020-09-16 21:38:24 +02:00
kermit e0194c8241 Catch and retry on ssl errors 2020-09-16 19:26:30 +01:00
RemixDev 3e93a9f180 Added noSpaceLeft exception for downloads
Fixes #44
2020-09-16 19:24:50 +02:00
RemixDev 7ad0f2a13a Added _EXTRA_TRACK when downloading with isrc 2020-09-15 20:13:50 +02:00
RemixDev b91c12b858 Merge pull request 'Pass back user specified ack on addToQueue' (#43) from kermit/deemix:ack into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/43
2020-09-15 20:06:54 +02:00
RemixDev 1599223384 Fixed conversion for some spotify urls
You need to remove spotifyCache.json in the config folder to use this
2020-09-15 19:41:11 +02:00
kermit 2bde3ca2fa Pass back ack on addToQueue
Enables external requests to identify the queueitem uuid that was
generated by an addToQueue request
2020-09-15 16:43:55 +01:00
kermit 35b440c444 Use eventlet 2020-09-15 15:27:08 +01:00
kermit ea39527ea4 Pass back the location of the downloaded files in queue items
This allows a third party user to locate downloaded files from a
previous session (i.e. if they weren't connected to receieve the
updateQueue requsts)
2020-09-14 16:34:35 +01:00