Project

General

Profile

Bug #1266

Unable to write meta data

Added by Sébastien Aubry almost 8 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
PVR / DVR
Target version:
Start date:
2012-11-16
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Found in version:
3.1.1~git201209182221.2099~0ubuntu1~ppa1~oneiric1
Affected Versions:

Description

Since my tvheadend version was updated from 2.99-9~oneiric to 3.1.1~git201209182221.2099~0ubuntu1~ppa1~oneiric1 (following ppa:jabbors/hts-stable), I have the following problem.
When I make a recording I see this in the syslog at the start of the recording:

Sep 27 21:13:24 pchc tvheadend[11419]: dvr: Recording error: "/pchc_f/Recorded TV/La-grande-librairie/France-5-La-grande-librairie.2012-09-27.20-35.mkv": Unable to write meta data
Sep 27 21:13:24 pchc tvheadend[11419]: dvr: Recording error: "/pchc_f/Recorded TV/Cloverfield/DirectStar-Cloverfield.2012-09-27.20-40.mkv": Unable to write meta data

The recordings work anyway but I did not have this problem before.
[Previously reported in the forum]


Subtasks

Bug #1406: Misleading Error Message about inability to Write metadataRejectedAdam Sutton

Actions

Associated revisions

Revision 897d243d (diff)
Added by John Törnblom almost 8 years ago

Fix #1266 - make sure there is metadata available before atempting to mux it with a recording
(cherry picked from commit ed5d7e4977f0090f215898a297ae8906d7e9e879)

History

#1

Updated by Adam Sutton almost 8 years ago

  • Status changed from New to Accepted
  • Assignee deleted (Hein Rigolo)

This has been reported by various people (I've seen it myself once I think). I had a look at the code and couldn't for the life of me understand why this should happen.

Adam

#2

Updated by Adam Sutton almost 8 years ago

  • Status changed from Accepted to Need feedback

Any further updates on this, I've not seen any further reports myself and I don't believe its actually causing a failure.

So unless there is an update on here, I will probably just close this. Some improvements to the MKV muxer have been made recently.

Adam

#3

Updated by Sébastien Aubry almost 8 years ago

Hello Adam,
Yes, please close it!
I am now back on version 2.x to avoid some other bugs but will soon test again version 3.x. I have seen that you now have set up a PPA. Thank you very much for that!

#4

Updated by Adam Sutton almost 8 years ago

  • Status changed from Need feedback to Invalid

Closed at user request. Will re-open if this re-surfaces.

#5

Updated by Steve Miller almost 8 years ago

FYI, I am getting this messages and the effect is not benign. I am running 3.2.18 on an ARM processor. I get the message about unable to write meta data. However, TVH does write the file for a couple of minutes and then just quits. Below is a copy of the debug messages I received in the Web Interface. Then below that is a directory listing of where the file was being stored. You can see by the time stamps that it stopped writing to the disk after about 2 minutes.

While normal user "steve" is logged into the Web Interface, TVH is running under root. This was supposed to be a 20 minute test recording.

******************************************************************************
Nov 13 21:34:29 dvr: "eyetst" on "KEYEDT" starting at 2012-11-13 21:35:00, scheduled for recording by "steve"

Nov 13 21:34:30 dvr: "eyetst" on "KEYEDT" recorder starting

Nov 13 21:34:30 subscription: "DVR: eyetst" subscribing on "KEYEDT", weight: 300, adapter: "HDHomeRun ATSC", network: "", mux: "219,000 kHz", provider: "", service: "", quality: 100

Nov 13 21:34:31 dvr: Recording error: "/mnt/myhd1/Pogo_stuff/Recordings/eyetst.mkv": Unable to write meta data

Nov 13 22:05:00 subscription: "DVR: eyetst" unsubscribing from "KEYEDT"

Nov 13 22:05:00 dvr: Recording completed: "/mnt/myhd1/Pogo_stuff/Recordings/eyetst.mkv"

Nov 13 22:05:00 dvr: "eyetst" on "KEYEDT": End of program: Completed OK


[[email protected] Recordings]# ls -l
total 220160
-rwxr-xr-x 1 root root 225425276 Nov 13 21:36 eyetst.mkv
[[email protected] Recordings]#

#6

Updated by Adam Sutton almost 8 years ago

  • Status changed from Invalid to Accepted
  • Affected Versions 3.2, 3.3 added

I think that John T may have some input on this one. Re-opening for further investigation.

Adam

#7

Updated by John Törnblom almost 8 years ago

  • Status changed from Accepted to Need feedback

The error message is now suppressed if there is no metadata available (master only). However, it would be nice to know if there should be metadata present. If so, there is probably a bug somewhere in the epg code.

#8

Updated by Adam Sutton almost 8 years ago

John,

I have realised that it is indeed possible to create a timer only event with no EPG present (or at least it should be). In fact I was doing this myself (though I bodged HTSP to allow it) to record something from a rawts input for test purposes (which obviously had no EPG input).

Adam

#9

Updated by Adam Sutton almost 8 years ago

  • Status changed from Need feedback to Resolved
  • Target version set to 3.2

I think this has been fixed by ed5d7e49 and John simply forgot to mark it as such. This will probably want back-porting to 3.2.

Adam

#10

Updated by John Törnblom almost 8 years ago

  • Status changed from Resolved to Fixed

Also available in: Atom PDF