[mythtv-users] mythvideo file ordering weirdness

Anduin Withers awithers at anduin.com
Tue Apr 24 08:43:38 UTC 2007


> It's definitely due to the 0.20 switch, the code that converts
> filenames to titles changed for .20 and the new approach drops
> anything between [] characters.

Yes, it has changed. The code that does the conversion didn't really change,
that code was simply not called in 0.19 for file browse mode (bad merge of
code on my part, I either didn't see the difference or didn't mind).

> A few people have complained but it remains as is.

If there isn't an open ticket or an entry on my excellent wiki page then the
complaints didn't hit their target. It is already tomorrow, a fix will have
to wait at least another day (more likely until this weekend).

For anyone curious or interested in making a patch:

videolist.cpp: buildFsysList calls buildFileList, easiest fix would be to
have it take a 'guess title' flag and pass that along to dirhandler, change
dirhandler::handleFile to honor that flag (very little code). That should
restore the 0.19 behavior. True 0.19 behavior appears to be just the file
name less extension.

-- 
Anduin Withers



More information about the mythtv-users mailing list