[mythtv-users] Lossless Cut and removing recordings

Doug Vaughan r.d.vaughan at rogers.com
Mon Nov 12 19:49:04 UTC 2012


Stephen,
     After a lengthy discussion with the bindings dev and after his own 
testing, I had my Quality assurance team perform independent testing. 
Attached are the results. The conclusion is that MythTV v0.26 does not 
have a problem and it is suspected that your install may be out of date.

     If you are using Gentoo please be aware that the ebuilds are still 
using a pre-v0.26 release and you will need to manually update the 
ebuild to get to  a v0.26+fixes install.

I have been told that these tests were performed on an install that was 
upgraded to MythTV v0.26 using agit compile from earlier today 
(v0.25==>v0.26). The python deletion test was performed on both a v0.25 
recording made before the upgrade and a v0.26 recording made obviously 
after the upgrade. Both deletes worked.

Please update your install and try again. I was told that it can take up 
to 15 minutes before the backend will actually process the deletion of 
that recording and the recording file. This attached test results 
included that necessary wait times.

Thanks

Doug

===========================
Doug,

     I was concerned with Mr S. Robertson's problem with Lossless Cut, 
especially as the product is expected to be released soon. Attached is 
what my team found from our own testing. It appears that Mr S. Robertson 
may be using an out of data version of MythTV v0.26+fixes.

Please forward my team's findings so that our assumptions may be verified.

Always at your service

C.C.B. Washer V.P. Quality Assurance

==================
 > python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from time import sleep
 >>> import datetime
 >>> from MythTV import MythDB, MythBE, Recorded
 >>> db = MythDB()
 >>> be = MythBE()
 >>> recorded_list = 
list(db.searchRecorded(basename="2523_20121111220000.mpg"))
 >>> recorded_list
[<Recorded 'The Mentalist','2012-11-11 22:00:00-05:00' at 0x2e94110>]
 >>> recorded = recorded_list[0]
 >>> recorded
<Recorded 'The Mentalist','2012-11-11 22:00:00-05:00' at 0x2e94110>
 >>> program = 
be.getRecording(chanid=recorded.chanid,starttime=recorded.starttime)
 >>> program
<Program 'The Mentalist','2012-11-11 22:00:00-05:00' at 0x2ea13b0>
 >>> print "First delete a recording made BEFORE the upgrade from v0.25 
to v0.26"
First delete a recording made BEFORE the upgrade from v0.25 to v0.26
 >>> print datetime.datetime.now()
2012-11-12 13:21:26.897047
 >>> result = be.deleteRecording(program, force=True)
 >>> print 'The result should = "-1" which means success. Result(%s)' % 
result
The result should = "-1" which means success. Result(-1)
 >>> sleep(20*60)
 >>> print datetime.datetime.now()
2012-11-12 13:41:26.986864
 >>> recorded_list = 
list(db.searchRecorded(basename="2523_20121111220000.mpg"))
 >>> recorded_list
[]
 >>>
 >>> recorded_list = 
list(db.searchRecorded(basename="2575_20121112160000.mpg"))
 >>> recorded_list
[<Recorded 'Star Trek','2012-11-12 11:00:00-05:00' at 0x2ea5b20>]
 >>> recorded = recorded_list[0]
 >>> recorded
<Recorded 'Star Trek','2012-11-12 11:00:00-05:00' at 0x2ea5b20>
 >>> program = 
be.getRecording(chanid=recorded.chanid,starttime=recorded.starttime)
 >>> program
<Program 'Star Trek','2012-11-12 11:00:00-05:00' at 0x2e94110>
 >>> print "Second delete a recording that was made AFTER the upgrade 
from v0.25 to v0.26"
Second delete a recording that was made AFTER the upgrade from v0.25 to 
v0.26
 >>> print datetime.datetime.now()
2012-11-12 13:41:26.995053
 >>> result = be.deleteRecording(program, force=True)
 >>> print 'The result should = "-1" which means success. Result(%s)' % 
result
The result should = "-1" which means success. Result(-1)
 >>> sleep(20*60)
 >>> print datetime.datetime.now()
2012-11-12 14:01:27.087335
 >>> recorded_list = 
list(db.searchRecorded(basename="2575_20121112160000.mpg"))
 >>> recorded_list
[]
 >>>

===============
v0.26 Backend log:

2012-11-12 13:20:43.996228 C  mythbackend version: fixes/0.26 
[v0.26.0-31-gcd2e061-dirty] www.mythtv.org
2012-11-12 13:20:43.996239 C  Qt version: compile: 4.8.1, runtime: 4.8.1
2012-11-12 13:20:43.996241 N  Enabled verbose msgs: general
2012-11-12 13:20:43.996247 N  Setting Log Level to LOG_INFO
2012-11-12 13:20:43.996489 I  Added logging to the console
2012-11-12 13:20:43.996956 I  Setup Interrupt handler
2012-11-12 13:20:43.996962 I  Setup Terminated handler
2012-11-12 13:20:43.996967 I  Setup Segmentation fault handler
2012-11-12 13:20:43.996973 I  Setup Aborted handler
2012-11-12 13:20:43.996978 I  Setup Bus error handler
2012-11-12 13:20:43.996983 I  Setup Floating point exception handler
2012-11-12 13:20:43.996987 I  Setup Illegal instruction handler
2012-11-12 13:20:43.996996 I  Setup Real-time signal 0 handler
2012-11-12 13:20:43.997032 N  Using runtime prefix = /usr/local
2012-11-12 13:20:43.997043 N  Using configuration directory = 
/home/doug/.mythtv
2012-11-12 13:20:43.997086 I  Assumed character encoding: en_CA.UTF-8
2012-11-12 13:20:43.997584 N  Empty LocalHostName.
2012-11-12 13:20:43.997588 I  Using localhost value of ubuntuQuad
2012-11-12 13:20:44.004502 N  Setting QT default locale to en_CA
2012-11-12 13:20:44.004544 I  Current locale en_CA
2012-11-12 13:20:44.004572 N  Reading locale defaults from 
/usr/local/share/mythtv//locales/en_ca.xml
2012-11-12 13:20:44.026489 I  Current MythTV Schema Version 
(DBSchemaVer): 1307
2012-11-12 13:20:44.035010 I  Loading en_ca translation for module 
mythfrontend
2012-11-12 13:20:44.035270 N MythBackend: Starting up as the master server.
2012-11-12 13:20:44.150395 I V4LChannel(/dev/video0): 
SetInputAndFormat(5, NTSC) (v4l v2) input_switch: 0 mode_switch: 0
2012-11-12 13:20:44.150810 I V4LChannel(/dev/video0): 
SetInputAndFormat(5, NTSC) (v4l v2) input_switch: 0 mode_switch: 0
2012-11-12 13:20:44.170174 I  Starting process manager
2012-11-12 13:20:44.170204 I  Starting process signal handler
2012-11-12 13:20:44.171167 I  Starting IO manager (write)
2012-11-12 13:20:44.171414 I  Starting IO manager (read)
2012-11-12 13:20:44.219938 I  Added logging to mythlogserver at TCP:35327
2012-11-12 13:20:44.733820 I  Found 1 distinct programid authorities
2012-11-12 13:20:44.733971 I  New static DB connectionSchedCon
2012-11-12 13:20:44.736290 I  Listening on TCP 127.0.0.1:6544
2012-11-12 13:20:44.736331 I  Listening on TCP 192.168.0.102:6544
2012-11-12 13:20:44.736383 I  Listening on TCP [::1]:6544
2012-11-12 13:20:44.736433 I  Listening on TCP 
[2002:63ea:900e:1:207a:dac:3143:89a5]:6544
2012-11-12 13:20:44.736486 I  Listening on TCP 
[fe80::21f:c6ff:fe5a:cdff%eth1]:6544
2012-11-12 13:20:46.033309 I Main::Registering HttpStatus Extension
2012-11-12 13:20:46.034123 I  Listening on TCP 127.0.0.1:6543
2012-11-12 13:20:46.034153 I  Listening on TCP 192.168.0.102:6543
2012-11-12 13:20:46.034192 I  Listening on TCP [::1]:6543
2012-11-12 13:20:46.034232 I  Listening on TCP 
[2002:63ea:900e:1:207a:dac:3143:89a5]:6543
2012-11-12 13:20:46.034271 I  Listening on TCP 
[fe80::21f:c6ff:fe5a:cdff%eth1]:6543
2012-11-12 13:20:46.070515 N  AutoExpire: CalcParams(): Max required 
Free Space: 4.0 GB w/freq: 15 min
2012-11-12 13:20:47.843427 I  Reschedule requested for MATCH 0 0 0 - 
SchedulerInit
2012-11-12 13:20:48.766555 I  Scheduled 582 items in 0.9 = 0.61 match + 
0.17 check + 0.12 place
2012-11-12 13:20:48.788118 I  Scheduler: Seem to be woken up by USER
2012-11-12 13:20:54.734709 I  Running housekeeping thread
2012-11-12 13:21:26.884449 I MainServer::ANN Monitor
2012-11-12 13:21:26.884455 I  adding: ubuntuQuad as a client (events: 0)
2012-11-12 13:21:26.899362 I  Reschedule requested for CHECK 0 733 0 
DoHandleDelete3 | The Mentalist | If It Bleeds, It Leads | When a 
reporter is murdered, the team thinks she may have gotten too close to a 
story; Jane uses his own leads to find Lorelei. | EP010587140106
2012-11-12 13:21:27.011083 I  Scheduled 582 items in 0.1 = 0.00 match + 
0.00 check + 0.10 place
2012-11-12 13:22:04.070425 N  AutoExpire: CalcParams(): Max required 
Free Space: 4.0 GB w/freq: 15 min
2012-11-12 13:25:54.736910 I  Running housekeeping thread
2012-11-12 13:35:54.738540 I  Running housekeeping thread
2012-11-12 13:37:04.073508 N  AutoExpire: CalcParams(): Max required 
Free Space: 4.0 GB w/freq: 15 min
2012-11-12 13:40:55.739328 I  Running housekeeping thread
2012-11-12 13:41:26.996738 I  Reschedule requested for CHECK 0 3520 0 
DoHandleDelete3 | Star Trek | The City on the Edge of Forever | Capt. 
Kirk faces an agonizing choice when he and Spock follow McCoy to 1930s 
New York to restore history's altered course. A Hugo Award winner. | 
EP000039850021
2012-11-12 13:41:27.107905 I  Scheduled 582 items in 0.1 = 0.00 match + 
0.00 check + 0.10 place
2012-11-12 13:45:55.740119 I  Running housekeeping thread
2012-11-12 13:50:57.740908 I  Running housekeeping thread
2012-11-12 13:52:04.075991 N  AutoExpire: CalcParams(): Max required 
Free Space: 4.0 GB w/freq: 15 min
2012-11-12 13:56:02.741692 I  Running housekeeping thread
2012-11-12 14:01:03.742489 I  Running housekeeping thread
2012-11-12 14:06:05.743308 I  Running housekeeping thread


More information about the mythtv-users mailing list