Commit Graph
1196 Commits
Author SHA1 Message Date
sentriz 223b7feab4 readme: mention tagging with wrtag 2025-09-08 13:07:07 +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
github-actions[bot] 72376a4568 chore: release 0.17.0 (#497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-21 22:52:30 +00:00
sentriz 58d54c287c feat(subsonic): fallback to filename when title is missing tags
closes #541
2025-08-21 23:43:30 +01:00
sentriz 465ab8ae26 chore(deps): bump 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 c2e5eb3f0f chore: bump to go1.24 2025-07-30 11:45:36 +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
sentriz 7d095ede6b fix cleanBookmarks typo 2025-06-23 17:49:05 +01:00
Eric Munson b8dfe1449e feat(scanner): cleanup bookmarks on scan (#583)
Currently, if a media item (track or podcast episode) is removed the
entries in the bookmark table that refer to the now missing media item
are left in the table. This commit adds a cleanup method which is part
of the scan.

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2025-05-29 18:00:08 +00: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
Vijay Dubb 19b707c5d4 feat(podcast): use podcast author if episode author is not defined (#574)
* Use podcast author if episode author is not defined.

* Address feedback.
2025-04-14 17:04:58 +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
sentriz e5f7ef3c86 fix(ci): update .golangci.yml exclude config 2025-03-23 14:10:57 +00:00
mikuta0407 39df00ef8f fix(subsonic): order some browse-by-tag responses
closes #512
2025-02-15 16:16:10 +00:00
sentriz 5c7d065fd7 feat(lastfm): paginate loved tracks 2025-02-04 16:51:18 +00:00
sentrizandArtem Tarasov 018343dc32 feat(db): add a covering index on tracks (album_id, length)
closes #508

Co-authored-by: Artem Tarasov <artem@devopps.de>
2025-01-15 20:36:19 +00:00
sentriz 718686a93a fix(adminui): resolve reverse proxy paths for fonts
fixes #543
2025-01-15 20:27:15 +00:00
sentriz c222ecb45c feat(podcast): download most recent episode when switching to download recent mode
closes #557
2025-01-15 20:10:05 +00:00
sentriz 1c2377189d fix(ci): use new sqlite package name 2025-01-05 19:48:42 +00:00
sentriz ddf3b574e3 docs: tested with termsonic
closes #553
2025-01-05 19:45:31 +00:00
Chad Clarkandsentriz aef5f920d2 fix(podcast): gracefully handle no podcast cover URL (#547)
* fix(podcast): nil pointer when podcast has no image

* don't download empty cover string

---------

Co-authored-by: sentriz <senan@senan.xyz>
2024-11-16 14:41:40 +00:00
sentriz 643ffffa0f chore(deps): bump 2024-09-18 20:06:45 +01: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
brian-doherty bcb613c79c feat(transcode): add cache pruning and config options
* Added config option to set size of transcode cache and cadence to enforce that sizing via ejection.

* Added cache eject to contrib/config.

* Added error return for CacheEject(). Changed to use WalkDir() instead of Walk().

* Lint fix.

* Added universal lock for cache eject.

* Removed accidentally committed binary.
2024-09-15 14:04:28 +00:00
sentriz bfa0e130d4 chore(deps): bump 2024-09-13 11:52:43 +01:00
sentriz 640d872f4c fix(ci): bump golangci-lint 2024-09-12 18:41:10 +01:00
sentriz 453639ee34 feat(scanner): use wrtag/coverparse for cover selection
later, gonic will also use wrtag/tags for tag parsing

closes #338
closes #516
2024-09-12 18:36:57 +01:00
sentriz 120fd7959a fix(ci): ignore gosec integer overflow conversion 2024-09-12 18:36:57 +01:00
sentriz 875a83ad4f chore: bump to go1.23 2024-09-12 18:30:40 +01:00
Nadia Santalla fb36dbf719 fix(dockerfile): install abuild key (#526)
Without this, abuild refuses to run correctly.
2024-09-12 17:24:09 +00:00
sentriz bbe16b7555 feat(subsonic): bump image cache expiration 2024-09-03 12:43:10 +01:00
sentriz a1d929e486 chore(deps): bump 2024-07-13 17:19:45 +01:00
sentriz 0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01:00
garfieldairlines.net 259be0edde docs: add example GONIC_EXCLUDE_PATTERN usage (#505)
+ regex examples for GONIC_EXCLUDE_PATTERN
2024-05-23 10:19:19 +00:00
Artem Tarasov 0d7d92d545 chore(docker): update to Alpine 3.19 (#502)
* update to Alpine 3.19

check out utfcpp (taglib2 dependency) from git, because Alpine 3.19
packages incompatible utfcpp 4.0, resulting in build failure

* use utfcpp package and specify the include path
2024-05-20 16:21:04 +00:00
sentriz 14c34c6052 ​ 2024-05-16 13:24:12 +02:00
sentriz 86fd590556 scanner: use create time if we have it 2024-05-15 17:07:44 +02:00
xxxserxxx f5893ea5ea feat(playlist): assume playlists in the root dir without a user dir belong to admin (#499) 2024-05-01 15:32:51 +00:00
sentriz 559c9106b0 remove redundant handlerutil.Redirect 2024-04-28 13:32:41 +01:00
sentriz 6ba342c770 chore: bump deps 2024-04-28 13:32:40 +01:00
brian-doherty 93ce039963 feat(scanner): support full scan cleanups in watcher (#496)
* Added code to trigger rescan of entire tree upon file removal to clean as needed.

* Simplified ScanOptions initialization. Removed broken linter.

* gofmt fix
2024-04-21 00:04:53 +00:00
sentriz 38ab0b0929 fix podcast mkdir for podcast episode 2024-04-20 19:38:40 +01:00