Commit Graph

133 Commits

Author SHA1 Message Date
sentriz
46b51ea1d0 update handler test files 2020-06-06 18:13:45 +01:00
sentriz
da8c4ac020 clean up ctrl_test 2020-06-06 18:13:45 +01:00
sentriz
9bcad9284a fix playlist updating 2020-06-06 18:13:45 +01:00
sentriz
9ed336242d tidy mod 2020-06-06 18:13:45 +01:00
sentriz
b8ed413ed3 parse incoming ids in handlers 2020-06-06 18:13:45 +01:00
sentriz
8a1a9bfcad support xml mashalling of specid.ID 2020-06-06 18:13:45 +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
31b8b758ed remove globals 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
26457aae6c add const 2020-06-06 18:13:45 +01:00
sentriz
f4a1c3fb0c ctrlsubsonic: move to new param package 2020-06-06 18:13:45 +01:00
sentriz
bf78ccfdfd add "FirstOr" param parser 2020-06-06 18:13:45 +01:00
sentriz
75fbe779d3 add bool param type 2020-06-06 18:13:45 +01:00
sentriz
4f519d71ed add param parsing methods
related: #41
2020-06-06 18:13:45 +01:00
sentriz
b1a875c53f check for an unfound track during playlist construction 2020-05-26 21:06:22 +01:00
sentriz
b145ae39ed omit less fields in album response 2020-05-20 20:21:15 +01:00
sentriz
2ee1b4d978 abstract away some of the encode internals 2020-05-08 18:42:45 +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
9e4d924fd5 simplify ctrl tests 2020-05-07 01:43:47 +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
a541f97cd8 lastfm: rename scrobbleopts scrobbleoptions 2020-05-01 17:51:45 +01:00
sentriz
24212af42e scanner: add scanoptions struct 2020-05-01 17:51:45 +01:00
sentriz
080189e977 remove jukebox's dependency on ctrlsubsonic 2020-04-26 18:15:22 +01:00
sentriz
51f2e12a3c bump to v0.8.8
generated by `_do_bump_version` script in project root
2020-04-25 19:21:40 +01:00
sentriz
82fa77808f sort getMusicDirectory dir children by name
closes #61
2020-04-25 19:19:49 +01:00
sentriz
92573de436 bump to v0.8.7
generated by `_do_bump_version` script in project root
2020-04-25 18:00:04 +01:00
sentriz
e90f581966 ctrlsubsonic: sort getindexes and getartists views with COLLATE NOCASE
(hopefully) closes #61
2020-04-25 17:56:20 +01:00
sentriz
8d1c80cdc0 bump to v0.8.6
generated by `_do_bump_version` script in project root
2020-04-25 03:29:25 +01:00
sentriz
295bf5677f make the "raw" handlers a bit more consistent
also, todo: think about deleting them
2020-04-25 03:17:50 +01:00
sentriz
f52ce807af upgrade sqlite3 2020-04-25 01:55:46 +01:00
sentriz
b95f98ffcf add "-full-scan" scan option to gonic scan
closes #20
2020-04-24 01:57:17 +01:00
sentriz
e0f194ec6c add jukebox-enabled flag 2020-04-18 22:04:53 +01:00
Alex McGrath
eb33a06cd7 Make the jukebox less of a heap 2020-04-18 20:44:03 +01:00
sentriz
1ff5845a02 refactor server startup into jobs 2020-04-18 19:35:15 +01:00
Alex McGrath
64d0aee8dc Add support for the jukebox endpoint
This supports most of jukeboxControl.view as far as i can tell. Things
seem to be playing ok without freaking out

I've also only tested it a little bit with ultrasonic but it does
appear to be working pretty well
2020-04-17 23:20:06 +01:00
sentriz
f262c66c76 bump to v0.8.5
generated by `_do_bump_version` script in project root
2020-04-12 18:38:08 +01:00
sentriz
5b76ab4e4b add year and artist to getalbum response
closes #55
2020-04-12 18:27:50 +01:00
sentriz
256143a025 move senan.xyz/g/ to go.senan.xyz 2020-04-02 16:46:04 +01:00
sentriz
a127980f68 bump to v0.8.4
generated by `_do_bump_version` script in project root
2020-04-01 18:00:00 +01:00
sentriz
d5128f3c61 bump to v0.8.3
generated by `_do_bump_version` script in project root
2020-03-26 01:48:56 +00:00
sentriz
b3a623ffe1 move cache path from base controller to subsonic controller 2020-03-26 01:42:15 +00:00
sentriz
b63428344a clean up controllers 2020-03-26 01:42:15 +00:00
sentriz
4e3a0db739 bump to v0.8.2
generated by `_do_bump_version` script in project root
2020-03-20 14:16:00 +00:00
sentriz
ed4f55a21f left join when counting parent's children 2020-03-20 14:15:21 +00:00
sentriz
4b32bc0e4d move admin playlist handlers to own file 2020-03-15 00:03:15 +00:00
sentriz
03647176d4 clean up scanner cleanup 2020-03-14 16:41:28 +00:00
sentriz
9ccf7fb19c bump to v0.8.1 2020-03-13 00:14:02 +00:00