Update comic reader to look for number up to 5 digits in filename for sorting

This commit is contained in:
advplyr 2022-10-23 11:48:00 -05:00
parent e1e10dca50
commit 05b4124761

View File

@ -187,7 +187,7 @@ export default {
},
parseImageFilename(filename) {
var basename = Path.basename(filename, Path.extname(filename))
var numbersinpath = basename.match(/\d{1,4}/g)
var numbersinpath = basename.match(/\d{1,5}/g)
if (!numbersinpath || !numbersinpath.length) {
return {
index: -1,