SqueezePlay OS for Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Locked
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS for Joggler

Post by roobarb! »

roobarb! wrote:Have you had any luck with the drivers?
Bingo! Had to compile usb_modeswitch as well as the drivers, but I have a working WNDA3200 in the place of the original RT2770F. The onboard antennae are certainly picking up the local networks too, although I am still running with the screen hanging off at the moment. :)

The stick itself is a bit longer than the original, but it still fits - will probably need a little adjustment that foam pad at the top. Hang on... everyone likes a picture...
Joggler with internal WNDA3200
Joggler with internal WNDA3200
Tada!
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

JimbobVFR400 wrote:
dwl99 wrote:I also have a Buffalo Linkstation with Shonk's firmware on it & also find Squeezebox Server so slow as to be almost unusable. I did try to set up Squeezeplay OS for samba shares a few weeks ago but failed miserably. An idiot's guide would be most welcome.
niallmoran wrote:just catching up on all the cool joggler developments recently and i'm going to give squeezeplay os a bash as it looks great! Anyway, my squeezebox server is currently running on a pretty crummy bufalo linkstation live which works but is painfully slow. Would i get better performance using LMS on the joggler and linking to the shared directory on the nas? If so, can anybody give me some pointers on how best to do this (in numptyish preferably :lol: )
Absolutely, funnily enough I also have a linkstation live, I did briefly try LMS on that but it was almost painful to use. I now run LMS on the Joggler but accessing my music stored on the linkstation and its brilliant. The Joggler runs LMS really well. If you are running LMS on the Joggler I'd highly recommend running the USB version of SQPOS and not the internal flash version. My main Joggler that runs the server as well as being my main player connects via Ethernet so I removed the Internal Wifi and plugged my USB stick internally in its place.

The Joggler seems to be an excellent machine for running LMS, I even use a few plugins in LMS, including play WMA to transcode WMA for playback with no issues. I've even had it running Triodes spotify plugin but decided not to carry on paying after the premium trial ended.

I'm not a Linux Guru but this is what I did to mount my music stored on the Linkstation, hope it helps

Use Putty or similar to SSH into the Joggler
First of all I created a folder in /mnt called music

Code: Select all

sudo mkdir /mnt/music
I then added the following line to fstab by typing the following code

Code: Select all

sudo nano /etc/fstab
This opens the fstab file for editing in nano, I added the following line at the end

Code: Select all

//192.168.1.5/Music /mnt/music cifs username=jimbob,password=[password],_netdev 0$
Once you've added the line press Control + X to exit and type y then enter to save (To paste into putty use the right click on your mouse if necessary)

My linkstation has a fixed ip of 192.168.1.5 and I have created an extra share called music. I have a username of jimbob setup on the linkstation for the music share in the access section.
you'll need to change the line to suit your own setup.
I then rebooted the joggler, opened the LMS setup page at [joggler IP]:9000 and chose the /mnt/music folder as a location for my music and let LMS do a scan. My 9000 ish tracks of FLAC and some MP3 and other formats took just under 10 minutes for a full scan.

I've also enabled the UPNP plugin in LMS and added the following line to fstab

Code: Select all

//192.168.1.5/share /mnt/share cifs username=jimbob,password=[password],_netdev 0$
and I am using it to stream videos to my PS3 with no issues so far. I added the mnt/share in LMS but just ticked the box for movies and again let it scan my files which took a little longer than the music as I have a lot of TV series saved.

Chuffing brilliant bit of kit IMO thats been improved immensely by SqueezePlay OS for which I am exceedingly grateful to Roobarb
DonnieH wrote:Sounds good thanks. Any idea what the default username/password are for ssh?
joggler for both
How did you get video to play on the Joggler? I installed the upnp plugin in LMS but cannot see any sign of the videos on my NAS. I have set LMS to scan for music files in my music folder and video files in my video folders and it looked as if the scan went OK.
niallmoran
Posts: 9
Joined: Sat Apr 02, 2011 9:03 pm

Re: SqueezePlay OS for Joggler

Post by niallmoran »

i assumed the upnp plugin was so that LMS acted like a normal upnp server for other devices?
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

Sorry, I got the wrong end of the stick!
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

Yes sorry I may not have been clear.
I get a DNLA server in the menus on my PS3 and use that to play videos served by the Joggler LMS
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

JimbobVFR400 wrote:Yes sorry I may not have been clear.
I get a DNLA server in the menus on my PS3 and use that to play videos served by the Joggler LMS
You were perfectly clear, it's just that my head is too full of gadgety nonsense at the moment as my wife will testify.
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

Hi - have seen recent posts from JimbobVFR400 and dwl99 etc re mounting Buffalo Linkstation NAS drive.
As you will see from my earlier posts (pleas for help!) I have a 750GB LaCie NAS drive which is connected via ethernet to one of my routers.
I have 3 Jogglers all running offbeatdave's PnPIII.
My objective is to utilise LMS on one of the Jogglers to access music on the LaCie and thus not have to run my laptop whenever I want music.
Have never managed to achieve this previously and still haven't even after following the instructions in recent posts. :cry:

Background: all devices (jogglers & LaCie) are on static IP's.
I can get into jogglers via putty SSH using login "letmeinssh" pwd "joggler1234".
I can also access joggler via WinSCP.

Have successfully created /mnt/music and can see it using WinSCP.
However could not edit fstab with "sudo nano /etc/fstab" using putty because joggler would not recognise sudo or nano commands.
So added my equivalent to "//192.168.1.5/Music /mnt/music cifs username=jimbob,password=[password],_netdev 0$" by editing fstab using WinSCP.

Have tried various edits of "//192.168.1.5/Music /mnt/music cifs username=jimbob,password=[password],_netdev 0$", eg is the password with or without [ ] ???!!! - remember you're dealing with a novice/idiot here - but still haven't got it to work.
It's become a bit of a quest......
So any suggestions to end the misery would be gratefully accepted by both me and my wife!!! :roll:
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

I believe PNP3 has root by default, if you were able to edit fstab with winscp that would certainly confirm it I believe, so sudo wouldn't be necessary.
The square brackets were just my effort to denote something you'd add so shouldn't be in your added line to fstab.
The user name and password are what you've set up on your NAS. Look for a users or permissions or access restrictions Page in the web based setup screens for your NAS, on my NAS they weren't the same as the password to access the setup pages but a user I had to explicitly setup. Also make sure the user you use has access to the share you're trying to access.
Can you access the share in windows explorer on you pc? Easiest way to test is to open My Computer and type in the address bar at the top
\\192.168.1.5\music
Obviously replace the ip and share name for your own values
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

Oh and I'll also add I would honestly suggest running SqPOS from a USB if you plan on using LMS for your own music. LMS needs space for its database files so running internally may cause problems, I'd also be concerned for the internal flash longevity with LMS constantly being read and written to. As a bonus SqPOS also had Mplayer pre installed so the server can transcodes WMA files and radio streams and there's also an option to install an Airplay emulator so you can easily play audio from iTunes or iThingies. I use a program called Airfoil on my PC to play stuff through the hifi I attach my Joggler to, very handy for listening to Spotify free.

If the joggler is connected by Ethernet you can even install the USB stick in place of the wifi card to keep the clean appearance and leave the side usb free.
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

You might be better posting this in the PnPIII section. I don't think the native OS uses nano as an editor, try sudo vi /etc/fstab . I seem to remember that CIFS/samba shares in the native OS didn't work but offbeatdave would be the best person to answer that one!
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

dwl99 wrote:You might be better posting this in the PnPIII section. I don't think the native OS uses nano as an editor, try sudo vi /etc/fstab . I seem to remember that CIFS/samba shares in the native OS didn't work but offbeatdave would be the best person to answer that one!
You could well be right, so that's yet another reason to use SqPOS for the Joggler used as a server.
Funnily enough that's exactly what I do, I have 3 jogglers, 1 is a dedicated Squeezebox and used to run LMS with SqPOS on it, the other 2 both run PNP3 although they are mostly used for Squeezeplay streaming from the first joggler.
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

Guys - many thanks for the tips.

Jimbob has inadvertently answered another one of my questions re why bother running it off a USB stick when you can put it on the internal memory - I now know the answer!
Having understood that I can also see the benefit of running the server joggler with SqPOS so will convert my 3rd joggler to that as don't really use PnPIII features on that one anyway.
Am familiar with dis-assembly and re-utilisation of internal usb socket - did that to preserve appearance of joggler in kitchen which I run through a Behringer UCA202 - again a good idea.

After these mods will then see if I can get joggler to see NAS..... :evil:
Yes, can see NAS from PC via windows explorer so think problems lie with my inability to code the joggler correctly.
However now have to make changes above so will report back re how I get on.

Interesting info re Airplay/Airfoil etc. cos I am interested in finding a way to play free spotify throughout house and am prepared to put up with the adverts!
However from what you say it sounds as though would have to keep PC running to do it which is what I'm trying to get away from.
Will do some googling to see what you are talking about!

Once again thanks for replies.
mashton
Posts: 17
Joined: Sat Jun 30, 2012 11:43 am

Re: SqueezePlay OS for Joggler

Post by mashton »

Arrgh!

After a good few months of flawless operation my Joggler setup has developed the dreaded skipping, as it did before I switched over to SqPOS. I hope someone can help me get to the bottom of it.

I have two Jogglers, both running SqPOS latest version, with one running LMS. Both are installed on the flash memory, not USB.

I have a NAS (Zyxel NSA 310) that has all of my local music collection on it which I share to the LMS Joggler using SMB and CIFS. I have also had it setup using NFS and had the same issues.

I use the triode Spotify plugin a lot, with my Spotify premium account.

I also stream BBC radio, using the triode BBC iPlayer plugin.

All three of these sources now give me skipping (with ensuing rebuffering in the case of BBC). The skipping can occur anything up to two or three times a minute, at its worst. The skips can be anything from 0.5 seconds to 5 seconds long. As mentioned above, I had no issues with skipping for the first few months of this setup. Which was also the case for my old, Native OS setup.

[Another bug that I am experiencing, which may be a red herring and totally unrelated, is that when one track finishes and the next begins, the playing joggler UI continues to display the old track name. This cause confusion in the UI when fast forwarding or rewinding. It also seems to take an age (~8s to move from track n to track n+1, at the end of track n)]

I know that there was an issue with log file build up on the Native OS version. Could something simialr be happening to SqPOS. How do I go about diagnosing this?

Please help, because if this all goes tits up, the Jogglers will be banished for good by she who must be appeased. Probably with good reason, if truth be told...
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

Yes I use the the windows client to access and control Spotify on my laptop, the sound goes via airplay to the joggler and stereo. Airfoil allows other apps to do the same but there is a slight delay in streaming so it's not good for any videos Although I have used it for listening to stuff on YouTube I can't find on Spotify.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Hi. I'd be really grateful for a bit of advice (again!)... I'd like another joggler just to play music using squeezeplay os from a stick. I don't have any external hds or suchlike.

Could I then attach a usb with my music onto that joggler via hub?
Would the sqp os have LMS installed and pick up my usb (atom) the same way that LMS in pnpIII can so that I don't have to switch on my pc?
Would this avoid using the internal flash?
Thanks in advance for any help.
themystical
Posts: 81
Joined: Mon Sep 17, 2012 2:55 pm

Re: SqueezePlay OS for Joggler

Post by themystical »

ilovemyjoggler wrote:Hi. I'd be really grateful for a bit of advice (again!)... I'd like another joggler just to play music using squeezeplay os from a stick. I don't have any external hds or suchlike.

Could I then attach a usb with my music onto that joggler via hub?
Would the sqp os have LMS installed and pick up my usb (atom) the same way that LMS in pnpIII can so that I don't have to switch on my pc?
Would this avoid using the internal flash?
Thanks in advance for any help.
That is exactly how I have my HiFi Joggler configured. You have to be careful with the usb hub if you are going to use a powered one.....only certain types work. I had a blank screen when I tried it. However, the unpowered type seem to be fine. The usb stick also needs to be formatted in Fat 32 and not NTFS if it is to be recognised by SqPOS.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Thanks for the reply. Just what I needed to hear. :D
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

If your stick is big enough in theory you could use the same stick.
The SqPOS image doesn't take up the whole stick so you either need to expand the partition on your stick, or you may be able to add another fat32 partition.
To expand the partition you can get a bootable gparted image from gparted.sourceforge.net/livecd.php or use gparted on a Linux pc
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

Hi Jimbob, dwl99 - followed your advice and had a go at converting one of my jogglers to SqPOS to act as the primary LMS host as discussed in Friday's posts.

Had a Sandisk Cruzer Blade 4GB usb stick available so downloaded Roobarb's external file onto it - this stick has a small form factor so would be ideal for internal install later.
Aware of usb stick issues experienced by others. Guess what? joggler wasn't having any of it, ignored stick and booted straight into PnPIII which was loaded on internal memory.
I have 2 other sticks that the joggler does seem to like. One is loaded with PNPIII which I use as a rescue stick; the other has Roobarb's reflashing tool.
Reluctant to mess with either of these and both are too large for later internal install anyway.
Finally tried it with another brand new 8GB stick which would just about fit but still no luck.

Did I miss something?
Is a straight download and copy onto stick all that is required or does the file need burning with Win32DiskImager or something?
Does the Cruzer need reformatting first?
Is the md5 file required also? - tried it with and without but joggler still wasn't having it.

Having failed with USB attempt decided to reflash SqPOS onto the internal memory instead; worked fine.
Then amended fstab, etc with your coding and finally got the joggler to recognise my LaCie NAS drive.
So at least I now know it can be done :D
Set LMS off scanning.
Periodically checked progress via web interface and it worked fine for about a couple of hours.
Completed music sub-directory and file scans but then fell over when scanning media directories.
Presume this was because Joggler memory got full - there are a lot of pictures on that drive as well as music :(
Happened because I had set fstab to look at the root of the NAS drive but did that because the music is in a "My Music" folder and I wasn't sure if linux would be happy with the space in the folder name.

So priority now is to get the usb stick option to work.
Failing that find a way to point LMS only at the music folder and not the whole disc - how does linux handle spaces? or, can I exclude the media scan in LMS?

I'm nearly there(!!) but once again would be very grateful for your suggestions. :?
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

You need to unzip the file you downloaded from birdslikewires and write the .img file to your memory stick using win32diskimager - copying will not work.
Locked