[mythtv-users] Need help with Mythexport

Andréas Kühne andreas at kuhne.se
Sat Jan 5 17:53:13 UTC 2013


Hi Staffan,

I had nearly the same error, what I did was suggested here:
http://ubuntuforums.org/showthread.php?t=2076815

Specifically adding:

Anyway, the User Job that Mythexport assigns starts with a %STARTTIME%
command, I changed this to %STARTTIMEUTC% in mythtv-setup and low and
behold it started running just like before.

If you wanted to fix it at the source the file is
/usr/share/mythtv/mythexport/setupsave.cgi line 31

my $command = "mythexport_addjob starttime=%STARTTIME% chanid=%CHANID%
config=$config deleteperiod=$deletePeriod podcastname=$podcastName";

The part about changing from %STARTTIME% to %STARTTIMEUTC%. I also had to
restart the server afterwards so that it worked.

Regards,

Andréas

2013/1/5 Staffan Pettersson <staffan.pettersson at gmail.com>

> Hi,
>
> I need some help  with mythexport, I have been trying to make this
> work for a couple of days now but without success :=(,
>
> I am using Ubuntu 12.04 with mythtv 0.26 and i think i have installed
> mediabuntu, But the output i get from is this:
>
> January  5 10:10:07 kungen /usr/bin/mythexport-daemon[2264]: query =
> SELECT rec.title, rec.subtitle, rec.description,
> pg.syndicatedepisodenumber, pg.showtype, rec.programid, rec.basename,
> rec.starttime
>     FROM recorded rec LEFT JOIN program pg ON pg.starttime =
> rec.starttime AND pg.chanid = rec.chanid
>     WHERE rec.chanid=? AND rec.starttime=? at line 365 in
> /usr/bin/mythexport-daemon
> January  5 10:10:07 kungen /usr/bin/mythexport-daemon[2264]: Going into
> new mode
>  at line 382 in /usr/bin/mythexport-daemon
> January  5 10:10:07 kungen /usr/bin/mythexport-daemon[2264]: query =
> SELECT callsign FROM channel WHERE chanid=? at line 390 in
> /usr/bin/mythexport-daemon
> avconv version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012
> the Libav developers
>   built on Nov  6 2012 16:51:33 with gcc 4.6.3
> /var/lib/mythtv/banners/: Operation not permitted
> January  5 10:10:07 kungen /usr/bin/mythexport-daemon[2264]: ERROR: No
> resulting file from ffmpeg, most likely your ffmpeg failed.  Enable
> debugging and test by hand. at line 459 in /usr/bin/mythexport-daemon
> January  5 10:10:07 kungen /usr/bin/mythexport-daemon[2264]: query =
> delete from mythexport_job_queue where id=? at line 517 in
> /usr/bin/mythexport-daemon
>
> Can someone see any abvious fault?
>
> Kind regards Staffan
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>



-- 
vänliga hälsningar,

Andréas

Upplandsgatan 93 . 113 44 . Stockholm
Mobil 076 543 8825
andreas at kuhne.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130105/4d28e9a0/attachment.html>


More information about the mythtv-users mailing list