[mythtv-commits] Ticket #13562: Transition to python3 breaks MythArchive

MythTV noreply at mythtv.org
Thu Jan 23 20:57:17 UTC 2020


#13562: Transition to python3 breaks MythArchive
----------------------------------+-----------------------------
 Reporter:  rcrdnalor             |          Owner:  Bill Meek
     Type:  Bug Report - General  |         Status:  accepted
 Priority:  minor                 |      Milestone:  31.0
Component:  Plugin - MythArchive  |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by rcrdnalor):

 @Bill,

 please check the sql query output of

 {{{
 select * from settings where value = 'MythArchiveProjectXCmd';
 }}}

 Mine is set to `projectx`.

 What I did in the past (mythtv fixes/0.25) was to create an executable
 shell script in '/usr/local/bin' with name `projectx`:


 {{{
 #!/bin/sh

 exec java -jar /path/to/ProjectX.jar "$@"
 }}}

 If java complains about not able to start in headless mode,
 use
 {{{
 #!/bin/sh

 exec java -Djava.awt.headless=true -jar /path/to/ProjectX.jar/ProjectX.jar
 "$@"
 }}}

 Change the path to projectX.jar according your needs.

 Alternately, you can try instead of `"$@"` : `$@` or `$*` (without
 quotes).

 Do not forget to make this script executable.

 Unfortunately, I do not have this setup now on my test server, and I
 haven't recorded mpeg2 SD content for years.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13562#comment:22>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list