Commit Graph

499 Commits

Author SHA1 Message Date
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
RemixDev 31b3ae1d87 Merge pull request 'New methods to get new releases and detailed album search' (#63) from kermit/deemix:new-release into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/63
2020-09-25 18:13:29 +02:00
RemixDev 9f90103b6d Fixed spotify conversion error 2020-09-25 18:10:47 +02:00
kermit 7007be943a New methods to get new releases and detailed album search 2020-09-25 15:34:20 +01:00
RemixDev 4a573233a1 More code cleanup 2020-09-24 19:20:01 +02:00
RemixDev 975fdf95dd Cleaned up main and taggers 2020-09-24 17:46:08 +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 9dc52ccaa8 Updated PyPi to 1.4.0 2020-09-20 11:48:58 +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 e020592d18 Added #33 2020-09-19 17:50:03 +02:00
RemixDev d9fa7927de Replacing YEAR vorbis comment with DATE as YEAR is not standard 2020-09-19 17:43:29 +02:00
RemixDev ceef735d29 Added function to change accept language in deezer api 2020-09-19 11:46:58 +02:00
RemixDev 5fa251ae3a Added option for saving cover description as UTF8 2020-09-19 11:06:35 +02:00
RemixDev b0014f5219 Updated PyPi to 1.3.12 2020-09-19 10:38:38 +02:00
RemixDev c573709471 Fixed #49 2020-09-19 10:37:50 +02:00
RemixDev 0eb7390ce3 Fixed ID3 date tag following specification
https://id3.org/id3v2.3.0#TDAT
Fixes #50
2020-09-19 10:27:58 +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 290c55c509 Added simple cached favorites management 2020-09-18 16:02:36 +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 c5762d87b4 Updated PyPi to 1.3.7 2020-09-16 21:40:27 +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 fb53bd732f Updated PyPi to 1.3.6 2020-09-15 20:09:25 +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
RemixDev 39be6077d3 Added missing dependency in setup.py 2020-09-15 17:29:26 +02:00
RemixDev 0057a44b6c Updated PyPi to 1.3.4 2020-09-15 17:04:15 +02:00
kermit 35b440c444 Use eventlet 2020-09-15 15:27:08 +01:00
RemixDev 614a3feab7 Updated PyPi to 1.3.3 2020-09-14 18:43:29 +02: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 38a16d9fdd Removed references to sp from function calls in QueueManager 2020-09-14 00:19:28 +02:00
RemixDev 5e735cdbe7 Fixed cli not working 2020-09-13 19:26:53 +02:00
RemixDev d6106f30b7 Cleaned up some code 2020-09-12 13:08:28 +02:00
RemixDev e81adde17d Added support for embedded sync lyrics on MP3 with the SYLT tag 2020-09-10 13:44:38 +02:00
RemixDev 4de567dfcf Fixed encoding on cover description 2020-09-10 13:13:58 +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 e57f40aff3 Added paddingSize to default check 2020-09-07 15:51:35 +02:00
RemixDev a96451654c Added support for 'deezer.page.link' urls 2020-09-07 12:25:00 +02:00
RemixDev 98b67fa70a Added download auto retry on unstable connections 2020-09-07 12:09:46 +02:00
RemixDev 4933e01034 Added new Bundle type 2020-09-06 11:33:44 +02:00
RemixDev 09589f9603 Fixed #39 2020-09-04 00:16:02 +02:00
RemixDev b3ef035169 Updated PyPi to 1.2.14 2020-09-03 16:14:31 +02:00
RemixDev e0fcdaedbb removed --local and added --portable 2020-09-03 16:13:57 +02:00
TheUltimateC0der c45994f733 Update 'deemix/app/cli.py'
Added path param for downloading the content to the given path
2020-09-02 23:19:26 +02:00
TheUltimateC0der 17fb1f3aa3 Update 'deemix/__main__.py'
Added option for download path
2020-09-02 23:14:59 +02:00
replydev c546572834 Fix undefined settings on local mode 2020-08-29 16:09:35 +02:00
RemixDev 986ba16ab7 Updated PyPi to 1.2.13 2020-08-27 13:22:22 +02:00
RemixDev 3051da3ff0 Separated get_track_filesizes from session
This should fix the VALID_TOKEN_REQUIRED error
2020-08-27 13:15:50 +02:00
RemixDev 9828da7429 Fixed #32 (Unicode NFC normalizing track names) 2020-08-27 11:37:30 +02:00
RemixDev e18a0bf410 Updated PyPi to 1.2.12 2020-08-26 21:20:32 +02:00
RemixDev 0a86ebfea2 Fixed session cookie expiring after 1h 30m 2020-08-26 21:11:31 +02:00
RemixDev 3af0305a80 Fixed spotify playlist conversion with old cache (int and not str)
This fixes #27
2020-08-24 18:58:42 +02:00
RemixDev bafdb84ce7 Added changeCase to mainArtist, mainArtistsString and featArtistsString 2020-08-24 13:07:38 +02:00
RemixDev a1e7840123 Fixed Explicit tag 2020-08-22 20:57:02 +02:00
RemixDev 6de87fafa9 Updated PyPi to 1.2.8 2020-08-22 13:36:00 +02:00
RemixDev 2dab230a73 Added direct testing fallback for getPreferredBitrate 2020-08-22 13:35:24 +02:00
RemixDev b6eff13349 Fixed QueueError for single item 2020-08-22 10:22:29 +02:00
RemixDev 3aee9f6725 Updated PyPi to 1.2.7 2020-08-21 14:47:03 +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 56ebc0aa0f Fixed utf-8 logging on Windows 2020-08-21 12:48:32 +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
Phie 26a7a47b62 fix saveSettings not defined 2020-08-18 13:24:16 +02:00
RemixDev 18138b0216 Updated PyPi to 1.2.5 2020-08-17 22:46:56 +02:00
RemixDev e351803a81 Fixed saving extrasPath 2020-08-17 17:46:21 +02:00
RemixDev 805dafd510 Fixed download bug for artists and multiple links 2020-08-17 11:05:29 +02:00
RemixDev b825f00a35 Added download path to logfile 2020-08-17 11:04:35 +02:00
RemixDev fa303a8c20 Updated PyPi to 1.2.3 2020-08-17 00:49:00 +02:00
RemixDev b2b7c450d4 Fixed removeFinishedDownloads 2020-08-17 00:33:13 +02:00
RemixDev cae72c51fd Updated PyPi to 1.2.2 2020-08-16 21:06:46 +02:00
RemixDev 830c76ff1c Fixed name 'queueItem' is not defined 2020-08-16 19:09:32 +02:00
RemixDev 032845f394 Fixed "name 'generateQueueItem' is not defined"
This fixes #23
2020-08-16 18:10:32 +02:00
RemixDev 808af1c01f Updated PyPi to 1.2.1 2020-08-16 14:02:10 +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
RemixDev 4cfdc4872d Done more code rework 2020-08-15 21:34:10 +02:00
RemixDev 7a536caf1c More code reworking 2020-08-15 15:49:45 +02:00
RemixDev 243cf3dfa6 Continued code reworking 2020-08-14 22:28:26 +02:00
RemixDev c611420bd9 Started refactoring queuemanager as a class 2020-08-14 21:27:50 +02:00
RemixDev 8afdfc7042 Started reworking the library 2020-08-14 20:31:37 +02:00
RemixDev a991ad04ec Moved spotify conversion outside creating queue item 2020-08-14 19:50:37 +02:00
RemixDev 3f8d4d5ae9 Moved local outside of settings 2020-08-14 18:14:08 +02:00
RemixDev 42842b07b8 Remove duplicate releases when getting artist discography 2020-08-11 22:30:07 +02:00
RemixDev d22f55c279 Fixed track['album']['mainArtist']['save'] error
'save' wansn't setted when falling back to gw API
2020-08-05 15:18:23 +02:00