* 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
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>
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>
* 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
* 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.
* 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
* Added code to trigger rescan of entire tree upon file removal to clean as needed.
* Simplified ScanOptions initialization. Removed broken linter.
* gofmt fix