squeezetray
Controls the Logitech squeeze box, with basic commands from the system tray. Based upon wxpython
Its designed for Linux, where their seemed to be no nice desktop controller for my squeeze boxes.
It might work on Windows and Mac OSX as its made from python and wxwindows. I cant support Windows and Mac OSX as I dont own these OS systems, but patches to support these OS's will still be welcome as long as they don't break Linux.
https://github.com/osynge/squeezetray
Let me know if it simply must have a new feature or that you want to patch it.
Regards
Owen
Results 1 to 10 of 11
Thread: Announce: squeezetray
-
2012-06-09, 06:37 #1Junior Member
- Join Date
- Jun 2011
- Posts
- 13
Announce: squeezetray
-
2012-06-09, 13:30 #2Member
- Join Date
- Jul 2006
- Posts
- 39
Hi, do you know if it would work with Ubuntu 12.04 and unity tray?
Thanks
-
2012-06-09, 15:46 #3Member
- Join Date
- Aug 2006
- Posts
- 87
Sounds nice.
Would like to get it working in mint 13.
Would you have any instructions on how to make that happen?
-
2012-06-14, 11:30 #4Junior Member
- Join Date
- Jun 2011
- Posts
- 13
-
2012-06-14, 11:33 #5Junior Member
- Join Date
- Jun 2011
- Posts
- 13
Not yet but if you check it out on the command line with:
git clone git://github.com/osynge/squeezetray.git
Change into the right directory:
cd squeezetray
Then run the program:
python squeezetray
It should just work.
Please let me know how it works. Soon (for release 0.0.1) I will make a "setup.py" file and a README so you should be able to install it on any operating system easily.
-
2012-06-15, 08:32 #6Member
- Join Date
- Aug 2006
- Posts
- 87
Thanks, had to install git and wx, but it seems to have installed OK.
In settings, the Player field is blank, at the bottom it says Server Connected.
The play/pause/next etc. controls do not seem to do anything. In the terminal window I see: self.mapping {}
Not recognizing my player it seems?
-
2012-06-16, 15:26 #7Junior Member
- Join Date
- Jun 2011
- Posts
- 13
What name should this little GUI have?
That's wonderful news, thanks for trying. Its still very early stages. Its Changing very rapidly at the moment.
I stupidly named the "squeezetray" without googling first. I now know this application needs a new name, and best done now while the documentation is low.
What name should this little GUI have?
if no one comes up with a better name I will call it "SqueezeWxTray".
This is a bad sign, do you have any squeezeboxes connected to the server?
If you do, it either suggests you downloaded it a few days ago, as I think it
was broken at one point, and an upgrade is needed.
Ok, this is a very good sign, It means you have a Squeeze server installed, and connected the client to it correctly.
They wont as no player is selected.
I have improved this in the new version, and "The play/pause/next etc. " stuff now only appears when the players are found.
If you have more than one "squeezebox" that plays music, you also get a player switcher submenu.
Perfect guess
I have made a lot of code changes over the past few days. Could you please go into
your git checked out directory, and type
$git pull
Writing objects: 100% (10/10), 970 bytes, done.
Total 10 (delta 8), reused 0 (delta 0)
To yourgitserver.example.org/squeezetray.git
4938eec..61b047b master <- master
To get the latest version. I know an older version had some debug statements such as "self.mapping {}". I have removed a
lot of these, and the plan is to put in the standard logging, and and installer / README.
I removed this mapping system, from the "server Id" to "Player Name", during a code clean up.
I changed the code to be more and more Model, View, Controller Pattern.
The model is updated from the server using json http, using a view as a thread pool.
Callbacks on changes to the model to the Controller can then trigger further things.
In this case another View is triggered to display the model as the StatusBar and Tooltip,
which shows details about the current track playing, and server status.
What name should this little GUI have?
Any suggestions
Owen
I guess we should open a new thread when some one comes up with a good new name for the application currently known as "squeezetray" and uses wxpython as its GUI.
-
2012-06-16, 15:37 #8Junior Member
- Join Date
- Jun 2011
- Posts
- 13
It seems by default Ubuntu 12.04 and unity tray will hide the wxpython application formally known as "squeezetray".
For a solution go here (its fun):
http://bit.ly/MTmx8j
Or see this web page for an advert filled GUI solution.
http://www.howtogeek.com/68119/how-t...s-system-tray/
Ill let you know when Version 0.0.1 is ready.
Regards
Owen
-
2012-06-19, 14:55 #9Member
- Join Date
- Aug 2006
- Posts
- 87
-
2012-06-23, 16:48 #10Junior Member
- Join Date
- Jun 2011
- Posts
- 13
SqueezeWxTray-0.0.1.tar.gz (18.5 KB)
Just to announce the first sort of release of the code, and include as an attachment.
Don't worry, you did fine
(Git is a programmers tool)
When the program starts try right clicking to get the context sensitive menu and pull up settings, this will launch a new form. Once this is done, set the server, and port of the squeeze server, Then hit apply, before 10 seconds it should have connected. You then should see a list of players you can control. If this happens hit save, and your settings will be saved when you exit.
I have attached a version that works for me the first release SqueezeWxTray-0.0.1.tar.gz (18.5 KB).
you can now type
$ python setup.py install
To install into your system. It looks like it will be called squeezeWxTray unless some one comes up with a better name soon.
Owen

Reply With Quote

