1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
Commit Graph

886 Commits

Author SHA1 Message Date
krateng
acace4d04a Cleaned up time range handling 2021-12-10 21:08:44 +01:00
krateng
59eaa2264a Minor cleanup of image functions 2021-12-09 22:58:43 +01:00
krateng
a52c494e4b Moved endpoints back out of functions 2021-12-09 21:12:37 +01:00
krateng
d23da91101 Fixed CSS errors 2021-12-09 20:22:45 +01:00
krateng
56eaa8a793 Error handling details 2021-12-09 19:49:53 +01:00
krateng
e17002299b Cleaned up database 2021-12-09 06:35:43 +01:00
krateng
e110ed765f Removed superfluous temp endpoint stuff 2021-12-09 06:33:37 +01:00
krateng
e901ca719f Improved error handling and output 2021-12-09 06:26:06 +01:00
krateng
83063ba943 Added error for unbuilt database 2021-12-09 06:24:34 +01:00
krateng
b4230c0ae6 Reorganized main loop and added temporary endpoints during DB build, GH-88 2021-12-09 05:49:25 +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
2101223440 More design changes 2021-11-21 17:06:20 +01:00
krateng
be7780a0c0 Expanded scrobble generation 2021-11-18 06:47:03 +01:00
krateng
ff8e5ec8ff Commenting and slight Spotify search improvement 2021-11-18 06:45:44 +01:00
krateng
e236cce86c Design changes 2021-11-17 22:18:04 +01:00
krateng
d9cd546952 Moved main loop to function 2021-11-17 19:10:49 +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
krateng
817d98e467 Added new scrobble generation for testing 2021-11-14 18:08:09 +01:00
krateng
504bfb405e Some design changes 2021-11-14 18:07:49 +01:00
krateng
9b98b3db3c Listenbrainz API now returns user name 2021-11-12 17:23:55 +01:00
krateng
33af60ed2c Updated listenbrainz endpoint, should fix GH-86 2021-11-12 17:16:59 +01:00
krateng
5157ce825e Updated dependencies for Python 3.10, fix GH-85 2021-10-20 19:08:21 +02: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
c31770a34c Version bump due to faulty upload 2021-10-14 18:15:24 +02:00
krateng
d3e45b138b Added ability to set own time format, GH-82 2021-10-14 18:14:03 +02:00
krateng
08cc32ac33 Various 2021-10-14 18:02:11 +02:00
krateng
4b49ffb3cb Updated scrobbler icons 2021-08-30 19:44:25 +02:00
krateng
f50728d2a6 Merge branch 'master' of github.com:krateng/maloja 2021-08-30 19:21:57 +02:00
krateng
a55343f442 Changed from LESS to CSS custom properties 2021-08-30 19:21:04 +02:00
krateng
01fbc8c3d3
Clarified settings, GH-77 2021-08-24 04:54:09 +02:00
krateng
9037403777 Updated favicon 2021-08-10 17:36:31 +02:00
krateng
49598e914f Version bump 2021-07-31 19:07:21 +02:00
krateng
738a2d84e5 Merge branch 'master' of github.com:krateng/maloja 2021-07-31 19:06:58 +02:00
krateng
79716debf8 New logo 2021-07-31 19:00:32 +02:00
krateng
947614ddcf
Merge pull request #76 from tdemin/master
Group LOONA subunits under a single group
2021-07-14 17:33:01 +02:00
Timur Demin
ced5e54074
Group LOONA subunits under single group 2021-07-14 16:38:33 +05:00
krateng
8ebd27ab76 Added some output for errors in import and start 2021-05-24 15:04:22 +02:00
krateng
5455abd0d1 Fixed silly oversight 2021-05-23 23:40:49 +02:00
krateng
a652a22a96 Rules 2021-05-23 16:00:46 +02:00
krateng
e664a93ef0 Rules 2021-04-15 20:09:57 +02:00
krateng
1727e0c92d Added Readme for library 2021-03-18 19:11:02 +01:00
krateng
1aeb72fd8f Added Python library for music players / scrobblers 2021-03-18 19:01:38 +01:00
Krateng
0cfdc60111 Merge branch 'master' of github.com:krateng/maloja 2021-02-24 16:13:32 +01:00
Krateng
2903a88096 Scrobbler, rule, e-mail 2021-02-24 16:11:37 +01:00
krateng
b75b643f6b
Update README.md 2021-02-06 04:52:35 +01:00
krateng
642cc7c00b
Update README.md 2021-01-31 17:35:33 +01:00
Krateng
6199fc8204 Why do these things happen 2021-01-24 01:44:04 +01:00