Commit Graph
1373 Commits
Author SHA1 Message Date
yaemiku 094ab2e458 Merge branch 'master' into ldap_auth 2026-04-26 03:02:46 +02:00
Eric Munson f79af9c6a8 feat(podcast): ensure that any error path out of doPodcastDownload sets status (#672)
Release / Lint and test (push) Successful in 2m44s
Release / Run Release Please (push) Failing after 15s
Release / Notify IRC (push) Has been skipped
Release / Build binaries (386, linux) (push) Has been skipped
Release / Build binaries (386, windows) (push) Has been skipped
Release / Build binaries (amd64, darwin) (push) Has been skipped
Release / Build binaries (amd64, linux) (push) Has been skipped
Release / Build binaries (amd64, windows) (push) Has been skipped
Release / Build binaries (arm64, darwin) (push) Has been skipped
Release / Build binaries (arm64, linux) (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Some error paths out of this function are not setting the podcast status
to 'error'. Move the deferred error checking earlier to ensure the
status is set.

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2026-04-26 03:00:56 +02:00
Florian Sorko 8df5f95a3d fix(podcast): fix crash if itunes extensions are missing (#668)
I came across this issue when I started to use a custom RSS
generator that works fine for e.g. the Apple Podcasts app
but results in a crash in gonic.

I found these nil pointer dereferences by looking at the stacktraces
only.
No time was spent looking for additional locations were this might need to
be fixed.

The custom generator if that helps
https://gist.github.com/diepfote/59aaf5eb8ea3e2d7bcdd97b8efd2a472
2026-04-26 03:00:55 +02:00
Eric Munson 3c46097df3 feat(subsonic): make error codes match Open Subsonic spec (#671)
There were a number of error codes being returned that did not match the
the code given by the spec. Primarily this was the use of error code 10
(missing input parameter) when 70 (data not found) was the more
appropriate return. Though several uses of 10 are actually 0 (internal
server or unspecified error).

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2026-04-26 03:00:54 +02:00
sentriz 13098660d2 feat(playlist): use relative paths in m3u playlists
write playlist item paths relative to the playlist file directory, an resolve relative paths back to absolute on read

closes #537
closes #529
2026-04-26 03:00:53 +02:00
sentriz fb3fb745f8 fix(scanner): reset batch timer on fsnotify Remove events
fixes #637
2026-04-26 03:00:52 +02:00
sentriz ee43c4db00 fix(subsonic): update homepage URL casing
closes #664
2026-04-26 03:00:51 +02:00
sentriz da5f2ca01c update readme
closes #667
2026-04-26 03:00:50 +02:00
Kynn | CherryblueandSenan Kelly e4a07750e4 feat: support track level year tags (#661)
* [ PR Year @ Track-level ] This resolves issue #549

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

* [ PR #661 ] Fixes proposed by Sentriz (file indentation, simpler call to functions)

* [ PR #661 ] Fix File indentation for construct_by_folder

* [ PR #661 ] Set known tracks year field to their parent (album) year value ; until next deep scan.

* [ PR #661 ] Fix database field names in sql query

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

---------

Co-authored-by: Senan Kelly <senan@senan.xyz>
2026-04-26 03:00:49 +02:00
sentriz d42ce531c6 fix(listenbrainz): disable post-quantum TLS to avoid connection reset errors
listenbrainz's server can't handle the larger TLS ClientHello from
Go's post-quantum key exchange (Kyber). Explicitly set classic curve
preferences to avoid "connection reset by peer" errors.

https://github.com/golang/go/issues/70139
2026-04-26 03:00:48 +02:00
yaemiku 88edd8b546 Merge branch 'master' into ldap_auth 2026-03-11 22:19:10 +01:00
Eric Munson 192ee10b3f feat(podcast): ensure that any error path out of doPodcastDownload sets status (#672)
Some error paths out of this function are not setting the podcast status
to 'error'. Move the deferred error checking earlier to ensure the
status is set.

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2026-03-11 16:37:53 +00:00
Florian Sorko 9473ec7539 fix(podcast): fix crash if itunes extensions are missing (#668)
I came across this issue when I started to use a custom RSS
generator that works fine for e.g. the Apple Podcasts app
but results in a crash in gonic.

I found these nil pointer dereferences by looking at the stacktraces
only.
No time was spent looking for additional locations were this might need to
be fixed.

The custom generator if that helps
https://gist.github.com/diepfote/59aaf5eb8ea3e2d7bcdd97b8efd2a472
2026-03-10 21:27:35 +00:00
Eric Munson 1b770c95d8 feat(subsonic): make error codes match Open Subsonic spec (#671)
There were a number of error codes being returned that did not match the
the code given by the spec. Primarily this was the use of error code 10
(missing input parameter) when 70 (data not found) was the more
appropriate return. Though several uses of 10 are actually 0 (internal
server or unspecified error).

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2026-03-10 19:56:47 +00:00
sentriz 798e7f875a feat(playlist): use relative paths in m3u playlists
write playlist item paths relative to the playlist file directory, an resolve relative paths back to absolute on read

closes #537
closes #529
2026-03-09 15:26:21 +00:00
sentriz 65c4674da0 fix(scanner): reset batch timer on fsnotify Remove events
fixes #637
2026-03-09 14:57:12 +00:00
sentriz e535e7888c fix(subsonic): update homepage URL casing
closes #664
2026-03-09 14:49:01 +00:00
sentriz ad65a9ab3e update readme
closes #667
2026-03-09 14:46:20 +00:00
Kynn | CherryblueandSenan Kelly 5e916d0f4c feat: support track level year tags (#661)
* [ PR Year @ Track-level ] This resolves issue #549

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

* [ PR #661 ] Fixes proposed by Sentriz (file indentation, simpler call to functions)

* [ PR #661 ] Fix File indentation for construct_by_folder

* [ PR #661 ] Set known tracks year field to their parent (album) year value ; until next deep scan.

* [ PR #661 ] Fix database field names in sql query

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

* Update db/migrations.go

Co-authored-by: Senan Kelly <senan@senan.xyz>

---------

Co-authored-by: Senan Kelly <senan@senan.xyz>
2026-02-24 21:00:11 +01:00
sentriz b2674f8e5a fix(listenbrainz): disable post-quantum TLS to avoid connection reset errors
listenbrainz's server can't handle the larger TLS ClientHello from
Go's post-quantum key exchange (Kyber). Explicitly set classic curve
preferences to avoid "connection reset by peer" errors.

https://github.com/golang/go/issues/70139
2026-02-24 15:50:38 +01:00
yaemiku 9c258bd316 Merge branch 'master' into ldap_auth 2026-02-19 03:25:57 +01:00
yaemiku bb8a68fe77 Enable a flag to change username attribute in LDAP 2026-02-19 00:22:34 +01:00
sentriz 25a061f44e fix(listenbrainz): disable keep-alive to avoid connection reset errors 2026-02-17 15:36:20 +00:00
yaemiku 1e99bb4a0a README LDAP env vars entries 2026-02-15 05:50:41 +01:00
yaemiku 9e331dd459 Move LDAP store out of the global variable 2026-02-15 05:01:16 +01:00
yaemiku ae99e76fc7 Merge branch 'master' into ldap_auth 2026-02-14 03:58:30 +01:00
yaemiku 4837448092 Merge remote-tracking branch 'origin' into ldap_auth 2026-02-14 03:54:36 +01:00
sentriz 4fff4185b5 refactor(specid): have Lookup return *specid.ID 2026-02-07 18:26:46 +00:00
sentriz 9407450660 fix(subsonic): return artist as track artist in TrackChild
fixes #654
2026-02-07 17:18:52 +00:00
sentriz fcf69743f0 scanner: log file paths when can't scan tags 2026-02-07 14:51:10 +00:00
sentriz e2dabd2519 feat(scanner): skip macOS resource fork files
related #657
2026-02-07 14:46:52 +00:00
sentriz 896b0dde2b feat(scanner): also read multi vorbis singular tags
closes #659
2026-02-05 21:14:12 +00:00
github-actions[bot] c36580fc30 chore: release 0.20.1 (#656)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 09:59:25 +00:00
sentriz 103a048e84 fix(playlist): fix regression in playlist ID handling
closes #655
2026-01-30 09:53:00 +00:00
sentriz 6a64822259 chore(deps): downgrade wrtag 2026-01-30 09:52:39 +00:00
github-actions[bot] 13255e67a5 chore: release 0.20.0 (#617)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-25 00:11:52 +00:00
sentriz 6cf2517d8d chore(deps): bump 2026-01-22 20:52:42 +00:00
sentriz 04ff7f3c33 fix(subsonic): correct spec typos
closes #653
2026-01-22 19:23:03 +00:00
sentriz e407421032 always return disc titles 2026-01-21 17:45:33 +00:00
sentriz 0fe8d4c1cc chore(deps): bump 2026-01-20 19:36:17 +00:00
sentriz 0377bfa696 feat(subsonic): return disc titles 2026-01-20 19:32:24 +00:00
sentrizandMatteo aad729e3ea feat: add support for playlist cover art on filesystem
closes #650

Co-authored-by: Matteo <girardi.matteo.dev@gmail.com>
2026-01-19 17:56:10 +00:00
snoutieandsnoutie db9aa2b2e3 feat(subsonic): implement getSimilarSongs for artists and albums (#649)
* getSimilarSongs for artists and albums

* Use preloaded album tracks

* Return after no similar tracks have been found for album

* Move controller to params

* Move getSimilarSongsFrom functions

* Fix getSimilarSongs returning similarSongs2 & refactor

---------

Co-authored-by: snoutie <snoutie@achtarmig.org>
2026-01-18 14:44:04 +00:00
sentriz 2900ce5102 fix(podcast): validate response status code when fetching podcast audio
fixes #639
2026-01-06 19:46:08 +00:00
Daniele Ricci 99e2ccfb0f fix(gonic): correct typo in command line help (#640) 2025-12-22 21:50:57 +00:00
sentriz ca59601484 fix(scanner): clear metadata of albums who no longer have tracks
fixes #638
2025-12-21 18:51:27 +00:00
sentriz c752a22808 feat(scanner): read multi valued release types 2025-12-13 16:19:40 +00:00
sentriz 469649935e fix(db): use separate DSN for both drivers 2025-12-05 17:52:29 +01:00
sentriz b67c1c14d2 fix(db): enable WAL also for Wasm driver
related #620
2025-12-05 11:49:04 +01:00
sentriz c8cc0ddb4c chore(deps): bump 2025-12-04 14:24:55 +01:00