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
07e1c53d69
fix primary_ket in genre model
...
should write a migration next
2020-06-06 14:58:03 +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
fd96bfe6a8
periodically clean sessions
2020-05-19 19:19:47 +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
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
e7c95383be
scanner: log errors when writing
2020-05-02 14:32:03 +01:00
sentriz
15a5bba7b1
server: use godirwalk ErrorCallback
2020-05-02 04:42:09 +01:00
sentriz
d1cf964029
fix css for dark mode
2020-05-02 04:41:33 +01:00
sentriz
b02ade3415
update golangci lint linter list
2020-05-02 04:22:26 +01:00
sentriz
fc6f39bbfe
remake assets
2020-05-02 04:20:48 +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
f35a589bfd
scanner: add item unchanged
2020-05-01 17:51:45 +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
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
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
56a39126ec
add full scan button web ui
2020-04-25 03:07:41 +01:00
sentriz
f52ce807af
upgrade sqlite3
2020-04-25 01:55:46 +01:00
sentriz
13427e77d2
clean up jobs
2020-04-24 22:11:24 +01:00
sentriz
b95f98ffcf
add "-full-scan" scan option to gonic scan
...
closes #20
2020-04-24 01:57:17 +01:00
Alex McGrath
1f08ccf2f4
Improve compatibility with the subsonic api
...
This seems to be how its supposed to be implemented
set - should only change current playlist and shouldnt modify index
This lets dsub work properly when it comes to modifying the current
playlist as it does a combination of "set" and "skip"
Itll only use set if its adding tracks to the playlist and includes
the whole playlist, and itll use both set and skip to set the current
playing and skip back to the first track
2020-04-19 20:37:41 +01:00
sentriz
60a906c6fc
add author comments to encode and jukebox
2020-04-18 23:18:23 +01:00
sentriz
2ab18aaa06
jukebox: check info != nil before using ctrlStrmr
2020-04-18 23:13:04 +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