Always treat podcasts, audiobooks and compilations as audio, even if video stream is present

This commit is contained in:
ejurgensen
2015-08-05 22:36:28 +02:00
parent 68912efa1f
commit 317ad2ba41
2 changed files with 11 additions and 7 deletions

View File

@@ -427,6 +427,10 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
break;
}
#endif
// We treat these as audio no matter what
if (mfi->compilation || (mfi->media_kind & (MEDIA_KIND_PODCAST | MEDIA_KIND_AUDIOBOOK)))
break;
if (!video_stream)
{
DPRINTF(E_DBG, L_SCAN, "File has video (stream %d)\n", i);