Make ffmpeg path configurable, also finds it automatically in current folder. Fixes #1932

This commit is contained in:
Deluan
2023-02-07 13:08:25 -05:00
parent b8c5e49dd3
commit 759ff844e2
8 changed files with 137 additions and 46 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ func (r *mediaFileRepository) DeleteByPath(basePath string) (int64, error) {
func (r *mediaFileRepository) removeNonAlbumArtistIds() error {
upd := Update(r.tableName).Set("artist_id", "").Where(notExists("artist", ConcatExpr("id = artist_id")))
log.Debug(r.ctx, "Removing non-album artist_id")
log.Debug(r.ctx, "Removing non-album artist_ids")
_, err := r.executeSQL(upd)
return err
}