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)

decibyte 2011-02-09 19:48

[announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
I just uploaded Squeezecontrol to extras-devel. It does what the name suggests: Controls Logitech Squeezeboxes. It's still a very early edition with only basic controls, but I wanted to get it out as soon as possible to get some feedback.

More release notes available here.

More features coming soon. Commentds and suggestions appreciated.

Update Feb 23 (0.1.3-10)
* On/off button in player window.
* Icon should be working now, thanks to mavit.
* Better handling of lagging track info responses from server.

Update Feb 21 (0.1.2-1)
* Fixed charset issues.
* Made the track info contain both track name, album and artist, no matter what selected player display is set to show.

Update Feb 21 (0.1.1-1)
* Fixed bug occuring when hiding the progress bar in the player window, reported by aenbacka.

Update Feb 20 (0.1.0-1)
* Added track title, artist, etc. and time elapsed/remaining to player window.
* Updated dependency list again, thanks to mavit.

Update Feb 10 (0.0.2-1)
* Updated dependency list, according to report from aenbacka.
* Added more server settings. Now support for alternative server port and authentication.

aenbacka 2011-02-10 14:23

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
Thanks for the app! I tried it and it worked fine..:) It seems that at least a dependency to pyside-qt4-core is missing (I did not have it installed so I had to manually install it from extras-devel, otherwise squeezecontrol did not startup).

decibyte 2011-02-10 14:28

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
aenbacka, thanks for reporting the missing dependency. I'll fix it later today.

I also hope to have enough time today to make the player screen more informative and useful.

I'm glad you like it :)

shin 2011-02-17 17:51

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
look forward to fixing the Pyside QT dependency issue to try out

mavit 2011-02-17 17:52

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

Originally Posted by aenbacka (Post 940977)
It seems that at least a dependency to pyside-qt4-core is missing (I did not have it installed so I had to manually install it from extras-devel, otherwise squeezecontrol did not startup).

Also, pyside-qt4-gui is required.

Oh, it might be worth having a think about the name. There's already an Android app called SqueezeControl, as well as a Qt app called squeezecontroll that purports to run on the N900.

decibyte 2011-02-17 21:50

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
shin, is it the same missing dependency as mavit mentions?

mavit, I didn't see the Android app until after I released this one. I never stumbled across squeezecontroll. If I'd known about it, I may never have started this project :/

Is it working on N900? There only seems to be a .sis for Symbian phones.

Well... I'll look into that project in the weekend and decide whether to continue or not. I'll also think of another name. Any suggestions?

Both of you, thanks for feedback.

mavit 2011-02-18 00:36

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

Originally Posted by decibyte (Post 949230)
Is it working on N900? There only seems to be a .sis for Symbian phones.

According to the developer, yes: http://forums.slimdevices.com/showth...350#post601350

It's in the fairly early stages, from what I can tell. I don't have an N900 build environment set up at the moment, but I tried it briefly on my Fedora box and the UI was erratic.

decibyte 2011-02-19 13:41

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
mavit, thanks for info. I think I'll continue with this one. It has is justification as long as their app is neither in repos nor the Ovi Store.

decibyte 2011-02-20 18:59

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
I just uploaded a new update with track info in the player window. Much more informative now :)

mavit, I asked the developer of the Android SqueezeControl about having the same name, and he says it's no problem, so I'll stick to the name for now.

mavit 2011-02-20 20:35

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

Originally Posted by decibyte (Post 951199)
I just uploaded a new update with track info in the player window. Much more informative now :)

I happened to be listening to Sigur Rós at the time, and noticed that it doesn't handle non-ASCII track titles properly. I've submitted a patch to https://code.google.com/p/pysqueezec...s/detail?id=11

Also, I notice that the bugtracker link at http://maemo.org/packages/view/squeezecontrol/ doesn't work. HTH.

decibyte 2011-02-20 22:35

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
mavit, I just noticed your bug report over at pysqueezecenter. As I wrote over there, I'll take care of it tomorrow (or as soon as possible).

I didn't realize the bugtracker link wasn't working. I'll look into that too.

Thanks!

aenbacka 2011-02-21 12:27

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
I just tried the latest Squeezecontrol version, and of some reason nothing happens when I try to select my player from the list (pressing on the player button). This worked ok in the earlier version.

naivsupr 2011-02-21 14:49

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

Originally Posted by aenbacka (Post 951765)
I just tried the latest Squeezecontrol version, and of some reason nothing happens when I try to select my player from the list (pressing on the player button). This worked ok in the earlier version.

Latest version (0.1.0) plays just fine here - with both my devices (radio and duet/receiver). I just noted the issue with missing characters: "Sen du försvann" becomes "Sen du FĂ$rsvann". (also found by Mavit)

Looking forward to a search button (artist/album) :)

aenbacka 2011-02-21 16:58

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

Originally Posted by aenbacka (Post 951765)
I just tried the latest Squeezecontrol version, and of some reason nothing happens when I try to select my player from the list (pressing on the player button). This worked ok in the earlier version.

When I run squeezecontrol from the xterminal, I get the following output when I try to select my player from the list:

/opt/squeezecontrol $ ./squeezecontrol.py
Error calling slot "select_player"
Traceback (most recent call last):
File "./squeezecontrol.py", line 398, in select_player
player_window = PlayerWindow(self, player)
File "./squeezecontrol.py", line 62, in __init__
self.render()
File "./squeezecontrol.py", line 125, in render
self.progress_bar.setVisible(false)
NameError: global name 'false' is not defined

Any idea what could be wrong?

decibyte 2011-02-21 17:10

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

Originally Posted by aenbacka (Post 951986)
Any idea what could be wrong?

Oh, yeah. Embarrassing. It's False, not false (with a capital F). I'll fix it later today.

As far as I remember, it occurs when you are playing some kind of stream. Try playing something from your local music library and see if it works then.

naivsupr, playlist management is next on my list :)

decibyte 2011-02-21 17:50

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
I'm on my way out, but I just uploaded a new version that hopefully fixes the problem you are experiencing, aenbacka. I'll be back later with another update for the charset issue.

I think the updated version (0.1.1) will be available in about half an hour.

decibyte 2011-02-21 19:28

Re: [announce] Squeezecontrol: Control your Squeezeboxes from your N900
 
Coming up in about 20 minutes: Fix for charset issues.

mavit and naivsupr, will you please confirm that it works for you when you get version 0.1.2?

mavit 2011-02-21 20:57

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

Originally Posted by decibyte (Post 952100)
Coming up in about 20 minutes: Fix for charset issues.

mavit and naivsupr, will you please confirm that it works for you when you get version 0.1.2?

Looks good to me!

A couple of other minor things:
  • The launcher icon doesn't work for me. I had succes by removing the "-64x64" from the .desktop file and moving the icons to /usr/share/icons/hicolor/[size]/apps/squeezecontrol.png.
  • I don't think you intended to include /opt/squeezecontrol/.squeezecontrol.py.swp in the package. Looks like it's a VIM auto-save file.

aenbacka 2011-02-21 21:07

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

Originally Posted by decibyte (Post 952032)
I'm on my way out, but I just uploaded a new version that hopefully fixes the problem you are experiencing, aenbacka. I'll be back later with another update for the charset issue.

I think the updated version (0.1.1) will be available in about halv an hour.

Thanks a lot for the update, now it works great again! :)

decibyte 2011-02-21 23:04

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

Originally Posted by mavit (Post 952176)
  • The launcher icon doesn't work for me. I had succes by removing the "-64x64" from the .desktop file and moving the icons to /usr/share/icons/hicolor/[size]/apps/squeezecontrol.png.
  • I don't think you intended to include /opt/squeezecontrol/.squeezecontrol.py.swp in the package. Looks like it's a VIM auto-save file.

I've really had some trouble getting the icon to work. Would you please describe in detail what you did to fix it?

I've (hopefully) got my build script to ignore my vim .swp files from now on :)

All of you, thanks a lot for all the input and support.

I've been struggling for a couple of hours to figure out how to attach a menu to the title bar. I got it now and started by adding an on/off button. I won't make a new release just with that, but now I'm ready to start working on playlist handling.

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 23:58.

vBulletin® Version 3.8.8