Project

General

Profile

Bug #618

Creating a DVR Auto Recording with a Content type failes.

Added by Henrik Jessen Christensen over 13 years ago. Updated about 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2011-07-29
Due date:
% Done:

0%

Estimated time:
Found in version:
git-9d775da
Affected Versions:

Description

To reproduce, create a new auto recording, with a content type, press save and the content type disappears, and it wont record anything, and when chekking the autorec file, content type is set to 0.
But if i manualy set the content type, in the autorec file, then it works.

History

#1

Updated by Claudio Meldini over 12 years ago

Hello, how do you manually set the content type, in the autorec file?
I tried to create an autorec in the web interface (tab "digital video recorder" - "automatic recorder") and the content disappear (like you) but tvheadend record all things in epg!!!!!!!!!!!!!terrible!!!!!!!!!
If i try to create autorec in the web interface (tab "epg" with pull-down menu "content type" i want + button "Create Autorec") it works. In the tab "digital video recorder" - "automatic recorder" the pull-down menu "content type" is empty but it works, in fact if i open the autorec file with text editor, the "content type" isn't 0 but is a number (not very intuitive for me...).
BUT if i edit or add a new autorec from tab "digital video recorder" - "automatic recorder", tvheadend record all things in epg (probably tvheadend loses the "Content type" that i had set).
I'm very frustrated!!
Solution?
thanks in advance...

#2

Updated by Adam Sutton over 12 years ago

  • Assignee set to Adam Sutton

I need to review this further.

#3

Updated by Adam Sutton over 12 years ago

  • Status changed from New to Fixed

I've realised that I fixed this a few weeks ago, but had not made the connection when I first read the report.

Can you please check with latest code and if it is still happening let me know.

Adam

#4

Updated by Claudio Meldini about 12 years ago

Thanks!!
tvheadend crash with segmentation fault error, but i removed file
/home/user/.hts/tvheadend/epgdb
and it works!!
works also autorec "without title" and with genre!!!
tvheadend now creates epgdb.v2 (instead of epgdb).
Is it correct?
Thanks,you saved me!

#5

Updated by Adam Sutton about 12 years ago

Yeah it tries to migrate the old DB to the new DB, its possible that something went wrong. It's not the most well tested bit of the code, since I can only do so much with my own setup. Advice is exactly what you did, remove the DB files and start from scratch.

The new database is VERY different format, so I created a new file to allow the two to sit side by side (in theory you could run up older code and it would pick up the old file). However this may change when things have settled down a bit and we formally release the new EPG code.

Adam

Also available in: Atom PDF