LiveTV works but always leaves a duplicate zero byte recording

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
clueo8
Junior
Posts: 22
Joined: Sun Feb 16, 2014 9:02 pm
United States of America

LiveTV works but always leaves a duplicate zero byte recording

Post by clueo8 » Sun May 13, 2018 4:47 pm

MythTV Version : v29.1-15-g280138b
MythTV Branch : fixes/29

I'm noticing whenever I watch live TV (hdhomeruns), it will work fine but I'm seeing a duplicate zero byte version of the same recording when looking at my livetv group in mythweb... Is this an issue anyone else is seeing or has a fix for? This happens with both of my hdhomeruns (prime and original white dual).

User avatar
bill6502
Developer
Posts: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: LiveTV works but always leaves a duplicate zero byte recording

Post by bill6502 » Sun May 13, 2018 5:28 pm

You're right, there are two entries in the DB, but only one file. If you
press r to record the LiveTV session, one entry goes away.
The entries are the same except for lastmodified filesize
(which = 0 inone entry) and recordedid+1. Don't know why
it's used, but it's harmless.

Same observation on HVR-2200 tuners, not unique to HDHRs.

What page are you using in mythweb? hostname/mythweb/tv/recorded
doesn't show 2 for me (v30-Pre.)

clueo8
Junior
Posts: 22
Joined: Sun Feb 16, 2014 9:02 pm
United States of America

Re: LiveTV works but always leaves a duplicate zero byte recording

Post by clueo8 » Mon May 14, 2018 1:51 pm

mythweb: /tv/recorded, group: LiveTV

Upon starting a livetv recording, I can immediately go there to see the two recordings in mythweb... (see attached image)

They appear to auto expire after a few minutes, it only appears to be there initially...

Code: Select all

May 14 09:46:13 Ubuntu-Server mythbackend: mythbackend[2266]: N Expire autoexpire.cpp:251 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 15 min
May 14 09:46:13 Ubuntu-Server mythbackend: mythbackend[2266]: N Expire autoexpire.cpp:637 (SendDeleteMessages) Expiring 0 MB for 1221 at 2018-05-14T13:39:21Z => "The List"
May 14 09:46:18 Ubuntu-Server mythbackend: mythbackend[2266]: N DeleteThread mainserver.cpp:2456 (DeleteRecordedFiles) DeleteRecordedFiles - recording id 10745 filename /mnt/storage/mythtv/livetv/1221_20180514133921.ts
May 14 09:46:18 Ubuntu-Server mythbackend: mythbackend[2266]: N DeleteThread mainserver.cpp:2534 (DoDeleteInDB) DoDeleteINDB - recording id 10745 (chanid 1221 at 2018-05-14T13:39:21Z)
Backend log during live TV:
https://pastebin.com/EhjFQcfn
Attachments
mythweb.png
mythweb.png (77.24 KiB) Viewed 140 times

loupalladino
Newcomer
Posts: 1
Joined: Sun Jul 08, 2018 2:57 pm
United States of America

Re: LiveTV works but always leaves a duplicate zero byte recording

Post by loupalladino » Sun Jul 08, 2018 3:02 pm

This is happening to me, as well. I replaced my existing hardware with a new system - kept the same version as I had on the original. Mythbuntu 16.04.4 which is Mythtv .28 (mythtv-backend 0.28.0+fixes.20160413.15cf421-0ubuntu2.16.04.1 amd64). Initially, I also noticed the zero byte files seemed to auto-expire themselves as mentioned above, but that seems to no longer be happening. In fact, auto-expire for LiveTV is not happening at all (might start a separate thread on THAT issue).

Post Reply