2010-08-24, 18:26
Thanks analogue.
Well it's doing something now.If I watch live tv, it'll schedule the program, and I confirmed that it starts recording, but not in the recordings directory.
This seems like a problem to me. since I assume that the script plays the recording from the recordings directory that I mounted from my backend.
The 0.23 backend by default uses /var/lib/mythtv/livetv/ for livetv, and /var/lib/mythtv/recordings/ for recorded programs. When I try to watch livetv, the recorded show gets put in livetv, and not into recordings. So I went into the mythtv backend settings and changed the livetv directory to be the same as the recordings directory. Now when I try to watch livetv, the .mpg shows in the recordings directory on my frontend. I also confirmed that the video file can be played on another computer.
But the video still won't start playing in mythbox. When I choose a show to watch, the script hangs for a minute, and then does nothing. My debug log doesn't seem to be very helpful:
Well it's doing something now.If I watch live tv, it'll schedule the program, and I confirmed that it starts recording, but not in the recordings directory.
This seems like a problem to me. since I assume that the script plays the recording from the recordings directory that I mounted from my backend.
The 0.23 backend by default uses /var/lib/mythtv/livetv/ for livetv, and /var/lib/mythtv/recordings/ for recorded programs. When I try to watch livetv, the recorded show gets put in livetv, and not into recordings. So I went into the mythtv backend settings and changed the livetv directory to be the same as the recordings directory. Now when I try to watch livetv, the .mpg shows in the recordings directory on my frontend. I also confirmed that the video file can be played on another computer.
But the video still won't start playing in mythbox. When I choose a show to watch, the script hangs for a minute, and then does nothing. My debug log doesn't seem to be very helpful:
Code:
DEBUG | mythbox.inject | conn.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | conn.py | MainThread | Line 114 | Going to acquire resource
DEBUG | mythbox.inject | conn.py | MainThread | Line 120 | --> injected conn <mythbox.mythtv.conn.Connection object at 0x9c7950c> into <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.inject | conn.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | conn.py | MainThread | Line 111 | Skipping acquire resource
DEBUG | mythbox.wire | conn.py | MainThread | Line 1197 | write -> 23 GET_FREE_RECORDER_COUNT
DEBUG | mythbox.wire | conn.py | MainThread | Line 1155 | retMsg: [8] 1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1160 | i=0 n=1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1163 | total read = 1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1165 | read <- 1
DEBUG | mythbox.perf | util.py | MainThread | Line 326 | TIMER: getNumFreeTuners took 0.25 seconds
DEBUG | mythbox.inject | db.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | db.py | MainThread | Line 126 | Going to acquire resource
DEBUG | mythbox.inject | db.py | MainThread | Line 132 | --> injected db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> into <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.perf | util.py | MainThread | Line 326 | TIMER: getTuners took 0.00 seconds
DEBUG | mythbox.inject | db.py | MainThread | Line 141 | --> removed db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> from <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.inject | conn.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | conn.py | MainThread | Line 111 | Skipping acquire resource
DEBUG | mythbox.wire | conn.py | MainThread | Line 1197 | write -> 33 QUERY_RECORDER 1[]:[]IS_RECORDING
DEBUG | mythbox.wire | conn.py | MainThread | Line 1155 | retMsg: [8] 1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1160 | i=0 n=1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1163 | total read = 1
DEBUG | mythbox.wire | conn.py | MainThread | Line 1165 | read <- 0
DEBUG | mythbox.inject | conn.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | conn.py | MainThread | Line 111 | Skipping acquire resource
DEBUG | mythbox.inject | db.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | db.py | MainThread | Line 126 | Going to acquire resource
DEBUG | mythbox.inject | db.py | MainThread | Line 132 | --> injected db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> into <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.perf | util.py | MainThread | Line 326 | TIMER: getChannels took 0.00 seconds
DEBUG | mythbox.inject | db.py | MainThread | Line 141 | --> removed db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> from <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.ui | livetv.py | MainThread | Line 63 | Found tuner 1 to view channel 10_2
DEBUG | mythbox.inject | db.py | MainThread | Line 96 | threading.local() already allocated
DEBUG | mythbox.inject | db.py | MainThread | Line 126 | Going to acquire resource
DEBUG | mythbox.inject | db.py | MainThread | Line 132 | --> injected db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> into <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.inject | db.py | MainThread | Line 141 | --> removed db <mythbox.mythtv.db.MythDatabase object at 0xa8a7404> from <thread._local object at 0x9c7b0c8>
DEBUG | mythbox.inject | conn.py | MainThread | Line 125 | --> removed conn <mythbox.mythtv.conn.Connection object at 0x9c7950c> from <thread._local object at 0x9c7b0c8>