Commit Graph

24 Commits

Author SHA1 Message Date
sentriz
8dcfcbbb76 add bulk genre insert 2021-01-03 18:15:16 +00:00
sentriz
3d574bcf90 dont run genre migration if there are no genres 2021-01-03 18:15:16 +00:00
sentriz
9e5725c7dd add a migration for multi genres 2021-01-03 18:15:16 +00:00
sentriz
de79b043e1 Add inital multiple artist support 2021-01-03 18:15:16 +00:00
Duncan Overbruck
df679a6ae3 Add duration and track_count to getArtist, getAlbum and getAlbumList2 2020-07-24 14:26:50 +01:00
sentriz
f34a0b48f9 rename GetUserFromName -> GetUserByName 2020-07-16 23:00:51 +01:00
sentriz
0581335622 assume incoming play queue current is an ID 2020-06-30 20:42:50 +01:00
sentriz
950656af4f use pointers to specid.ID in spec responses
a bit shit but this way we can have a nil value of ID so that the json
emitempty tag will do the thing
2020-06-06 18:13:45 +01:00
sentriz
1ef2d43d39 move the id type into spec 2020-06-06 18:13:45 +01:00
sentriz
07e1c53d69 fix primary_ket in genre model
should write a migration next
2020-06-06 14:58:03 +01:00
sentriz
fd96bfe6a8 periodically clean sessions 2020-05-19 19:19:47 +01:00
sentriz
c65606ba1f add some go-critic suggestions 2020-05-07 04:31:47 +01:00
sentriz
ee9335f71e remove globals 2020-05-07 03:24:50 +01:00
sentriz
9bf80f4b18 move from test init()s to TestMain 2020-05-07 01:43:47 +01:00
sentriz
c12d252795 run each migration in its own transaction 2020-05-07 01:31:07 +01:00
sentriz
debdfd13ad scanner: ormise clean artists 2020-05-02 23:07:34 +01:00
sentriz
b02ade3415 update golangci lint linter list 2020-05-02 04:22:26 +01:00
sentriz
31b2b65ea6 move from pkg/errors to go1.13 errors 2020-05-01 21:35:24 +01:00
sentriz
d583c2fbd8 db: use Opaque for db conn url 2020-05-01 21:35:24 +01:00
sentriz
824048796e scanner: add more err checks 2020-05-01 21:12:01 +01:00
sentriz
08e775c9dd scanner: refactor cleaning 2020-05-01 02:59:28 +01:00
sentriz
5686517737 db: add indexes to album.tag_artist_id 2020-05-01 02:59:07 +01:00
sentriz
708198bcd5 log migrations as the run 2020-05-01 02:04:49 +01:00
sentriz
f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00