|
@@ -26,7 +26,6 @@ import de.nplusc.izc.iZpl.API.shared.SinglePlayListItem;
|
|
|
import java.io.BufferedReader;
|
|
|
import java.io.File;
|
|
|
import java.io.FileInputStream;
|
|
|
-import java.io.FileReader;
|
|
|
import java.io.IOException;
|
|
|
import java.io.InputStreamReader;
|
|
|
import java.io.RandomAccessFile;
|
|
@@ -242,6 +241,9 @@ public class PLFileIO
|
|
|
{
|
|
|
ln=plbd+ln;//relative pfade absolutisieren
|
|
|
}
|
|
|
+ //normalize filepaths; linux & windows
|
|
|
+ ln = ln.replace('/', File.separatorChar);
|
|
|
+ ln = ln.replace('\\', File.separatorChar);
|
|
|
if(!new File(ln).exists())
|
|
|
{
|
|
|
l.warn("Parser warning on line {} of file {}: File {} does not exist",lne,path,ln);
|