mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user