SqueezePlay OS for Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Locked
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Wilberforce wrote:

Code: Select all

sudo apt-get update
sudo apt-get install unzip
still hitting a problem. Did the above first. Then the code select for the actual plugin. This is my error message.

~$ sudo unzip -o master.zip -d /var/lib/squeezeboxserver/cache/installedplugins/plugins/youtube
Archive: master.zip
f1321017ba8e1f35bca1e89974bbd26bc90ae042
checkdir: cannot create extraction directory: /var/lib/squeezeboxserver/cache/installedplugins/plugins/youtube
No such file or directory

Any ideas please? Fishy, any joy?
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

Same for me too.
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: SqueezePlay OS for Joggler

Post by Wilberforce »

I was using the path you gave. I think it should be something like (note the caps):

Code: Select all

/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/youtube
but do:

Code: Select all

ls /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins
to check what is in that directory - you should see youtube in the output.

Edit: just checked the archive and it contains a directory, so try something like this :

Code: Select all

cd ~
wget https://github.com/murklegit/squeeze-yt/archive/master.zip
unzip master.zip
sudo cp -rf squeeze-yt-master/* /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube
or if you've uninstalled the plugin:

Code: Select all

cd ~
wget https://github.com/murklegit/squeeze-yt/archive/master.zip
unzip master.zip
sudo mv squeeze-yt-master /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Wilberforce wrote:Edit: just checked the archive and it contains a directory, so try something like this :

Code: Select all

cd ~
wget https://github.com/murklegit/squeeze-yt/archive/master.zip
unzip master.zip
sudo cp -rf squeeze-yt-master/* /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube
or if you've uninstalled the plugin:

Code: Select all

cd ~
wget https://github.com/murklegit/squeeze-yt/archive/master.zip
unzip master.zip
sudo mv squeeze-yt-master /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube
Wilberforce - You. Are. A. Star! Youtube plugin now working. I would NEVER have been able to do that myself so thank you very much.

Fishy, thanks for finding the fix. :)
Alanmh
Posts: 5
Joined: Mon Jan 14, 2013 2:55 pm

Re: SqueezePlay OS for Joggler

Post by Alanmh »

Hi

Thanks for the excellent Squeezplayer OS, I now have it installed on my internal joggler memory, and running LMS on it with an external memory stick for the music.

But I am having trouble finding how to install an FTP server - can this be done on the ssh command line? I have been searching the forum for about an hour and not found it yet, but plenty of people saying they have done it.

Thanks

Alan
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! »

Alanmh wrote:...I am having trouble finding how to install an FTP server - can this be done on the ssh command line? I have been searching the forum for about an hour and not found it yet, but plenty of people saying they have done it.
You can do file transfer by installing the Secure Shell component from Settings > Advanced > Additional Features. Then use WinSCP (if you're on Windows) to transfer files. It's possible to install an FTP server (as opposed to SFTP, which is what you get using the Secure Shell method), but it's more hassle than it's worth, IMHO.
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
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS for Joggler

Post by roobarb! »

DeanoX wrote:1) I cant get the menu NAS mount to work on either NFS or SMBS. No changes are made to fstab when I set the options up, but the date changes. If I manually add the relevant config it mounts 1st time
Hmm, I'll need to check that out. I've added it to the list of things to check.
DeanoX wrote:2) LMS seems to have got confused between the Joggler SqueezePlay and Squeeze Play on my PC. If I change the name of Squeezeplay (PC) - it changes the name of the Joggler Squeezeplay, as if its seeing only 1 squeezeplay regardless. I've uninstalled and re-installed Squeezeplay on the PC, deleted them all from mysqueezebox.com and re-registered etc but nothing changes. Are there any pointers to error logs etc that I could look at that might give some clues. I thought all the players were handled on their unique MAC addresses so cant see how they're being confused.
They are identified by MAC, so no, they definitely shouldn't be getting mixed up like that. It takes a while for changes to be reflected on the Logitech server, but changes should appear in LMS in moments. Are you still having trouble with this?
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Alanmh
Posts: 5
Joined: Mon Jan 14, 2013 2:55 pm

Re: SqueezePlay OS for Joggler

Post by Alanmh »

roobarb! wrote:
Alanmh wrote:...I am having trouble finding how to install an FTP server - can this be done on the ssh command line? I have been searching the forum for about an hour and not found it yet, but plenty of people saying they have done it.
You can do file transfer by installing the Secure Shell component from Settings > Advanced > Additional Features. Then use WinSCP (if you're on Windows) to transfer files. It's possible to install an FTP server (as opposed to SFTP, which is what you get using the Secure Shell method), but it's more hassle than it's worth, IMHO.
Thanks for the quick reply - I have installed WINSCP, (SSH) was already on the joggler. But it wont let me copy anything - do I have to be root? what is the root password?
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

ilovemyjoggler wrote:
Wilberforce wrote:Edit: just checked the archive and it contains a directory, so try something like this :

Code: Select all

cd ~
wget https://github.com/murklegit/squeeze-yt/archive/master.zip
unzip master.zip
sudo cp -rf squeeze-yt-master/* /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube
[/code]
Wilberforce - You. Are. A. Star! Youtube plugin now working. I would NEVER have been able to do that myself so thank you very much.

Fishy, thanks for finding the fix. :)
Wilberforce - most grateful thanks from me also; have now got mine back up running too. :)
You were correct, upper/lower case mismatch in the directory string was the problem; my fault - will bear that in mind for next time.

Re fix on the slim forum: they are still posting messages discussing the nature of problem and hopefully will come up with a solid long term fix; think this may only be an interim patch until YouTube rejigs how it outputs again....
Will keep an eye on forum. ;)
DeanoX
Posts: 6
Joined: Fri Jan 11, 2013 4:32 pm

Re: SqueezePlay OS for Joggler

Post by DeanoX »

roobarb! wrote:
DeanoX wrote:2) LMS seems to have got confused between the Joggler SqueezePlay and Squeeze Play on my PC. If I change the name of Squeezeplay (PC) - it changes the name of the Joggler Squeezeplay, as if its seeing only 1 squeezeplay regardless. I've uninstalled and re-installed Squeezeplay on the PC, deleted them all from mysqueezebox.com and re-registered etc but nothing changes. Are there any pointers to error logs etc that I could look at that might give some clues. I thought all the players were handled on their unique MAC addresses so cant see how they're being confused.
They are identified by MAC, so no, they definitely shouldn't be getting mixed up like that. It takes a while for changes to be reflected on the Logitech server, but changes should appear in LMS in moments. Are you still having trouble with this?
After a few cycles of deleting everything from mysqueezebox and rebooting/reregistering all the players and a few days to settle it has sorted itself out. I think too many changes too quickly on my side probably broke it - running different server versions on PC, NAS and Joggler in the space of a few days was probably too much (!)

I was also struggling to get apps to work on the Joggler (podcasts) until everything sorted itself out. Is there an article anywhere that describes the relationship between players, LMS and mysqueezebox.com. Never really understand which one is in control etc.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

roobarb! wrote:You can do file transfer by installing the Secure Shell component from Settings > Advanced > Additional Features. Then use WinSCP (if you're on Windows) to transfer files.
Roobarb! can you advise please. Last night, Fishy and I both tried to copy over a youtube plugin using winscp. Neither of us could do it - permission denied - or some such. We managed to do it with help from wilberforce (huge thanks) and by using putty.

I don't like putty. For the clueless it's scary to use - with winscp I can see what I'm doing. Why wouldn't it allow us to do it? :?: Your post above suggests we should have been able to...? Is there an alternative password to use in order to add files? I'm kinda hoping not to have to do this kind of thing but it's obviously a necessity for the maintenance of my jogglers and their installs so would be really good to know. Sorry and thanks!
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

There's apparently a root access mode for WinSCP but I've never been able to find how to do it :-(
mikeywilliams
Posts: 75
Joined: Fri Mar 04, 2011 5:23 pm

Re: SqueezePlay OS for Joggler

Post by mikeywilliams »

In winSCP there is an option in SCP/Shell called Shell.
It is set to default but there is a pull down menu and one can select sudo su -

Does that give root access?
As a Linux total newbie I'm not sure.
User avatar
dwl99
Posts: 765
Joined: Fri Mar 04, 2011 7:38 am
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by dwl99 »

that should be it
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! »

mikeywilliams wrote:In winSCP there is an option in SCP/Shell called Shell.
It is set to default but there is a pull down menu and one can select sudo su -

Does that give root access?
As a Linux total newbie I'm not sure.
Looks like you have it figured out - basically, you couldn't copy anything over the system files because they're protected ('root' user access only, which is the 'master user', so to speak). It must have been the case with the files you tried to update; either they were owned by root, or there were no write permissions.

Invoking the permissions of the superuser (by using su or sudo) gives you the ability to do almost whatever you want to the files (even terribly destructive things!). On a normal Ubuntu system this would trigger you having to put your password in again, but on the Joggler most operating systems disable that check, on the assumption that if you've enabled the command line, you accept that your actions may have dire consequences! ;)
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
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS for Joggler

Post by roobarb! »

DeanoX wrote:Is there an article anywhere that describes the relationship between players, LMS and mysqueezebox.com. Never really understand which one is in control etc.
Don't think so - my understanding has been that if your system is connected to an instance of LMS, then LMS can control the boxes. If LMS is also connected to mysqueezebox.com, then that can also control your players (via LMS, I think - don't quote me on that, it's just a guess).
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Alanmh
Posts: 5
Joined: Mon Jan 14, 2013 2:55 pm

Re: SqueezePlay OS for Joggler

Post by Alanmh »

In the WinSCP application i have, there is no such option in any of the directories (that I can see). i did try sudo su in the terminal window, but it times out with no response.

Anyone any ideas of how to get it to work?
mikeywilliams
Posts: 75
Joined: Fri Mar 04, 2011 5:23 pm

Re: SqueezePlay OS for Joggler

Post by mikeywilliams »

In my winSCP (version 4.1.8):

Start WinSCP
The right hand window lists the saved devices (assuming there are some)
Select the device and then click on the Edit button on the right.
The window on the left shows under Environment SCP/Shell
Select it and then click on the down arrow where it says Default in the Shell box
Select sudo su-
And then connect the device
Alanmh
Posts: 5
Joined: Mon Jan 14, 2013 2:55 pm

Re: SqueezePlay OS for Joggler

Post by Alanmh »

Thanks - found it, but only after I clicked a checkbox for "advanced funtions"

However I still cant copy anything, it still says permission denied
Alanmh
Posts: 5
Joined: Mon Jan 14, 2013 2:55 pm

Re: SqueezePlay OS for Joggler

Post by Alanmh »

Scrub that i wasnt using SCP - its working now - thank you for your help
Locked