Commit Graph

149 Commits

Author SHA1 Message Date
sentriz
09967e3f5a chore: bump PGO profile 2023-12-05 15:28:54 +00:00
sentriz
5b5572d74c unset http WriteTimeout when -pprof 2023-12-02 18:38:42 +00:00
sentriz
816378140e add -pprof option 2023-12-02 17:03:35 +00:00
sentriz
2edb1b8eda feat: set global http timeouts except for streaming endpoints
related #411

Release-As: 0.16.2
2023-11-18 12:36:22 +00:00
sentriz
dd0f6b3650 fix(admin): don't start with empty session key
fixes #414
2023-11-18 07:01:39 +00:00
sentriz
cc1a99f033 feat(subsonic): add getAlbumInfo with cache
Release-As: 0.16.1
2023-11-07 23:43:11 +00:00
sentriz
17433f9197 don't mix multi artist conf settings 2023-11-06 21:50:09 +00:00
sentriz
2fdc1f41a2 feat: add more and unify stats
Release-As: 0.16.1
2023-10-31 19:14:08 +00:00
sentriz
c1a34dc021 feat: store and expose individual track artists
a
2023-10-31 19:14:08 +00:00
sentriz
1a45356fa2 rename exclude pattern var 2023-10-31 14:47:30 +00:00
sentriz
37e826e02b fix: don't panic when scan on start fails
fixes #399
2023-10-31 13:57:01 +00:00
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
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
sentriz
80fdc85b60 don't backup db for tests 2023-10-10 16:56:37 +01:00
sentriz
e624813d5c backup db pre 0.16 release 2023-10-09 21:52:14 +01:00
sentriz
318b62415d refactor main tickers 2023-10-06 03:01:55 +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
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
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
Senan Kelly
e9accfb71f refactor: refactor controllers and use standard library (#385) 2023-09-30 21:40:51 +00:00
sentriz
e0b1603c00 feat(subsonic): update track play stats on scrobble instead of stream 2023-09-28 20:58:59 +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
c93852fe16 don't pass nil clean up funcs to run.Group 2023-09-25 18:48:39 +01:00
sentriz
e3dd812b6c feat(ci): add a bunch more linters 2023-09-22 19:05:55 +02:00
sentriz
12c31cd334 use an enum for db settings 2023-09-14 00:51:40 +01:00
sentriz
1c0e844027 bump refresh artist info interval 2023-09-14 00:43:31 +01:00
sentriz
05a81a809a move artistinfocache 2023-09-14 00:41:47 +01:00
sentriz
c374577328 feat(subsonic): cache and use lastfm responses for covers, bios, top songs 2023-09-13 21:30:57 +01:00
sentriz
2a7a455ce2 feat: add option for /debug/vars endpoint to expose database and media stats
closes #372
closes #150
2023-09-13 01:11:13 +01:00
sentriz
b3199de967 remove a whole pile of startup indirection
fixes #360
2023-09-12 00:41:01 +01:00
sentriz
8f6610ff86 feat: allow multi valued tag modes to be configurable 2023-09-10 16:16:33 +01:00
sentriz
7dc9575e52 feat: store and use m3u files on filesystem for playlists
closes #306
closes #307
closes #66
2023-05-06 18:42:52 +01:00
Gregor Zurowski
1d3877668f feat(scanner): add a new option for excluding paths based on a regexp
* Exclude paths based on new exclude pattern option

* Add test for excluded paths

* Add exclude pattern option to docs

* Set exclude regexp only if given argument is set

* Update scanner/scanner.go

---------

Co-authored-by: Senan Kelly <senan@senan.xyz>
2023-05-06 17:03:11 +00:00
Senan Kelly
74de06430a refactor: consolidate specid <-> filesystem mapping and always use abs paths (#309) 2023-04-22 17:23:17 +00:00
sentriz
b8fceae383 feat(sunsonic): expose type serverVersion in subsonic responses
https://opensubsonic.netlify.app/docs/responses/subsonic-response/
https://github.com/opensubsonic/open-subsonic-api/discussions/3
2023-04-08 01:27:40 +01:00
sentriz
7e097c9bdf feat: allow for custom music folder path alias
closes #259
2022-11-21 20:51:26 +00:00
sentriz
428fddad1b feat(jukebox): allow users to pass custom arguments to mpv
fixes #125
fixes #164
2022-11-16 20:11:35 +00:00
sentriz
e1488b0d18 feat(jukebox): use mpv over ipc as a player backend 2022-11-16 19:40:40 +00:00
Brian Doherty
f6c95503c7 feat(scanner): added option to scan at startup
closes #251
2022-11-07 23:41:56 +00:00
brian-doherty
85cb0feb5a feat(podcasts): add an option to purge old episodes
* Record podcast episode plays in ModifiedAt field.

* Added podcast purger.
2022-11-07 23:30:34 +00:00
sentriz
1f8de66fc0 2022-11-03 15:27:59 +00:00
brian-doherty
ea28ff1df3 feat(scanner): add option to use fsnotify based scan watcher (#232)
* First cut at fsnotify support. Tested on Linux.

* Fixed bug in logging.

* Fixed lint issues.

* Added new scan watcher option to README.md

* Inverted conditional and dedented following code as per PR discussion.

* Changed command line switch and error return on ExecuteWatch() as per GH comments.

* Scan watcher: Removed scan at first start. Modified watcher to set a 10 second timer and then process in bulk.

Co-authored-by: Brian Doherty <brian@hplaptop.dohertyfamily.me>
2022-10-08 15:47:35 +01:00
sentriz
8b803ecf20 refactor: move shared packages up a level 2022-04-13 01:10:46 +01:00