SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

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

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 3:38 pm

Goodo!

Now 2 small steps:

----------------------------------------------------
at the command prompt in Joggler type:

sudo mkdir /srv/x10music

hit return

To check, type

dir /srv

You should see the new /x10music folder listed

----------------------------------------------------------

Now, to make the real changes, you need to be able to access the Joggler as root user. So, type:

sudo passwd root

(this will ask for a new password - choose something easy to type, as there is no feedback. It will ask for repeat. Again no feedback. If the passwords match you'll be returned to the prompt.

Close the terminal window. Use Putty again to login but use the username root and the new password. Confirm that it works.

----------------------------------------

Now, install WinSCP on your PC (this gives you an explorer-like file display on the joggler - login as root - confirm that you can see and navigate the folder structure in the right-hand pane.

-------------------------------------------------------

The final steps will be to modify a specific file on the Joggler.

Confirm that you are happy to use WinSCP.

( https://winscp.net/eng/download.php )

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 4:51 pm

OK, we're good. In the right hand pane I'm at the new folder as root

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 5:54 pm

Okay.

Navigate (using the small icons at the top) to parent directory, You should see a long list of folders.

Double click on etc

Scroll down the new list until you see a file called fstab (not the yellow fstab folder!)

Double left click on the file - this will open the file for editing

Just close it again using the red cross.

Confirm you can open the file.


------------------------------------

You stated earlier that the x10 file folder was //X10/MUSIC

Is that correct?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 6:12 pm

OK, so in the right pane I found the file and i can open and edit it.
Using andsmb on my phone, it looks like it's \MusicDB
The default for the X10 is \\X10

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 6:13 pm

There are a whole bunch of entries in this file where I've tried to use the gui on the joggler to add a network mount point. Should I delete all these?

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 6:32 pm

You can leave them for the moment - or put a hash at the start of each line -that's entries such as //

DON'T edit anything else!

You did create the /srv/x10music folder previously ???

-------------------------------------------------------------------

Open the fstab file

As the last line insert:


//X10/MUSIC /srv/x10music cifs username=guest,password=

Hit return at the end of the line - save the file - top left blue icon

----------------------------------------------

Login in to Joggler using PuTTy - root access

At prompt type

mount -a

Any errors?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 6:42 pm

Yes, that gave errors. Wrong fs type, bad option, bad superblock

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 7:00 pm

Damn and blast! Looks like the X10 doesn;t have the CIFS option set.

Are there any setttings on the X10 where you can set CIFS ?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 7:04 pm

I really don't know. The dialogue seems to be limited to switching on or of the samba share and UPnP. I did find pretty involved post, in German where I think someone was doing what I think you're suggesting.
OK this is on hold for now, family beckons!

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 7:15 pm

Try changing the fstab line to:

//X10/musicDb /srv/x10music cifs username=guest,password=

Try

mount -a

again

If that doesn't work, then

//x10/musicDb /srv/x10music cifs username=guest,password=

mount -a

OR

//X10/musicDB /srv/x10music cifs username=guest,password=

If no go, we'll have to do some digging - there's real confusion in the literature about what the default share location is called!

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 7:34 pm

If you use windows ....

Click start button - in the search programs and files box type in \\X10

This should open file explorer and show the folder where the music is stored - check the name

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 9:07 pm

Well that looks like one of those network issues that just resetting stuff and giving it time might help.
I searched with win explorer and confirmed X10\MusicDB
Then in win scp the new folder x10Music actually showed album names.
Switching library on the joggler back to open frame showed x10Music as an available folder.
Going into this now lists the album names, but there's no content.
Time to scan? I'll try

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 9:11 pm

One other concern, fstab now shows owner as joggler, not root. Not sure why, I've only edited it through win scp as root.

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 9:29 pm

Weirdly I can now browse album names on the joggler, but only the first album has any content. I can select and play songs only from the first album

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 9:34 pm

Going back to putty and doing sudo mount -a still gives errors though

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 9:35 pm

No problem with owner - forget

Yes - do a scan of \srv\x10music . It should work.

The last thing to test - reboot the Joggler. Check the contents of /srv/x10music again.

fstab checks the contents of the X10 automatically when you reboot the Joggler. Otherwise you'd have to go through the whole faff each and every time !

Hope it's sorted.

karlek
Posts: 16
Joined: Sun Jun 21, 2015 5:07 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by karlek » Mon Nov 16, 2015 9:35 pm

jim_lewis1 wrote:I did find pretty involved post, in German where I think someone was doing what I think you're suggesting.
I am German so if you posted a link, maybe I could shed some light over your issue.

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 9:43 pm

jim_lewis1 wrote:Going back to putty and doing sudo mount -a still gives errors though
Hmm - did you hash out the old network points?

Also - be sure you use the correct names - linux is totally literal

/srv/x10music

is not the same as

/srv/x10Music


If the mount works, then in PuTTy just type

dir /srv/x10music

this will show the folder contents - which I guess are the album names (which should be folders, each containing the music files. You should be able to see them detailed in WinSCP

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by jim_lewis1 » Mon Nov 16, 2015 9:50 pm

OK. Not sure what happened now. I rebooted the joggler with lms running on it. I also switched off the PC in case that was helping to find the network share in some way. Well now there's nothing at all under x10Music like it didn't find the networked X10 at all, despite the fstab file. ???

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Post by castalla » Mon Nov 16, 2015 10:07 pm

Can you post the contents of fstab ?

Post Reply