cfalcon
Posts: 2
Joined: Wed Aug 30, 2017 12:48 pm

Internet Radio and MP3 Player

Wed Aug 30, 2017 12:52 pm

Hello,

I want to build a simple music player, it should stream internet radio and MP3 player (if it works with free spotify or youtube also good) with a Raspbery PI, I have version 1 and 3.
I know that are many projects out there, but I want to know what is the best for what I want.
I do not need any display, I want to make the control by a web page.

What do you suggest?

Thanks,

CF

User avatar
topguy
Posts: 6073
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Internet Radio and MP3 Player

Wed Aug 30, 2017 1:23 pm

The old http://www.pimusicbox.com/ sounds very suitable for your needs.
- The original site has not been updated for a good while, but someone might have forked it and working on it if you google further.
- Free Spotify support is probably not going to happen.

DarrenHill
Posts: 240
Joined: Fri Oct 03, 2014 3:03 pm

Re: Internet Radio and MP3 Player

Thu Sep 07, 2017 7:40 am

Also have a look at Volumio.

I run it on a Pi Zero W (with a DAC pHAT) and it works fine as an internet radio, and it can also support locally stored and network available MP3.

I think there is a Spotify plug-in for it as well, but that's just from memory and don't take that as gospel as I don't use them personally.

fredoll
Posts: 228
Joined: Thu Jan 10, 2013 10:30 am

Re: Internet Radio and MP3 Player

Thu Sep 07, 2017 7:55 am

you could also use mpd and ympd

johndavies
Posts: 192
Joined: Fri Dec 20, 2013 1:00 pm

Re: Internet Radio and MP3 Player

Thu Sep 07, 2017 10:54 am

I contributed to a post which may help you. If you look at the Projects section of the Forum where your letter is shown and open up the Media Centres section, you can scroll down to and open up the "MPC Playlist Issue". I have given some hints and tips on how to use the MPC/MPD system. I have also recommended the use of omxplayergui which can now display and play your media files wherever they are stored on your pi i.e. SD card, USB memory stick and/or hard disc.

donkeyhead1
Posts: 6
Joined: Sat Feb 04, 2017 10:35 pm

Re: Internet Radio and MP3 Player

Sat Sep 30, 2017 3:21 pm

I'd be interested to know of what is suitable for an MP3/internet radio player.
I've got an IQ Audio DAC, a spare Zero with some hub that gives it Wifi.

For me though, it needs to have a display, LCD or OLED, IR remote or at least a volume knob and run on an older Zero.

Anyone got any real life experience of the various projects that seem to be around?

audio_jack
Posts: 2
Joined: Sun Jan 07, 2018 2:10 pm

Re: Internet Radio and MP3 Player

Sun Jan 07, 2018 2:23 pm

For internet radio players you could use for instance:

cvlc http://icecast.omroep.nl/3fm-bb-mp3
mplayer http://icecast.omroep.nl/3fm-bb-mp3
mpg123 http://icecast.omroep.nl/3fm-bb-mp3

In this example they all play a radio station "RADIO 3"

cvcl : sudo apt-get install vlc
mplayer: sudo apt-get install mplayer
mpg123: sudo apt-get install mpg123

Display you can buy here: https://goo.gl/2Dm9Qu
I2C works perfect with the PI3, follow this manual https://www.raspberrypi-spy.co.uk/2015/ ... pberry-pi/

User avatar
oz2cpu
Posts: 19
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Internet Radio and MP3 Player

Wed Jan 10, 2018 8:41 pm

the audio output from any pi model is noisy and not really use full for higher quality music
except is very small kitchen music box.. if you want to connect it to any type of hifi stereo system
you will find out very fast you need a DAC of some sort.
lucky you, they are super cheap and easy to handle,
actually just order i hifiberry or compatible, then get the pi image from, either :
www.runeaudio.com
www.moodeaudio.org
www.volumio.org

they all support all the features you asked for. look and feel is a little bit different, so i suggest you try them all
Denmark Copenhagen webx.dk radioamateur OZ2CPU

User avatar
oz2cpu
Posts: 19
Joined: Tue Jan 09, 2018 8:30 am
Location: Denmark, CPH
Contact: Website

Re: Internet Radio and MP3 Player

Wed Jan 10, 2018 8:48 pm

i forgot to add:
all the mentionened pi image files, support audio out via the jack connector as stock,
so you have the option to try that first and see how their systems work,
the latest pi 3 i tried is actually a bit less noisy on the audio out,
so maybe you find it acceptable for your project.
else a sound card (DAC) is cheap, check ebay for:
Raspberry DAC I2S
read about the different DAC types, some support digital volume inside the chip
and some dont, so if you sit right next to the volume knob of your amplifier this might not be a problem,
the types that dont support volume in dac hardware, the music system can be configured to give you digital amplification by dividing the sound value, this however add a detectable sound quality reduction specially at low volumes.
Denmark Copenhagen webx.dk radioamateur OZ2CPU

bobrathbone
Posts: 19
Joined: Mon Oct 22, 2012 7:43 am

Re: Internet Radio and MP3 Player

Thu May 24, 2018 6:46 am

Why not take a look at http://www.bobrathbone.com/raspberrypi/ ... radio.html
This site contains a comprehensive set of instructions for building a variety of Raspberry Pi internet radios including with LCDs, OLED displays or the Raspberry Pi touch-screen.

FlyingDrMike
Posts: 18
Joined: Thu Sep 07, 2017 5:21 pm

Re: Internet Radio and MP3 Player

Thu Sep 13, 2018 4:24 pm

For a detailed description of how to set up an internet radio and music player with smartphone (webpage) control and HQ audio via a PCM5102A DAC see: https://www.instructables.com/id/High-Q ... dio-With-/

johndavies
Posts: 192
Joined: Fri Dec 20, 2013 1:00 pm

Re: Internet Radio and MP3 Player

Thu Sep 13, 2018 11:03 pm

For those who do not have the confidence or a spare pi to add the extra hardware needed for the suggestions made above there is a relatively easy software solution. The Minimal Kiosk Browser package includes omxplayergui. This needs Minimal Kiosk Browser to be added to the programs on the SD card but it works independently of it. The Minimal Kiosk Browser is a very useful and highly adaptable browser. Omxplyergui can be used to play your media files. Mine is set up to play music, .radio programmes, TV music documentaries and recorded TV. The BBC iPlayer site is a wonderful source for audio and video for us licence payers. The music playback has a random play feature which is very useful for background music. I find the mpc/mpd system of audio playback quite difficult to set up. It usually takes me a day or so to get it working and I am never quite sure how I managed to get it to work. Lists of radio stations can be created on the Terminal and saved as .pls files e.g. bbcnational.pls or NYrock.pls etc. They are entered in pairs e.g. File=http;//rest of first radio station URL and the second line contains the title e.g. Title=any meaningful title. When all the pairs have been entered the file can be saved as a .pls file. Different list of radio stations can be accessed through the omxplayergui Web menu. A media menu can be set up using the "Settings" option.

Return to “Graphics, sound and multimedia”