Page 2 of 3

Re: Autolog Squeezebox Controller Discussion

PostPosted: Sun May 04, 2014 8:15 pm
by cconrad
I installed 0.1.5 and it recognizes my SB Touch now, thanks!

When I call the 'Play Preset' and 'Play Favorite' actions, both return this error:

Code: Select all
Autolog Squeezebox Error        Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 242, in processPlayPreset
<type 'exceptions.AttributeError'>: 'collections.deque' object has no attribute 'put'

Re: Autolog Squeezebox Controller Discussion

PostPosted: Mon May 05, 2014 2:17 am
by autolog
cconrad wrote:
I installed 0.1.5 and it recognizes my SB Touch now, thanks!

When I call the 'Play Preset' and 'Play Favorite' actions, both return this error:

Code: Select all
Autolog Squeezebox Error        Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 242, in processPlayPreset
<type 'exceptions.AttributeError'>: 'collections.deque' object has no attribute 'put'


Should be fixed now in version 0.1.6 which is available here

Lesson learnt - make sure I do at least one test before uploading! :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Mon May 05, 2014 2:29 pm
by cconrad
Thanks for 0.1.6, Autolog!

I called both Favorite and Preset actions. Works great!

I'm curious, in a previous post, you used this example:

autolog wrote:
New Action : 'Play Favorite' - Enter the required favorite number e.g. '3', '4.1.2' etc (no quotes).


What's the dot notation in '4.1.2' about?

Thanks again,

-Chris

Re: Autolog Squeezebox Controller Discussion

PostPosted: Mon May 05, 2014 3:39 pm
by autolog
cconrad wrote:
... What's the dot notation in '4.1.2' about? ...


LMS_Example.png
LMS_Example.png (163.04 KiB) Viewed 6739 times

In the example LMS screen print above (from the web interface), I have hovered the mouse over the track and you will see that in the pop-up in the bottom of the screen is the file name which contains an index of 3.1.0.

3 = 'Testing Favourites' folder
1 = 'Sub-FOLDER-Testing' folder
0 = the flac file

So it really only applies (I think) if you are using sub-folders in favorites.

On the LMS home page, you can edit favorites and add folders by selecting Favorites and clicking on the pencil mark as shown below:
Edit_Favorites.png
Edit_Favorites.png (8.64 KiB) Viewed 6739 times

Hope this helps :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Mon May 05, 2014 5:02 pm
by cconrad
Very nice! I don't currently have any subfolders in my favorites, but great to know that you've included this functionality. :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Tue Jun 10, 2014 5:39 am
by autolog
New version (0.2.5) which has been extensively revamped is now available - see here :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Tue Jul 08, 2014 10:58 am
by autolog
New version (0.2.6) which has been state and Play alert improvements - see here :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Fri Jan 16, 2015 7:46 am
by autolog
Following user feedback, the documentation has been corrected for V0.2.6 - see here :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Fri Jan 16, 2015 1:29 pm
by philipbasile
Do I need to load the Squeezebox server software on the indigo server or will the plugin talk directly to the squeezebox radio ?

thanks

philip

Re: Autolog Squeezebox Controller Discussion

PostPosted: Fri Jan 16, 2015 1:41 pm
by autolog
Hi Philip,
The plugin talks to the Squeezebox Server which in turn talks to the Squeezebox Radio.
The Squeezebox Server doesn't have to run on the Indigo server Mac but the plugin has to be able to speak to it over the network if it is say on a PC.
Hope this helps :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Fri Jan 16, 2015 9:57 pm
by philipbasile
Awesome just got it working. The worst part was getting squeezebox server (Logitech Media Server) to talk to the squeezebox. At first it would not find the player at all even though mysqueezebox.com could find it. I finally did a factory reset on the player and then the server found it no problem. I'm running Logitech Media Server 7.7.5 on the indigo Mac and I have the Squeezebox Radio with 7.7.3 firmware.

I have indigo turning on the power to the box at 7am, setting the volume, and playing it. Then turning it off at 10pm.
I also have an Indigo Control Page reporting the server and player status.

Next will be the control page to control the volume.

I would be great if we could report the track/song being played and skip to the next track/song.
Will that be in V0.3 ?

Thanks

Re: Autolog Squeezebox Controller Discussion

PostPosted: Sat Jan 17, 2015 4:49 am
by autolog
philipbasile wrote:
Awesome just got it working. .....
..... report the track/song being played and skip to the next track/song.

Glad to hear you got it working :)

You should already be able to skip forward and back with V0.2.6 using the actions:
Code: Select all
Forward Now Playing
Rewind Now Playing
The upcoming V0.3.0 has states for the album, artist and track that is playing.

You can also get the cover by having an image URL in a control page something like this:
Code: Select all
http://127.0.0.1:9000/music/current/cover.jpg?player=AA:BB:CC:DD:EE:FF
where AA:BB:CC:DD:EE:FF is the address (mac) of the player which will be shown as the device address in the main Indigo devices window. This feature works with the upcoming V0.3.0 but will (I think) also work with v0.2.6 :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Sat Jan 17, 2015 10:24 am
by philipbasile
What about getting the current volume setting ? Do you have a way of doing that now ?

thanks

philip

Re: Autolog Squeezebox Controller Discussion

PostPosted: Sat Jan 17, 2015 10:38 am
by autolog
philipbasile wrote:
What about getting the current volume setting ? Do you have a way of doing that now ?

Short answer = no :(

However, as part of tidying up V0.3.0, I have been reworking my control pages and realised that that was missing - I am looking to put it in because it will be useful and I want to add it to my control pages :)

Re: Autolog Squeezebox Controller Discussion

PostPosted: Sat Jan 17, 2015 7:23 pm
by philipbasile
on the cover image....

http://127.0.0.1:9000/music/current/cov ... C:DD:EE:FF

I changed the MAC address to reflect the address of my physical player. Should the IP address be the address of the squeezebox server ?

I tried changing the IP to the SBS IP address but all I get on the control page is the SB radio tower logo ?

Any thoughts ?


-Philip