Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    13

    Announce: squeezetray

    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

  2. #2
    Hi, do you know if it would work with Ubuntu 12.04 and unity tray?
    Thanks

  3. #3
    Sounds nice.
    Would like to get it working in mint 13.
    Would you have any instructions on how to make that happen?

  4. #4
    Junior Member
    Join Date
    Jun 2011
    Posts
    13
    Quote Originally Posted by atz6975 View Post
    Hi, do you know if it would work with Ubuntu 12.04 and unity tray?
    Thanks
    I don't know, but suspect it will work, in the same was most other tray applications. It works fine with IceWm.

    Regards

    Owen

  5. #5
    Junior Member
    Join Date
    Jun 2011
    Posts
    13
    Quote Originally Posted by Veggen View Post
    Sounds nice.
    Would like to get it working in mint 13.
    Would you have any instructions on how to make that happen?
    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.

  6. #6
    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?

  7. #7
    Junior Member
    Join Date
    Jun 2011
    Posts
    13

    What name should this little GUI have?

    Quote Originally Posted by Veggen View Post
    Thanks, had to install git and wx, but it seems to have installed OK.
    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".

    Quote Originally Posted by Veggen View Post
    In settings, the Player field is blank,
    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.

    Quote Originally Posted by Veggen View Post
    at the bottom it says Server Connected.
    Ok, this is a very good sign, It means you have a Squeeze server installed, and connected the client to it correctly.

    Quote Originally Posted by Veggen View Post
    The play/pause/next etc. controls do not seem to do anything.
    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.

    Quote Originally Posted by Veggen View Post
    In the terminal window I see:

    self.mapping {}

    Not recognizing my player it seems?
    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.

  8. #8
    Junior Member
    Join Date
    Jun 2011
    Posts
    13
    Quote Originally Posted by atz6975 View Post
    Hi, do you know if it would work with Ubuntu 12.04 and unity tray?
    Thanks
    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

  9. #9
    Quote Originally Posted by owenhamburg View Post
    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.
    Sorry, but this went a little bit above my head.

    Which directory?

    I did try to download directly and just replace the files but it still wont find any players.

  10. #10
    Junior 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.

    Quote Originally Posted by Veggen View Post
    I did try to download directly and just replace the files but it still wont find any players.
    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
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •