function "searchForConsecutiveFiles" cannot cope with the situation when the number of digits of consecutive files is more than 1.
e.g. XXXXs01e16.avi
I suggest to modify the regexp as follow.
[Karmic-HP64../smplayer/src]$ diff helper.cpp.backup helper.cpp
208c208
< QRegExp rx("^.*(\\d+)");
---
> QRegExp rx("^.*\\D(\\d+)");