Commit Graph

447 Commits

Author SHA1 Message Date
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
RemixDev f326617afa Updated PyPi to 1.1.29 2020-08-04 16:01:56 +02:00
RemixDev e9871629cf Added support for artist's top tracks and discography 2020-08-04 16:01:23 +02:00
RemixDev d856a08b90 Fixed More album display 2020-08-04 16:00:52 +02:00
RemixDev c0ba5316cc Added get_artist_discography_gw 2020-08-04 14:42:02 +02:00
RemixDev 41f1e44a6f Remove whitespace from arl and Spotify clientID and clientSecret 2020-07-31 14:09:14 +02:00
RemixDev ffb803cf3c Fixed playlist cover downloading and spotify playlist size
This fixes #8 again
2020-07-30 19:37:10 +02:00
RemixDev c65b85631b Added 'b' option for overwriteFile
It will keep both files and add a number at the end of the filename
2020-07-30 19:23:54 +02:00
RemixDev f91e7fe943 Made singleAlbumArtist and albumVariousArtists work together 2020-07-30 19:09:29 +02:00
RemixDev e9418c8433 Fixed download of spotify playlists with null tracks
This fixes #8
2020-07-30 18:46:34 +02:00
RemixDev 7409fce337 Updated PyPi to 1.1.23 2020-07-29 12:25:21 +02:00
RemixDev 60c16571e3 Made cli not use queue as it's sequential anyway 2020-07-29 12:18:22 +02:00
RemixDev 613c1aebd3 Simplified changeCase function 2020-07-29 12:03:03 +02:00
RemixDev 73358d1c22 Modified fixLongName to work bytewise
This fixes #6
2020-07-29 11:32:25 +02:00
RemixDev b450929553 Fallback corrupted FLAC files
This adds #3
2020-07-29 01:00:16 +02:00
RemixDev 0ad552ef2d Updated PyPi to 1.1.21 2020-07-25 23:50:39 +02:00
lexicallychallenged 93ec5383e8 bug: change variable to actually defined one and remove non-existent method call 2020-07-25 18:08:53 +00:00
RemixDev 5163685216 Updated PyPi to 1.1.20 2020-07-24 20:03:08 +02:00
uh_wot a85396600a rewrote getPreferredBitrate function using mobile API workaround
should be more stable than constantly requesting the CDN
2020-07-24 16:21:24 +02:00
RemixDev ec38923701 Added better workaround for #2 2020-07-24 11:28:42 +02:00
RemixDev f3b36b3ea3 Fixed issue where main artist was not saved 2020-07-23 21:14:17 +02:00
RemixDev 10002f3a78 Updated PyPi to 1.1.15 2020-07-23 16:42:47 +02:00
RemixDev eaf0ecd086 Added 'errid' for queueManager as well 2020-07-23 16:41:11 +02:00
RemixDev 4d82b385db Updated PyPi to 1.1.14 2020-07-23 16:17:03 +02:00
RemixDev e98b9c084a Fixed all track tagged as compilation if setting is enabled
This fixes #1
2020-07-23 16:16:40 +02:00
RemixDev 527a712cbc Added check for feat artists inside main artists array
This fixed #2
2020-07-23 16:11:00 +02:00
RemixDev 267b7e4fa8 Made 'errid' available on the queueItem as well 2020-07-23 16:01:58 +02:00
RemixDev aa70a8b45f Updated PyPi to 1.1.13 2020-07-23 15:20:52 +02:00
RemixDev 8734e01b0f Added 'errid' for translations 2020-07-23 15:18:57 +02:00
RemixDev fc0d781219 Fixed track download through ISRC 2020-07-23 15:10:18 +02:00
RemixDev 4c79c3cc25 Updated pypi to 1.1.12 2020-07-19 08:29:44 +02:00
RemixDev 6a7847170e re-added playlist cover download 2020-07-19 08:25:58 +02:00
Dummyc0m ab66cb60e6 Fixed invalid literal when downloading playlist
Fixed playlistURL invalid with playlist
2020-07-18 18:46:17 -04:00
RemixDev 3d0f27b107 Fixed error when downloading single tracks 2020-07-18 19:15:41 +02:00
RemixDev ccce111a85 Updated pypi to 1.1.10 2020-07-18 18:22:18 +02:00
RemixDev 2dfedcb18f Replaced PNGcovers with localArtworkFormat
Forced embedded artwork to jpg as png artwork is buggy
localArtworkFormat is a comma separated list of the local cover formats 
you want
2020-07-18 18:01:18 +02:00
RemixDev 492b1dbc23 Renamed multitagSeparator to multiArtistSeparator
as it only affects artists
Added singleAlbumArtist that saves only the main artist in the 
albumartist field
2020-07-18 17:28:51 +02:00
RemixDev bc59fb8906 Added %allartists% variable for track template 2020-07-18 17:26:55 +02:00
RemixDev 6cf890f7cd downloaded updateQueue now contains downloadPath as well 2020-07-15 10:04:24 +02:00
RemixDev aa68190caa Fixed case change with words with less than 1 char
This fixes #21
2020-07-13 12:54:45 +02:00
RemixDev 22ffac188b Added workaround for deezer api cap of 255 tracks
This fixes #52
2020-07-13 12:41:40 +02:00
RemixDev 73304e06c5 Fixed #56 2020-07-13 12:14:40 +02:00
RemixDev d8fdc8344f Force using Spotipy with a version higher than 2.11.0
This fixes the "No module named spotipy.exceptions" error
2020-07-07 08:20:47 +02:00
RemixDev 309ac9bd13 Removed get_track_md5 as it doesn't work anymore 2020-07-02 21:57:02 +02:00
RemixDev e51576ab2f Fixed support with local uploaded tracks 2020-07-02 16:49:17 +02:00
RemixDev 565b205262 Added logging to files
logs are located in the logs folder inside deemix config folder
2020-07-01 16:33:47 +02:00
RemixDev e5dd2bb4f0 Added exceptions for wrong URLs 2020-06-29 13:58:06 +02:00
RemixDev f72fe5ceee Added exceptions for wrong URLs and added support for UPC and ISRC URLs 2020-06-26 12:20:48 +02:00
RemixDev e478e5b031 Added playlist cover download, even when not saved as compilation
Added %explicit% to playlist folder template
This fixes #41
2020-06-23 00:27:43 +02:00
RemixDev f47f4b4979 Changed unknown playlist date from ???? to XXXX to fix errors on Windows 2020-06-22 23:24:42 +02:00
RemixDev ffeb9d2ace Fixed some issues with downloading multiple tracks at once 2020-06-19 20:14:20 +02:00
RemixDev dd45835039 Divide and manage multiple download links directly in the library 2020-06-19 11:08:07 +02:00
RemixDev c8875483bc Added check if 'code' is in error obj 2020-06-18 17:03:16 +02:00
RemixDev 2cce36f82d Changed ID3 length tag from seconds to milliseconds 2020-06-14 21:15:32 +02:00
RemixDev e74a022a5f Changed default id3 separator from ' / ' to '/' 2020-06-13 10:45:35 +02:00
RemixDev d61af72c2a Made CLI bitrate case insensitive
This fixes #32
2020-06-13 10:00:31 +02:00
RemixDev c987cc8a8c Reverting commit cb4b7b6f63 2020-06-13 09:58:45 +02:00
RemixDev 89d0fe21fa Parameter not replaced for settingsRegexAlbum
This fixes #31
2020-06-12 19:29:57 +02:00
RemixDev 8c1dfe63d0 Change cover download timeout to generic timeout 2020-06-12 13:15:59 +02:00
RemixDev 89a4e762c5 Added error logging for spotify tracks not on deezer 2020-06-12 11:07:22 +02:00
RemixDev fa6d1d8b74 Added check for generic error and auto retry
This fixes #25
2020-06-12 10:48:07 +02:00
RemixDev be93716993 Added wait and retry for "Quota limit exceeded"
This fixes #30
2020-06-12 10:15:47 +02:00
RemixDev 34cdda74d6 Added caching system for spotify conversion
This adds #26
2020-06-11 14:30:35 +02:00
RemixDev 349d7338b0 Added option to remove featured artists from album title as well 2020-06-11 13:06:26 +02:00
skid 9db18902c4 Added filename parameter to "Command to execute after download" of single tracks 2020-06-11 15:10:23 +10:00
RemixDev 5cab1b5fbe Added albumVariousArtists option
When set to false, albums with "Various Artists" as the album artist 
will leave the field blank. Some music players need this config to add 
the album to the internal "Various Artists" category.
2020-06-10 22:07:34 +02:00
RemixDev 56bd8fac54 Added removeDuplicateArtists option 2020-06-10 20:18:17 +02:00
RemixDev 42e55b3f06 Added playlistFilenameTemplate setting
Variables are:
%title%, %artist%, %size%, %type%, %id%, %bitrate%
2020-06-10 19:47:57 +02:00
RemixDev cb4b7b6f63 File permission is now set to 770
This fixes #19
2020-06-05 20:00:40 +02:00
RemixDev 2552f0787d Keep "Various Aritsts" tag only if it's the only artist in the track
This fixes #21
2020-06-05 19:35:51 +02:00
RemixDev 85dddb27c9 Made interface messages abstract
This removes the 'toast' interface event as it is a deemix-pyweb 
specific event
2020-06-05 10:47:54 +02:00
RemixDev 440ba1a61f Fixed error logging in spotify playlists 2020-06-05 10:41:08 +02:00
RemixDev 8959a8c940 Fixed issue with spotify metadata conversion 2020-06-02 12:23:34 +02:00
RemixDev a60fd5e195 padTracks now forces padding for albums with less than 10 tracks
This fixes #14
2020-06-02 11:55:31 +02:00
blocks af8de88259 Fixed typo when setting album title after APIError 2020-06-01 13:37:02 +00:00
RemixDev a475dbc397 Casting every id in string concatenations as a string, just to be sure 2020-05-31 22:15:46 +02:00
RemixDev 3539111ce5 Fix album title inconsistencies
This fixes #8
2020-05-31 14:20:06 +02:00
RemixDev ae0a1ed429 Force JPG images on missing artist art, PNG is not available
This fixes #9
2020-05-31 13:59:08 +02:00
RemixDev 8af6c63417 Added check for family account list overflow 2020-05-30 19:24:47 +02:00
RemixDev 11d401c23f Added support for family accounts 2020-05-30 18:50:28 +02:00
RemixDev 76427aea20 Fixed library downloading invalid images 2020-05-30 18:49:41 +02:00
RemixDev c27da21f1b Added fallback ID to "Track not found at desired bitrate"
This fixes #7
2020-05-30 17:31:14 +02:00
RemixDev 54ca38e745 Fixed FLAC dateString to use album date instead of track date
This fixes #6
2020-05-30 17:18:36 +02:00
RemixDev c7a504f479 Added support for portable apps 2020-05-26 12:16:07 +02:00
RemixDev 68039365e8 Clear the tags before tagging
This fixes #1
2020-05-26 11:31:20 +02:00
RemixDev 1b993f6592 Fixed misstype in error generation 2020-05-26 11:30:59 +02:00
RemixDev d669dadf85 Updated setup.py 2020-05-25 14:04:40 +02:00
RemixDev b526486d6f Added errors array in queueItem for use in frontend 2020-05-25 11:58:48 +02:00
uh_wot af4b19bd15 Fixed getting cover URL if "Save playlists as compilation" is enabled 2020-05-20 21:10:35 +02:00
replydev 46191f8f6e Fix flag name error 2020-05-20 19:52:01 +02:00
RemixDev 012db6f572 Adjusted code from previous PR 2020-05-20 17:02:24 +02:00
replydev b82e4045d1 Set default download location 2020-05-20 16:38:11 +02:00
replydev 46594aa21b Bot mode 2020-05-20 16:36:01 +02:00
uh_wot 65ca1652c0 Made config folder creation recursive 2020-05-18 12:31:56 +02:00
RemixDev 1a95f16ba0 Added overwriteFile and saveDownloadQueue options 2020-05-17 21:26:49 +02:00
uh_wot ded4f9d2c0 Made download directory creation recursive 2020-05-17 03:26:17 +02:00
RemixDev 36316e69e5 Added file option instead of an URL in the CLI
Depending what you give it it will download accordingly
2020-05-15 17:46:50 +02:00
Yoav Shai 8e824c084c Allow multiple URLs in the command line 2020-05-15 01:06:40 +03:00
RemixDev 8647d262fc Fixed logging for errors in queuemanager 2020-05-14 15:36:25 +02:00
RemixDev a161ba8f1c Added image fallback to known working resoultion 2020-05-14 12:27:07 +02:00
RemixDev 2c07d15397 Now Partially Explicit Albums are being marked as explicit 2020-05-13 23:43:08 +02:00
RemixDev 1c490656b5 Added %explicit% for albums 2020-05-13 23:30:35 +02:00
RemixDev 0be0e8370e Finished implementing "Create folder structure for singles"
Now the app saves the cover in the folder and uses the album track 
template for naming
2020-05-13 20:40:08 +02:00
uh_wot 193ea76926 removed unused import in downloader.py 2020-05-13 18:14:01 +02:00
uh_wot 722087ce30 changed it again so it's actually a GET request but it doesn't download the track 2020-05-13 16:01:26 +02:00
uh_wot 2199e4913c changed GET request in getPreferredBitrate to HEAD request
this prevents it from downloading the same track twice, should give a nice speed boost
2020-05-13 15:53:36 +02:00
uh_wot 4d4132286b reverted change from selectedFormat to errorNum in downloadTrackObj 2020-05-11 08:51:39 +02:00
uh_wot 9cfb5bbd43 cleaned up getPreferredBitrate function 2020-05-11 08:48:45 +02:00
RemixDev c21e5ffe27 Moved clean search query outside the class 2020-05-10 14:50:36 +02:00
RemixDev 92f2687386 Added filter for characters that can cause issues while searching 2020-05-10 14:32:09 +02:00
RemixDev d4e571bd09 Added more artists options in the name template
%artists% is now a comma separated list of artists
%mainartists% is a comma and "&" separated list of artists
%featartists% is like main aritsts but for featured artists
2020-05-10 11:33:46 +02:00
RemixDev 8136a2259a Merge branch 'master' of JhonnyMnemonic320/deemix into master 2020-05-09 12:26:27 +00:00
RemixDev cb97984701 Removed top tracks, artist and albums from home tab 2020-05-09 14:25:24 +02:00
JhonnyMnemonic320 0cd9f8e076 Update 'deemix/utils/taggers.py'
Fix for Mp3 cover art not showing up in macos Catalina default music app.

Credit: u/hpycndl on reddit
2020-05-09 12:06:33 +00:00
RemixDev e07695047f Added logging system using python logging library 2020-05-08 18:06:43 +02:00
uh_wot 97b2aac642 actually fixed .arl bug with newlines 2020-05-07 16:57:23 +02:00
uh_wot 231fcc4643 fixed bug if .arl file has newline 2020-05-07 16:48:57 +02:00
RemixDev d351343b44 patched utf8 for python3 2020-05-06 13:07:27 +02:00
RemixDev 7305d5fd64 added traceback for singles and fixed utf8 chars 2020-05-06 12:56:44 +02:00
RemixDev b7601f282d Fixed out of memory issue when downloading large playlists 2020-05-06 12:06:56 +02:00
RemixDev 92e9a3fc6e Added support for private deezer playlists 2020-05-05 19:45:35 +02:00
RemixDev 4c70e2a1bd Exclude year if date is saved on flac files 2020-05-05 15:10:48 +02:00
RemixDev 388ea1e8a1 Added spotify playlists in the playlist tab 2020-05-05 15:08:04 +02:00
RemixDev c4d0ae6f68 Implemented Favorites tab 2020-05-05 12:55:06 +02:00
uh_wot 15007e9c28 added server-wide ARL
gets enabled only if --serverwide-arl is in the server arguments
2020-05-05 10:27:48 +02:00
uh_wot 84bbfbb300 changed bitrate check to check for 403 error instead of content-length 2020-05-04 20:06:23 +02:00
RemixDev 38e8b8f7a4 Added missing shebang 2020-05-04 18:23:09 +02:00
RemixDev 0e354144ef Removed filesize as it's useless now
Fixed title whitespace and version repetition
2020-05-04 17:11:29 +02:00
uh_wot 203f0c9b7e ugly fix for deezer patching their API 2020-05-04 16:36:49 +02:00
RemixDev 5cffc597fe Implemented reset settings and added missing options
Tags selection not added yet
2020-05-03 16:21:37 +02:00
RemixDev 6b8650c9af Implemented barebones charts tab 2020-05-03 15:52:42 +02:00
RemixDev a940dbab01 Fixed replay gain issue 2020-05-03 10:34:25 +02:00
uh_wot 9ac168ab9c cleaned up formatDate function 2020-05-02 23:42:27 +02:00
Jamie Quigley eddf217096 Included api response in exception for failed api calls 2020-04-30 21:52:18 +01:00
RemixDev 57844a32a4 Started implementing home tab 2020-04-29 10:36:30 +02:00
RemixDev df79e3009f Fixed start of each word and sentence case capitalization 2020-04-25 18:46:19 +02:00
RemixDev 19dd74873f Fixed download of albums with no cover art 2020-04-23 14:12:27 +02:00
RemixDev b6c83141fd Started implementing track preview 2020-04-19 19:22:21 +02:00
RemixDev 17e719876e Fixed interface send with no value 2020-04-18 09:35:49 +02:00
Mykola Soloduha dc0592eaaa cosmetic changes in code
PEP8: Tabs replaced by 4 spaces
2020-04-17 13:31:47 +03:00
RemixDev 7f959defb4 Finished poring quality modal
Fixed download issue
2020-04-16 15:52:07 +02:00
uh_wot b7a6f3d151 fixed executeCommand 2020-04-16 14:07:42 +02:00
RemixDev a64dd372d2 Fixed cover caching for compilations 2020-04-16 12:09:20 +02:00
RemixDev 37d554d7d5 Merge branch 'master' of https://notabug.org/RemixDev/deemix 2020-04-16 11:59:30 +02:00
RemixDev 312d87965e Implemented savePlaylistAsCompilation
Updated README with more information
2020-04-16 11:53:52 +02:00
uh_wot d59937b9bd added JPEG image quality setting 2020-04-16 11:49:56 +02:00
uh_wot 4ac54ddb5f changed PNG image URL based on official android app 2020-04-16 11:13:13 +02:00
RemixDev c15b7189e4 Added Spotify credentials to settings tab
Reworked how spotify features work so now it doesn't require restart on 
config change
2020-04-16 10:37:02 +02:00
RemixDev 0473eb4aa3 Abstractized socketio with MessageInterface 2020-04-15 14:49:40 +02:00
RemixDev 52a4e3e0c5 Added support for spotify playlists 2020-04-15 11:13:55 +02:00
RemixDev bc0233790a Made download cancelling process more clear 2020-04-14 19:14:17 +02:00
RemixDev c75e6a8e9e Added clear and cancel queue buttons 2020-04-14 16:48:13 +02:00
RemixDev 3facf299f1 Preparing for separation of the GUI from the core 2020-04-14 14:23:45 +02:00