Commit Graph

37 Commits

Author SHA1 Message Date
krateng 88403d2583
Fetch smaller image from musicbrainz, fix GH-206 2023-03-27 18:10:53 +02:00
krateng f359662cf3 No longer catching BaseExceptions 2022-04-24 19:41:55 +02:00
krateng 871b3d289d Moved monkey patching and globalconf to subpackage 2022-04-09 21:39:04 +02:00
krateng 9e7bbb6c20 Color! 2022-04-08 17:31:30 +02:00
krateng 3275e4ec5d Experimenting with more thread limitations 2022-03-29 18:47:59 +02:00
krateng 48d88b208f Limited metadata requests 2022-03-06 02:30:29 +01:00
krateng a64d3610d3 Fixed convoluted old scrobbling functionality 2022-02-13 06:15:29 +01:00
krateng b5bf87bf6b Slightly changed import architecture 2022-01-01 04:30:19 +01:00
krateng 4c9f824bbd Added other Maloja instance as third party option 2021-12-31 23:13:22 +01:00
krateng e62c637aa0 Implemented initial support for importing scrobbles 2021-12-31 23:13:08 +01:00
krateng fe1ed955cd Added username/pw authentication for last.fm 2021-12-27 20:18:56 +01:00
krateng 0ec93d7d0f Reworked pkginfo again 2021-12-25 23:43:34 +01:00
krateng 73a6c18b17 Repurposed __pkginfo__ module 2021-12-24 06:30:19 +01:00
krateng 4186171b8f Replaced settings calls 2021-12-19 21:41:43 +01:00
krateng 6d5b306d93 Updated setup of API secrets 2021-11-27 20:04:13 +01:00
krateng a41aa0962b Added Deezer and TheAudioDB as metadata providers 2021-11-27 19:19:58 +01:00
krateng 898dd9735c Fixed Spotify auth if not in use, fix GH-87 2021-11-21 17:14:22 +01:00
krateng ff8e5ec8ff Commenting and slight Spotify search improvement 2021-11-18 06:45:44 +01:00
krateng 29f8c10167 Minor UI / output changes 2021-11-17 19:10:28 +01:00
krateng 26dfdfb569 Minor cleanup and better logging 2021-11-16 18:22:46 +01:00
Brian Pepple d1b598a32b
Refactoring (#83)
* Merge isinstance calls

* Inline variable that is immediately returned

* Replace set() with comprehension

* Replace assignment with augmented assignment

* Remove unnecessary else after guard condition

* Convert for loop into list comprehension

* Replace unused for index with underscore

* Merge nested if conditions

* Convert for loop into list comprehension

* Convert for loop into set comprehension

* Remove unnecessary else after guard condition

* Replace if statements with if expressions

* Simplify sequence comparison

* Replace multiple comparisons with in operator

* Merge isinstance calls

* Merge nested if conditions

* Add guard clause

* Merge duplicate blocks in conditional

* Replace unneeded comprehension with generator

* Inline variable that is immediately returned

* Remove unused imports

* Replace unneeded comprehension with generator

* Remove unused imports

* Remove unused import

* Inline variable that is immediately returned

* Swap if/else branches and remove unnecessary else

* Use str.join() instead of for loop

* Multiple refactors

- Remove redundant pass statement
- Hoist repeated code outside conditional statement
- Swap if/else to remove empty if body

* Inline variable that is immediately returned

* Simplify generator expression

* Replace if statement with if expression

* Multiple refactoring

- Replace range(0, x) with range(x)
- Swap if/else branches
- Remove unnecessary else after guard condition

* Use str.join() instead of for loop

* Hoist repeated code outside conditional statement

* Use str.join() instead of for loop

* Inline variables that are immediately returned

* Merge dictionary assignment with declaration

* Use items() to directly unpack dictionary values

* Extract dup code from methods into a new one
2021-10-19 14:58:24 +02:00
Krateng 23cc1ac341 Third party improvements 2021-01-21 17:38:37 +01:00
Krateng ce9d882856 Listenbrainz artwork urls are now converted to https, fixes GH-41 2020-10-18 19:08:47 +02:00
Павло 951c192adb
Update musicbrainz.py
URLEncode already do URL Quoting, so we don't need to do it before
2020-09-30 13:28:29 +03:00
Krateng 0ee6e761da Forcing SSL on third party images 2020-08-05 19:31:12 +02:00
Krateng 0fdd7669cc Fixed error when missing Spotify key, fixes GH-26 2020-08-04 18:49:40 +02:00
Krateng 7a4df06090 Spotify now re-authenticates 2020-07-30 15:15:09 +02:00
Krateng 27f3ff6d08 Improved sorting of metadata providers 2020-07-28 20:33:26 +02:00
Krateng dd3c83920b Enabled custom sorting of metadata providers, GH-23 2020-07-28 20:12:50 +02:00
Krateng 1eae55e3bb Fixed race condition in search 2020-07-26 18:09:41 +02:00
Krateng 29f88539b4 Added MusicBrainz service for metadata, resolves GH-22 2020-07-26 03:27:10 +02:00
Krateng fe106a3227 Implemented artist metadata interface 2020-07-25 19:34:41 +02:00
Krateng b6a66ff2ed Added Spotify metadata service 2020-07-25 18:38:56 +02:00
Krateng 4c30ff5fa2 Implemented track image fetcher interface 2020-07-25 17:54:01 +02:00
Krateng f89dcf0599 Cleanup 2020-07-25 05:29:23 +02:00
Krateng abef221435 Simplified structure for third party services 2020-07-25 05:09:58 +02:00
Krateng 471a61f788 Initial concept 2020-05-17 14:18:37 +02:00