PulseAudio on OpenWRT with MPD and other Stuff: Difference between revisions
mNo edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 26: | Line 26: | ||
Dependencies include some basic ALSA (Advanced Linux Sound Architecture) stuff, but a couple of more items are nice to have for several reason, including testing, so; | Dependencies include some basic ALSA (Advanced Linux Sound Architecture) stuff, but a couple of more items are nice to have for several reason, including testing, so; | ||
opkg install ffmpeg-full ffprobe alsa-utils alsa-ucm-conf mpd-full mpd-avahi-service mpc lib<ins>mpd</ins>client | |||
...and maybe opkg install madplay mpg123 (they don't install any services, so they're just there if you need them) | ...and maybe opkg install madplay mpg123 (they don't install any services, so they're just there if you need them) | ||
| Line 36: | Line 35: | ||
...but first: opkg install python3 (don't worry that the OpenWRT version of Python 3 is lower than the required version of PulseMixer, as it seems to work fine) | ...but first: opkg install python3 (don't worry that the OpenWRT version of Python 3 is lower than the required version of PulseMixer, as it seems to work fine) | ||
==== MPD Notes ==== | |||
* Make sure to install ffmpeg-full, using opkg install ffmpeg-full EXPLICITLY, otherwise ffmpeg-mini will be installed (which miraculously does NOT include support for the simplest format there is, .WAV Files) | |||
* ffprobe is a useful tool to install | |||
* Modify the /etc/init.d/mpd File to run as root:root (just do it, saves a lot of trouble later) | |||
====The Errors==== | ====The Errors==== | ||
| Line 52: | Line 57: | ||
The result: Connection failure: Access denied | The result: Connection failure: Access denied | ||
Why (as noted earlier, but more details and a solution later): The root User (that's right, the ROOT user) doesn't have the privileges to execute the command. WTF!? | |||
How long did it take to figure out and what was the anger level: ''10 Page Diatribe DELETED'' | How long did it take to figure out and what was the anger level: ''10 Page Diatribe DELETED'' | ||
| Line 93: | Line 93: | ||
====FIRST! (or rather the next thing to do)==== | ====FIRST! (or rather the next thing to do)==== | ||
REMEMBER: PulseAudio has to be properly configured and running for Bluetooth (bluetoothctl) to work! and because OpenWRT doesn't include of the Bluez Tools (nope, not Blues Clues), make sure PulseAudio has the Bluetooth Modules loaded up and ready to go (IE, the AVAHI version of PulseAudio)! | |||
See: [[PulseAudio on OpenWRT with MPD and other Stuff#Installation of Software]] | |||
AND make sure the /etc/pulse/system.pa loads the Bluetooth Module | |||
====Crap that Does NOT work==== | ====Crap that Does NOT work==== | ||