[filescanner] Add support for Monkey's audio
This commit is contained in:
parent
1fbb4b0d59
commit
1cc4c034d0
|
@ -628,6 +628,17 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
|
|||
extra_md_map = md_map_vorbis;
|
||||
break;
|
||||
|
||||
#if LIBAVCODEC_VERSION_MAJOR >= 55 || (LIBAVCODEC_VERSION_MAJOR == 54 && LIBAVCODEC_VERSION_MINOR >= 35)
|
||||
case AV_CODEC_ID_APE:
|
||||
#else
|
||||
case CODEC_ID_APE:
|
||||
#endif
|
||||
DPRINTF(E_DBG, L_SCAN, "APE\n");
|
||||
mfi->type = strdup("ape");
|
||||
mfi->codectype = strdup("ape");
|
||||
mfi->description = strdup("Monkey's audio");
|
||||
break;
|
||||
|
||||
#if LIBAVCODEC_VERSION_MAJOR >= 55 || (LIBAVCODEC_VERSION_MAJOR == 54 && LIBAVCODEC_VERSION_MINOR >= 35)
|
||||
case AV_CODEC_ID_MUSEPACK7:
|
||||
case AV_CODEC_ID_MUSEPACK8:
|
||||
|
|
Loading…
Reference in New Issue