Remote control feature on Amarok

Milot Shala milot.shala at gmail.com
Thu Mar 18 13:26:28 CET 2010


On Thu, Mar 18, 2010 at 12:34 PM, Seb Ruiz <ruiz at kde.org> wrote:

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


Seb,

Thank you for your response.

I thought of using DBus but I don't know its state of working on non-Unix
environment(s). Second, I don't know if I can do that as a script, but as I
primarily write software using C++ and I don't know much about QtScript or
Amarok scripting support (I will take a look at it).

As for MPRIS, I didn't knew that existed, thank you for reference.

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.



-- 
Milot Shala, Software Engineer
www.spartansoft.org | m.shala at spartansoft.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20100318/40d44f8f/attachment-0001.htm 


More information about the Amarok-devel mailing list