remove debug sql print
This commit is contained in:
@@ -111,7 +111,7 @@ func coverGetPathAlbum(dbc *db.DB, id int) (string, error) {
|
|||||||
|
|
||||||
func coverGetPathArtist(dbc *db.DB, id int) (string, error) {
|
func coverGetPathArtist(dbc *db.DB, id int) (string, error) {
|
||||||
folder := &db.Album{}
|
folder := &db.Album{}
|
||||||
err := dbc.DB.Debug().
|
err := dbc.DB.
|
||||||
Select("parent.id, parent.root_dir, parent.left_path, parent.right_path, parent.cover").
|
Select("parent.id, parent.root_dir, parent.left_path, parent.right_path, parent.cover").
|
||||||
Joins("JOIN albums parent ON parent.id=albums.parent_id").
|
Joins("JOIN albums parent ON parent.id=albums.parent_id").
|
||||||
Where("albums.tag_artist_id=?", id).
|
Where("albums.tag_artist_id=?", id).
|
||||||
|
|||||||
Reference in New Issue
Block a user