[mythtv-users] 0 Byte recording files when starting live TV and changing channels

Joe Nyland joenyland at me.com
Sun Mar 18 13:22:04 UTC 2012


On 18 Mar 2012, at 00:01, Scott & Nicole Harris wrote:

> I have to say, while I understand your frustration trying to help people 
> troubleshoot issues when they won't provide the information you request or 
> ignore your suggestions (and believe me, I've witnessed it enough time to 
> know where you're coming from), I don't think it's warranted here.  I 
> believe he has sorted out his issues that were preventing him from using 
> Live TV.  

Thank you for your input and understanding.

> The 0 byte thing isn't being caused by a local issue of his, 
> MythTV has been spawning a 0 byte file at a program change in Live TV for 
> quite some time now (as I am sure you're completely aware).  However, it 
> seems that with 0.25, it isn't cleaning them up as often as it used to.  I 
> used to see them all the time with 0.24, and they'd "disappear" after 10 or 
> 15 minutes; that's not happening now.  I've been watching Live TV all day 
> (NCAA Tourney) and I have 48 shows when I look at Recorded Programs -> Live 
> TV in Mythweb; 24 of which are 0 byte files that would have been long ago 
> cleaned up under 0.24.  At this point, I am assuming that they will be 
> cleaned up when the Live TV shows get cleaned up every day (as per my "Live 
> TV max age (days)" setting).
> 
> However, if Mythweb sees them as "recordings", I would assume the Mythweb 
> RSS feed would too. 


Just as a follow up to prove Jean-Yves' suggestion of NFS possibly being at fault here; I've just removed NFS from the mix, so my live TV recordings are being written to my local HDD at the default of /var/lib/mythtv/livetv/ and my NFS share from my FileServer1 is NOT mounted on the MythTV backend server.

However, my /var/lib/mythtv/livetv/ directory still looks like this after viewing live TV as a test:

joe at MythTVServer1:~$ ls -lth /var/lib/mythtv/livetv/
total 66M
-rw-r--r-- 1 mythtv mythtv 65M 2012-03-18 12:50 1003_20120318124747.mpg
-rw-rw-rw- 1 mythtv mythtv 12K 2012-03-18 12:49 1003_20120318124747.mpg.-1.100x75.png
-rw-rw-rw- 1 mythtv mythtv 90K 2012-03-18 12:49 1003_20120318124747.mpg.png
-rw-r--r-- 1 mythtv mythtv   0 2012-03-18 12:47 1003_20120318124746.mpg

And the database:
mysql> SELECT title, starttime, endtime, progend FROM mythconverg.recorded WHERE recgroup = 'LiveTV' ORDER BY starttime DESC;
+------------------------------+---------------------+---------------------+---------------------+
| title                        | starttime           | endtime             | progend             |
+------------------------------+---------------------+---------------------+---------------------+
| Murder, She Wrote            | 2012-03-18 13:10:17 | 2012-03-18 13:40:00 | 2012-03-18 13:40:00 |
| Murder, She Wrote            | 2012-03-18 13:10:16 | 2012-03-18 13:40:00 | 2012-03-18 13:40:00 |
| Murder, She Wrote            | 2012-03-18 12:47:47 | 2012-03-18 13:40:00 | 2012-03-18 13:40:00 |
| Murder, She Wrote            | 2012-03-18 12:47:46 | 2012-03-18 13:40:00 | 2012-03-18 13:40:00 |
| Take Me Out                  | 2012-03-17 20:23:17 | 2012-03-17 21:15:00 | 2012-03-17 21:15:00 |
| Take Me Out                  | 2012-03-17 20:23:16 | 2012-03-17 21:15:00 | 2012-03-17 21:15:00 |
| You've Been Framed!          | 2012-03-17 19:03:12 | 2012-03-17 19:30:00 | 2012-03-17 19:30:00 |
| You've Been Framed!          | 2012-03-17 19:03:11 | 2012-03-17 19:30:00 | 2012-03-17 19:30:00 |
| Live Six Nations Rugby Union | 2012-03-17 17:55:57 | 2012-03-17 18:55:00 | 2012-03-17 18:55:00 |
| Live Six Nations Rugby Union | 2012-03-17 17:55:56 | 2012-03-17 18:55:00 | 2012-03-17 18:55:00 |
| ITV News and Weather         | 2012-03-17 17:54:30 | 2012-03-17 18:00:00 | 2012-03-17 18:00:00 |
| ITV News and Weather         | 2012-03-17 17:54:29 | 2012-03-17 18:00:00 | 2012-03-17 18:00:00 |
| Live FA Cup Football         | 2012-03-17 14:36:04 | 2012-03-17 15:00:00 | 2012-03-17 15:00:00 |
| Live FA Cup Football         | 2012-03-17 14:36:03 | 2012-03-17 15:00:00 | 2012-03-17 15:00:00 |
+------------------------------+---------------------+---------------------+---------------------+
14 rows in set (0.00 sec)

I have also upgraded to the latest 0.25 MythBuntu release this morning, just in case this fixed anything, so I'm now running:

joe at MythTVServer1:~$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.25-beta-181-g43b55c9
MythTV Branch : master
Network Protocol : 72
Library API : 0.25.20120315-2
QT Version : 4.6.2
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2

This bug does seem to describe exactly what we're seeing, so I guess there's little more I can do about it, until it's fixed: http://code.mythtv.org/trac/ticket/10443

If there's any info I've missed out (unintentionally), please let me know and I'll get it.

Thanks,

Joe


More information about the mythtv-users mailing list