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: 21
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: 981
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: 21
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 40 times

Post Reply