NJB mediadevice (download items and plugin name)

Seb Ruiz me at sebruiz.net
Sat Jun 10 23:23:31 UTC 2006


hth, seb.


#include "transferdialog.h"

bool
MyMediaDevice::hasTransferDialog()
{
     return true;
}

void
MyMediaDevice::runTransferDialog()
{
     m_td = new TransferDialog( this );
     m_td->exec();
}

Quoting "T.R.Shashwath" <trshash84 at gmail.com>:

> I tried, but I couldn't find out how to use it, looking at the other
> mediadevices. Generic doesn't use it, AFAIK, since I tested it with the mass
> storage mode of my Zen.
>
> On Saturday 10 June 2006 20:28, Seb Ruiz wrote:
>> You should use the TransferDialog class.
>>
>> Quoting "T.R.Shashwath" <trshash84 at gmail.com>:
>> > I've worked out a simpler download system - when you right click on an
>> > item (or select multiple items and right click), it launches a URL
>> > requester, where you can give a root for it to copy things into. From
>> > there, it stores items in the format "url/artist/album/track". I made it
>> > this way because it's simple, but if people want a more flexible scheme,
>> > that can be worked out too. I think it might also be worth it to have it
>> > somehow work alongside the Organise Collection mechanism, but I don't
>> > know how to do that.
>> >
>> > I've also given the plugin a name that can come up in the drop down box.
>> > I'll work on it to see if I can get things like owner string or something
>> > else in that name too (so you can identify which device you've plugged
>> > in).
>> >
>> > Next up should be playlists, I think...
>> >
>> > Shash
>> > --
>> > "Where shall  I  begin, please your Majesty ?" he asked.
>> > "Begin at the beginning,", the King said, very gravely,
>> > "and go on till you come to the end: then stop."
>
> --
> "Where shall  I  begin, please your Majesty ?" he asked.
> "Begin at the beginning,", the King said, very gravely,
> "and go on till you come to the end: then stop."
>
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>



-- 
http://www.sebruiz.net/



More information about the Amarok mailing list