(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 9 Feb 2007 23:48:29 +0000 (23:48 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Fri, 9 Feb 2007 23:48:29 +0000 (23:48 +0000)
mythtv/src/main/java/org/wamblee/mythtv/LinkStructure.java

index 868ab09d9efa88be5068030140c9c842cbc62c7e..142cfe5d899e763068344892106c5e73a55ab9fe 100644 (file)
@@ -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);
         }
     }
-
 }