Commit Graph
401 Commits
Author SHA1 Message Date
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 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 103a048e84 fix(playlist): fix regression in playlist ID handling
closes #655
2026-01-30 09:53:00 +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 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 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
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
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
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