[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problem with media:/
From:       David Faure <faure () kde ! org>
Date:       2004-12-24 10:15:32
Message-ID: 200412241115.32778.faure () kde ! org
[Download RAW message or body]

On Friday 24 December 2004 11:09, Kévin Ottens wrote:
> Le Jeudi 23 Décembre 2004 21:17, Adam Pigg a écrit :
> > I click media:/
> > a hd
> > browse to an avi
> > click it
> > instead of it opening in kmplayer, konqueror downloads it to a temp file.
> 
> Yes, that's because file:/ is a special ioslave... it's not considered the 
> same way than other protocols. Even protocols in the :local class.

The fix is to let kmplayer handle URLs and to add kmplayer %U in the Exec line
(then kmplayer can decide whether to download the URL, or simply convert
it media -> file, I guess we need some central code for that).

> It must apply on kdebase/libkonq, it's the last place I know where something 
> can ignore UDS_LOCAL_PATH. For applications using directly KFileItem::run() 
> it should work since it's already patched.
> 
> If it works well for you and it is approved by a konqi devel, I'll commit it.

Looks ok to me.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic