[mythtv] [PATCH] contrib/mythencode.pl

Scott Rowe mythgnomer at rowelab.com
Sun May 16 22:12:29 EDT 2004


Here's a little one-liner to fix mythencode not being able to handle
apostrophes in show names / episodes..

-Scott

--- mythencode_orig.pl  2004-05-16 18:42:04.000000000 -0500
+++ mythencode.pl       2004-05-16 18:17:26.000000000 -0500
@@ -138,6 +138,7 @@
     warn "string to execute:\t$getnamestr\n";
   }
   $outname=`$getnamestr`;
+  $outname =~ s/'/\\'/;
   chomp $outname;
 }
 if ($debug) {



More information about the mythtv-dev mailing list