fix directory stacking to not be case sensitivity
#1
Would it be possible to fix so that the directory stacking wont be case sensitive ? Atm if you have a directory called cd1 or Cd1 then it wont be detected by the directory stacking routine.

My suggestion is to ignore character cases when doing directory stacking or open up the possibility for people to use regex in advancedsettings.xml for directory stacking, similar to file stacking.

I believe the change needs to be done on this row:

http://trac.xbmc.org/browser/trunk/xbmc/....cpp#L1916
>> if (folderName.Left(2).Equals("CD") && StringUtils::IsNaturalNumber(folderName.Mid(2)))
Reply
#2
.Equals ignores case by default, so you're going to have to be more specific about exactly what needs to be case insensitive.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
fix directory stacking to not be case sensitivity0