Hi I have updated the piCorePlayer.
PiCorePlayer is a dedicated player for the Squeezebox audio system on a raspberry pi board.
Just updated to
piCorePlayer version 1.07 - Noevember 10 2013
It is updated to
piCorePlayer1.0 - which now allows high resolution streaming through the HDMI connction
Look here: https://sites.google.com/site/picoreplayer/home/newsI have updated piCorePlayer to version 09:
You can get it from here:
https://sites.google.com/site/picoreplayer/home/download I have updated piCorePlayer to version 07:
You can get it from here:
http://rapidshare.com/files/2968815248/piCorePlayer_V07.imghttp://rapidshare.com/files/521953170/Changelog%20and%20readme%20PicoreplayerV07.txtI have just uploaded piCorePlayer version 06 and you can get it here:
http://rapidshare.com/files/56046039...eplayerV06.txthttp://rapidshare.com/files/12868434...Player_V06.imgOn the basis of your feed-back I have included the "audio group" and added user "tc" to this group.
Please test it as - for me personally I have not had any problems before. But on the other hand the addition of the "audio" group has no negative consequences either- so please test it and see if it is working for you now.
PLEASE NOTE - the password has been changed: So user is tc , Password is . nosoup4u
Other changes:
CHANGELOG:
....................................
Version 06
1. Changed password, so it is the same as SqueezePlug. User=TC, Password=nosoup4u
2. Improved script (the restart of the player was not always functional)
3. Improved script - the first line was missing sometimes.
4. Added the "audio group" and user "tc" to group "audio".
Please report back
Steen
piCoPlayer is a dedicated player (like a Duet receiver) build on a small read-only linux (Microcore) and Triodes excellent Squeezelite player.
It is now even smaller than the first version (26 MB in total). There is no writing to the SD-card and therefore no risk of corruption of your card - just pull the power if you need to. After booting everything is sitting in RAM.
Out of the box, the analog audio via the 3.5" jack is working.
If you want to use a USB DAC, you will need to supply the correct squeezelite commands - for this you can use the setup menu.
The setup-script can be used in two different ways:
1. Connect via SSH (use putty from another computer on the same LAN (user=tc, password=nosoup4you)). At the command promt write; picoplayer which will start the setup-script.
2. If you have a keyboard and screen connected to your raspberry. At the command promt write: picoplayer which will start the setup-script.
The WiFi is supposed to work - I have not tested it, but I have seen a few reports that it is working on the piCore linux which is used for building this player. Please test it and report your findings.
Also suggestions in improving the set-up script is welcome.
The piCoPlayer image can be downloaded here:
http://rapidshare.com/files/2536786570/piCoPlayer_v2.imgRegards
STeen
Changes from version 1:
1. WiFi included (needs further testing)
2. Even smaller now (26 MB)
3. Is optimized for both 256 and 512 MB Raspberry boards
4. SSH access via Dropbear. User = tc Password = nosoup4you
5. Analog and USB sound is tested and is working
6. Included is a set-up menu that makes it easy to:
a. Download and update Squeezelite
b. Auto setup for analog audio from 3.5 jack
c. Detect and show the available USB devices
d. Option to easily change the squeezelite options (output, name MAC address etc)
e. Save these changes so they survive a reboot on the "read-only" microcore structure
f. Reboot to start using the changes.
...............................................................
ORIGINAL MESSAGE
Dear bmarcus.
With your help I have been able to make a small robust squeezebox player based on picore and the small squeeze lite player developed by Triode from the squeezebox community.
I have seen others asking about using squeezelite on the tinycore or microcore system in the forum here, therefore I decided to write a How-to:
It is running headless now I only needed a monitor and keyboard during installation. I did not install xorg or any other GUI programs but did everything using CLI.
So here you go:
Burn the Picore image to a CF card ( I use Win32Diskimager)
Then boot the Raspberry.
As Picore is running in read only mode om a partition called mmcblk0p1 you need to make another partition where it can have all the configuration files and the extensions and the Squeezelite player.
In order to make such a partition I did this (It was here I had the most difficulties) Each line is the commands I used:
fdisk /dev/mmcblk0
n new
p primary
2 partition number 1-4
6 first cylinder
+20M I made a 20 MB partition for this - you could choose any size you want (up to the CF-card size)
t change partition Id
83 linux file system
w to write the changes to the card
sudo reboot
Next I formated it to the ext4 format:
mkfs.ext4 /dev/mmcblk0p2
sudo reboot
Then you need to define where Picore will find your extensions, you do that by this command:
tce-setdrive
And then you choose 2= /mnt/mmcblk0p2
Download Squeezelite and put in a writeable place like mnt/mmcblk0p2, you can so that by this command
wget
http://squeezelite.googlecode.com/fi...zelite-armv6hf -P /mnt/mmcblk0p2
Then I had some problems that squeezelite would not start - it turned out that I had to allow it to be executed - using this command
chmod 755 /mnt/mmcblk0p2/squeezelite-armv6hf
You need to install Alsa, flac libmad and libvorbis. You do that by using the package manager in Picore called tce. Therefor at command promt write:
tce
s search
a (a in order to search for Alsa) then Enter
select alsa.tcz (at present no 4) enter
q quit
i install
s search
f (f in order to find flac.tcz (present no 9)) Enter
9 enter
q quit
i install
s search
l (l in order to find libmad.tcz (presently no 57)) Enter
57 enter
q quit
i install
s search
l (l in order to find libvorbis.tcz (presently no 88))
88 enter
q quit
i install
sudo reboot
Then in order to automatically to start Squeezelite everytime the Raspberry reboot, you need to add this program to the bootlocal file which is used for this purpose.
As I have been doing this without GUI the only editor present is the vi editor, which also gave me a hard time. But these are the command you have to use:
sudo vi /opt/bootlocal.sh
Then pres i (for insert)
then move the cursor to the first empty line and write:
sudo /mnt/mmcblk0p2/squeezelite-armv6hf -a 80:4
Press "esc" in order to get out of "insert mode"
Then type
:wq and Enter - in order to save and exit vi
These changes is not actually written to the bootlocal.sh file (as it is in read only mode) but instead the changes is saved another place and during reboot used - so in order to get Picore to save these changes and use them the next time you reboot you have to do a manual backup.
So at command promt type
filetool.sh -b
And now you can reboot and your Raspberry should start Squeezelite. I have tried different Alsa buffer sizes and I think that 80:4 is fine - for me the Squeezelite is in perfect sync with both a Duet and A Logitech radio, if I use to high values like 500:4 or 200:4 the sync is not as perfect. Using 50:4 resulted in some stuttering in the sound
Now you have a dedicated very small Squeezelite player, which boots very rapidly, it doesn't use swap and can survive that you just pull the power plug - so it is almost as an embedded hardware player, like a Duet.
I call it the PicoPlayer
I hope this recipe can be used - please ask if there are any questions
Steen
EDIT 1:
In the next days I will try to enable SSH access, so that we can manage and update this player without the need for a keyboard and monitor.