Notices


Reply
Thread Tools
Posts: 14 | Thanked: 10 times | Joined on Oct 2009
#21
Originally Posted by decibyte View Post
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.
 

The Following User Says Thank You to mavit For This Useful Post:
Posts: 35 | Thanked: 21 times | Joined on Feb 2010 @ Copenhagen, Denmark
#22
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.
 
Posts: 35 | Thanked: 21 times | Joined on Feb 2010 @ Copenhagen, Denmark
#23
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?
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2011
#24
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
 
Posts: 35 | Thanked: 21 times | Joined on Feb 2010 @ Copenhagen, Denmark
#25
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?
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2011
#26
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:28.