SqueezePlay OS for Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Locked
Glenn2
Posts: 37
Joined: Tue May 01, 2012 10:24 pm
Location: West London

Re: SqueezePlay OS for Joggler

Post by Glenn2 »

Thanks for your help but I couldn't get it to work.

I installed SAMBA ok (should it have been SMBFS instead?) but I'm a bit of a linux noob.
I did successfully edit that file, but when it did nothing I edited it back to what it was before.

Having logged in via WinSCP as root, I can just drag and drop my music files into /media/usb with that now so I guess I don't even need Samba now?
I'll just uninstall it when I figure out how.

Thanks.
guidows
Posts: 52
Joined: Sat Jun 18, 2011 7:07 am

Re: SqueezePlay OS for Joggler

Post by guidows »

FTP or SSH FTP are transmission files protocols. If the only thing you need is to transfer files to and from, is ok.o
SMB is another protocol, but for a "network file system", mainly for Windows. The advantage is that you can "mount" remote folders in windows and use that like a real disk in your computer (so, you can do drag and drop operations, use files, etc, same way that the files in your disk).

Ok, step by step (I checked the last configuration and you were right, had some mistakes) :
Log in to your Joggler box (I assume you use Windows). Download the program putty from internet.

1) Putty to your joggler IP. user: joggler pass: joggler
2) Define the root password. sudo passwd
3) Log as root user: sudo -
4) Install samba ( apt-get update and then apt-get install samba )
5) backup your original /etc/samba/smb.conf file (cd /etc/samba/ then mv smb.conf smb.conf.bak )
6) Create and edit (with vi, nano or another editor) a new basic smb.conf file, only with this

Code: Select all

[global]
workgroup = my_group
server string = joggler server
netbios name = joggler
security = share
local master = no
preferred master = no

[usbdisk]
comment = USB disk in joggler
path = /media
public = yes
writable = yes
browseable = yes
guest ok = yes
force user = root
(if you are a real man, you have to use vi to edit anything, in this case the command is vi /etc/samba/smb.conf, press once i, then paste the thing abode, and write & quit with :wp [enter]


finally: service smbd restart

Another thing, to mount in read-write mode ntfs disks, install apt-get install ntfs-3g . To an automagical mount, edit (with vi, like a real man) the file /etc/usbmount/usbmount.conf and add ntfs and ntfs-3g to the line: FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus"


Mounting from windows is trivial, from windows explorer with \\joggler_ip\usbdisk or "tools > map network drive"

If you want to mount a windows shared folder in your joggler, then you have to use smbfs. This is pretty useful if you want to play music from a remote disk or, to download files (torrents by example) using the joggler but in a remote disk.
Glenn2
Posts: 37
Joined: Tue May 01, 2012 10:24 pm
Location: West London

Re: SqueezePlay OS for Joggler

Post by Glenn2 »

Thanks Guidows, this worked.
It has issues with non-standard characters though.
The files were copied to the USB drive in Windows originally, but Björk shows as Bj_rk when I view the samba share in Windows explorer, but shows as Björk in WinSCP.
And if I copy it to the USB drive over the network by dragging into the Windows explorer, it shows correctly in there but incorrectly in WinSCP.

The Sigur Rós album 'Með suð í eyrum við spilum endalaust' appears as 'Me_ su_ _ eyrum vi_ spilum endalaust' !
Glenn2
Posts: 37
Joined: Tue May 01, 2012 10:24 pm
Location: West London

Re: SqueezePlay OS for Joggler

Post by Glenn2 »

Oh and the drive is no longer visible in Windows after rebooting the joggler.
EDIT: scratch that - thought I'd mapped it but I hadn't. :oops:
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: SqueezePlay OS for Joggler

Post by gegs »

Spotify addon woes: update

I've mentioned earlier in this thread that I'm having problems with the Spotify addon with sqpOS. I keep getting 'Bad Player' errors.

I've noticed that if I install or uninstall an addon and restart the server, Spotify works again but only until next reboot. It has also failed if left alone for several hours without a reboot.

Since restarting the server seems to kick-start Spotify into action again, is there any possibility of adding this as an option in 'Settings'? The old gforums version of Squeezeplay had this as an option and it was very handy. It disappeared when Christian switched to your Squeezeplay version on the original PnP.
Cradle
Posts: 6
Joined: Thu Jul 12, 2012 9:32 am

Re: SqueezePlay OS for Joggler

Post by Cradle »

Hi!

I have just installed the Squeezeplay OS on internal flash without issues.

Now the only problem that I have is that I'm stuck at the network settings. The device doesn't have (and will never have) any connection whatsoever - I want to use an internal logitech media server and an attached usb drive.

Is there any way to quit the setup screen of squeezeplay and go to the native OS (or a shell), in order to edit the network settings for a fixed IP?

Kind regards,

Arndt
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: SqueezePlay OS for Joggler

Post by Wilberforce »

Cradle wrote:Hi!

I have just installed the Squeezeplay OS on internal flash without issues.

Now the only problem that I have is that I'm stuck at the network settings. The device doesn't have (and will never have) any connection whatsoever - I want to use an internal logitech media server and an attached usb drive.

Is there any way to quit the setup screen of squeezeplay and go to the native OS (or a shell), in order to edit the network settings for a fixed IP?

Kind regards,

Arndt
Try switching to a different virtual console:

Code: Select all

ctrl + alt + f2

Code: Select all

ctrl + alt + f3

Code: Select all

etc
To skip SetupWelcome you could put:

Code: Select all

settings = {setupDone=true,}
in:

Code: Select all

/home/joggler/.squeezeplay/userpath/settings/SetupWelcome.lua
or just hack the SetupWelcome code :D
Cradle
Posts: 6
Joined: Thu Jul 12, 2012 9:32 am

Re: SqueezePlay OS for Joggler

Post by Cradle »

Hi!
Wilberforce wrote:
Try switching to a different virtual console:

Code: Select all

ctrl + alt + f2

Code: Select all

ctrl + alt + f3

Code: Select all

etc

I already tried that, but graphical grub does not allow a tty to be displayed
Wilberforce wrote: To skip SetupWelcome you could put:

Code: Select all

settings = {setupDone=true,}
in:

Code: Select all

/home/joggler/.squeezeplay/userpath/settings/SetupWelcome.lua
or just hack the SetupWelcome code :D
Yeah, but for that I need console access...
I think I will have to attach the device to a hub, just to get the primary setup going...

But it would be nice if there was a key combination or something else to exit squeezeplay during initial setup.
Another possibility would be to unpack the squeezeplay os images, edit everythin in there, then put it back together, but I think attaching it to a network would be easier (in fact, I would have already done that, were I not confined to my wife's grannies flat, since my house got internally destroyed by a damaged waterpipe in february :evil: )

Thank you,

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

Cradle wrote:
Wilberforce wrote:
Try switching to a different virtual console:

Code: Select all

ctrl + alt + f2
I already tried that, but graphical grub does not allow a tty to be displayed
Quickest route around this would be to pop the stick back in your computer and change the instances in the boot.nsh file that read 'grubq' to 'grub'. I've supplied patched and unpatched versions of grub, so you can have a quiet-looking boot with 'grubq' or a verbose boot with 'grub'.
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
kebl2555
Posts: 2
Joined: Sun Jul 15, 2012 1:00 pm

Re: SqueezePlay OS for Joggler

Post by kebl2555 »

Hi roobarb and all other SqueezePlay OS enthusiasts.

Finally this solution for using SqueezePlay on the Joggler is reaching what I had always hoped for! Thank you very much for your hard work.

I have one issue I am hoping you might be able to help me resolve. Currently the main channel I use on my wireless network does not have an authentication mode and I instead use an access control list by MAC address which is administered by logging in to the router.

I can not get the Joggler using SqueezePlay OS to connect to this network. I have instead had to set up a different wireless channel which is using WPA (as per your release notes). This is operating perfectly but presents me with a small problem. If I want to view the LMS web interface or use the Squeezebox remote on my iPhone / iPad I must switch them to the WPA wireless channel.

Please can you advise how I might be able to get my SqueezePlay OS to connect to a wireless channel which does not have an authentication mode?

Many thanks in advance.
Cradle
Posts: 6
Joined: Thu Jul 12, 2012 9:32 am

Re: SqueezePlay OS for Joggler

Post by Cradle »

Hi!
roobarb! wrote:
Cradle wrote:
Wilberforce wrote:
Try switching to a different virtual console:

Code: Select all

ctrl + alt + f2
I already tried that, but graphical grub does not allow a tty to be displayed
Quickest route around this would be to pop the stick back in your computer and change the instances in the boot.nsh file that read 'grubq' to 'grub'. I've supplied patched and unpatched versions of grub, so you can have a quiet-looking boot with 'grubq' or a verbose boot with 'grub'.
Nice try - but I use / want to use the Suqeezeplay OS for the internal Memory. In order to edit those files, I would have to go through a lot of image extracting / building...

I got it to run by attaching it to a network, quitting squeezeplay and editing everything else.

Now "all I have to do" (TM) is getting the external audio interface to work - simply attaching my MAudio Fast Track Pro did not work (so far I did not check if the kernel you supply comes with the neede module / also there are some slight config problems in lucid lynx regarding the Fast Track Pro).

Kind regards,

Arndt
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: SqueezePlay OS for Joggler

Post by Wilberforce »

kebl2555 wrote:Hi roobarb and all other SqueezePlay OS enthusiasts.

Finally this solution for using SqueezePlay on the Joggler is reaching what I had always hoped for! Thank you very much for your hard work.

I have one issue I am hoping you might be able to help me resolve. Currently the main channel I use on my wireless network does not have an authentication mode and I instead use an access control list by MAC address which is administered by logging in to the router.

I can not get the Joggler using SqueezePlay OS to connect to this network. I have instead had to set up a different wireless channel which is using WPA (as per your release notes). This is operating perfectly but presents me with a small problem. If I want to view the LMS web interface or use the Squeezebox remote on my iPhone / iPad I must switch them to the WPA wireless channel.

Please can you advise how I might be able to get my SqueezePlay OS to connect to a wireless channel which does not have an authentication mode?

Many thanks in advance.
A few options:

use something like this iin /etc/network/interfaces :

Code: Select all

auto wlan0
iface wlan0 inet dhcp
wireless_essid enter_you_essid_here
switch to a networking applet that supports multiple encryption types / image
jollyjoggler
Posts: 25
Joined: Sat Apr 07, 2012 12:42 pm

Re: SqueezePlay OS for Joggler

Post by jollyjoggler »

I have a small issue with your new SqueezePlay OS for Internal Memory v1.05 release. Just before I just have used the stock O2 os and your Squeezeplay applet.

With the Squeezeplay OS the sound volume decreased significantly with my external soundcard. is there a software mixer involved where i can raise the volume? and i don´t mean the squeezeplay volume slider, the slider is already set to 100%.

something is decreasing the sound volume in comparison to the applet release.

is there a config file I should edit?
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! »

jollyjoggler wrote:I have a small issue with your new SqueezePlay OS for Internal Memory v1.05 release. Just before I just have used the stock O2 os and your Squeezeplay applet.

With the Squeezeplay OS the sound volume decreased significantly with my external soundcard. is there a software mixer involved where i can raise the volume? and i don´t mean the squeezeplay volume slider, the slider is already set to 100%.

something is decreasing the sound volume in comparison to the applet release.

is there a config file I should edit?
This was covered a little earlier in the thread. SSH in, run:

Code: Select all

alsamixer
...and use the graphical interface to turn up the master output to wherever you want. It defaults to around 70% as this was the maximum volume I found the internal speakers on my test Jogglers would take before sounding rattly and distorted. If you're using external speakers, it's probably a good idea to turn this up.

I've added these instructions to the SqueezePlay OS page on my site now. Probably should have been there to begin with!
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
jollyjoggler
Posts: 25
Joined: Sat Apr 07, 2012 12:42 pm

Re: SqueezePlay OS for Joggler

Post by jollyjoggler »

thanks, but I assume I am too stupid for raising the master fader in the gui.

1st I had to choose the external soundcard by pressing F6 and selecting the usb audiocard I am using. then I see the fader and the PCM gain is set to -11. how to raise it up to 0? LOL

sorry for beaing such a dumbarse.

but every time i press F1 for help the gui quits and Im back in the shell. same for other key presses except F6. Only F6 does what it has to do.

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

edit : found it out, with the tab key i select the items, with the arrow up/down I can change values.
kebl2555
Posts: 2
Joined: Sun Jul 15, 2012 1:00 pm

Re: SqueezePlay OS for Joggler

Post by kebl2555 »

Thank you Wilberforce. I'll try this out when I have some time. SqueezePlay OS is still behaving wonderfully well for me, including playing for many hours with no freezes so far.
Glenn2
Posts: 37
Joined: Tue May 01, 2012 10:24 pm
Location: West London

Re: SqueezePlay OS for Joggler

Post by Glenn2 »

Does anybody else have the problem whereby you cannot rescan your library?
The scan just says "Media scan terminated unexpectedly (Scanning Progress)"
Each time it has happened I've had to reflash.

I'm using Squeezeplay OS (with LMS) on internal flash but the hard drive with the music is mounted as /media/usb0/
I've not unplugged it or anything.

This is a bit of a show-stopper as I'm getting tired of reinstalling now.

The stats now say:
Total Images: 0
Total Videos: 0
Total Tracks: 7,108
Total Albums: 561
Total Artists: 0
Total Genres: 0
Total Playing Time: 505:26:18

The scan log says:

Code: Select all

[12-07-20 08:49:10.8960] main::main (200) Starting Logitech Media Server scanner (v7.7.2, r33893, Wed Mar 14 05:46:46 PDT 2012) perl 5.010001
[12-07-20 08:49:12.8780] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!
[12-07-20 08:49:13.9151] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: database or disk is full [for Statement "DELETE FROM tracks;"]
[12-07-20 08:49:13.9163] Slim::Schema::Storage::throw_exception (122) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83)
   frame 3: (eval) (/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83)
   frame 4: Slim::Utils::SQLHelper::executeSQLFile (/usr/share/perl5/Slim/Schema.pm line 415)
   frame 5: (eval) (/usr/share/perl5/Slim/Schema.pm line 414)
   frame 6: Slim::Schema::wipeDB (/usr/share/perl5/Slim/Schema.pm line 2099)
   frame 7: Slim::Schema::wipeAllData (/usr/sbin/squeezeboxserver-scanner line 296)
   frame 8: (eval) (/usr/sbin/squeezeboxserver-scanner line 296)
   frame 9: main::main (/usr/sbin/squeezeboxserver-scanner line 494)

[12-07-20 08:49:13.9175] Slim::Utils::SQLHelper::executeSQLFile (85) Error: Couldn't execute SQL statement: [DELETE FROM tracks;] : [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: database or disk is full [for Statement "DELETE FROM tracks;"] at /usr/share/perl5/Slim/Schema/Storage.pm line 126
]
[12-07-20 08:49:14.0458] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: database or disk is full [for Statement "DELETE FROM albums;"]
[12-07-20 08:49:14.0469] Slim::Schema::Storage::throw_exception (122) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83)
   frame 3: (eval) (/usr/share/perl5/Slim/Utils/SQLHelper.pm line 83)
   frame 4: Slim::Utils::SQLHelper::executeSQLFile (/usr/share/perl5/Slim/Schema.pm line 415)
   frame 5: (eval) (/usr/share/perl5/Slim/Schema.pm line 414)
   frame 6: Slim::Schema::wipeDB (/usr/share/perl5/Slim/Schema.pm line 2099)
   frame 7: Slim::Schema::wipeAllData (/usr/sbin/squeezeboxserver-scanner line 296)
   frame 8: (eval) (/usr/sbin/squeezeboxserver-scanner line 296)
   frame 9: main::main (/usr/sbin/squeezeboxserver-scanner line 494)

[12-07-20 08:49:14.0481] Slim::Utils::SQLHelper::executeSQLFile (85) Error: Couldn't execute SQL statement: [DELETE FROM albums;] : [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: database or disk is full [for Statement "DELETE FROM albums;"] at /usr/share/perl5/Slim/Schema/Storage.pm line 126
]
[12-07-20 08:49:15.1934] Slim::Music::Import::runImporter (485) Starting Slim::Media::MediaFolderScan scan
[12-07-20 08:49:15.1953] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /media/usb0/Squeezebox
[12-07-20 08:49:55.9140] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0)
[12-07-20 08:49:55.9149] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (0)
[12-07-20 08:49:55.9157] Slim::Utils::Scanner::Local::__ANON__ (410) Rescanning changed audio files (2692)
[12-07-20 08:49:56.1785] Slim::Utils::Scanner::Local::changed (864) Handling changed audio track file:///media/usb0/Squeezebox/AAC/Marillion/2007%20-%20Somewhere%20Else/01%20-%20The%20Other%20Half.m4a
[12-07-20 08:49:56.2727] main::main (327) Error: Failed when running main scan: [Can't call method "name" on an undefined value at /usr/share/perl5/Slim/Schema.pm line 2747.
]
[12-07-20 08:49:56.2736] main::main (328) Error: Skipping post-process & Not updating lastRescanTime!
The music is the only thing on the drive and occupies 170Gb of its 500Gb.
The drive is healthy and I had the same problem with the previous 160Gb drive (but I've reflashed since plugging the new one in anyway).

Anybody any ideas?

Cheers,
Glenn
Cradle
Posts: 6
Joined: Thu Jul 12, 2012 9:32 am

Re: SqueezePlay OS for Joggler

Post by Cradle »

Hi!
Glenn2 wrote:

Code: Select all

[12-07-20 08:49:10.8960] main::main (200) Starting Logitech Media Server scanner (v7.7.2, r33893, Wed Mar 14 05:46:46 PDT 2012) perl 5.010001
[12-07-20 08:49:12.8780] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!
[12-07-20 08:49:13.9151] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: database or disk is full [for Statement "DELETE FROM tracks;"]
[12-07-20 08:49:13.9163] Slim::Schema::Storage::throw_exception (122) Backtrace:
Cheers,
Glenn

The problem is that the Database for the SlimServer is stored on the internal Flash, you fill it up to the brim with the scanned song data from your external drive, and then the Linux OS can't work anymore, because there is no free space left.

Before Scanning you have to configure the Server to use the external drive for Database Storage - but I don't know right now how you can do that (via the GUI of the Server or if you have to edit configuration files).

Kind regards,


Arndt
Glenn2
Posts: 37
Joined: Tue May 01, 2012 10:24 pm
Location: West London

Re: SqueezePlay OS for Joggler

Post by Glenn2 »

OK, thanks for that.
I'm sure I've read in another post that there is lots of stuff in the SqueezeplayOS that doesn't need to be there anyway, and you can remove lots of it and free up lots of space.
I'll see if I can track that down and maybe remove some packages.
Cheers,
Glenn
guidows
Posts: 52
Joined: Sat Jun 18, 2011 7:07 am

Re: SqueezePlay OS for Joggler

Post by guidows »

apt-get remove btrfs-tools dmidecode laptop-detect make nano xterm x11-utils xbitmaps zlibc libxft2 vainfo ca-certificates-java default-jre-headless icedtea-6-jre-cacao java-common libbluray-bdj openjdk-6-jre-headless openjdk-6-jre-lib gnupg gnupg-curl ubuntu-keyring



http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=629
Locked