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
This commit is contained in:
No files matched your search
@@ -127,6 +127,7 @@ func New(dbc *db.DB, scannr *scanner.Scanner, musicPaths []MusicPath, podcastsPa
|
||||
c.Handle("/getSimilarSongs", chain(resp(c.ServeGetSimilarSongs)))
|
||||
c.Handle("/getSimilarSongs2", chain(resp(c.ServeGetSimilarSongsTwo)))
|
||||
c.Handle("/getLyrics", chain(resp(c.ServeGetLyrics)))
|
||||
c.Handle("/getLyricsBySongId", chain(resp(c.ServeGetLyricsBySongID)))
|
||||
|
||||
// raw
|
||||
c.Handle("/getCoverArt", chainRaw(respRaw(c.ServeGetCoverArt)))
|
||||
|
||||
Reference in New Issue
Block a user