UI6/UI7 compatibility

[quote=“lolodomo, post:20, topic:182607”]@futzle discovered a new UI7 bug that should lead to buttons “Prev”, “Next”, “Vol-” and “Vol+” in the main panel and in the Control page to not working at all (while they should work as expected in the Player page). Can someone confirm that ?

@futzle found a workaround. So if it is confirmed, I can provide quicly a patch.[/quote]

The workaround to fix UI7 bug is now committed in trunk.

Looks good. Buttons seem to work from main dashboard now.

@futzle: could you please check whether the mute control is working, in particular in the Player tab ? The mute button should not be greyed after unmuting.

Current status for UI7:

  • main panel: OK except the icon and a problem when the text to be displayed is too much large; buttons probably don’t work well in IE11 (I forget to check)

  • Control: OK except in IE11 (only Micasaverde can fix that)

  • Player: problem with favorite radio and audio inputs (zone names) containing a space

  • TTS: KO (spaces in the input text field interpreted as +

  • Group: not fully tested

  • Settings: OK

  • Help: OK

[quote=“lolodomo, post:24, topic:182607”]Current status for UI7:

  • main panel: OK except the icon and a problem when the text to be displayed is too much large; buttons probably don’t work well in IE11 (I forget to check)[/quote]

@HaPe: can you provide your own description of what you see when the text is too long for a display on one line ? I will relay the issue to Micasaverde.
Is the text automatically cut on two lines with the second line hidden by the other buttons ? Or is it something else ? Sorry I did not take attention enough yesterday.

[quote=“lolodomo, post:24, topic:182607”]Current status for UI7:

  • Player: problem with favorite radio and audio inputs (zone names) containing a space[/quote]

@HaPe: for radio with a name containing a space, it is not working when using the favorite radio select list, but I think it could work if you use the URI field with this kind of value: FR:your radio
If it works, I have the solution… Please let me know.

[quote=“lolodomo, post:25, topic:182607”][quote=“lolodomo, post:24, topic:182607”]Current status for UI7:

  • main panel: OK except the icon and a problem when the text to be displayed is too much large; buttons probably don’t work well in IE11 (I forget to check)[/quote]

@HaPe: can you provide your own description of what you see when the text is too long for a display on one line ? I will relay the issue to Micasaverde.
Is the text automatically cut on two lines with the second line hidden by the other buttons ? Or is it something else ? Sorry I did not take attention enough yesterday.[/quote]
Looks like the screenshot. The complete title is: Enjoy the Silence - Remastered: (Depeche Mode, The Best Of Depeche Mode, Vol. 1 (Remastered))

OK , that is clear.

I just committed a new .js file that should fixed the TTS issue, the playback of a favorite radio and so on. Let me know if it is ok now.

New files updated. Included an attempt to manage Sonos icons (icon depending on your Sonos model). Please let me know what is the result.
Other changes are not specific to UI7, only few improvments in Group, TTS and Settings tabs.

Files to upload: D_Sonos1.json + I_Sonos1.xml + J_Sonos1.js + S_Sonos1.xml

Can confirm that TTS now works and also radio-favorites with a space in the name.

Icons are missing, see screenshot.

Icons are missing, see screenshot.

:frowning:
Did you tried with Chrome ?

Current status for UI7:

  • main panel: OK except the icon and a problem when the text to be displayed is too much large; buttons probably don’t work well in IE11

  • Control: OK except in IE11

  • Player: OK

  • TTS: OK

  • Group: not fully tested

  • Settings: OK

  • Help: OK

Did you tried with Chrome ?

Yes, same in Chrome.

I just committed a new version of the file D_Sonos1.json. With this change, I hope the device icon should be ok. But first you will have to move manually all Sonos*.png files from the directory /www/cmh/skins/default/icons into the subsirectory /www/cmh/skins/default/icons/device_states.

First move the PNG files, then upload the new JSON file & reload, finally send a Ctrl+F5 in your WEB browser.

Please let me know if it works. If it is, I will add the code to avoid the manual step of moving files.

I don’t get any icons.

[quote=“lolodomo, post:35, topic:182607”]I just committed a new version of the file D_Sonos1.json. With this change, I hope the device icon should be ok. But first you will have to move manually all Sonos*.png files from the directory /www/cmh/skins/default/icons into the subsirectory /www/cmh/skins/default/icons/device_states.

First move the PNG files, then upload the new JSON file & reload, finally send a Ctrl+F5 in your WEB browser.

Please let me know if it works. If it is, I will add the code to avoid the manual step of moving files.[/quote]

I’m novice in this. I’m posting here to take advantage of continuity of the discussion.
I’ve three Sonos (two ZP S5s and a bridge). I got Vera3 about 3-4 days back and was able to setup few devices with it. Now I’m planning to control my Sonos system with it. I’ve been reading posts and found the great work by you to keep the interface working with Sonos.Thanks for that.
My ISSUE: Very basic - I’m not able to get this work at all. I followed steps but get error “Error executing function J_Sonos1.js.Sonos_showPlayer(): Cannot set property ‘backgroundColor’ of undefined”. I can’t search the Sonos by IP address as well.

I’ve tried this with Chrome and IE9.

As per the above post you want us to upload the four files but I couldn’t find any instructions on - How to do that? Any help is appreciated to make the Sonos work with my Vera3.

Sharad

You just don’t use the right files.

To upload new files, use the Vera UI. You can upload files from Apps => Developer apps => Luup files.

By the way, I will release a new official version soon, probably during the current week.

[quote=“lolodomo, post:38, topic:182607”]You just don’t use the right files.

To upload new files, use the Vera UI. You can upload files from Apps => Developer apps => Luup files.[/quote]

Thanks for quick reply. I’ll try this. Will wait for new release if this doesn’t work.

Sharad