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

List:       kde-bugs-dist
Subject:    [Bug 111332] amarok fish works, but "item",
From:       Chet Murthy <chetsky () gmail ! com>
Date:       2005-08-23 9:24:25
Message-ID: 20050823092425.1985.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=111332         




------- Additional Comments From chetsky gmail com  2005-08-23 11:24 -------
I've done some further debugging, and partially fixed.

for (1), the fix was the change the the writePathEntry() call below.

FileBrowser::~FileBrowser()
{
    KConfig* const c = amaroK::config( "Filebrowser" );

    m_dir->writeConfig( c ); //uses currently set group

    c->writePathEntry( "Location", m_dir->url().url() );
    c->writePathEntry( "Dir History", m_combo->urls() );
}

For (2), it appears that the recurse() method in playlistloader.cpp,
when called with a fish: URL of the form: fish://u h/a/b/c mp3, ends up
using KDirLister, and producing fish://u h/a/b/c mp3/c mp3, because
c.mp3 is returned by KDirLister as an Item.  This is the reason that
the mangled URLs get created.  I'm not sure how to fix this.
[prev in list] [next in list] [prev in thread] [next in thread] 

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