X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FInfoReader.java;h=817345e028fce27bf6f53f397b3eaeb4a55ca545;hb=27694a1373c09fa3f2634dfaec4cc944dff3ea5f;hp=369b32454ac95c2433122c9d9dcd422bcfb7157f;hpb=30478c5b1ece61284679af0d2194f1d8627a7b79;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/supported/InfoReader.java b/src/be/nikiroo/fanfix/supported/InfoReader.java index 369b324..817345e 100644 --- a/src/be/nikiroo/fanfix/supported/InfoReader.java +++ b/src/be/nikiroo/fanfix/supported/InfoReader.java @@ -108,9 +108,8 @@ public class InfoReader { int pos = name.lastIndexOf("."); if (cover == null && pos > 0) { name = name.substring(0, pos); - basefile = new File(basefile.getParent(), basefile.getName()); + basefile = new File(basefile.getParent(), name); -System.out.println(">>> " + basefile); cover = BasicSupportHelper.getImage(null, sourceInfoFile, basefile.getAbsolutePath() + ext); }