Commit Graph
144 Commits
Author SHA1 Message Date
sentriz ea5e6252a1 fix(scanner): reset embedded cover for album when toggling scan-embedded-cover
closes #619
2025-10-23 16:52:25 +01:00
sentriz 7b29c611e8 refactor(scanner): don't pass double pointers 2025-10-06 17:40:39 +01:00
sentriz d66814bfd1 feat(subsonic): support embedded track level cover art
related #11
2025-09-30 15:08:46 +01:00
sentriz c69cb8cf35 feat(gonic): add scan-embedded-cover-enabled flag 2025-09-30 13:49:40 +01:00
sentriz ec7cffdd57 feat(subsonic): support embedded cover art
closes #11
closes #556
2025-09-29 18:24:37 +01:00
sentriz aba758f2ba feat(gonic): use wrtag/normtag for nag normalisation 2025-09-29 16:02:57 +01:00
sentriz 7802e20e72 feat(build): add Cgo free tagging backend 2025-09-29 14:41:39 +01:00
sentriz 85ea8d896a refactor(scanner): batch dir lookups / reduce tx overhead 2025-09-24 14:59:06 +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 c2e5eb3f0f chore: bump to go1.24 2025-07-30 11:45:36 +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
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 0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01:00
sentriz 86fd590556 scanner: use create time if we have it 2024-05-15 17:07:44 +02: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 02606087dc use context to stop main() jobs
use
2024-02-27 00:39:44 +00:00
sentriz 19ebd4540f fix(scanner): clean up orphaned album genres when dir still exists without tracks
fixes #466
2024-02-13 21:53:28 +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 b5de0b3b84 centralise special path prefix check 2023-12-29 19:20:31 +00:00
sentriz f5b6b4d790 fix substring checking in scanner musicDirRelative
related https://github.com/sentriz/gonic/issues/437
2023-12-22 13:00:14 +00:00
sentriz 7efe29f29f refactor(scanner): extract symlink walking 2023-12-13 02:16:05 +00:00
sentriz 9e12394acc refactor(scanner): rename scan context to scan state 2023-12-13 01:32:15 +00:00
sentriz 688f9d3be5 update created_at logic 2023-12-07 16:26:18 +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 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
sentriz ddb686bddc fix(scanner): make sure we roll back invalid parents
fixes #402
2023-11-04 19:04:30 +00:00
sentriz 27b2d36376 update transaction funcs 2023-11-04 19:03:28 +00:00
sentriz 604f450f08 move scanner helper 2023-11-04 18:27:35 +00:00
sentriz c1a34dc021 feat: store and expose individual track artists
a
2023-10-31 19:14:08 +00:00
sentriz fe0567a995 fix: store and scrobble with real album artist info string 2023-10-25 22:09:04 +01:00
sentriz 46575278ed refactor: remove album.GenreStrings 2023-10-25 21:59:56 +01:00
Senan Kelly c947404923 refactor(scanner): make the watcher a little easier to reason about (#394)
* add a test for symlinks escaping defined music paths

* refactor(scanner): make the watcher a little easier to reason about
2023-10-24 22:57:42 +00:00
sentriz 95bc919377 don't backtick quote stuff 2023-10-19 02:17:39 +01:00
sentriz e6761343ad move tags up a level
its not messily tied to scanner anymore
2023-10-05 01:27:21 +01:00
sentriz 8382f6123c feat(subsonic): make it easier to add more tag reading backends
related https://github.com/sentriz/gonic/issues/379
related https://github.com/sentriz/gonic/issues/324
related https://github.com/sentriz/gonic/issues/244
2023-10-02 20:02:56 +01:00
Senan Kelly 39fb8e7d54 use package level require/assert in tests (#382) 2023-09-25 17:39:39 +00:00
sentriz e3dd812b6c feat(ci): add a bunch more linters 2023-09-22 19:05:55 +02:00
sentriz 0eb5add1a0 delete multierr 2023-09-14 01:09:57 +01:00
sentriz 12c31cd334 use an enum for db settings 2023-09-14 00:51:40 +01:00
sentriz c909628e04 fix for int sep 2023-09-10 16:16:33 +01:00
sentriz 8f6610ff86 feat: allow multi valued tag modes to be configurable 2023-09-10 16:16:33 +01:00
sentriz 9cf48f0f58 relax the oul linters
will you fuckin relax pal
2023-09-10 16:16:32 +01:00
sentriz 657fb221db feat(subsonic)!: drop support for guessed artist covers in filesystem
it doesn't make sense with multi-artist support anymore

gonic will use lastfm or an album cover instead

Release-As: 0.16.0
2023-09-10 16:16:04 +01:00
sentriz 3ac77823c3 feat(subsonic): add support for multi-valued album artist tags
closes #103

a

a

a

r

a

a

a

a

a

a

a

a

a

a
2023-09-10 14:05:32 +01:00
sentriz 623d5c3709 feat(tags): support multi valued tags like albumartists 2023-09-05 17:42:24 +01:00
sentriz 56bd2c6432 add a test for orphaned genres 2023-08-16 22:52:26 +01:00