I was interested to see if the Raspberry PI Model A board could run XBMC. From looking at the RAM and CPU specifications you may wonder why i am interested in this at all. People have been running XBMC on the previous board which only had 256 megs of ram, so of course it will run. The issue isn’t a ram or cpu issue. It’s the fact that there is not any LAN connections and it only has one usb port. Seeing as i do not have a powered usb hub i could either have a usb keyboard or a wi-fi adapter. Not both.
The solution i came up with was to get it fully setup on the B board and than just move the SD card over.
After installing raspbmc, I attempted to install wicd-curses, which failed repeatedly. I then tried installing the Edimax drivers manually, with almost the exact same issues as wicd-curses. After a little bit of research I found a post that mentioned that openlec has the wifi settings built into the os. So after rebooting to NOOB and copying openlec over I was able to get wi-fi running.
The last step was to make sure i could remotely control XBMC from my iPhone app.
After that it really was as simple as just moving the sd card over the model A and turning it on. Aside from a very slightly increased delay in remote button press to activation, it works really really well.
Only issue is if the wi-fi settings change you lose your remote control to change settings.
Basically this is how to grab the direct http address to a specific radio station in shoutcast. That way you can add it to mpc or another streaming radio player without needing a webrowser running.
First things, install the free VLC media player
Then browse to the shoutcast.com page and find the HELP drop down box.
Select the following option to play it in your own media player
- Play SHOUTcast stations in default media player ( eg: Winamp / iTunes / Windows Media Player )
Go find a station to play and click on it. You should get the option to open the .pls file. If it doesnt open in vlc you may need to change your default programs so that vlc opens .pls files.
After vlc opens the stream, you should begin to hear the station. Go to TOOLS and open MEDIA INFORMATION.
At the bottom is the stream “location”.
copy this and paste it into your favorite music player.
- mpc add http://188.8.131.52:8030
- mpc play
#Update/upgrade the Raspberry PI
- sudo apt-get install -y mumble-server
- sudo dpkg-reconfigure mumble-server
- sudo nano /etc/mumble-server.ini
- sudo shutdown -r now
#grab client and point it at your server
# Add BBC channels to MPC
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio1_p?s=1365376033&e=1365390433&h=a0fef58c2149248d6bff1f7b7b438931
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio2_p?s=1365376067&e=1365390467&h=d43dc8ae0f888809462a6cb7c389b46b
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio3_p?s=1365376123&e=1365390523&h=d53cf2a92272f3289b314a2251d23bc8
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_radio4_p?s=1365376126&e=1365390526&h=ed9a0642b30c422b07fbcd8683c52335
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_5live_p?s=1365376271&e=1365390671&h=e0d82133f35ae74d41d5eab6b9c150a6
mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_intl_lc_6music_p?s=1365376386&e=1365390786&h=de40a9915206c4402c73e3766dc3fec0
# Start radio when pi turns on
sudo nano /etc/rc.local
#At the bottom add the following line
# Install Audio
sudo apt-get -y install alsa-utils mpg321 lame
sudo modprobe snd-bcm2835
# Set audio output to analog (0=auto, 1=analog, 2=HDMI)
# in this example the “1” is the option you would change to 2 if you wanted to use the HDMI jack
sudo amixer cset numid=3 1
# Test Audio
speaker-test -t sine -f 440 -c 2 -s 1
#Install MPD and MPC audio players
sudo apt-get install -y mpd mpc
sudo service mpd stop
sudo chmod -R g+w /var/lib/mpd
sudo chmod -R g+w /var/run/mpd
#remove bind to address
sudo nano /etc/mpd.conf
#Find the line that says bind_to_address “localhost”, and put a # in front of it or remove the entire line
sudo shutdown -r now