5383b69eb6
Allow reading and writing rules.json
...
I like the idea of letting the user write to a file themselves for rules, but I think this is going to significantly slow things down. Will probably switch to SQL table at some point. Also very hardcoded for my purposes. ALSO the code looks bad, I think there must be a better way...
2025-04-19 15:01:30 -04:00
18cdb48b53
Begin rules
2025-04-18 21:29:00 -04:00
ff8cdabbf1
Cleanup
2025-04-17 15:28:00 -04:00
387493d3c0
Change typedef of prev_artist_infos
...
Feeling much better about my choices this time around
2025-04-17 15:17:10 -04:00
4d63844def
Make artist retrieval apart of main query
...
This feels bad or wrong somehow, but it do be working tho
2025-04-17 15:05:44 -04:00
2c4af0b378
Include artist column for albums
...
I'm convinced there's a better way of doing this, but this is all I can think of right now
2025-04-17 14:05:15 -04:00
41ab0dc888
Remove artists column from views
...
I kinda just didn't want to deal with it while implementing the raw sql. Bringing it back is my next priority, but I want to do the searching in a nice way, and I'm not sure how to do that yet
2025-04-17 00:26:56 -04:00
27358fe217
Implement db searches using raw sql
2025-04-17 00:24:48 -04:00
09d4453665
Fix various issues with process_scrobbles
...
I use the ins_ variables an unnecessary amount I think, I need to take a closer look at it, and give them better names
2025-04-17 00:24:16 -04:00
3f69183b6f
Create new Schema from migrations
2025-04-17 00:23:12 -04:00
64038079d8
Update process_scrobbles.zig to fit new db
2025-04-07 15:44:52 -04:00
0537ef7db2
she QUERY on my DATA so she's BASEd
2025-04-07 10:44:28 -04:00
29f8837f19
Use convenience functions for views
2025-03-28 16:11:41 -04:00
cf84b4afdd
Remove unnecessary db search for scrobbles
...
I forgot I made scrobbles owned by their respective songs/albums/artists, so I can just query that instead
2025-03-28 13:09:51 -04:00
e22dc4c949
Remove css
...
Looked bad, wasn't helping
2025-03-28 10:45:22 -04:00
3bc81e8c6f
Refactor
2025-03-28 10:29:36 -04:00
0522a023b5
Use find() instead of where() for song/albums views and add artists to song view
...
I think this makes things faster, but I may just be comparing to the scrobbles view which is terribly slow
2025-03-28 10:11:07 -04:00
05e9c05742
Only select necessary columns in artists/albums/songs views
...
Some guy on GitHub said this is better lol
2025-03-28 09:47:07 -04:00
43e07901d6
Merge branch 'main' of ssh://git.sawebb.xyz:222/mitteneer/zuletzt
2025-03-26 21:38:41 -04:00
a77e1dcaad
Add artists column to albums view
2025-03-26 21:38:34 -04:00
711102ce9f
Update README.md
2025-03-26 04:47:04 +00:00
11ddf40131
Add DataTables to some views
...
This is awesome. Unfrotunately, it's all rather slow, but I'm mostly blaming db stuff for that. Still, very awesome to see where this is going. Need to add DataTables to more views, and see what I can do about sate sorting in the Scrobbles view
2025-03-26 00:42:07 -04:00
4adbd59e12
Add scrobble count to each artist/album/song view
2025-03-25 15:44:40 -04:00
7ee3abe857
Merge branch 'main' of ssh://git.sawebb.xyz:222/mitteneer/zuletzt
2025-03-09 14:48:13 -04:00
9e2b676aef
Work on artists view
2025-03-09 14:48:07 -04:00
ee3184c7b1
Update README.md
2025-03-05 05:30:34 +00:00
2bb39a5cfc
Update README.md
2025-03-05 04:41:57 +00:00
1184677fab
Include number of scrobbles in artist view
2025-03-04 15:36:34 -05:00
69d126bd90
Add to common_queries.md
...
Also fixes some queries that relied on name, but should have relied on id
2025-03-04 14:10:19 -05:00
65f18e44f4
Add songs index function
2025-03-04 12:13:57 -05:00
829b46cc63
Fix albums index function
...
Not as fragile as I thought
2025-03-04 12:08:50 -05:00
8a70239170
Fix header on artists/albums pages
...
I'm realizing what I have is extremely fragile, so not ideal, but not a bad starting place I would say
2025-03-04 12:00:48 -05:00
a55f4e7bc0
Rename and begin implementing views
...
I get an error whenever CSS is loaded, not sure what to do about that yet. Doesn't seem to impact anything, but I should probably be using a different way of getting the id from an entity. Also need to think about deleting the functions I don't need.
2025-03-04 11:17:47 -05:00
d1d5c08f9a
Add views for entities
...
Also reverts some work in the scrobbles view
2025-02-27 13:55:50 -05:00
1895080faf
Merge branch 'main' of ssh://git.sawebb.xyz:222/mitteneer/zuletzt
2025-02-25 16:58:44 -05:00
692320a1d2
Begin Scrobbles view
2025-02-25 16:58:39 -05:00
9164ad597b
Update common_queries.md
2025-02-25 20:40:50 +00:00
1809a12a8c
Fix date filtering
...
Need better enforcement via HTML
2025-02-25 13:33:23 -05:00
5dcad9b5da
Add to common_queries.md
...
I mostly want to have a list of queries that I know I'll need, and then
I can either try to translate them into Jetquery SQL commands, or use the
raw SQL functionality of Jetquery. Need to look at the code for date
checking, it's expecting both dates to be set if either one is set.
2025-02-25 12:20:40 -05:00
d929a4abbe
Fix errors with title tracks and minimum play time
2025-02-24 23:40:25 -05:00
0dad718c98
Update README.md
2025-02-25 00:32:20 +00:00
3dbdc82f77
Update README.md
2025-02-25 00:23:08 +00:00
16f5b8bdba
Allow Spotify history uploads
...
It works B) Just need to fix date filtering, and I should be able to start writing views for this kind of stuff. After that, editing the data in the browser.
2025-02-24 19:19:37 -05:00
e2ff66ea50
Begin Spotify uploading
2025-02-21 22:53:27 -05:00
7957345057
Allow filtering scrobble uploads by date
...
Necessary to avoid double scrobbling if uploading from two sources (i.e. my Spotify data [2016-2023] and my last.fm data [2019-present])
2025-02-21 11:54:02 -05:00
ab01f2e213
Add associative tables
...
You can't run from it
2025-02-19 21:19:43 -05:00
a2aa946b3b
Fix null albums
...
We're so back
2025-02-18 16:27:24 -05:00
4f051170e5
thank you Lane
2025-02-18 13:10:47 -05:00
473abaf564
Restart database
...
It's been 0 days since I've last retsrated the database
2025-02-17 23:05:56 -05:00
010c72252d
Fix scrobble uploading
...
I was relying on a database table for no reason, go rid of that. There's more tidying to be done, but I want to look at the actual db inserts now.
2025-02-17 16:47:12 -05:00