Make playlist tracks match case-insensitive. Fix #1720
This commit is contained in:
@@ -100,7 +100,7 @@ func (r *mediaFileRepository) GetAll(options ...model.QueryOptions) (model.Media
|
||||
}
|
||||
|
||||
func (r *mediaFileRepository) FindByPath(path string) (*model.MediaFile, error) {
|
||||
sel := r.newSelect().Columns("*").Where(Eq{"path": path})
|
||||
sel := r.newSelect().Columns("*").Where(Like{"path": path})
|
||||
var res model.MediaFiles
|
||||
if err := r.queryAll(sel, &res); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user