<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 1:20 PM, Mirsal Ennaime <span dir="ltr">&lt;<a href="mailto:mirsal@videolan.org">mirsal@videolan.org</a>&gt;</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>
&gt; Here&#39;s the current patch, but i&#39;m not sure what i should do when you said<br>
&gt; &quot;We also can&#39;t really say that the media player should implement these<br>
&gt; additions, since we want to be backwards compatible&quot;<br>
<br>
We can&#39;t require these new properties to be present without breaking<br>
backwards compatibility.<br>
<br>
<br>
&gt; diff --git a/spec/Root_Node.xml b/spec/Root_Node.xml<br>
&gt; index 191acaa..f96719e 100644<br>
&gt; --- a/spec/Root_Node.xml<br>
&gt; +++ b/spec/Root_Node.xml<br>
&gt; @@ -49,6 +49,41 @@<br>
&gt;        &lt;/tp:docstring&gt;<br>
&gt;      &lt;/property&gt;<br>
&gt;<br>
&gt; +    &lt;property name=&quot;Fullscreen&quot; type=&quot;b&quot;<br>
&gt; tp:name-for-bindings=&quot;Fullscreen&quot; access=&quot;readwrite&quot;&gt;<br>
&gt; +      &lt;tp:docstring xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;<br>
&gt; +        &lt;p&gt;Causes the media player toggle into or out of fullscreen<br>
&gt; mode.&lt;/p&gt;<br>
&gt; +        &lt;p&gt;<br>
&gt; +          &lt;strong&gt;true&lt;/strong&gt; toggles from normal mode to<br>
&gt; fullscreen mode<br>
&gt; +        &lt;/p&gt;<br>
&gt; +        &lt;p&gt;<br>
&gt; +          &lt;strong&gt;false&lt;/strong&gt; toggles from fullscreen mode to<br>
&gt; normal mode<br>
&gt; +        &lt;/p&gt;<br>
<br>
The term &quot;toggle&quot; might be a bit confusing, &quot;switch&quot; would probably be a<br>
better fit.<br>
<br>
&gt; +        &lt;p&gt;<br>
&gt; +          The media player should ignore calls when<br>
&gt; &lt;strong&gt;true&lt;/strong&gt; and<br>
&gt; +          already in fullscreen mode or &lt;strong&gt;false&lt;/strong&gt; when<br>
&gt; not in fullscreen<br>
&gt; +          mode<br>
&gt; +        &lt;/p&gt;<br>
<br>
Using less ambiguous wording would be nice here, like: &quot;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&quot; or something along these lines.<br>
<br>
&gt; +        &lt;p&gt;<br>
&gt; +          The media player may refuse to allow clients to enter or<br>
&gt; exit fullscreen.<br>
<br>
I would rather use &quot;The media player may not allow...&quot; but that&#39;s<br>
probably subjective.<br>
<br>
&gt; +          In this case, the<br>
&gt; &lt;tp:member-ref&gt;CanSetFullscreen&lt;/tp:member-ref&gt; property is<br>
&gt; +          &lt;strong&gt;false&lt;/strong&gt; and this method does nothing.<br>
<br>
This is not a method, so &quot;changing this property&quot; instead of &quot;this<br>
method&quot; would be better IMHO, and we should state that CanSetFullscreen<br>
might not even exist.<br>
<br>
&gt; +        &lt;/p&gt;<br>
&gt; +        &lt;p&gt;If the media player does niot have a UI, this should be<br>
&gt; implemented&lt;/p&gt;<br>
<br>
there&#39;s a typo (s/niot/not), and we can&#39;t require these properties to be<br>
implemented.<br>
<br>
&gt; +      &lt;/tp:docstring&gt;<br>
&gt; +    &lt;/property&gt;<br>
&gt; +<br>
&gt; +    &lt;property name=&quot;CanSetFullscreen&quot; type=&quot;b&quot;<br>
&gt; tp:name-for-bindings=&quot;Can_Set_Fullscreen&quot; access=&quot;read&quot;&gt;<br>
&gt; +      &lt;tp:docstring xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;<br>
&gt; +        &lt;p&gt;<br>
&gt; +          If &lt;strong&gt;false&lt;/strong&gt;, calling<br>
&gt; +          &lt;tp:member-ref&gt;Fullscreen&lt;/tp:member-ref&gt; will have no<br>
&gt; effect, and may<br>
<br>
Same as earlier, &quot;changing the Fullscreen property&quot; instead of &quot;calling<br>
Fullscren&quot;<br>
<br>
&gt; +          raise a NotSupported error.<br>
<br>
I don&#39;t think we should spec this: &quot;and may raise an error&quot; 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>