[mythtv-users] Bash Script help please

Jeff volckaert jvolckaert at gmail.com
Tue Oct 10 19:22:25 UTC 2006


> I haven't been following the whole thread, but is there any reason
> you're not using mythrename.pl in the contrib folder? Seems to do
> exactly what you want. With the right flags, you can format the name
> how you like and make symlinks of the pretty names that link to the
> default myth names.
I've seen reference to that in the past, but I'm trying to make a copy
of the original.  I'm not sure that the rename script would do that
unless it changed the filename in the backend.

I think the problem is not in the script, but in Myth passing the
title to the script.  I've been intentionally picking shows with an &
in the name.  I think Myth is running:

/usr/local/bin/pdatranscode /video 1036_20061010144800.mpg Law & Order
20061010144800

and the Linux is looking for an Order command.

Here's a chunk from my log:

2006-10-10 15:03:48.099 JobQueue: Started "PDA Transcode" for "Law &
Order" recorded from channel 1036 at Tue Oct 10 14:48:00 2006
sh: Order: command not found

Is this a bug?  Is there a different way to get TITLE minus the '&'?

Thanks,
Jeff


More information about the mythtv-users mailing list