Commit Graph

79 Commits

Author SHA1 Message Date
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
26457aae6c add const 2020-06-06 18:13:45 +01:00
sentriz
b145ae39ed omit less fields in album response 2020-05-20 20:21:15 +01:00
sentriz
ee9335f71e remove globals 2020-05-07 03:24:50 +01:00
sentriz
b02ade3415 update golangci lint linter list 2020-05-02 04:22:26 +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
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
ce5c5d3b58 fix genre struct tags 2020-03-12 16:18:30 +00:00
sentriz
3a8e5b9205 run gofumpt / format comments / comment blocks 2020-03-12 15:17:36 +00:00
Duncan Overbruck
16d9d00408 ctrlsubsonic: add getSongsByGenre view 2020-03-03 13:40:23 +01:00
Duncan Overbruck
14d68f748c ctrlsubsonic: implement getGenres 2020-03-03 13:40:23 +01:00
Duncan Overbruck
2f563c3406 spec: add IgnoredArticles attribute to Index responses
This attribute is required as per spec and keeping it empty,
complies the spec as long as articles are not ignored while indexing.
In the future, this could maybe be a user setting that could be
supported.

With this change, the aurial client works now.

* https://shrimpza.github.io/aurial/
* https://github.com/shrimpza/aurial
2020-03-03 12:22:34 +00:00
sentriz
7c170a68c2 add more omitempty changes 2020-02-21 17:55:30 +00:00
sentriz
9b8a35df00 dont ommit empty json lists 2020-02-21 03:28:56 +00:00
sentriz
e8b0ea6713 add getRandomSongs
closes #33
2020-02-21 02:15:29 +00:00
sentriz
e67588623b return similar artists 2020-02-12 16:20:04 +00:00
sentriz
74e3598200 return ids at strings for json 2020-02-12 14:58:36 +00:00
sentriz
c84420fa4f implement get and set play queue 2020-02-09 16:50:02 +00:00
sentriz
e8abe08770 add some unimplemented routes 2020-02-09 15:57:07 +00:00
sentriz
49228f245c return more counts 2020-02-09 15:57:07 +00:00
sentriz
ce3fda696a don't omit an empty title for TrackChild
closes #13
2020-01-23 17:17:46 +00:00
sentriz
4af1e43389 expose gonic name and version
closes #18
2020-01-21 13:40:50 +00:00
sentriz
e174e72ac7 always return isDir/isVideo/created for getMusicDirectory 2019-11-26 13:41:29 +00:00
sentriz
48397b7291 merge create and update playlist 2019-11-24 23:09:36 +00:00
sentriz
6193f1b37d add basic playlist 2019-11-24 15:21:58 +00:00
sentriz
7580835146 fix scanning from jamstash 2019-07-31 15:11:51 +01:00
sentriz
5444b328fd seperate routes, provide robust handler types, use mux 2019-07-31 15:11:46 +01:00