mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 08:45:02 -05:00
Adjust filescanner to ignore streams with embedded artwork
This commit is contained in:
parent
c8a631212c
commit
b42b1f98d7
@ -385,6 +385,12 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
|
|||||||
#else
|
#else
|
||||||
case CODEC_TYPE_VIDEO:
|
case CODEC_TYPE_VIDEO:
|
||||||
#endif
|
#endif
|
||||||
|
if (ctx->streams[i]->disposition & AV_DISPOSITION_ATTACHED_PIC)
|
||||||
|
{
|
||||||
|
DPRINTF(E_DBG, L_SCAN, "Found embedded artwork (stream %d)\n", i);
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (!video_stream)
|
if (!video_stream)
|
||||||
{
|
{
|
||||||
DPRINTF(E_DBG, L_SCAN, "File has video (stream %d)\n", i);
|
DPRINTF(E_DBG, L_SCAN, "File has video (stream %d)\n", i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user