Commit Graph
153 Commits
Author SHA1 Message Date
Kynn | CherryblueandSenan Kelly e4a07750e4 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-04-26 03:00:49 +02:00
sentriz fcf69743f0 scanner: log file paths when can't scan tags 2026-02-07 14:51:10 +00:00
sentriz e2dabd2519 feat(scanner): skip macOS resource fork files
related #657
2026-02-07 14:46:52 +00:00
sentriz 6a64822259 chore(deps): downgrade wrtag 2026-01-30 09:52:39 +00:00
sentriz 0377bfa696 feat(subsonic): return disc titles 2026-01-20 19:32:24 +00:00
sentriz ca59601484 fix(scanner): clear metadata of albums who no longer have tracks
fixes #638
2025-12-21 18:51:27 +00:00
sentriz c752a22808 feat(scanner): read multi valued release types 2025-12-13 16:19:40 +00:00
sentriz 469649935e fix(db): use separate DSN for both drivers 2025-12-05 17:52:29 +01:00
sentriz 79e3898c3b feat(ci): bump golangci-lint
a
2025-11-11 02:00:16 -05:00
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