Summary: | Play order is `wrong' when adding a directory with sub-directories to the playlist | ||
---|---|---|---|
Product: | noatun | Reporter: | Nathaniel Taylor <kden> |
Component: | general | Assignee: | Charles Samuels <charles> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | recursively list dirs in natural order |
Description
Nathaniel Taylor
2004-01-28 02:22:14 UTC
Yes, this bug does exist, I don't know yet if I can fix it but I'm surely interested in doing so. Will come back here as soon as I have new facts (or a fix, whatever comes first). I think I have fixed it locally, right now my code adds files like this: topfile1 topfile2 dirA/file1 dirA/file2 dirA/subdirX/sfile44 dirA/subdirX/sfile55 dirA/subdirY/sfile88 dirB/file3 dirB/file4 Is that what one would expect? I think it looks logical now (but now the code looks insane) :) Yes -- that looks fine. Thanks! Nathaniel Created attachment 8032 [details]
recursively list dirs in natural order
And that's the patch (against HEAD) for it. If it's ok I'd be glad to commit this soon. FlexPlaylist (my own playlist) of course will be updated as well if the patch works out. Somebody please try out that patch. I'm not familiar with matters other than compiling proper releases of KDE. What I have just done is to untar the kdemultimedia-3.3.2 tarball on a system with all the components already in /usr/kde/3.3 , then compile the multimedia package with your patch applied to the two files, then run the resultant notaun program (which would then use the old system libraries) So, you must say whether this is a proper test or whether I should copy some further files to /usr/ When I compared the old and patched programs it initially looked good, but then I found that the order in which subdirectories are added to the playlist actually changes each time! So, try adding a directory with subdirectories, then clear the file list, then click to add a directory again and click ok to accept the same as before: for me, with both versions, this sometimes changes! I have tried looking in the "configure noatun" menu in case there's some sort of randomisation, but I see nothing that looks relevant to the problem. Any ideas? Should I test another way? After patching and compiling you have to run "make install" inside noatun subdir. Starting noatun from source-dir does not (this won't work with kde-applications in general). OK -- I installed the whole patched notaun (from kdemultimedia-3.3.2) properly, and have tested on many trees of directories: it worked perfectly for all I tried. Thanks! noatun has not been part of the KDE 4 release and is no longer maintained. KDE now offers Dragon as a video player and JuK as a music player. Additionally, other popular KDE players have been ported to KDE 4, such as Amarok or Kaffeine. If this issue is still applicable to KDE 4 applications, please add a comment or file a new report. For more information, see http://websvn.kde.org/?view=revision&revision=718046 |