Sox cannot use new mime data sent by the new version of file utility, charset=binary indication to be exact. Results in errors like: play formats: no handler for detected file type `audio/mpeg; charset=binary' Works correctly with sys-apps/file-4.26
Created attachment 183127 [details, diff] patch sox for file version >=5.0 Hi, this patch should resolve the Problem. Copy /usr/portage/media-sound/sox/ to you local overlay. Save the patch in the file folder. Add the line: epatch "${FILESDIR}/${P}-file-5.0.patch" to sox-14.2.0.ebuild under the line: epatch "${FILESDIR}/${P}-distro.patch". Run ebuild sox-14.2.0.ebuild digest. reemerge sox and now it should detect mp3 files correct.
Created attachment 183646 [details, diff] revised patch for all versions of file This is a revised version of the previous patch, which works for <sys-apps/file-5.00 as well as >=sys-apps/file-5.00
(In reply to comment #2) > Created an attachment (id=183646) [edit] > revised patch for all versions of file > > This is a revised version of the previous patch, which works for > <sys-apps/file-5.00 as well as >=sys-apps/file-5.00 > Awesome, thanks. Added in sox-14.2.0-r1.ebuild