← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 596251] Re: mythexport reports start and finish of jobs at the same second

 

Just spoke to John Baab on irc about this issue.

 After starting the userjob, mythtranscode runs the lossless transcode
to cut the commercials (i.e. -honorcutlist) and outputs to a .mpg.tmp
file, once that completes the job shows as successful even though the
ffmpeg portion of the job hasn't completed. The ffmpeg portion runs
fine, but since this is a combined frontend/backend I'd like it to shut
down after its finished transcoding, with the userjob showing completed
it would shut down while ffmpeg is still running.

He proposed reusing the id from the sql table and make a unique file
which would be created when the User Job starts and deleted when the
ffmpeg portion of the transcode completes. That way the User Job would
stay open until the entire process completes and mythbackend wouldn't
shutdown until the transcoding is complete.

** Description changed:

  Binary package hint: mythexport
  
  When adding a recording to the job queue mythexport reports the job as
  started und finished at the same second.
  
  /var/log/mythtv/mythbackend.log
  [..]
  2010-06-05 23:19:45.290 JobQueue: Started AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010
  2010-06-05 23:19:45.298 jobqueue: Job "AVI MPEG4QSCALE3 CP2" Started: Started AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010
  2010-06-05 23:19:45.341 ProgramInfo(): Updated pathname '':'' -> '18501_20100531230500.mpg'
  2010-06-05 23:19:45.566 MainServer::ANN Monitor
  2010-06-05 23:19:45.566 adding: obelix as a client (events: 0)
  2010-06-05 23:19:45.611 JobQueue: Finished AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010.
  2010-06-05 23:19:45.613 jobqueue: Job "AVI MPEG4QSCALE3 CP2" Finished: Finished AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010.
  [..]
  
  There is no starting and finishing entry in the /var/log/mythtv/mythexport.log
  [..]
  June  5 23:20:34 obelix /usr/bin/mythexport-daemon[1227]: Exporting /var/lib/mythtv/mythexport/ProSieben-Supernatural--20100531230500.avi
  [..]
  
  But the job runs and finishes correctly, if mythshutdown does not
  shutdown automatically :-(
  
  Description:	Ubuntu 10.04 LTS
  Release:	10.04
  mythexport:
-   Installiert: 2.1.5-0ubuntu1
-   Kandidat: 2.1.5-0ubuntu1
-   Versions-Tabelle:
-  *** 2.1.5-0ubuntu1 0
-         500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
-         100 /var/lib/dpkg/status
+   Installiert: 2.1.5-0ubuntu1
+   Kandidat: 2.1.5-0ubuntu1
+   Versions-Tabelle:
+  *** 2.1.5-0ubuntu1 0
+         500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
+         100 /var/lib/dpkg/status
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mythexport 2.1.5-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sat Jun 19 14:16:17 2010
  ProcEnviron:
-  LANGUAGE=de_DE:de
-  PATH=(custom, user)
-  LANG=C
-  SHELL=/bin/bash
+  LANGUAGE=de_DE:de
+  PATH=(custom, user)
+  LANG=C
+  SHELL=/bin/bash
  SourcePackage: mythexport

-- 
mythexport reports start and finish of jobs at the same second
https://bugs.launchpad.net/bugs/596251
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythexport in ubuntu.

Status in “mythexport” package in Ubuntu: Incomplete

Bug description:
Binary package hint: mythexport

When adding a recording to the job queue mythexport reports the job as started und finished at the same second.

/var/log/mythtv/mythbackend.log
[..]
2010-06-05 23:19:45.290 JobQueue: Started AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010
2010-06-05 23:19:45.298 jobqueue: Job "AVI MPEG4QSCALE3 CP2" Started: Started AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010
2010-06-05 23:19:45.341 ProgramInfo(): Updated pathname '':'' -> '18501_20100531230500.mpg'
2010-06-05 23:19:45.566 MainServer::ANN Monitor
2010-06-05 23:19:45.566 adding: obelix as a client (events: 0)
2010-06-05 23:19:45.611 JobQueue: Finished AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010.
2010-06-05 23:19:45.613 jobqueue: Job "AVI MPEG4QSCALE3 CP2" Finished: Finished AVI MPEG4QSCALE3 CP2 for "Supernatural" recorded from channel 18501 at Mon May 31 23:05:00 2010.
[..]

There is no starting and finishing entry in the /var/log/mythtv/mythexport.log
[..]
June  5 23:20:34 obelix /usr/bin/mythexport-daemon[1227]: Exporting /var/lib/mythtv/mythexport/ProSieben-Supernatural--20100531230500.avi
[..]

But the job runs and finishes correctly, if mythshutdown does not shutdown automatically :-(

Description:	Ubuntu 10.04 LTS
Release:	10.04
mythexport:
  Installiert: 2.1.5-0ubuntu1
  Kandidat: 2.1.5-0ubuntu1
  Versions-Tabelle:
 *** 2.1.5-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mythexport 2.1.5-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Jun 19 14:16:17 2010
ProcEnviron:
 LANGUAGE=de_DE:de
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: mythexport







References