diff --git a/src/app/database/data.db b/src/app/database/data.db index 6ba499c..0601b68 100644 Binary files a/src/app/database/data.db and b/src/app/database/data.db differ diff --git a/src/db.zig b/src/app/lib/db.zig similarity index 94% rename from src/db.zig rename to src/app/lib/db.zig index 9690326..d1f5699 100644 --- a/src/db.zig +++ b/src/app/lib/db.zig @@ -27,7 +27,7 @@ const getTrack = \\SELECT artist, track, album, plays FROM tracks WHERE track == const getTrackSearch = \\SELECT url FROM artists WHERE artist == ? ; -const getArtistSearch = \\SELECT url FROM artists WHERE artist == ? +const getArtistSearch = \\SELECT artist, plays FROM artists WHERE artist == ? ; pub var db = loadDb("/home/swebb/Source/zuletzt/src/app/database/data.db"); diff --git a/src/app/views/root/_top.zmpl b/src/app/views/root/_top.zmpl index 1ce9914..3440698 100644 --- a/src/app/views/root/_top.zmpl +++ b/src/app/views/root/_top.zmpl @@ -1,31 +1,26 @@ -@html { - -}
Top: Artist -Album -Track +Album +Track
of: -Day -Week -Month -3 Months -6 Months -Current Year -365 days -All Time +Day +Week +Month +3 Months +6 Months +Current Year +365 days +All Time
-hyello +hyello