Triode wrote: > Try the latest version of local player and set the binary to > squeezelite-osx-i386.
Hi Triode, This is regarding MP3 playback on Mac. Your squeezelite-osx-i386 does not work for me either with the logs reporting wrong architecture. For your plugin to work I believe you need to force squeezelite to run as a *64bit application* and not an i386 architecture. Specifically, the rudix mpg123 MP3 codec for Mac is not a universal binary and 64bit architecture only, so squeezelite must be run as 64bit application. I confirmed that your squeezelite universal binary was being executed for i386 by inspecting the running process. I suspect that Mac prefers i386 because the parent process LMS or Local Player plugin is i386. I was able to get MP3 playback to work with the universal Mac binary you were previously building (v1.0rc4) without manually running squeezelite. I did this by wrapping your binary in a bash script that forces it to execute as 64bit. My hack is outlined below. Step 1 Copy squeezelite to /usr/local/bin/squeezelite-osx-v1.0rc4 Step 2 Create the file /usr/local/bin/squeezelite-osx.x64 #!/bin/bash arch -x86_64 /usr/local/bin/squeezelite-osx-v1.0rc4 "$@" Step 3 cd ~/Library/Caches/Squeezebox/InstalledPlugins/Plugins/LocalPlayer/Bin ln -s /usr/local/bin/squeezelite-osx.x86_64 squeezelite-osx-i386 This works because, LMS runs as i386 architecture Mac wants squeezelite to run as i386 by default but is forced to run as x64 through the wrapper now squeezelite can use 64bit mp3 codecs ------------------------------------------------------------------------ swidnikk's Profile: http://forums.slimdevices.com/member.php?userid=58974 View this thread: http://forums.slimdevices.com/showthread.php?t=97766
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
