[mythtv-users] PDA Transcode: new install feature forpdatranscode.pl

David Fishburn fishburn at ianywhere.com
Wed Dec 20 19:05:56 UTC 2006


 

> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org 
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Peter Watkins
> Sent: Monday, December 11, 2006 6:45 PM
> To: Discussion about mythtv
> Subject: [mythtv-users] PDA Transcode: new install feature 
> forpdatranscode.pl
> 
> Folks,
> 
> I've just uploaded a new version of my "pdatranscode.pl" 
> script that now includes code for handling the MySQL updates 
> needed to set up a User Job.
> Setting up pdatranscode.pl to run as a User Job now can be as 
> easy as running
>   pdatranscode.pl --install-job-number 1
> 
> I've updated the wiki with more info
>   http://www.mythtv.org/wiki/index.php/Transcoding_for_the_PDA
> and the script, as usual, is here:
>   http://www.tux.org/~peterw/linux/pdatranscode.pl.txt


Peter, I just tried this out, looks like a minor configuration issue, though
I am not sure what and where to change.

I ran the install-job-number piece.
Then in Myth frontend I choose Job Options, Transacode for the PSP.

The mythbackend.log shows this:
2006-12-20 13:52:33.735 JobQueue: Started "Transcode for PSP" for "Kim
Possible" recorded from channel 1051 at Wed Dec 20 12:13:00 2006
sh: /tmp/pdatranscode-9425220/pdatranscode.pl: not found
2006-12-20 13:52:33.864 JobQueue Error: User Job
'/tmp/pdatranscode-9425220/pdatranscode.pl --file 1051_20061220121300.mpg
--title "Kim Possible" --subtitle "" --description "A high-school teen saves
the world from evil in her spare time." --transcoder "psp"' failed, unable
to find executable, check your PATH and backend logs.
2006-12-20 13:52:33.869 JobQueue: Current PATH:
'/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin'
2006-12-20 13:58:35.197 Fast-Forwarding from 231210 to 240831


ls -la /tmp
drwxr-xr-x  2 mythtv   mythtv   4096 2006-12-17 20:17 pdatranscode-9425220

ls -la /tmp/pdatranscode-9425220
drwxr-xr-x  2 mythtv mythtv 4096 2006-12-17 20:17 .
drwxrwxrwt 11 root   root   4096 2006-12-20 14:00 ..
-rw-r--r--  1 mythtv mythtv    0 2006-12-17 20:17 mysql.err
-rw-r--r--  1 mythtv mythtv  410 2006-12-17 20:17 mysql.out

Not sure what I need to change.  It appears myth is looking for the
pdatranscode.pl script to be in the tmp directory instead of where it was
installed.  Should the job be copying itself to that directory?

Thanks,
Dave



More information about the mythtv-users mailing list