mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-21 20:41:28 +03:00
Loginfo -> log debug
This commit is contained in:
parent
cecf054c20
commit
becbdedff0
@ -201,6 +201,7 @@ This is a limitation of Squirrel. It is string based. YOu have to use the name o
|
|||||||
case "Artists":
|
case "Artists":
|
||||||
allAlbumsForThisArtist, getErr := cds.ds.Album(cds.ctx).GetAll(model.QueryOptions{Filters: squirrel.Eq{"album_artist_id": pathComponents[3]}})
|
allAlbumsForThisArtist, getErr := cds.ds.Album(cds.ctx).GetAll(model.QueryOptions{Filters: squirrel.Eq{"album_artist_id": pathComponents[3]}})
|
||||||
log.Debug(fmt.Sprintf("AllAlbums: %+v", allAlbumsForThisArtist),getErr)
|
log.Debug(fmt.Sprintf("AllAlbums: %+v", allAlbumsForThisArtist),getErr)
|
||||||
|
|
||||||
case "Albums":
|
case "Albums":
|
||||||
x, xerr := cds.ds.Album(cds.ctx).Get(pathComponents[3])
|
x, xerr := cds.ds.Album(cds.ctx).Get(pathComponents[3])
|
||||||
log.Debug(fmt.Sprintf("Album: %+v", x), xerr)
|
log.Debug(fmt.Sprintf("Album: %+v", x), xerr)
|
||||||
@ -247,7 +248,7 @@ type browse struct {
|
|||||||
|
|
||||||
// ContentDirectory object from ObjectID.
|
// ContentDirectory object from ObjectID.
|
||||||
func (cds *contentDirectoryService) objectFromID(id string) (o object, err error) {
|
func (cds *contentDirectoryService) objectFromID(id string) (o object, err error) {
|
||||||
log.Info(fmt.Sprintf("objectFromID called with : %+v", id))
|
log.Debug("objectFromID called","id", id)
|
||||||
|
|
||||||
o.Path, err = url.QueryUnescape(id)
|
o.Path, err = url.QueryUnescape(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user