SqueezePlay OS (Version 3) for OpenFrame

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Have a look at http://gparted.org/livecd.php - this allows you to use your PC as a specific linux machine via CD or USB.
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

Commodore.White wrote:I used windows to add a exFAT partition to the hdd and put some music on it just to test. Unfortunately I can't get LMS to see the partition.
That's likely because you're using exFAT. You need good old vanilla FAT, but I think Windows may force you down the exFAT route.

The GPartEd Live CD will see you right.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
User avatar
palindrom
Posts: 67
Joined: Mon Jan 27, 2014 4:14 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by palindrom »

If you like to change your joggler into an Access Point for your LAN this might help you:

You need to have:
Your SqueezePlay Joggler connected to the LAN via eth0
A wifi adapter installed.

SSH to your joggler...
user: joggler
password: joggler

Install the needed packages:
sudo apt-get -y update
sudo apt-get -y install hostapd
sudo apt-get -y install bridge-utils




Update DAEMON_CONF in /etc/default/hostapd
sudo nano /etc/default/hostapd

Code: Select all

DAEMON_CONF="/etc/hostapd/hostapd.conf"
... and save... [Ctrl-X],[Y], [Enter]

Create /etc/hostapd/hostapd.conf
sudo nano /etc/hostapd/hostapd.conf

Code: Select all

ctrl_interface=/var/run/hostapd
###############################
# Basic Config
###############################
macaddr_acl=0
auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
bridge=br0
hw_mode=g
channel=1
ssid=MYSSID
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=MYPASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Do not forget to change MYSSID and MYPASSWORD to your liking.
... and save... [Ctrl-X],[Y], [Enter]
see: # http://hostap.epitest.fi/gitweb/gitweb. ... stapd.conf

Update /etc/network/interfaces
sudo nano /etc/network/interfaces

Code: Select all

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
#auto eth0
#iface eth0 inet dhcp

# The wlan network interface
#auto wlan0
#iface wlan0 inet dhcp

auto br0
iface br0 inet dhcp
bridge-ports eth0 wlan0
... and save... [Ctrl-X],[Y], [Enter]

Reboot your joggler
sudo reboot

Done

After Reboot you see your new WLAN MYSSID which is bridged* to your Ethernet.
*Your DNS server will provide service to your wireless devices which share the same adress range.

This bash installation script will automatic install and configure your AP
You only have to enter your SSID, password and your speed decision (802.11g/802.11n)




Have fun.
Attachments
install_ap.zip
bash installation script.
(2.66 KiB) Downloaded 305 times
hostapd.zip
This one is 802.11n enabled
(1.53 KiB) Downloaded 342 times
Last edited by palindrom on Sun Nov 16, 2014 8:15 pm, edited 7 times in total.
User avatar
palindrom
Posts: 67
Joined: Mon Jan 27, 2014 4:14 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by palindrom »

roobarb! wrote: That's likely because you're using exFAT. You need good old vanilla FAT, but I think Windows may force you down the exFAT route.

The GPartEd Live CD will see you right.
Try to get hold of:
HP USB Disk Storage Format Tool
https://www.google.de/search?output=sea ... ormat+Tool
Commodore.White
Posts: 24
Joined: Wed Dec 11, 2013 10:34 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Commodore.White »

Thanks y'all. Gparted did it for me - eventually. Not having a cd/dvd writer caused me pain but eventually found a small utility that wrote iso images to a usb stick so was then good to go. Having exFAT definitely caused issues so went for fat16 as it's a 1gb disk.

I copied a dozen or so cd's worth of mp3 on to the new partition then configured LMS and started playing the content. Must say, so far v3 looks solid. One thing I'm confused about though is that cd's seem to get listed several times over. For instance, I have wacko jacko Thriller cd in a directory but the album listing in MyMusic shows up three times. I'll have a play again tomorrow and see what's up. G'nite.
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

What is the location you pointed LMS to? If it's just /media then that's likely the issue - USB devices get mounted by name and number, so may be scanned twice.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Commodore.White
Posts: 24
Joined: Wed Dec 11, 2013 10:34 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Commodore.White »

palindrom wrote:If you like to change your joggler into an Access Point for your LAN this might help you:


This is to address the "lotsa squeezeplayos jogglers with the same hardware id" issue, right?
Do not forget to change MYSSID and MYPASSWORD to your liking.
Sorry for my ignorance but, if i had several jogglers, would I set them all to the same SSID and Password or should each be different? I'm thinking roving here. Presumably each would be on a different channel if they were in earshot of each other. Regards.
User avatar
palindrom
Posts: 67
Joined: Mon Jan 27, 2014 4:14 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by palindrom »

Commodore.White wrote:
palindrom wrote:If you like to change your joggler into an Access Point for your LAN this might help you:


This is to address the "lotsa squeezeplayos jogglers with the same hardware id" issue, right?
Do not forget to change MYSSID and MYPASSWORD to your liking.
Sorry for my ignorance but, if i had several jogglers, would I set them all to the same SSID and Password or should each be different? I'm thinking roving here. Presumably each would be on a different channel if they were in earshot of each other. Regards.
Use this, if you like to use your joggler as an WLAN access point(s) for Mobile Phones, Tablets,... .
Tested on jogglers with SqueezePlay OS (V3) - the HW ID issue is not a problem.
For multiple access points use the same SSID and password for all the APs BUT different channels
(gap between channels should be 4: 1,5,9/ 2,6,10 / 3,7,11). This will help WIFI roaming (if your device supports it).
jogglerhase
Posts: 174
Joined: Wed Aug 08, 2012 3:02 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by jogglerhase »

palindrom wrote:If you like to change your joggler into an Access Point for your LAN this might help you:
....
After Reboot you see your new WLAN MYSSID which is bridged* to your Ethernet.
Guys, this is really getting better by the minute!
Just tried it - perfect for my situation: Joggler is LAN connected on a floor, where WLAN signal (for Laptop ...) is weak.
This fixed it!

-> My Joggler turns into an "eierlegende Wollmilchsau" (hard to translate - something like a swiss army knife)

Thank you Palindrom - and of course roobarb!

Heiner
marctwo

Re: SqueezePlay OS - Version 4??

Post by marctwo »

jogglerhase wrote:Hi Roobarb;
I have a suggestion for a future release of squeezeplayOS - it would be a bigger change though, I guess.

Background: I am a bit frustrated that Squeezeplay does not play WMA files natively due to licensing issues.
(OK, LMS can transcode this, but this causes delays which mess up player syncronization)
To work around this, I tried to install Squeezelite (from Triode from the slimdevices forum) ontop of your SqueezePlay OS.
I got this mostly working - also now playing WMA files natively - but there are still some glitches. A major one for me is that certain (WMA) streams it just wont't play - i.e. the NPR Radio plugin.
I strongly suspect that there is some bad interaction between squeezeplay and squeezelite.

So, the solution would be:
Build a Squeezeplay OS, which is not using Squeezeplay at all.
Instead, use:
Jivelite (https://code.google.com/p/jivelite/) essentially a squeezebox control application identical to squeezeplay minus the actual player part
plus
Squeezelite (http://code.google.com/p/squeezelite/; however also installable via apt-get install squeezelite) - essentially better player than squeezeplayer

This would also be better in terms of long time support, as Jivelite and Squeezelite are actively developed, are open source and therefor have the possibility to support newer file formats aso....

What do you think?

Heiner
I like this idea. Not because it can play WMA, but because it separates the control interface from the playback hardware. This would make for a much neater installation allowing a raspberry pi connected to a USB DAC to be located with the amp, and the joggler (with no USB devices sticking out) to act as the remote.
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS - Version 4??

Post by roobarb! »

marctwo wrote:I like this idea. Not because it can play WMA, but because it separates the control interface from the playback hardware. This would make for a much neater installation allowing a raspberry pi connected to a USB DAC to be located with the amp, and the joggler (with no USB devices sticking out) to act as the remote.
You can already do this; just choose the squeezelite player on your Pi as the device that SqueezePlay is controlling. Tada! :)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
marctwo

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by marctwo »

I didn't realise you could do this. Thank you!
Commodore.White
Posts: 24
Joined: Wed Dec 11, 2013 10:34 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Commodore.White »

Hmmm, already missing WMA on my squeezeplayos v3. Would picoreplayer play WMA streams or does that rely on squeezeplayos doing transcending? Guess I'll play tomorrow - it's a bit late right now.

Btw regarding earlier help with multiple entries ending up for my wacko jacko album. All got sorted when I reindexed my music collection.

Currently playing with the slide show feature but... I'm at a loss why the option to run a slide show should be in the settings menu, and... I would have thought that if you'd elected to run a slides you wouldn't expect the screen saver to kick in. How annoying is that?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Have you tried the PlayWMA plugin?
jogglerhase
Posts: 174
Joined: Wed Aug 08, 2012 3:02 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by jogglerhase »

palindrom wrote:......
This bash installation script will automatic install and configure your AP
You only have to enter your SSID, password and your speed decision (802.11g/802.11n)
install_ap.zip
.....
Hi Palindrom;
I am using the std. internal Joggler WLAN USB Stick. Everything works fine - but only when using wireless g mode.
If I use your script to switch to n mode, the AP function does not work, i.e. I can not access my network via the joggler, only through my std AP.
Any ideas why that is & how to fix it?

Heiner
kazan
Posts: 15
Joined: Tue May 17, 2011 11:13 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by kazan »

Commodore.White wrote:Hmmm, already missing WMA on my squeezeplayos v3. Would picoreplayer play WMA streams or does that rely on squeezeplayos doing transcending? Guess I'll play tomorrow - it's a bit late right now.
You can play WMA streams on SqueezePlay OS but they need to be transcoded by LMS to for example FLAC by using PlayWMA plugin from LMS.
Unfortunately right now there seems to be some issues with different versions of mplayer so it doesn't work strait away. But I got solution from here http://goo.gl/PaV3WZ. All works just fine.
The file custom-convert.conf at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayWMA should be changed to tell mplayer to output 16 bit little endian using the "-af format=s16le" option. So the string in custom-convert.conf should be changed from:

Code: Select all

[wmamplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$ -cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao pcm:file=/dev/fd/3 $PATH$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
to:

Code: Select all

[wmamplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$ -cache 128 -af volume=0,resample=44100:0:1,channels=2,format=s16le -ao pcm:file=/dev/fd/3 $PATH$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
Now you can enjoy your WMA streams. ;)
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by johnnygal »

palindrom wrote:
palindrom wrote:
18.09.14 - b13added3cd7e5511d123348af64eb0c *sqpos300_of1.img.gz

22.09.14 - 12490d0090e345e3609255a868c82adc *sqpos300_of1.img.gz
The "18.09.14" version seems to be buggy (eg. automatic display dim not working ... ).
Ensure to download the current version 3!

Tired of getting a new random LAN MAC address after FW update?
Just use the WLAN MAC Address for LAN (as the Logitech does as well).

Just replace
//home/joggler/.squeezeplay/userpath/wallpapers/sqp_JogglerNetwork.sh (UPDATED to LOCAL WLAN-MAC)
Just tried this and it still connects to LMS with the "made-up" MAC address?

I have no files in "/home/joggler/.squeezeplay/userpath/wallpapers/" - doesn't sound like the correct path.
I found the file sqp_JogglerNetwork.sh in /opt/squeezeplay/bin and modified it there and rebooted but it made no change.

Any ideas?
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Error »

I have some 256 kbps Mp3 files for which I keep getting the error message "unsupported sample frequency" What can I do about that??
I can't tell if I experienced this before on earlier versions of SqpOS?
User avatar
johnnygal
Posts: 148
Joined: Tue Oct 11, 2011 1:07 am
Location: Stockport, UK

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by johnnygal »

johnnygal wrote:
palindrom wrote:
palindrom wrote:
18.09.14 - b13added3cd7e5511d123348af64eb0c *sqpos300_of1.img.gz

22.09.14 - 12490d0090e345e3609255a868c82adc *sqpos300_of1.img.gz
The "18.09.14" version seems to be buggy (eg. automatic display dim not working ... ).
Ensure to download the current version 3!

Tired of getting a new random LAN MAC address after FW update?
Just use the WLAN MAC Address for LAN (as the Logitech does as well).

Just replace
//home/joggler/.squeezeplay/userpath/wallpapers/sqp_JogglerNetwork.sh (UPDATED to LOCAL WLAN-MAC)
Just tried this and it still connects to LMS with the "made-up" MAC address?

I have no files in "/home/joggler/.squeezeplay/userpath/wallpapers/" - doesn't sound like the correct path.
I found the file sqp_JogglerNetwork.sh in /opt/squeezeplay/bin and modified it there and rebooted but it made no change.

Any ideas?
Ok, sussed it.

I had to reset my network settings to default and reconfigure them, using the squeezeplay interface.

I now have a MAC address derived from the MAC address of the wireless card (instead of starting 00:0e it starts 02:02) so it should be unique now to mysqueezebox.com.

Thanks for the tip.
jogglerhase
Posts: 174
Joined: Wed Aug 08, 2012 3:02 pm

SqueezePlay OS Ickstream Integration

Post by jogglerhase »

Hi roobarb!
Here comes another help-request.

There is a new web service being developed, that can take over connection to various streaming services in the future from mysqueezebox.com:
http://www.ickstream.com/

I am running this service (as an app within LMS) on my Joggler (w SPOSv3) - it runs fine for my Squeezebox Classics, but the Squeezeplayer from SPOS is not supported:

Registered players: Squeezebox Main; SB3 Tanja
Unsupported players: SqueezeJoggler


There are other members in this forum, where it seems to work for them, but in my scenario, it does not.
To make a long story short, it seems to have to do with the recent addition of "Gerätetyp: openframe1" and the fairly recent LMS Versions of LMS, which show this information.
Appereantly, ickstream does not interpret the Joggler anymore as a Squeezeplayer, but a different device.
At least this is my understanding of the problem....

I contaced the developer of ickstream in the other forum on this issue and this is his feedback:
http://forums.slimdevices.com/showthrea ... post796561
We will have to approve all third party apps that want to integrate with ickStream, the process is as follows:
1. The maintainer/developer of the app need to goto https://developers.ickstream.com and register a developer account and request a new API key
2. For now, the maintainer/developer will have to sign an NDA but in the future this will change so they only have to confirm license terms.
3. After we have approved the API key and configured it for usage with LMS plugin it will start to work

The process might seem a bit formal but it's a measure to ensure that we have contact information to app developers in case we need to reach them and to make sure they understand the license terms.

So, please contact the maintainer and ask him/her to do this and you should soon get access.

As a side note, the "gerätetyp" values for real Squeezeboxes are only possible to use for real Squeezebox hardware, so in this case it's correct that the "gerätetyp" has been changed to a specific value on the app.
"

Could you do that?
That would be great!
All the best and Have a good weekend.
Heiner
Post Reply