[mythtv-users] Removing commercials

Harry Devine lifter89 at comcast.net
Sat Nov 3 14:11:20 UTC 2007


Brian Phillips wrote:
> 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:
> #!/bin/sh
>
> And nothing more.
>
> Brian
>
>   
>> Thanks,
>> Harry
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>     
>
>
>
>   
I just checked that and it looks just like you said.  I didn't see any 
^M in there anywhere.  I can send it along if you want to look at it.

Thanks,
Harry


More information about the mythtv-users mailing list