shiftux
Posts: 3
Joined: Mon Dec 01, 2014 8:34 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sat Dec 06, 2014 9:26 am

thanks for your reply.
I think giving MAC addresses might have helped... I changed the setup somehow. I made my qnap nas the LMS server and had the clients connect to it. so far this seems to work pretty well. the nas is always on and the clients seem to connect as soon as they are turned on.
I will post again if I see any furhter issues...
thanks a lot!
cheers

jabadabado
Posts: 1
Joined: Sat Dec 06, 2014 6:25 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Dec 09, 2014 7:53 am

Hi,

Only thing I'm missing in this software is to start streaming automatically when Its powered up. I know there is a field for “auto start LMS” in piCorePlayer but that does not work for me. (It will choose the right stream but not start playing…)

I am using a raspberry PI with picoreplayer on in my bathroom and it would be fantastic if I could get it to auto start streaming internet radio when I power it on.

Jabadabado--

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Fri Dec 12, 2014 10:15 pm

jabadabado wrote:Hi,

Only thing I'm missing in this software is to start streaming automatically when Its powered up. I know there is a field for “auto start LMS” in piCorePlayer but that does not work for me. (It will choose the right stream but not start playing…)

I am using a raspberry PI with picoreplayer on in my bathroom and it would be fantastic if I could get it to auto start streaming internet radio when I power it on.

Jabadabado--
Hi jabadabado,

Unfortunately we are having trouble getting "auto start LMS" reliable. It works for me 90% of the time, but it not robust enough for "released" software. We'll be removing it from the web interface until we find a proper solution.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

PioLon
Posts: 2
Joined: Mon Dec 15, 2014 12:03 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 15, 2014 12:16 pm

Hi this is great! So convenient to set it up. Thank you for this!

I would like to find a solution to control the volume of the squeezelite output via hardware buttons wired to the GPIOs.
If I understood everything I read so far correctly, I somehow have to wire a button to a GPIO and write a script (in python?) that sends a command to the LMS.
Has anybody maybe done something like this already and can point me to a link?
Thanks in advance!

User avatar
Paul Webster
Posts: 826
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 15, 2014 1:17 pm

I did something like that - to control via infrared remote and wrote it up
http://dabdig.blogspot.com/2014/08/infr ... n-rpi.html

PioLon
Posts: 2
Joined: Mon Dec 15, 2014 12:03 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 15, 2014 2:24 pm

Thanks! So I can basically copy the second half of what I want to do from you :)

The first part seems to be rather easy according to this:
http://razzpisampler.oreilly.com/ch07.html

Only that the example is in python which doesn't seem compatible to your expect thing. But getting the commands out to LMS via python should be possible too.

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Dec 16, 2014 10:14 pm

PioLon wrote:Thanks! So I can basically copy the second half of what I want to do from you :)

The first part seems to be rather easy according to this:
http://razzpisampler.oreilly.com/ch07.html

Only that the example is in python which doesn't seem compatible to your expect thing. But getting the commands out to LMS via python should be possible too.
hi PioLon,

Are you planning on using piCorePlayer? If so, using python may cause you a couple of issues. piCorePlayer is based on a minimal Tiny Core Linux installation that is loaded into memory. There is no python, perl or even bash included. Adding these will increase the size significantly. You will need to look at resizing the second partition and have to plan the process for future upgrades.

I use simple shell scripts to control GPIOs. No additional software is really necessary. This solution is not as elegant as using some of the great GPIO libraries out there but it is reasonably simple, requires no extra software and you learn a little more about GPIOs closer to the coal front.

Have a look here for an GPIO out example:

http://www.pinkfishmedia.net/forum/show ... p?t=165465

You can use telnet but nc is better if you want feedback from LMS.

Look at /home/tc/www/cgi-bin/controls.cgi, it shows you the LMS volume commands.

There is help on the LMS CLI interface on your LMS installation. Accessible through the web interface.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

Flykri
Posts: 2
Joined: Sun Dec 28, 2014 12:42 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sun Dec 28, 2014 1:24 pm

Good afternoon and merry xmas to all of you!

I recently bought a Raspberry Pi Mod B with this DAC http://www.audiophonics.fr/en/kits-modu ... -8884.html

I assembled both cards together (not welded, just plugged them into each other using the adaptor).

I succesfully installed picoreplayer 1.18b and "Ralphy's newest version" on the pi. I can access the player via the web interface.

Nevertheless, I encounter some problems getting the sound out of the DAC. When I choose the analog outpout of the source list and when I plug a headphone into the pi, I can listen to the music without any problem. Synchro is working fine as well between my sources.

But, when I try to get the sound out of the DAC it doesn't work. First, I'm unsure of which source I have to choose. The only thing I can tell is when I choose I2S-Audio DAC, I2S-Audio AMP, I2S-Audio I2SDAC+, I2S-Audio I2SDigi+ I'm able to find the zone on my Squeezecenter on the web interface. When I choose the other sources, this zone disappear from the squeezecenter.

I shouldn't be wrong saying that I have to choose one among the 4 I listed but I don't know which one exactly.

The outputs of the DAC are connected to my Marantz amp and this shouldn't be part of the equation.

Could it be the the fact the cards aren't welded together is the cause of the problem? Shoud I be using Triodes version iso Ralphy's one (what's the difference?). I'd be pleased to read from you.

Thanks in advance,

Flykri

User avatar
Paul Webster
Posts: 826
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sun Dec 28, 2014 7:20 pm

The web site that you linked to says that it works with Volumio ( http://www.volumio.org ) - so you could try that and if it works then you could either stick with it or see how that was configured and try to replicate it.

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 29, 2014 6:12 am

Flykri wrote:Good afternoon and merry xmas to all of you!

I recently bought a Raspberry Pi Mod B with this DAC http://www.audiophonics.fr/en/kits-modu ... -8884.html

I assembled both cards together (not welded, just plugged them into each other using the adaptor).

I succesfully installed picoreplayer 1.18b and "Ralphy's newest version" on the pi. I can access the player via the web interface.

Nevertheless, I encounter some problems getting the sound out of the DAC. When I choose the analog outpout of the source list and when I plug a headphone into the pi, I can listen to the music without any problem. Synchro is working fine as well between my sources.

But, when I try to get the sound out of the DAC it doesn't work. First, I'm unsure of which source I have to choose. The only thing I can tell is when I choose I2S-Audio DAC, I2S-Audio AMP, I2S-Audio I2SDAC+, I2S-Audio I2SDigi+ I'm able to find the zone on my Squeezecenter on the web interface. When I choose the other sources, this zone disappear from the squeezecenter.

I shouldn't be wrong saying that I have to choose one among the 4 I listed but I don't know which one exactly.

The outputs of the DAC are connected to my Marantz amp and this shouldn't be part of the equation.

Could it be the the fact the cards aren't welded together is the cause of the problem? Shoud I be using Triodes version iso Ralphy's one (what's the difference?). I'd be pleased to read from you.

Thanks in advance,

Flykri
Hi Flykri,

Have you read the October 7 2014 news item?

https://sites.google.com/site/picoreplayer/home/news

The 26 pin header will need to be soldered to the DAC pcb if the pictures are accurate.

The 8 pin header needs to be soldered to the RasPi.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 29, 2014 10:09 am

Flykri wrote:Good afternoon and merry xmas to all of you!

I recently bought a Raspberry Pi Mod B with this DAC http://www.audiophonics.fr/en/kits-modu ... -8884.html

I assembled both cards together (not welded, just plugged them into each other using the adaptor).
Hi Flykri I have this card working fine with piCorePlayer. As Greg pointed out you will need to have the 8 pin header soldered on your raspberry card (the P5 connector). Then simply connect the audio card with the raspberry board.

However, the large connector is not needed for this card. Iy only allows you to reuse the pins for other purposes - a kind of pass through option..

Then on the piCorePlayer web page select I2S-audio DAC (HiFierry or Sabre ES9023 - and then it is ready and you should hopefully be able to hear good quality music.

Flykri wrote: I succesfully installed picoreplayer 1.18b and "Ralphy's newest version" on the pi. I can access the player via the web interface.

Nevertheless, I encounter some problems getting the sound out of the DAC. When I choose the analog outpout of the source list and when I plug a headphone into the pi, I can listen to the music without any problem. Synchro is working fine as well between my sources.

But, when I try to get the sound out of the DAC it doesn't work. First, I'm unsure of which source I have to choose. The only thing I can tell is when I choose I2S-Audio DAC, I2S-Audio AMP, I2S-Audio I2SDAC+, I2S-Audio I2SDigi+ I'm able to find the zone on my Squeezecenter on the web interface. When I choose the other sources, this zone disappear from the squeezecenter.

I shouldn't be wrong saying that I have to choose one among the 4 I listed but I don't know which one exactly.

The outputs of the DAC are connected to my Marantz amp and this shouldn't be part of the equation.

Could it be the the fact the cards aren't welded together is the cause of the problem? Shoud I be using Triodes version iso Ralphy's one (what's the difference?). I'd be pleased to read from you.

Thanks in advance,

Flykri
Ralphy's version is good, it allows you to play wma as well as ALAC music files, but otherwise is similar to Triodes.

Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

Flykri
Posts: 2
Joined: Sun Dec 28, 2014 12:42 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 29, 2014 10:59 am

Hi,

I just received your message in front of the technician who wanted to charge me 40€ for welding the 26 + 8 pins adaptors.

As you told me that the 26 is not needed, I did the 8 one for free.

So, now I'm back home with everything working nicely!

Problem's solved!

Thanks for your help,

Happy NY

Flykri

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Dec 29, 2014 8:14 pm

hi Flykri,

Good news!

If you decide to use only the 8 pin header make sure you use the mounting screw to secure the DAC board. Balancing the DAC board on the 8 pin header is not a good engineering solution although it will probably work for years without a problem.

If you decide to play around with the GPIOs, the long leaded 26 pin header is a great idea, if you can find someone to solder it for you for nothing.

Note: For others reading these posts, the port numbering scheme on the Raspberry Pi's changed during production, so the original P5 changed name on later offerings.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

southafricanrob
Posts: 31
Joined: Wed Sep 18, 2013 12:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Fri Feb 27, 2015 9:23 am

Hi,
Im running piCorePlayer on a Model A+ as a DIY wireless headphone -works great but I have a fairly loud background hiss when not playing any tracks. I assume the hiss is still there even when playing but hard to hear behind the music. Are there any recommended ALSA settings / parameters that may help with this - have tried setting buffer to various sizes without any luck.
PS am using the 3.5mm jack
Thanks

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sat Feb 28, 2015 2:03 pm

southafricanrob wrote:Hi,
Im running piCorePlayer on a Model A+ as a DIY wireless headphone -works great but I have a fairly loud background hiss when not playing any tracks. I assume the hiss is still there even when playing but hard to hear behind the music. Are there any recommended ALSA settings / parameters that may help with this - have tried setting buffer to various sizes without any luck.
PS am using the 3.5mm jack
Thanks
I'm afraid that there is not much you can do if using the build analog out.
I have found that the hiss become much less of a problem if you increase alsamixer to max - however you will have much better result in using either a USB-DAC or I really like the IQaudIO I2S DAC which have build in headphone amplifier: http://iqaudio.com/?page_id=454

Regards
Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

southafricanrob
Posts: 31
Joined: Wed Sep 18, 2013 12:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sun Mar 01, 2015 6:46 am

Thanks for the reply - I'll take a look. Am building it into an existing set of headphones so space is an issue though. I have gotten rid of much of the hissing with setting volume to 100% as you suggested - still having problems with stuttering and stopping while playing though. Do you know what are a good set of ALSA Settings and Buffer Size Settings to help with this?

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Mar 02, 2015 3:50 pm

Hi

I just noticed this about a problem with too much noise = "hiss" in analog audio:
https://github.com/raspberrypi/firmware/issues/380

So you could try to add "disable_audio_dither=1" to config.txt?

Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

southafricanrob
Posts: 31
Joined: Wed Sep 18, 2013 12:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Mar 03, 2015 10:23 am

sbp wrote:Hi

I just noticed this about a problem with too much noise = "hiss" in analog audio:
https://github.com/raspberrypi/firmware/issues/380

So you could try to add "disable_audio_dither=1" to config.txt?

Steen
Thanks Steen ,
I will try that. Turns out it was the wifi dongle causing the stuttering playback - (TPLink 725N) - it works fine on a model B board but not a model A+

pkozul
Posts: 3
Joined: Mon Mar 09, 2015 11:00 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Mar 10, 2015 11:25 am

Hi there,

I have Raspberry Pi model A lying around and wanted to get piCorePlayer running on it. Attached to the Pi is a USB ethernet adapter (Realtek RTL8152). I think piCorePlayer does not include the 'net-usb' drivers that enable these sorts of adapters. Below is a list of TinyCore packages, and among them are two versions of the 'net-usb' modules:

http://tinycorelinux.net/6.x/armv6/tcz/

Is there any way to get them installed into piCorePlayer, or would piCorePlayer need to be rebuilt with those modules included?

Otherwise, is there any other way to get USB ethernet adapters working in piCorePlayer?

Thanks!
Pete

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue May 19, 2015 1:17 am

pkozul wrote:Hi there,

I have Raspberry Pi model A lying around and wanted to get piCorePlayer running on it. Attached to the Pi is a USB ethernet adapter (Realtek RTL8152). I think piCorePlayer does not include the 'net-usb' drivers that enable these sorts of adapters. Below is a list of TinyCore packages, and among them are two versions of the 'net-usb' modules:

http://tinycorelinux.net/6.x/armv6/tcz/

Is there any way to get them installed into piCorePlayer, or would piCorePlayer need to be rebuilt with those modules included?

Otherwise, is there any other way to get USB ethernet adapters working in piCorePlayer?
hi pkozul,

Sorry for the delay. Did you get it working? I haven't played with usb Ethernet adaptors so I can't offer much advice.

The Tiny Core team has released a new tool for searching the Tiny Core repositories.

http://packages.tinycorelinux.net/

It looks like there is a miss-match, at the moment, between the kernel used by piCorePlayer and what versions of net-usb are available. You could request the correct version over on the Tiny Core forum.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

cosycat
Posts: 2
Joined: Thu Apr 04, 2013 12:11 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Fri May 22, 2015 7:31 pm

Hi,
I got static noice when no music is playing.
Analog 3.5mm connected to reciver cambridge azu340r
When I lower the volume on reciver static disappear but then the music is to low.

Is there a way to change the output volume so I dont need to max my volume on the reciver?

Maby I fix under "ALSA output level" useing custom settings?

my squeezbox crached and I found this ☺

Thanks for this software

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue May 26, 2015 7:19 pm

Hi cosycat.

Thanks for testing. What kind of raspberry do you use?

I know that the RPi2 have some "hissing" problems - but I thought that we have included the work-around suggested here: https://github.com/raspberrypi/firmware/issues/380

PS: You will get so much better sound using an USB audio card or an I2S-Audio DAC.

Regards
Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Wed Dec 16, 2015 10:55 am

December 12 2015

Please try the new release (piCorePlayer 1.22).
Ralphy has been a great support and help during the development - so thank you very much.

https://sites.google.com/site/picoreplayer/home/news

Changes:
  • Updated kernel 4.1.12.
  • Updated piCore (even faster booting).
  • Touchscreen support improved (the official raspberry 7" touchscreen).
  • Calibration file included.
  • Jivelite can be installed from webpage.
  • VU-Meters can be changed from webpage.
  • New high quality default VU-Meter made by forum member Kolossos - thank you very much.
  • Backlight on/off (Jivelite settings/screen/screensavers/when stopped/Display off ) then the backlight will be off when not playing, and on when you touch the screen.
  • Ralphy is providing two versions of squeezelite. The basic version which is shipped with pCP allow playback of pcm, (wav/aiff), flac, mp3, ogg and aac. It is only 1 Mb in size. The ffmpeg version is bigger (12 MB) and allows in addition playback of ALAC and WMA via build in ffmpeg. In the Main page you can choose which version you will use.
  • After customizing Jivelite you need to save your changes to the next reboot. This is done on the webpage ("advanced tab" in the bottom and choose "backup").
Download

https://sites.google.com/site/picorepla ... e/download

regards
Greg & Steen
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Dec 24, 2015 6:58 pm

Can PiCorePlayer, play an audio stream from MPD, running on another RPi?

Basically, I want to use a RPi, with a ASUS Zonar U3, USB DAC/Headphone player, via WI-Fi, to play music [ FLAC ] or audio books, [ MP3 ]. and then control, it from my Galaxy S6 phone. goal, being, to be able to listen to music, or audio books, via headphones, whether I am in bed, or sitting outside on the veranda.

I have made a few attempts to get, LMS to work, and not succeeded, currently not in the correct mindset to "fiddle" and make it work, MPD, just works.

Used, to use a laptop, with an old version of Firefox, and the Minion, addon - reason for old version of Firefox, it is not updated, or supported on newer versions of Firefox. Unfortunately the Laptop got stolen, and which I cannot afford to replace. I now need a "new" portable audio "receiver" and there are a few, Apps, for Android, for controlling an MPD server. So, I have the MPD server, and a means to control it.

What I lack, however is a headless solution, which PiCorePlayer seems to provide for the LMS server, that will allow me to split, the server/client on MPD, and enjoy listening to music, or an audio book, regardless of where I am in the house.

Can PiCorePlayer do this, or be adapted to do, this. An iQAudio Pi-DAC tempts me greatly, and I believe would make a much better partner than the ASUS Zonar U3, for my Yamamoto HA02 headphone amp, and Sennheiser Headphones, where the ASUS Zonar, U3 makes a good match for my SkullCandy headphones. Or do I have to look elsewhere for a solution?

BTW: - Really, liked the Minion addon to Firefox for controlling MPD, and if I could see a way to getting ot to work on my Galaxy S6 phone, would jump at it, tho I have no expectation of that happening.

User avatar
Greg Erskine
Posts: 158
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Fri Jan 15, 2016 11:04 pm

Hi Java,

Short answer, no.

I have LMS working on Windows 7 and Raspbian Wheezy. I am not sure how it could be easier to install and get working?

Anyway, there are lots of great options out there and its just a matter of finding what fits your requirements. :)

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

Return to “Media centres”