[patch info] Load media through KDE's KIOSlaves

Maximilian Kossick maximilian.kossick at googlemail.com
Fri Sep 4 20:39:20 CEST 2009


On Fri, Sep 4, 2009 at 8:12 PM, Valerio Pilo<valerio at kmess.org> wrote:
> In data venerdì 04 settembre 2009 14:26:54, hai scritto:
>> On Fri, Sep 4, 2009 at 1:29 PM, Seb Ruiz<ruiz at kde.org> wrote:
>> > 2009/9/4 Valerio Pilo <valerio at kmess.org>:
>> >> Hi rockers! I'd like to write a patch for my beloved Amarok to make it
>> >> possible to load media files out of KDE kioslaves (for example, an mp3
>> >> may be in smb://server/share/music/amarok_theme.mp3).
>> >>
>> >> Is there any reason why this hasn't been implemented before? If none,
>> >> can you point me to where the actual file opening is located in your
>> >> codebase?
>> >
>> > Checkout MainWindow::slotAddLocation()
>> >
>> > We really should be using KIO for the transfer, so it should be
>> > transparent. I just checked though, and clearly it doesn't work.
>> > Patches welcome :).
>> >
>> > Valerio - create a clone of our Amarok git master then merge a fix in!
>>
>> You might want to check CollectionManager::trackForUrl.
>> And does Taglib support KIO now?
>>
>
> Thanks, I've arrived to that method after a little wandering myself. I've
> succeeded in making it to consider the KIOSlave URIs as playable tracks (it's
> streaming them); but I still need to understand how I can patch that to
> consider those tracks as local (or the like), so that it'll play them but also
> fetch the tags etc.

Add KIO (or at least some kind of pluggable backend) support to taglib.

> --
> Valerio Pilo
> KMess developer team
> ------
> KMess
> - the Live Messenger alternative for KDE -
> www.kmess.org
>


More information about the Amarok-devel mailing list