Commit Graph

39 Commits

Author SHA1 Message Date
sentriz
6ce1fe5a7e a 2024-03-11 19:10:53 +01:00
sentriz
ec55f3b22a feat(subsonic): return playCount in album responses
closes #458
2024-01-18 21:10:48 +00:00
Senan Kelly
f34cd2e213 fix(podcast): slightly more robust downloading and concurrency (#433) 2023-12-21 03:20:22 +00:00
sentriz
cc1a99f033 feat(subsonic): add getAlbumInfo with cache
Release-As: 0.16.1
2023-11-07 23:43:11 +00:00
sentriz
98eb1066d8 store artist album appearances 2023-11-06 23:40:00 +00:00
sentriz
288b457c19 remove unneeded many 2 many params 2023-11-06 21:50:25 +00:00
sentriz
27b2d36376 update transaction funcs 2023-11-04 19:03:28 +00:00
sentriz
2fdc1f41a2 feat: add more and unify stats
Release-As: 0.16.1
2023-10-31 19:14:08 +00:00
sentriz
c1a34dc021 feat: store and expose individual track artists
a
2023-10-31 19:14:08 +00:00
sentriz
fe0567a995 fix: store and scrobble with real album artist info string 2023-10-25 22:09:04 +01:00
sentriz
46575278ed refactor: remove album.GenreStrings 2023-10-25 21:59:56 +01:00
sentriz
f18151b755 fix(subsonic): don't return concatenated genres strings for song/trackchilds 2023-10-10 16:56:37 +01:00
sentriz
66a29f7e93 move mockfs DumpDB to db package 2023-10-09 21:50:34 +01:00
sentriz
12c31cd334 use an enum for db settings 2023-09-14 00:51:40 +01:00
sentriz
fdbb28209b fix(scanner): fix records with album name same as artist
and never use db.Where() with a struct

gorm was seeing a query like

    db.Where(Album{Left: left, Right: right})

but if the `left` variable was empty, gorm couldn't differentiate it with an empty field in the struct
so it generated SQL that we weren't expected

like

    SELECT * FROM albums WHERE right=?

instead of

    SELECT * FROM albums WHERE left=? AND right=?

fixes #230
2022-09-09 13:09:06 +01:00
sentriz
8b803ecf20 refactor: move shared packages up a level 2022-04-13 01:10:46 +01:00
sentriz
f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00
sentriz
e966fffc21 set journal WAL in connection string, not command 2020-04-24 20:18:29 +01:00
sentriz
be3cf9a04e transcode pref: use uniq user & client, not client & profile
closes #48
2020-03-24 16:00:32 +00:00
sentriz
55bdc2884b add crud for custom transcode selection profile 2020-03-12 13:31:15 +00:00
Duncan Overbruck
f03b615583 db: add genres table and genre id column to album and tracks 2020-03-03 13:40:23 +01:00
sentriz
b677af43f0 return more child counts and format sql 2020-02-21 00:00:43 +00:00
sentriz
2c5970d77c update migration order 2020-02-20 00:31:13 +00:00
sentriz
8251f399f8 add init migrattions 2020-02-19 23:00:30 +00:00
sentriz
a42edc3441 move models into db package 2020-02-19 20:08:37 +00:00
sentriz
c84420fa4f implement get and set play queue 2020-02-09 16:50:02 +00:00
sentriz
d9663e5b0a backend: Refactor playlits 2020-02-09 15:57:07 +00:00
sentriz
6193f1b37d add basic playlist 2019-11-24 15:21:58 +00:00
sentriz
310e752015 set PRAGMA=journal_mode=WAL 2019-07-31 15:11:51 +01:00
sentriz
34321ebfff add db tests 2019-07-08 13:00:02 +01:00
sentriz
fd940cfc9c clean up scanner order and surface 2019-07-08 11:47:26 +01:00
sentriz
51b6565b91 use vanity url 2019-07-06 19:28:03 +01:00
sentriz
b6b3043765 move get funcs to db 2019-07-06 13:49:30 +01:00
sentriz
dbe7f1fb62 migrate on both binaries 2019-07-03 13:11:06 +01:00
sentriz
7842600e43 factor db creation to its own package 2019-07-03 11:41:02 +01:00
sentriz
ad571ed7ab eg 2019-05-20 14:49:14 +01:00
sentriz
de807902de delete handler test 2019-04-30 17:16:47 +01:00
sentriz
27981ae3cf mux t 2019-04-29 17:39:36 +01:00
sentriz
e9c0f09d0c init commit 2019-03-29 17:14:33 +00:00