Quantcast
Channel: Linn Forums - All Forums
Viewing all articles
Browse latest Browse all 14025

ohMediaPlayer on Raspberry Pi

$
0
0
Since it is taking me forever to post some useful ready solution I will publish a guide to getting ohMediaPlayer up and running on RPi.

Note that ohMediaPlayer is quite ancient and doesn't work with recent ohNet releases.

The guide is in the form of a shell script, so everything after a hash is a comment, everything else is what you should put into RPi shell.

I assume you are using some distro of Debian. You should first have a development environment set up.

sudo apt-get install mono-complete build-essential
# The one below might require to add source repos to /etc/apt/sources.list (see here: http://www.raspbian.org/RaspbianRepository )
sudo apt-get build-dep vlc

# Prepare a source directory
mkdir -p ~/src/omp-hist
cd ~/src/omp-hist

# Fetch ohNet
git clone https://github.com/openhome/ohNet.git
cd ohNet
# Back to ancient history
git checkout 25e46b5bcb5c40ea4e7772349a39762503efd0bf
make
cd ..
# Now ohNetmon
git clone https://github.com/openhome/ohNetmon.git
cd ohNetmon
git checkout 11f6c2e9d311cc000123d624123896891e354ecf
make
# Ancient VLC
cd ..
wget http://download.videolan.org/pub/videola...10.tar.bz2
tar xjf vlc-1.1.10.tar.bz2
cd vlc-1.1.10
./configure
make
cd ..
# ...and OhMediaPlayer
git clone https://github.com/openhome/ohMediaPlayer.git
cd ohMediaPlayer
# Patch it a bit
wget https://dl.dropboxusercontent.com/u/1030...ayer.patch
patch -p1 < ohMediaPlayer.patch
# The build
./waf configure
./waf
# Now copy some files from VLC
cd build/linux2/
mkdir vlc
cp -R ../vlc-1.1.10/modules vlc/plugins
cp ../vlc-1.1.10/src/.libs/libvlc{,core}*so* ./
# Finally, run it!
LD_LIBRARY_PATH=. ./ohMediaPlayerVlc

If all steps completed succesfully your RPi should now be controlled by Kinsky.

Warning: only tested on USB DAC with ALSA. Some features might not work.

Hope it helps!

Viewing all articles
Browse latest Browse all 14025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>