Commit Graph
376 Commits
Author SHA1 Message Date
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
sentriz bbe16b7555 feat(subsonic): bump image cache expiration 2024-09-03 12:43:10 +01:00
sentriz 0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01: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
sentriz c6cec8307a declare new errs inline if 2024-02-20 13:16:14 +00: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
Senan Kelly 87943ea863 fix(subsonic): always return playlist duration
fixes #457
2024-01-17 19:13:34 +00:00
sentriz 8b4fc04d3e feat(subsonic): return changed field in playlist response
closes #455
2024-01-15 19:29:01 +00:00
sentriz 42dbfa7a85 fix(subsonic): return error code 70 for not found errors in more places
fixes #454
2024-01-14 12:18:31 +00:00
sentrizandChris Hayes eb79cecc44 fix(scanner): gracefully handle multi value tag delim splits with adjacent delimiters
closes #448

Co-authored-by: Chris Hayes <chayes@interrobang.sh>
2024-01-02 23:10:11 +00:00
sentriz 59d2bd9e82 update raw log style 2024-01-02 23:04:02 +00:00
sentriz 5bcd339501 add more logging to transcode rules
related #445
2023-12-29 22:20:11 +00:00
sentriz 422c684f44 feat(subsonic): prefer tagged musicbrainz ID over lastfm in getAlbumInfo
closes #444
2023-12-29 19:26:32 +00:00
sentriz b5de0b3b84 centralise special path prefix check 2023-12-29 19:20:31 +00:00
Philipp Wolfer 552aa3afb1 feat(listenbrainz): submit release MBID (#443) 2023-12-29 19:20:14 +00:00
Jesse Bannonandsentriz e63ee9687e fix(specid): match music dirs with trailing slash (#439)
* Fix bug with checking path prefixes

* slash instead

* double quote

* lint

* lint again

* ensure trailing slash when substring matching

---------

Co-authored-by: sentriz <senan@senan.xyz>
2023-12-22 01:11:08 +00:00
Senan Kelly f34cd2e213 fix(podcast): slightly more robust downloading and concurrency (#433) 2023-12-21 03:20:22 +00:00
sentriz a8333b8afa consolidate external text trimming 2023-12-10 18:44:59 +00:00
sentriz e8ae1c1d40 feat(subsonic): return http form post opensubsonic extension key
https://github.com/opensubsonic/open-subsonic-api/pull/74

Release-As: 0.16.3
2023-12-03 01:38:28 +00:00
sentriz f98b2326da feat(subsonic): expose track musicbrainz id
Release-As: 0.16.3
2023-12-02 17:58:57 +00:00
sentriz 79fdf640de add a test for params middleware 2023-11-30 18:57:07 +00:00
sentriz def59f17dd chore(jukebox): gracefully handle jukebox request when not enabled 2023-11-25 14:36:58 +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 2bf62310e7 initialise slices for browse-by-tag children
related https://github.com/sentriz/gonic/pull/397#issuecomment-1806808586
2023-11-11 12:58:01 +00:00
sentriz 5022500b30 fix(subsonic): return empty opensubsonic fields
https://github.com/sentriz/gonic/pull/397#issuecomment-1806794844
2023-11-11 12:34:04 +00:00
sentriz c55339e19a return no entries when out of bounds musicFolderId is requested 2023-11-08 23:17:19 +00:00
sentriz a472421106 only return album artists on getArtists 2023-11-08 23:17:05 +00:00
sentriz 50c90e8ee3 set a temporary album tag artist for those who mightn't have it yet 2023-11-08 23:05:16 +00:00
sentriz 0718aabbac feat(subsonic): expose track/album displayArtist/displayAlbumArtist
closes #406
2023-11-08 22:13:12 +00:00
sentriz a30ee3d7f9 feat(subsonic): support getAlbumList/getAlbumList2 type=highest
closes #404
2023-11-08 20:13:22 +00:00
sentriz 2df9052bf9 feat(subsonic): expose all of album "name"/"title"/"album" for browse by tag and browse by folder
related #404
2023-11-08 20:13:01 +00:00
sentriz cc1a99f033 feat(subsonic): add getAlbumInfo with cache
Release-As: 0.16.1
2023-11-07 23:43:11 +00:00
sentriz 3f5cf56c88 remove debug print 2023-11-07 23:14:26 +00:00
sentriz 0f611d7f7a use track artists and album artists more appropriately
for example using track artists to find top songs, and returning artist
features in artist album lists
2023-11-07 22:49:43 +00:00
sentriz 98eb1066d8 store artist album appearances 2023-11-06 23:40:00 +00:00