Unspecified videos are "movies", media_kind=2

media_kind=2 (Movies) indicates a regular video, that is, a video that
isn't a TV Show (media_kind=64).

Also fix up the system playlist for Movies, and that brings us to DB
schema_version 5.
This commit is contained in:
Ace Jones
2010-01-24 11:08:04 +01:00
committed by Julien BLACHE
parent f85fa927c8
commit 12e0c9268d
2 changed files with 8 additions and 3 deletions

View File

@@ -376,6 +376,11 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
/* I have no idea why this is, but iTunes reports a media kind of 64 for stik==10 (?!) */
mfi->media_kind = 64;
}
/* Unspecified video files are "Movies", media_kind 2 */
else if (mfi->has_video == 1)
{
mfi->media_kind = 2;
}
skip_extract:
if (mdcount == 0)