NJB mediadevice (download items and plugin name)
T.R.Shashwath
trshash84 at gmail.com
Sun Jun 18 05:48:26 UTC 2006
Damn, I'd finished this ages ago, and didn't mail it in...
Thanks Seb, it does help... :-)
Shash
On Sunday 11 June 2006 04:53, Seb Ruiz wrote:
> 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
--
"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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amarok-njb-20060618.patch
Type: text/x-diff
Size: 89358 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok/attachments/20060618/97234be4/attachment.bin>
More information about the Amarok
mailing list