maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [announce] Squeezecontrol: Control your Squeezeboxes from your N900 (https://talk.maemo.org/showthread.php?t=69594)

mavit 2011-02-22 00:38

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
Quote:

Originally Posted by decibyte (Post 952233)
I've really had some trouble getting the icon to work. Would you please describe in detail what you did to fix it?

My squeezecontrol.desktop looks like this:

Code:

[Desktop Entry]
Version=1.0.0
Encoding=UTF-8
Name=SqueezeControl
Comment=Control your Squeezeboxes.
Exec=/opt/squeezecontrol/squeezecontrol.py
Icon=squeezecontrol
X-Window-Icon=squeezecontrol
Type=Application

I placed an icon in /usr/share/icons/hicolor/64x64/apps/squeezecontrol.png.

The trick is that you need to reboot the phone or kill hildon-desktop to get it to pick up the new icon. Bug 6931 asserts that you can also touch /usr/share/icons/hicolor, but that didn't work for me.

decibyte 2011-02-22 08:33

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
mavit, thanks a lot! I messed it up (once again) when trying to move the icons yesterday. But now it also works on my phone. I'll push it in an update later today.

decibyte 2011-02-23 13:15

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
I uploaded an update (0.1.3) half an hour ago with fix for the icon, on/off button in player window and some other background fixes. Will some of you guys please verify that the icon is showing up now?

thompa 2011-03-16 10:38

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
Hm, saving settings doesn't work for me.
I type in the IP address, but the program won't save it and nothing at all happens when I press "save".

I run 0.1.3

decibyte 2011-03-22 18:03

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
thompa, if you run it from the terminal (/opt/squeezecontrol/squeezecontrol.py), does it print out any errors when you try to save your settings?

thompa 2011-03-23 08:35

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
Yep. I type in the IP address and press "save" and get this


Error calling slot "save_settings"
Traceback (most recent call last):
File "/opt/squeezecontrol/squeezecontrol.py", line 342, in save_settings
self.main.save_setting(setting, self.fields[setting].text())
File "/opt/squeezecontrol/squeezecontrol.py", line 229, in save_setting
self.cursor.execute('insert into settings values (?, ?)', params)
sqlite3.InterfaceError: Error binding parameter 1 - probably unsupported type.


All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8