<div><br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 12:34 PM, Seb Ruiz <span dir="ltr">&lt;<a href="mailto:ruiz@kde.org">ruiz@kde.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Milot,<br>
This is very cool. Would be awesome to see something like this exist<br>
in Amarok -- could it be done as a script?<br>
<br>
I&#39;m also wondering why you chose to implement a plugin point in<br>
Amarok; why didn&#39;t you use MPRIS and dbus?<br>
<br>
Seb<br>
<div><div></div><div class="h5"><br>
On 18 March 2010 19:28, Milot Shala &lt;<a href="mailto:milot.shala@gmail.com">milot.shala@gmail.com</a>&gt; wrote:<br>
&gt; Dear fellow developers,<br>
&gt; I have created my personal video manager and player about a year ago and I<br>
&gt; was working on it periodically because I was the only user, now as I want to<br>
&gt; be a part of Amarok team and help develop it I have a suggestion for a<br>
&gt; feature.<br>
&gt; Yesterday I have added very small nice feature to my player just for<br>
&gt; demonstration purposes here what can be nice feature to add to Amarok, it is<br>
&gt; for remote controlling Amarok via mobile device; I have recorded a video<br>
&gt; that shows you how it works and if you are interested on adding this kind of<br>
&gt; feature to Amarok, and I would be glad to work on this part, the video is<br>
&gt; located here: <a href="http://www.youtube.com/watch?v=VY-YiEJfFjM" target="_blank">http://www.youtube.com/watch?v=VY-YiEJfFjM</a><br>
&gt; For the demonstration that you are about to see, I&#39;ve written a very simple<br>
&gt; application for Nokia using Qt and I have added some lines of code using<br>
&gt; QUdpSocket on the player side that can listen to a specific port (666111)<br>
&gt; for income, at the time it receives a message from the mobile device, based<br>
&gt; on the message that is sent, the player invokes its play, pause or setValue<br>
&gt; on a slider functions  in order to control the player.<br>
&gt; IMO this feature can be very useful to Amarok because people can control<br>
&gt; their music during a party, of course some other functionalities such as<br>
&gt; displaying the current playlist on the phone and better UI should be<br>
&gt; implemented, but for now I think you&#39;ve got the point.<br>
&gt; Thank you,<br>
&gt; Sincerely,<br>
&gt; --<br>
&gt; Milot Shala, Software Engineer<br>
&gt; <a href="http://www.spartansoft.org" target="_blank">www.spartansoft.org</a> | <a href="mailto:m.shala@spartansoft.org">m.shala@spartansoft.org</a><br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Amarok-devel mailing list<br>
&gt; <a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/amarok-devel" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Seb Ruiz<br>
<br>
<a href="http://www.sebruiz.net/" target="_blank">http://www.sebruiz.net/</a><br>
<a href="http://amarok.kde.org/" target="_blank">http://amarok.kde.org/</a><br>
</font></blockquote></div><br><br clear="all">Seb,<div><br></div><div>Thank you for your response.</div><div><br></div><div>I thought of using DBus but I don&#39;t know its state of working on non-Unix environment(s). Second, I don&#39;t know if I can do that as a script, but as I primarily write software using C++ and I don&#39;t know much about QtScript or Amarok scripting support (I will take a look at it).</div>

<div><br></div><div>As for MPRIS, I didn&#39;t knew that existed, thank you for reference.</div><div><br></div><div>I thought it would be more natural to have this kind of functionality enabled directly inside Amarok where the user can choose to enable remote control support or not from the Amarok Settings, and of course writing application for several mobile devices and/or other handy devices such as Nintendo Wii Remote.</div>

<div><br></div><div><br></div><div><br></div>-- <br>Milot Shala, Software Engineer<br><a href="http://www.spartansoft.org">www.spartansoft.org</a> | <a href="mailto:m.shala@spartansoft.org">m.shala@spartansoft.org</a><br>


</div>