[mythtv-users] Removing commercials

Brian Phillips brian.phillips at gmx.net
Sat Nov 3 13:50:17 UTC 2007

Harry Devine wrote:
> I checked my mythbackend.log, and got the following:
>           "sh: /usr/local/bin/removecommercials: /bin/sh^M: bad
> interpreter: No such file or directory"
> The file is there, and I double checked with Mythweb and it doesn't
> appear to be a typo or anything like that.  I checked via SSH and the
> file is there and the permissions are 755, so I don't think that's
> it.. Any ideas?  

Have you opened removecommercials in vim yet?  Make sure the first line
doesn't have a ^M tacked onto it from uploading from windows machines.

Should look like this:

And nothing more.


> Thanks,
> Harry
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list