![]() |
[PROBLEM] MPD not recognizing the .aif file extension - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] MPD not recognizing the .aif file extension (/showthread.php?tid=7739) |
RE: MPD not recognizing the .aif file extension - TheOldPresbyope - 05-19-2025 (05-19-2025, 08:35 PM)steve4star Wrote: Not claiming an experience or knowledge of the plugin mechanism, however Look carefully; there is no mention of either .aiff or .aif extensions in this module. It recognizes MIME types audio/aiff and audio/x-aiff. That's where the mapping table comes into play. But I'm not going any farther with this so have away at it. Regards, Kent RE: MPD not recognizing the .aif file extension - steve4star - 05-19-2025 Cheers Kent, I looked at the ffmpeg source and .aif .aiff and .aifc were all in the mapping. Like you I have no aiff files, over to someone who can investigate further. RE: MPD not recognizing the .aif file extension - Nutul - 05-19-2025 (05-19-2025, 08:35 PM)steve4star Wrote: ETA: it looks for the file metadata, not sure if it use file extension name ? If the file extension is not included in those being searched for, the metadata is somrehing we can only dream of... ;-) RE: MPD not recognizing the .aif file extension - Nutul - 05-19-2025 (05-19-2025, 08:22 PM)TheOldPresbyope Wrote: Since I don’t actually use AIFF, it’s all the same to me.Neither do I, but for the sake of consistency I couldn't remain silent and risk to become accomplice... ![]() ETA I went your way. Red wine is never a mistake. RE: MPD not recognizing the .aif file extension - Tim Curtis - 05-19-2025 If there is no smoking gun in the code maybe someone could create a failure repro with MPD compiled from sources on PiOS Bookworm and a couple of AIFF tracks (I can provide those if needed). The repro would show that .aif is not recognized by MPD (not added to DB) but a rename to .aiff and the tracks are recognized (successfully added to MPD DB). ETA: And then post an issue to MPD repo. RE: MPD not recognizing the .aif file extension - Tim Curtis - 05-22-2025 Actually, there is already an issue in the MPD repo referencing files being excluded because ffmpeg is queried at runtime for its list of supported codecs. https://github.com/MusicPlayerDaemon/MPD/issues/2268 Maybe someone can volunteer to post to this issue and mention that .aif files are also being excluded. RE: MPD not recognizing the .aif file extension - Tim Curtis - 05-25-2025 (05-22-2025, 11:43 AM)Tim Curtis Wrote: Actually, there is already an issue in the MPD repo referencing files being excluded because ffmpeg is queried at runtime for its list of supported codecs. https://github.com/MusicPlayerDaemon/MPD/issues/2268 No volunteers? RE: MPD not recognizing the .aif file extension - TheOldPresbyope - 05-25-2025 I was hoping someone else would raise their hand. ![]() I first want to try building and enabling MPD’s sndfile decoder plugin to see how well moOde performs with it. I’m sure it will be brought up. Regards, Kent RE: MPD not recognizing the .aif file extension - Tim Curtis - 05-26-2025 You could try that but I don't think its necessary since the trouble report https://github.com/MusicPlayerDaemon/MPD/issues/2268 addresses the exact issue of specific file types being excluded because of the new "at runtime" query of ffmpeg. I would just mention that .aif is also being excluded. RE: MPD not recognizing the .aif file extension - TheOldPresbyope - 05-27-2025 @Tim Curtis Not my finest effort but check out issue #2313. Regards, Kent |