<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 1:20 PM, Mirsal Ennaime <span dir="ltr"><<a href="mailto:mirsal@videolan.org">mirsal@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Kevin, and thank you for your patch,<br>
Comments inline.<br>
<br>
On Wed, 2012-01-18 at 12:47 -0500, Kevin Anthony wrote:<br>
> Here's the current patch, but i'm not sure what i should do when you said<br>
> "We also can't really say that the media player should implement these<br>
> additions, since we want to be backwards compatible"<br>
<br>
We can't require these new properties to be present without breaking<br>
backwards compatibility.<br>
<br>
<br>
> diff --git a/spec/Root_Node.xml b/spec/Root_Node.xml<br>
> index 191acaa..f96719e 100644<br>
> --- a/spec/Root_Node.xml<br>
> +++ b/spec/Root_Node.xml<br>
> @@ -49,6 +49,41 @@<br>
> </tp:docstring><br>
> </property><br>
><br>
> + <property name="Fullscreen" type="b"<br>
> tp:name-for-bindings="Fullscreen" access="readwrite"><br>
> + <tp:docstring xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"><br>
> + <p>Causes the media player toggle into or out of fullscreen<br>
> mode.</p><br>
> + <p><br>
> + <strong>true</strong> toggles from normal mode to<br>
> fullscreen mode<br>
> + </p><br>
> + <p><br>
> + <strong>false</strong> toggles from fullscreen mode to<br>
> normal mode<br>
> + </p><br>
<br>
The term "toggle" might be a bit confusing, "switch" would probably be a<br>
better fit.<br>
<br>
> + <p><br>
> + The media player should ignore calls when<br>
> <strong>true</strong> and<br>
> + already in fullscreen mode or <strong>false</strong> when<br>
> not in fullscreen<br>
> + mode<br>
> + </p><br>
<br>
Using less ambiguous wording would be nice here, like: "The media player<br>
should ignore calls to org.freedesktop.DBus.Properties.Set for this<br>
property if the value given as an argument is the same as the current<br>
one" or something along these lines.<br>
<br>
> + <p><br>
> + The media player may refuse to allow clients to enter or<br>
> exit fullscreen.<br>
<br>
I would rather use "The media player may not allow..." but that's<br>
probably subjective.<br>
<br>
> + In this case, the<br>
> <tp:member-ref>CanSetFullscreen</tp:member-ref> property is<br>
> + <strong>false</strong> and this method does nothing.<br>
<br>
This is not a method, so "changing this property" instead of "this<br>
method" would be better IMHO, and we should state that CanSetFullscreen<br>
might not even exist.<br>
<br>
> + </p><br>
> + <p>If the media player does niot have a UI, this should be<br>
> implemented</p><br>
<br>
there's a typo (s/niot/not), and we can't require these properties to be<br>
implemented.<br>
<br>
> + </tp:docstring><br>
> + </property><br>
> +<br>
> + <property name="CanSetFullscreen" type="b"<br>
> tp:name-for-bindings="Can_Set_Fullscreen" access="read"><br>
> + <tp:docstring xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"><br>
> + <p><br>
> + If <strong>false</strong>, calling<br>
> + <tp:member-ref>Fullscreen</tp:member-ref> will have no<br>
> effect, and may<br>
<br>
Same as earlier, "changing the Fullscreen property" instead of "calling<br>
Fullscren"<br>
<br>
> + raise a NotSupported error.<br>
<br>
I don't think we should spec this: "and may raise an error" should be<br>
enough.<br>
<br>
Again, thank you very much for your time !<br>
<br>
All the best,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
mirsal<br>
</font></span><br>_______________________________________________<br>
MPRIS mailing list<br>
<a href="mailto:MPRIS@lists.freedesktop.org">MPRIS@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mpris" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mpris</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks<br>Kevin Anthony<br><a href="http://www.NoSideRacing.com" target="_blank">www.NoSideRacing.com</a><div><br><div>Do you use Banshee?</div></div><div>
Download the Community Extensions:</div><div><a href="http://banshee.fm/download/extensions/" target="_blank">http://banshee.fm/download/extensions/</a></div><br>