Senan Kelly
c947404923
refactor(scanner): make the watcher a little easier to reason about ( #394 )
...
* add a test for symlinks escaping defined music paths
* refactor(scanner): make the watcher a little easier to reason about
2023-10-24 22:57:42 +00:00
sentriz
cae37255d6
fix(metrics): have a distinction between folders and albums
...
closes #396
2023-10-23 17:47:58 +01:00
sentriz
95bc919377
don't backtick quote stuff
2023-10-19 02:17:39 +01:00
sentriz
d503282faf
don't panic when we can't find an old podcast episode path in migration
...
related #393
2023-10-18 20:09:38 +01:00
sentriz
69c02e8352
fix: add track count to /debug/vars metrics endpoint
...
fixes #392
2023-10-17 19:15:46 +01:00
sentriz
9818523175
fix: use conf cache-path instead of XDG_CACHE_HOME for jukebox socket
...
for environments without a user home dir
fixes #391
2023-10-15 21:29:43 +01:00
Duncan Overbruck
b17e76ea73
fix(subsonic): songCount and albumCount in genre objects is required ( #390 )
2023-10-12 19:19:30 +00:00
sentriz
80fdc85b60
don't backup db for tests
2023-10-10 16:56:37 +01:00
sentriz
f18151b755
fix(subsonic): don't return concatenated genres strings for song/trackchilds
2023-10-10 16:56:37 +01:00
sentriz
422a4b88d7
use db.Transaction helper for migrations
2023-10-09 23:32:07 +01:00
sentriz
219aa747c9
kill jukebox process on quit
2023-10-09 23:32:07 +01:00
github-actions[bot]
d839959301
chore: release 0.16.0 ( #370 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 22:22:16 +00:00
sentriz
e624813d5c
backup db pre 0.16 release
2023-10-09 21:52:14 +01:00
sentriz
66a29f7e93
move mockfs DumpDB to db package
2023-10-09 21:50:34 +01:00
sentriz
c9a2d2f9ce
feat(transcode): lock the destination transcode cache path
2023-10-09 20:47:57 +01:00
Senan Kelly
7eaf602e69
feat(subsonic): support timeOffset in stream.view ( #384 )
...
as per
https://github.com/opensubsonic/open-subsonic-api/pull/54
https://github.com/opensubsonic/open-subsonic-api/discussions/21
dont cache partial transcodes
add a transcode seek test
2023-10-08 16:10:49 +00:00
sentriz
318b62415d
refactor main tickers
2023-10-06 03:01:55 +01:00
sentriz
1ea2402559
feat(subsonic): scrobble to different scrobble backends in parallel
2023-10-05 12:23:57 +01:00
sentriz
9f8cfcc3b0
lint
2023-10-05 02:04:21 +01:00
sentriz
e6761343ad
move tags up a level
...
its not messily tied to scanner anymore
2023-10-05 01:27:21 +01:00
sentriz
04c7fa2efd
clean up old tickers
2023-10-04 21:36:55 +01:00
sentriz
315c4f834e
lint
2023-10-04 21:03:41 +01:00
sentriz
ce991b4d85
use sync.Pool instead of bpool
2023-10-04 20:54:42 +01:00
sentriz
97e9675dca
reorg packages
2023-10-04 20:52:06 +01:00
sentriz
a669ba8598
delete oklog
2023-10-04 20:45:41 +01:00
sentriz
e842b896ec
feat: enable profile-guided optimization
2023-10-02 20:29:04 +01:00
sentriz
726cddf4d8
clean up old gitignore entries
2023-10-02 20:28:46 +01:00
sentriz
8382f6123c
feat(subsonic): make it easier to add more tag reading backends
...
related https://github.com/sentriz/gonic/issues/379
related https://github.com/sentriz/gonic/issues/324
related https://github.com/sentriz/gonic/issues/244
2023-10-02 20:02:56 +01:00
sentriz
ae82153d79
put helpers last
2023-10-01 03:20:03 +01:00
Senan Kelly
e9accfb71f
refactor: refactor controllers and use standard library ( #385 )
2023-09-30 21:40:51 +00:00
sentriz
adceff1267
use new opensubsonic extensions response format
2023-09-30 22:24:16 +01:00
sentriz
b6e01fa33f
refactor transcode test
2023-09-28 22:01:41 +01:00
sentriz
2caee441ca
feat(subsonic): add getOpenSubsonicExtensions endpoint and openSubsonic response key
2023-09-28 21:17:56 +01:00
sentriz
e0b1603c00
feat(subsonic): update track play stats on scrobble instead of stream
2023-09-28 20:58:59 +01:00
sentriz
6b322e4a1f
return album genres as a list of objects as per opensubsonic
...
https://github.com/opensubsonic/open-subsonic-api/pull/51
2023-09-28 20:34:00 +01:00
sentriz
51cf57400e
don't start purge job if podcast-purge-age-days not set
...
Co-authored-by: Alex McGrath <amk@amk.ie >
2023-09-27 13:53:36 +01:00
Senan Kelly
f119659acf
refactor scrobblers ( #383 )
...
- no need to explicitly pass api key
- move packages up a level
- catch more errors by extended scrobbler interface with IsUserAuthenticated
- move interface to server
- delete scrobbber package, clients implicitly satisfy Scrobble
this also helps with gonic-lastfm-sync
2023-09-27 00:13:00 +00:00
sentriz
32064d0279
add lastfm get user info method
2023-09-26 22:43:48 +01:00
sentriz
8edd71f8f7
include artist ids in getStarred responses
2023-09-26 18:46:37 +01:00
sentriz
b3c863c386
feat(subsonic): order results from getStarred reverse chronologically based on star date
2023-09-26 12:03:15 +01:00
sentriz
fd1852c7f0
return loved date in loved tracks response
2023-09-26 11:53:23 +01:00
sentriz
81bf36abc1
add love track method to lastfm
2023-09-26 01:40:40 +01:00
sentriz
d77b0ebf4c
use http.Method* strings in lastfm tests
2023-09-26 01:15:58 +01:00
sentriz
9026c9e2c0
feat(lastfm): add user get loved tracks method
2023-09-26 00:06:23 +01:00
sentriz
d203cc267b
escape special chars in commit messages via pipe
2023-09-25 19:32:58 +01:00
sentriz
c93852fe16
don't pass nil clean up funcs to run.Group
2023-09-25 18:48:39 +01:00
Senan Kelly
39fb8e7d54
use package level require/assert in tests ( #382 )
2023-09-25 17:39:39 +00:00
sentriz
548ab4f51c
remove quotes from irc message
2023-09-25 19:06:38 +02:00
sentriz
5519c84f29
add a transcoding test
...
related #378
2023-09-25 19:01:43 +02:00
cacko
827baf2036
feat: add support for wavpack ( #380 )
2023-09-25 10:58:09 +00:00