@macfly92: I know what is wrong in my code. One time again, it is a problem of XML parsing.
In general, renderers are using this format for the event notification:
<Volume val="80"/>
while the Linux renderer is using this other format:
[quote=“lolodomo, post:181, topic:177228”]@macfly92: I know what is wrong in my code. One time again, it is a problem of XML parsing.
In general, renderers are using this format for the event notification:
<Volume val="80"/>
while the Linux renderer is using this other format:
<Volume val="80"></Volume>
Of course, my code has to accept the two formats.[/quote]
Ok, just ask me if you need anything else.
About your repository in Mios System, at this moment is it the same has you have posted before ? (no need to update?)
For my part, the Linux Renderer (Gmrender-resurect) status feedback works perfectly in this version !
Volume +/- , Play, Pause, track status, and feedback even If I controlled it from another remote.
I just have to uncheck “Buttons state controlled by Media Renderer” to have command on this page, (but not in command tab).
[quote=“macfly92, post:188, topic:177228”]For my part, the Linux Renderer (Gmrender-resurect) status feedback works perfectly in this version !
Volume +/- , Play, Pause, track status, and feedback even If I controlled it from another remote.
I just have to uncheck “Buttons state controlled by Media Renderer” to have command on this page, (but not in command tab).
[quote=“a-lurker, post:187, topic:177228”]Yamaha AVR now recognised - displays model number as text and an associated icon pops up, so definitely an improvement. Still can’t control it though.
I get this during LUUP restart:[/quote]
That looks good if nothing was being played at this time.
f I dial up a music file using the plugin that works but when I hit the Play button I get this:
Can you make tests step by step and give a feedback.
play with an audio file using your Yamaha remote (play, pause, stop, mute, …) and check if the state is updated accordingly in the plugin (and if you get media information) ?
play an audio file using your Yamaha remote and then use the plugin controls (play, pause, stop, next, mute, …). Is it working, including feedback state updated in the plugin ?
Try with the plugin to browse a media server and play a file from there. Use a media server that you know is working with your Yamaha receiver.
4? Try the manual selection at top, entering for example the URL of a WEB radio and then push button Play.
Try TTS; tell us if your listen something and if the previous context is restored.
And yes, it may require that your A/V receiver to be first switched to a specific mode.
On that point, macfly92 could comment on what happens with his Sony BluRay player. Is the plugin able to control the Sony player whatever it is doing (DVD, BluRay, …), or is the plugin able to control the Sony player only when the player is in a particular mode (media mode) ?
I will control your Yamaha service files later today to see what actions are provided.
[quote=“lolodomo, post:191, topic:177228”]And yes, it may require that your A/V receiver to be first switched to a specific mode.
On that point, macfly92 could comment on what happens with his Sony BluRay player. Is the plugin able to control the Sony player whatever it is doing (DVD, BluRay, …), or is the plugin able to control the Sony player only when the player is in a particular mode (media mode) ?
I will control your Yamaha service files later today to see what actions are provided.[/quote]
I used my Sony Bluray player mostly as an Audio amplifier but in my case, if i’m listening TV Audio (from a Cable box) or MP3 from My computer (another INPUT) my Player switch input as soon as it received control from Vera to play it.
I didn’t test when I watched a Bluray, tell me if you need it !
I just fixed a bug preventing playing a server ressource having a & in its URL. It was the case in my RTSP media (TV channels).
I will produce a new version (0.2) this week but I would like first to finish the server media browsing. I already improove it but it does not satisfy me.
“Quick look at your files: they are standard DLNA files, nothing special added by Yamaha.”
Thanks for looking at this. After more testing it appears that the Yamaha AVR will not respond to AVTransport controls: Play Pause, Stop, etc. It looks like this is the AVR’s problem, not your plugin, as I can’t control it using “UPnP Inspector” either.
Using the plugin or the inspector results in “701” errors, which translate to:
“Transition not available. The immediate transition from current transport state to desired transport state is not supported by this device.”
The Mute and Volume does work but only when the AVR is connected to a media server. I would have thought it would always control the mute and volume no matter what media source/input was selected. I have a set top box and I can control the mute and volume on that, no matter what source/input it’s set to.
The media being played by the Yamaha AVR does not appear on the plugin either.
So that’s pretty poor on Yamaha’s part - I don’t think there is a plugin problem in regard to the Yamaha.
One other really strange thing occurs when the Yamaha lists the media servers it can find. It shows one called “Xmaslights [17]” and I just happen to have a Vera Scene called “Xmas lights”, which is scene number 17. If I try and select it - it says “Access Denied”. I can rename the scene and the new name appears on the Yamaha!!! All a bit bizarre.
Please check in the Help tab that the two metadata variazbles are empty.
If not, it could be a bug.
One other really strange thing occurs when the Yamaha lists the media servers it can find. It shows one called "Xmaslights [17]" and I just happen to have a Vera Scene called "Xmas lights", which is scene number 17. If I try and select it - it says "Access Denied". I can rename the scene and the new name appears on the Yamaha!!! All a bit bizarre.
More info on the Yamaha box. I find that I can control it with bubbleupnp (Android app). The interesting thing is once I do that, the plugin can then also control it. The plugin also shows the media information as well at that point. However the plugin cannot play a URI or “Say” anything:
Ignore the “luup_log:67: YamahaReceiver: Un-handled subunit: SERVER” - that’s another plugin and is harmless.
URI log - have I entered the correct URI - I note it appears to have a leading space:
This plug is developing nicely. I can play vids and music from my XBMC library. The “scanning” issue seems to have been resolved. Haven’t had a lot of luck using media player as a control to my Sony KDL as a renderer. It discovers it but won’t play the selected URI.
One thing that is a pain is that the selections in the comboboxes don’t seem to persist if the control loses scope.
Also, forgive me for this newb question but what I would like to do is run a scene that pauses playback if my android phone rings. I use tasker which can initiate a scene in vera but the device and consequently all the command buttons are disabled when I am in scene creation. Is there a luup command I can uses to implement?