Commit Graph
115 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 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 469649935e fix(db): use separate DSN for both drivers 2025-12-05 17:52:29 +01:00
sentriz b67c1c14d2 fix(db): enable WAL also for Wasm driver
related #620
2025-12-05 11:49:04 +01:00
sentriz 816e437d44 feat(db): add an index on albums.created_at
related #620
2025-12-02 11:48:27 +01:00
sentriz 1df6d02e6e db: remove shared cache and bump to 4 max open conns
related #620
2025-11-30 20:43:55 +01:00
sentriz 75a0918a7e feat(gonic): add log-db option to log queries
related #620
2025-10-24 17:05:46 +01: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 505f7d8ae6 feat(build): add Cgo free database 2025-09-29 14:41:39 +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 fa434cc176 chore(ci): bump golangci-lint 2025-07-30 12:48:04 +01:00
sentriz 29b754973d feat(subsonic): expose album isCompilation and releaseTypes 2025-07-06 22:01:24 +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
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
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 0e45f5e84c feat(subsonic): expose replaygain tags 2024-05-30 11:43:45 +01:00
sentriz 6ce1fe5a7e a 2024-03-11 19:10:53 +01:00
sentriz ec55f3b22a feat(subsonic): return playCount in album responses
closes #458
2024-01-18 21:10:48 +00:00
Senan Kelly f34cd2e213 fix(podcast): slightly more robust downloading and concurrency (#433) 2023-12-21 03:20:22 +00:00
sentriz d640a9fc06 fix(db): add double index for right side of unique compound indexes
fixes #426
2023-12-11 00:08: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 cc1a99f033 feat(subsonic): add getAlbumInfo with cache
Release-As: 0.16.1
2023-11-07 23:43:11 +00:00
sentriz 98eb1066d8 store artist album appearances 2023-11-06 23:40:00 +00:00
sentriz 288b457c19 remove unneeded many 2 many params 2023-11-06 21:50:25 +00:00
sentriz 27b2d36376 update transaction funcs 2023-11-04 19:03:28 +00:00
sentriz 2fdc1f41a2 feat: add more and unify stats
Release-As: 0.16.1
2023-10-31 19:14:08 +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
sentriz d503282faf don't panic when we can't find an old podcast episode path in migration
related #393
2023-10-18 20:09:38 +01:00
sentriz 80fdc85b60 don't backup db for tests 2023-10-10 16:56:37 +01:00
sentriz f18151b755 fix(subsonic): don't return concatenated genres strings for song/trackchilds 2023-10-10 16:56:37 +01:00
sentriz 422a4b88d7 use db.Transaction helper for migrations 2023-10-09 23:32:07 +01:00
sentriz e624813d5c backup db pre 0.16 release 2023-10-09 21:52:14 +01:00
sentriz 66a29f7e93 move mockfs DumpDB to db package 2023-10-09 21:50:34 +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
sentriz ae82153d79 put helpers last 2023-10-01 03:20:03 +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
Senan Kelly 33f1f2e0cf refactor podcast schema and generate unique episode paths (#373)
closes #350
2023-09-20 23:01:16 +00:00
sentriz 12c31cd334 use an enum for db settings 2023-09-14 00:51:40 +01:00
sentriz df2c0707dd only return artist cover art if we have cached it 2023-09-14 00:34:01 +01:00
sentriz c374577328 feat(subsonic): cache and use lastfm responses for covers, bios, top songs 2023-09-13 21:30:57 +01:00
sentriz ddd160545c use comma when joining artists 2023-09-10 16:48:06 +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