Commit Graph
429 Commits
Author SHA1 Message Date
yaemiku 4837448092 Merge remote-tracking branch 'origin' into ldap_auth 2026-02-14 03:54:36 +01:00
sentriz 469649935e fix(db): use separate DSN for both drivers 2025-12-05 17:52:29 +01:00
sentriz c2ebe96313 feat(subsonic): allow non admins to download podcast episodes
closes #623
2025-11-05 11:41:55 -03:00
yaemiku eccc957fd1 Merge branch 'master' into ldap_auth
Nightly Release / Check latest commit (push) Successful in 6s
Nightly Release / Lint and test (push) Has been skipped
Nightly Release / Build and release Docker image (push) Has been skipped
2025-10-12 11:06:18 +02:00
Senan Kelly 1af4ce3587 feat(subsonic): keep original cover file format when caching (#609)
related #11
2025-10-10 22:19:29 +00:00
sentriz d66814bfd1 feat(subsonic): support embedded track level cover art
related #11
2025-09-30 15:08:46 +01:00
sentriz ec7cffdd57 feat(subsonic): support embedded cover art
closes #11
closes #556
2025-09-29 18:24:37 +01:00
sentriz 2fcba12650 wire tag.Reader to subsonic Controller 2025-09-29 18:24:10 +01:00
sentriz aba758f2ba feat(gonic): use wrtag/normtag for nag normalisation 2025-09-29 16:02:57 +01:00
sentriz 3909e9b5bd feat(subsonic): return genres for getAlbumListTwo2
fixes #605
2025-09-28 18:38:53 +01:00
sentriz eb0d8fd1c7 feat(subsonic): also read unsynced lyrics from .txt files and tag metadata
closes #593
2025-09-23 21:29:20 +01:00
yaemiku 6fba25ca0b ldap login logic, subsonic api hex encrypted password 2025-09-21 08:02:10 +02:00
yaemiku e5c192c83c Merge branch 'master' into ldap_auth 2025-09-21 06:37:41 +02:00
sentriz 3db183bda4 feat(subsonic): better support for internet radio and podcast episodes in jukebox
fixes #572
2025-09-18 15:45:34 +01:00
sentriz 8ac8779b92 fix(subsonic): restore disc/track ordering in getMusicDirectory
fixes #597
2025-09-18 12:42:14 +01:00
sentriz 1bf4a5b0c1 chore(deps)!: bump to go1.25
fixes #594

Release-As: 0.18.0
2025-09-06 23:38:04 +01:00
./daniele db97bc753e feat(subsonic): add support for lyrics (#519)
* Add songLyrics extension since the getLyricsBySongId method is implemented

* Add support for lyrics

* Add check for getLyrics function

* fix typo

* chore: fix tests

* fix(lyrics): if lrc is formatted with empty spaces remove them

* fix(lint): use NewError correctly

bump ts
2025-08-26 11:09:00 +01:00
sentriz 5916a7fe7b feat(subsonic): replace html2text with bluemonday
fixes #591

Release-As: 0.17.1
2025-08-26 00:53:33 +01:00
sentriz 58d54c287c feat(subsonic): fallback to filename when title is missing tags
closes #541
2025-08-21 23:43:30 +01:00
Richard Samuels c6d87515c6 fix(subsonic): populate ArtistID and AlbumID for playlists (#567)
* fix(playlist): populate ArtistID and AlbumID

* update keys for CI lint config

* fix lint config again

* fix golden samples

* prettier testdata

* fix merge
2025-08-21 22:35:55 +00:00
sentriz fa434cc176 chore(ci): bump golangci-lint 2025-07-30 12:48:04 +01:00
sentriz 3fc9d5dcb5 fix(subsonic): gracefully handle missing playqueue items 2025-07-07 13:39:26 +01:00
sentriz 29b754973d feat(subsonic): expose album isCompilation and releaseTypes 2025-07-06 22:01:24 +01:00
Eric Munson e3dc188773 fix(subsonic): skip bookmarks for missing items instead of failing (#580)
Currently if a bookmark exists for an item that does not exist in the
db, either because it has been removed or it never did, the user is
prevented from retrieving any bookmarks. We can be in this state if
media has moved or been deleted, but also because the createBookmark
endpoint does not verify the item id provided.

This patch makes the getBookmarks endpoint ignore bookmarks for missing
items.

Fixes: https://github.com/sentriz/gonic/issues/578

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2025-05-27 23:18:04 +01:00
sentriz 7b19101a34 feat(subsonic): allow search albums with MBID 2025-05-26 20:30:20 +01:00
gabe 2d4111dfc5 feat(subsonic): allow search with MBID (#579)
* feat(search): use search2/3 query to additionally search track MBID

* feat(search): use strict equality for MBID search

don't compare substrings for now to reduce unwanted results based on
MBIDs

might also make search more efficient

* feat(db): add migration to create index on MBID

for MBID search

* tweak(search): remove unnecessary trim on query
2025-05-26 14:38:25 +00:00
Gonzalo 3252884414 fix transcoding typos (#573)
This fixes a typo on a log message, and another on a function name.
2025-03-27 10:50:03 +00:00
Vijay Dubb 63a420d2d3 feat(subsonic): support more podcast metadata and podcast bookmarks (#569)
* Migrate podcast episodes database entries.

* Expose album, artist, and image for podcast episodes.

* Update bookmarks to show podcast episodes.

* Fix lint error.

* Remove OriginalImageURL field.
2025-03-24 13:43:06 +00:00
mikuta0407 39df00ef8f fix(subsonic): order some browse-by-tag responses
closes #512
2025-02-15 16:16:10 +00:00
Nadia Santalla ac798ac2d2 fix(playlist): fix non-admin users not being able to create playlists (#524)
* fix(playlist): fail early if playlist path is a directory

* fix(playlist): check error before assuming playlist loaded
2024-09-15 14:57:23 +00:00
Daniel Hall d9facdcca6 Merge branch 'master' into ldap_auth 2024-09-08 10:59:37 -07:00
sentriz bbe16b7555 feat(subsonic): bump image cache expiration 2024-09-03 12:43:10 +01:00
betapictoris f812c15fa1 Merge branch 'master' into ldap_auth 2024-06-10 23:00:54 -07:00
sentriz 0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01:00
Daniel Hall 6ca68b2c26 Only allow use of subsonic API with one auth method 2024-04-07 10:43:07 -07:00
Daniel Hall b36f26e32a Have LDAP read from config 2024-04-07 10:18:00 -07:00
Daniel Hall 6eddc2a1a9 Made withUser return a middleware and take dbc 2024-04-07 09:40:25 -07:00
betapictoris 6d7c605578 Merge branch 'master' into ldap_auth 2024-04-01 10:49:18 -07:00
sentriz 81f8a7ec49 fix(subsonic): allow unlimited bitrate with no transcode setting configured
fixes #485

Release-As: 0.16.4
2024-03-20 21:15:54 +00:00
sentriz 62d49a33d1 feat: support internet radio stations for jukebox
fixes #481
2024-03-11 19:21:05 +01:00
sentriz 6ce1fe5a7e a 2024-03-11 19:10:53 +01:00
sentriz 88e58c055a feat(subsonic): return an error if maxBitRate requested with no user transcode preferences set 2024-03-01 18:18:01 +00:00
Daniel 8d4c22ad2f Merge branch 'master' into ldap_auth 2024-02-22 07:35:53 -08:00
sentriz c6cec8307a declare new errs inline if 2024-02-20 13:16:14 +00:00
Daniel Hall 408d325c2c Move LDAP into a seperate file 2024-02-17 22:12:56 -08:00
Daniel f8b0fbbfa2 Merge branch 'ldap_auth' into master 2024-02-15 10:59:33 -08:00
sentriz 80a9aebd0e update transcode log message 2024-02-14 17:30:55 +00:00
brian-doherty 2949b4c867 fix(subsonic): fix getAvatar user request comparison (#469) 2024-02-13 22:30:34 +00:00
sentriz 314e9632d7 fix(playlist): return new playlist id for createPlaylist
fixes #464
2024-02-02 19:57:43 +00:00
sentriz ec55f3b22a feat(subsonic): return playCount in album responses
closes #458
2024-01-18 21:10:48 +00:00