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

417 Commits

Author SHA1 Message Date
krateng
3b8723790a Refactored time objects 2021-12-10 21:31:09 +01:00
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
a55343f442 Changed from LESS to CSS custom properties 2021-08-30 19:21:04 +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
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
1aeb72fd8f Added Python library for music players / scrobblers 2021-03-18 19:01:38 +01:00
Krateng
2903a88096 Scrobbler, rule, e-mail 2021-02-24 16:11:37 +01:00
Krateng
6199fc8204 Why do these things happen 2021-01-24 01:44:04 +01:00
Krateng
23cc1ac341 Third party improvements 2021-01-21 17:38:37 +01:00
Krateng
c2f8ecc2df Version bump 2021-01-17 04:20:59 +01:00
Krateng
6555eea887 Fixed another time bug 2021-01-17 03:09:48 +01:00
Krateng
f67f900dae Fixed image uploading 2021-01-16 20:11:06 +01:00
Krateng
49b0a57581 Bumped Python version requirement to oldest supported 2021-01-16 17:25:52 +01:00
Krateng
06c32e205e This time for real tho 2021-01-15 20:09:34 +01:00
Krateng
2a5d9498d1 Restored functionality for older Python versions 2021-01-15 19:57:53 +01:00
Krateng
5006ad2bf1 Version bump 2021-01-15 18:45:42 +01:00
Krateng
bcd62c16fa Fixed time issues 2021-01-15 18:39:52 +01:00
Krateng
c4a9c6dc0f Fixed scrobbles view 2021-01-12 18:47:18 +01:00
Krateng
a42ed56d2d Updated testing 2021-01-10 17:00:16 +01:00
Krateng
6efe4a48c7 Fixed handling of special characters in manual scrobbling, fixes GH-68 2021-01-10 16:12:41 +01:00
Krateng
5bfd1e49dd Updated manual scrobbling, GH-68 2021-01-10 15:45:59 +01:00
Krateng
c86f3597fd Added proper multi-artist scrobbling via API 2021-01-10 15:30:11 +01:00
Krateng
723efcb8ba Made artist delimiters a setting, fix GH-66 2021-01-06 22:09:07 +01:00
Krateng
adfd6d2fc2 Fixes 2021-01-06 21:53:43 +01:00
Krateng
b53052c818 Housekeeping 2021-01-01 04:13:58 +01:00
Krateng
4d06a327e9 Happy New Year! 2021-01-01 03:10:36 +01:00
Krateng
f5f73d9223 Removed debug logging, fix GH-63 2020-12-25 17:11:09 +01:00
Krateng
db80e1791a Fixed backup 2020-12-25 16:52:25 +01:00
Krateng
f44c3fecb2 Fixed more complicated user file references 2020-12-25 05:24:59 +01:00
Krateng
0818dccac4 Fixed most references to user files 2020-12-25 04:52:05 +01:00
Krateng
fe2b0dd7c8 Reworked initial determination of user folders, GH-63 2020-12-25 04:41:33 +01:00
Krateng
5fe4c5cd22 Added alternative to loading bar, fixes GH-54 2020-12-13 03:38:46 +01:00
Krateng
218313f80c Fixed requirement 2020-12-13 03:24:40 +01:00
Krateng
4e69a6119d Merge branch 'master' of github.com:krateng/maloja 2020-12-13 03:09:03 +01:00
krateng
8b5254e4c7
Merge pull request #58 from FoxxMD/displayLocalTimezone
Display full datetime using system timezone
2020-12-13 03:08:35 +01:00
Krateng
64bb235011 Fixed daily execution of tasks for different timezones 2020-12-13 02:18:46 +01:00
Krateng
772f207b7e Cleaned up some imports 2020-12-03 20:12:49 +01:00
Krateng
f6b9f2b9fa Fix GH-61 2020-12-03 18:37:30 +01:00
Krateng
212fbf368e Database fixing now finally respects existing separation 2020-12-02 21:08:44 +01:00
Krateng
f62fd254dd Version bump 2020-12-02 20:15:20 +01:00
Krateng
7a3ee26c87 Fixed wait page after database rebuild, closes GH-59 2020-12-02 20:09:19 +01:00
Krateng
3de4059f85 Fixed database maintenance, GH-59 2020-12-02 19:18:12 +01:00
FoxxMD
75d8251a29 Use system timezone as TIMEZONE setting default 2020-12-01 15:48:56 -05:00
Krateng
74dc54862e Added progress bar to database build, GH-54 2020-12-01 20:32:29 +01:00
Krateng
e6535eb6bc Adjusted predefined ranges to consider timezone 2020-12-01 19:19:01 +01:00
Krateng
951f6bb562 Timeranges should now consider timezone 2020-12-01 19:12:20 +01:00
Krateng
e475b0c716 Added setting for timezone 2020-12-01 18:59:39 +01:00
FoxxMD
c87dc32455 Display full datetime using system timezone
When displaying a full datetime to the user use the system timezone instead of hardcoded UTC
2020-11-30 14:02:03 -05:00
Krateng
034bd064f1 Improved artist fixing (hopefully) 2020-11-15 20:19:29 +01:00
Krateng
755567549c Added makeshift pagination to api scrobbles list, fixes GH-52 2020-11-14 19:42:23 +01:00
Krateng
b84712ef22 Updated another old API url, GH-51 2020-11-11 19:05:10 +01:00
Krateng
3cf0dd9767 Cleanup and version bump 2020-11-11 17:45:40 +01:00
Krateng
cfec8e089b Updated API url, should fix GH-51 2020-11-11 17:44:57 +01:00
Krateng
c216aa5f24 Added ability to skip metadata fixing with existing known tracks 2020-11-06 20:43:55 +01:00
Krateng
b38267a09f Fixed scrobbles link in artist charts 2020-11-06 20:25:00 +01:00
Krateng
df6ad4f073 Legacy audioscrobbler should now use correct scheme automatically 2020-11-01 22:14:55 +01:00
Krateng
5b7d1fd8e9 Added ability to use legacy audioscrobbler without SSL 2020-11-01 18:05:11 +01:00
Krateng
e70cb3e037 API improvements 2020-10-31 19:57:49 +01:00
Krateng
f555ee9d9f Version bump 2020-10-29 17:26:23 +01:00
krateng
1940f62260
Merge pull request #37 from ICTman1076/patch-3
Create legacy audioscrobbler API
2020-10-29 17:23:12 +01:00
Krateng
724bfd7164 Updated postman collection 2020-10-29 17:21:50 +01:00
Krateng
e8c19a05e4 Implemented scrobbling 2020-10-29 17:14:22 +01:00
Krateng
8cf93c3100 Implemented handshake 2020-10-29 16:46:45 +01:00
Krateng
5c2928e13b Renaming and organization 2020-10-29 15:56:51 +01:00
Krateng
cba9d839a2 Version bump 2020-10-18 20:08:07 +02:00