<div dir="ltr"><div><div>As there is no existing API in MPRIS through which we can expose complete media collection, I was thinking that I will write a custom DBus interface for the purpose.<br></div>Similarly for controlling PMC, I would need functions to navigate UI (which are not defined in MPRIS)  like left, right, up, down, back and maybe some more. So, I will add these functions also to that custom interface.<br></div>Then I will write a kdeconnect plugin, which will use that custom interface to communicate with PMC.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 5:46 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think you need to process a bit what you want to do.<br>
<br>
Note that even though MPRIS is an API on top of DBus, not all DBus is<br>
tunneled through KDE Connect.<br>
<span class=""><font color="#888888"><br>
Aleix<br>
</font></span><div class=""><div class="h5"><br>
On Thu, Mar 12, 2015 at 1:10 PM, Ashish Madeti <<a href="mailto:ashishmadeti@gmail.com">ashishmadeti@gmail.com</a>> wrote:<br>
> I want to expose the media collection over DBus, so that the user can choose<br>
> the media from the kdeconnect app.<br>
><br>
> On Thu, Mar 12, 2015 at 5:29 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>><br>
>> On Thu, Mar 12, 2015 at 10:54 AM, Ashish Madeti <<a href="mailto:ashishmadeti@gmail.com">ashishmadeti@gmail.com</a>><br>
>> wrote:<br>
>> > I do need to create a custom DBus interface in PMC, for controlling it<br>
>> > through remote control in kdeconnect. I also plan to extend the<br>
>> > interface to<br>
>> > expose the media collection available to PMC, so that the user can<br>
>> > choose a<br>
>> > media from the whole collection rather than just the current playlist.<br>
>> ><br>
>> > On Thu, Mar 12, 2015 at 6:10 AM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>> >><br>
>> >> On Wed, Mar 11, 2015 at 8:01 PM, Ashish Madeti <<a href="mailto:ashishmadeti@gmail.com">ashishmadeti@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Hi all !!<br>
>> >> > I discussed with Albert, Shantanu and several others about a project<br>
>> >> > for<br>
>> >> > this year's GSoC. I want to improve the MPRIS plug-in of kdeconnect<br>
>> >> > by<br>
>> >> > adding tracklist MPRIS interface support and want to create a custom<br>
>> >> > plug-in<br>
>> >> > which acts as a remote control for Plasma Media Centre.<br>
>> >> > I also wanted to add several more features like:<br>
>> >> >  1) Showing cover art of the now playing media [1].<br>
>> >> >  2) Notification area support [2].<br>
>> >> >  3) Lock screen support [3].<br>
>> >> ><br>
>> >> > As Albert mentioned that he won't be able to mentor the project, is<br>
>> >> > it<br>
>> >> > possible for someone else in the kdeconnect team to mentor me?<br>
>> >> ><br>
>> >> > What do you think of these features? I saw a branch in the<br>
>> >> > kdeconnect-android repo with name "feature/noti-mediacontrol", so is<br>
>> >> > somebody else working on the second feature, or is it OK to include<br>
>> >> > it<br>
>> >> > in my<br>
>> >> > GSoC project?<br>
>> >> ><br>
>> >> > [1] <a href="https://bugs.kde.org/show_bug.cgi?id=345015" target="_blank">https://bugs.kde.org/show_bug.cgi?id=345015</a><br>
>> >> > [2] <a href="https://bugs.kde.org/show_bug.cgi?id=337529" target="_blank">https://bugs.kde.org/show_bug.cgi?id=337529</a><br>
>> >> > [3] <a href="https://bugs.kde.org/show_bug.cgi?id=337485" target="_blank">https://bugs.kde.org/show_bug.cgi?id=337485</a><br>
>> >><br>
>> >> There's a review request doing [2] and [3]. It's not quite done yet and<br>
>> >> stale.<br>
>> >> <a href="https://git.reviewboard.kde.org/r/122486/" target="_blank">https://git.reviewboard.kde.org/r/122486/</a><br>
>> >><br>
>> >> I think the features are interesting but definitely not enough for a<br>
>> >> GSoC project. If your project is about improving stuff in PMC and then<br>
>> >> doing a couple of patches in KDE Connect, then it can be fine.<br>
>> >><br>
>> >> Aleix<br>
>> ><br>
>> > --<br>
>> > Ashish Madeti<br>
>><br>
>> * small clarification, you don't need to create anything. You want to. ;-)<br>
>> *<br>
>><br>
>> You want to expose the media collection available to PMC? Isn't it<br>
>> already available to PMC? Or you want to expose it in MPRIS?<br>
>><br>
>> Aleix<br>
><br>
><br>
><br>
><br>
> --<br>
> Ashish Madeti<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div style="color:rgb(136,136,136)"><b>Ashish Madeti</b></div></div></div>
</div></div>