From: erik Date: Fri, 9 Feb 2007 23:48:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: MYTHTV_EAR_NO_MSG_LINKING~29 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=1cbc88d1f382f6b660f9cda4301cf47f3c193da4;p=utils --- diff --git a/mythtv/src/main/java/org/wamblee/mythtv/LinkStructure.java b/mythtv/src/main/java/org/wamblee/mythtv/LinkStructure.java index 868ab09d..142cfe5d 100644 --- a/mythtv/src/main/java/org/wamblee/mythtv/LinkStructure.java +++ b/mythtv/src/main/java/org/wamblee/mythtv/LinkStructure.java @@ -138,10 +138,10 @@ public class LinkStructure implements Listener { } private String getFilename(Recording aRecording, FileType aType) { - return _format.format(aRecording.getProgstart()) + "-" + return (_format.format(aRecording.getProgstart()) + "-" + aRecording.getSubtitle() + "-" + aRecording.getChannel().getName() + "." - + aType.toString().toLowerCase(); + + aType.toString().toLowerCase()).replaceAll("/", "-"); } private boolean exists(String aPath) { @@ -197,5 +197,4 @@ public class LinkStructure implements Listener { e); } } - }