Commit graph

18 commits

Author SHA1 Message Date
62590fee37 Made queries.zig look significantly nicer
There's a little bit of weird stuff happening, but holy cannoli, that's so much easier to maintain and parse
2025-05-29 19:39:51 -04:00
3ff973e193 Use queries.zig in scrobbles view 2025-05-26 11:15:51 -04:00
1734e6a4bb Fix date formatting in scrobble view 2025-05-20 16:29:53 -04:00
c42b8d24dd Fix typo 2025-05-15 15:37:21 -04:00
365b9dbf11 Switch to using newtable partial for all tables
Will be renamed eventually, don't care right now. Also cleans up a lot of code I wasn't particularly happy about
2025-05-13 14:24:14 -04:00
94cc6e3bd5 Remove unused views and functions 2025-05-05 11:06:52 -04:00
78e416eeaf Add more information to scrobbles views and refactor artists view 2025-04-28 23:06:21 -04:00
cb89a3e6f3 Switch dates from i128 to u64
I was making them unnecessarily large by accidentally storing them as microseconds instead of milliseconds. Might be able to get away with seconds in the future
2025-04-28 21:37:08 -04:00
65136a44d6 Add more information to artists view, songs view, and format dates correctly in scrobbles view 2025-04-27 23:58:50 -04:00
27358fe217 Implement db searches using raw sql 2025-04-17 00:24:48 -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
a77e1dcaad Add artists column to albums view 2025-03-26 21:38:34 -04: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
d1d5c08f9a Add views for entities
Also reverts some work in the scrobbles view
2025-02-27 13:55:50 -05:00
692320a1d2 Begin Scrobbles view 2025-02-25 16:58:39 -05:00
a15db5fb31 Add views and begin database 2024-11-20 18:17:14 -05:00