johnsusek / tivotool

A wxPerl app for your hacked TiVo (mothballed)
0 stars 0 forks source link

Duration is reported incorrectly in Info window #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
With TivoTool 0.6.1 running under 10.4.7 on my 17" MBP talking to my hacked 
Series 2 
DirectTivo running 6.2, the "Duration" is reported incorrectly. Specifically, 
the ID_LENGTH 
reported by mplayer is incorrect (as the comments in the code said it might 
be). I also noticed 
that there was a Duration tag in the XML dump. 

So, in the attached diff, I had the Record::fill_size method grab the Duration, 
and then only use 
the mplayer ID_LENGTH if the Duration tag was missing. (Actually, I just 
uncommented it) Oh, 
and I also made a minor tweek to Inspector.pm to report the length in hours 
minutes and 
seconds.

I've only got this one Tivo to test against, so please test against a SA before 
merging!  That is, of 
course, if you want to accept the change! :-)

Original issue reported on code.google.com by JamesRMa...@gmail.com on 15 Sep 2006 at 4:25

Attachments:

GoogleCodeExporter commented 8 years ago
thanks, I will take a look at it shortly. 

worked on this issue a bit as you can tell by the code. right now some tivo 
units 
don't report duration correctly to mplayer. meanwhile the xml duration seems to 
not 
be very precise. for example it will show length as 3600 seconds even if I 
stopped 
the recording halfway through. or if its really 3724 seconds. 

Original comment by johnsolo...@gmail.com on 18 Sep 2006 at 7:00

GoogleCodeExporter commented 8 years ago

Original comment by johnsolo...@gmail.com on 18 Sep 2006 at 10:57