Page 43 of 51

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

Posted: Mon Nov 16, 2015 3:38 pm
by castalla
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 )

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

Posted: Mon Nov 16, 2015 4:51 pm
by jim_lewis1
OK, we're good. In the right hand pane I'm at the new folder as root

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

Posted: Mon Nov 16, 2015 5:54 pm
by castalla
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?

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

Posted: Mon Nov 16, 2015 6:12 pm
by jim_lewis1
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

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

Posted: Mon Nov 16, 2015 6:13 pm
by jim_lewis1
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?

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

Posted: Mon Nov 16, 2015 6:32 pm
by castalla
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?

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

Posted: Mon Nov 16, 2015 6:42 pm
by jim_lewis1
Yes, that gave errors. Wrong fs type, bad option, bad superblock

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

Posted: Mon Nov 16, 2015 7:00 pm
by castalla
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 ?

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

Posted: Mon Nov 16, 2015 7:04 pm
by jim_lewis1
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!

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

Posted: Mon Nov 16, 2015 7:15 pm
by castalla
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!

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

Posted: Mon Nov 16, 2015 7:34 pm
by castalla
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

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

Posted: Mon Nov 16, 2015 9:07 pm
by jim_lewis1
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

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

Posted: Mon Nov 16, 2015 9:11 pm
by jim_lewis1
One other concern, fstab now shows owner as joggler, not root. Not sure why, I've only edited it through win scp as root.

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

Posted: Mon Nov 16, 2015 9:29 pm
by jim_lewis1
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

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

Posted: Mon Nov 16, 2015 9:34 pm
by jim_lewis1
Going back to putty and doing sudo mount -a still gives errors though

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

Posted: Mon Nov 16, 2015 9:35 pm
by castalla
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.

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

Posted: Mon Nov 16, 2015 9:35 pm
by karlek
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.

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

Posted: Mon Nov 16, 2015 9:43 pm
by castalla
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

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

Posted: Mon Nov 16, 2015 9:50 pm
by jim_lewis1
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. ???

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

Posted: Mon Nov 16, 2015 10:07 pm
by castalla
Can you post the contents of fstab ?