Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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 effa746b27 Fixed #67 2020-09-30 09:33:14 +02: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 4a573233a1 More code cleanup 2020-09-24 19:20:01 +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 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 3e0ebc804b Fixed #46 2020-09-18 22:17:58 +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
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
RemixDev d6106f30b7 Cleaned up some code 2020-09-12 13:08:28 +02:00
RemixDev 2a82a9a663 Fixed #40 2020-09-10 12:43:53 +02:00
RemixDev da34c289a7 Better download managing for covers 2020-09-10 11:43:32 +02:00
RemixDev 37b801f2f0 Strict check for featuredToTitle to prevent issues 2020-09-07 16:13:50 +02:00
RemixDev 98b67fa70a Added download auto retry on unstable connections 2020-09-07 12:09:46 +02:00
RemixDev bafdb84ce7 Added changeCase to mainArtist, mainArtistsString and featArtistsString 2020-08-24 13:07:38 +02:00
RemixDev 2dab230a73 Added direct testing fallback for getPreferredBitrate 2020-08-22 13:35:24 +02:00
RemixDev 395ccc2e30 Added option to skip already downloaded tracks with different extension
This adds #21
2020-08-21 14:46:34 +02:00
RemixDev 240c133d57 Added back option to save PNGs as embedded artwork 2020-08-21 14:40:36 +02:00
RemixDev 00885ae674 It's now possible to cancel spotify playlist conversion 2020-08-19 17:16:39 +02:00
RemixDev 2a662928f9 Polished some code 2020-08-18 15:13:32 +02:00
RemixDev e351803a81 Fixed saving extrasPath 2020-08-17 17:46:21 +02:00
RemixDev b825f00a35 Added download path to logfile 2020-08-17 11:04:35 +02:00
RemixDev 830c76ff1c Fixed name 'queueItem' is not defined 2020-08-16 19:09:32 +02:00
RemixDev 1c08564874 Fixed settings not defined 2020-08-16 13:58:14 +02:00
RemixDev af06d963da Fixed track download without lyrics 2020-08-16 13:25:25 +02:00
RemixDev e8357cf5e1 Fixed issues with spotify playlist and the queue manager 2020-08-16 12:29:51 +02:00
RemixDev d4bcc728f4 Moved features from pyweb to the library
Also fixed some errors
2020-08-16 10:41:18 +02:00
RemixDev 7088bff58d Fixed "Fixed check for corrupted FLACs" 2020-08-15 23:43:39 +02:00
RemixDev a3e9cdeca1 Cleaned up afterDownload functions 2020-08-15 23:36:32 +02:00
RemixDev 560fc70052 Fixed check for corrupted FLACs 2020-08-15 23:12:26 +02:00
RemixDev 34263c150f Made the refactoring work 2020-08-15 23:03:05 +02:00