mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
add error handling
This commit is contained in:
@@ -2011,12 +2011,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
var vn = string.Empty;
|
||||
|
||||
var hasArt = !string.IsNullOrWhiteSpace(state.AlbumCoverPath);
|
||||
hasArt = false;
|
||||
|
||||
if (hasArt)
|
||||
{
|
||||
albumCoverInput = " -i \"" + state.AlbumCoverPath + "\"";
|
||||
mapArgs = " -map 0:a -map 1:v -c:v copy";
|
||||
mapArgs = " -map 0:a -map 1:v -c:1:v copy";
|
||||
metadata = " -metadata:s:v title=\"Album cover\" -metadata:s:v comment=\"Cover(Front)\"";
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user