mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-15 16:48:22 -04:00
[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;
|
extra_md_map = md_map_vorbis;
|
||||||
break;
|
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)
|
#if LIBAVCODEC_VERSION_MAJOR >= 55 || (LIBAVCODEC_VERSION_MAJOR == 54 && LIBAVCODEC_VERSION_MINOR >= 35)
|
||||||
case AV_CODEC_ID_MUSEPACK7:
|
case AV_CODEC_ID_MUSEPACK7:
|
||||||
case AV_CODEC_ID_MUSEPACK8:
|
case AV_CODEC_ID_MUSEPACK8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user