Project

General

Profile

Actions

Bug #2908

closed

DVR not start rec when use manuel DVR record

Bug #2908: DVR not start rec when use manuel DVR record

Added by Petar Ivanov about 11 years ago. Updated about 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2015-05-31
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-114~gdb77f51
Affected Versions:

Description

DVR not start rec when use manuel DVR record, when start DVR from EPG start record.

dvr: "hhhhhhhhh" on "24 Kitchen" recorder starting
dvr: unable to find access (owner '(null)', creator 'zinonino')

From local newwork work, from another user access and all option set don't work.


Files

tvh.log (20.8 KB) tvh.log --trace access Petar Ivanov, 2015-06-01 20:22

Updated by Jaroslav Kysela about 11 years ago Actions #1

Recreate all recordings without the proper owner or edit files in ${CFG}/dvr/log directory. For new entries all should be ok.

Updated by Petar Ivanov about 11 years ago Actions #2

Jaroslav Kysela wrote:

Recreate all recordings without the proper owner or edit files in ${CFG}/dvr/log directory. For new entries all should be ok.

I dont set up recordings, i make now new recording and the same, what to edit in /dvr/log i del all file in this folder and same problem ?

Updated by Rob vh about 11 years ago Actions #3

so migrating an existing set of scheduled recordings and autorec rules is impossible?

Updated by Petar Ivanov about 11 years ago Actions #4

Rob vh wrote:

so migrating an existing set of scheduled recordings and autorec rules is impossible?

I am not scheduled recordings and also not use autorec i try to make manuel Add Upcoming record

Updated by Rob vh about 11 years ago Actions #5

I deleted all (upcoming) recordings and restarted tvheadend. The recordings were re-created from the autorec entries and these new recordings worked.

  • I could not really spot what the new/changed field in these new recordings was, that caused the old recordings to fail.
  • I think the code should have accepted the old recordings (with the missing owner) instead of failing the recording, or the recordings should have been fixed/upgraded as part of the database update.
    Someone upgrading the tvheadend application should not lose scheduled work (have recordings denied) without indication in the GUI.

Updated by Jaroslav Kysela about 11 years ago Actions #6

OK, I added possibility to edit owner and creator for the DVR/autorec/timerec entries (only in the Edit dialog - not the grid).

The new DVR entries should have 'owner' set to the logged user (as 'creator'). If owner is anonymous (empty), then creator should contain the IP address of the client. The empty (null) owner and username in the creator is from the older tvh versions (or there may be any bug somewhere). I just tried the button 'Add' in the upcoming recordings grid and it works for me.

Updated by Jaroslav Kysela about 11 years ago Actions #7

Rob vh wrote:

  • I think the code should have accepted the old recordings (with the missing owner) instead of failing the recording, or the recordings should have been fixed/upgraded as part of the database update.
    Someone upgrading the tvheadend application should not lose scheduled work (have recordings denied) without indication in the GUI.

The problem is that the new code needs to know who is the owner of the recordings. The empty owner field is really bad and the older tvh versions do not filled owner/creator fields properly (to do anything automatically with them). I know, it's not ideal, but I've not found any way to make upgrade for this more easy.

Updated by Petar Ivanov about 11 years ago Actions #8

Jaroslav Kysela wrote:

OK, I added possibility to edit owner and creator for the DVR/autorec/timerec entries (only in the Edit dialog - not the grid).

The new DVR entries should have 'owner' set to the logged user (as 'creator'). If owner is anonymous (empty), then creator should contain the IP address of the client. The empty (null) owner and username in the creator is from the older tvh versions (or there may be any bug somewhere). I just tried the button 'Add' in the upcoming recordings grid and it works for me.

I try last version ,but the same, when dont have owner direct go to Failed Records, dont stay in Upcoming record and dont can use Edit.
For me from local IP newwork works, but bug is from remote IP, i try records not from local ip, i am not at home.

Updated by Jaroslav Kysela about 11 years ago Actions #9

OK. I don't know how tvh identify you from the remote IP. It should be resolved somehow. Ideally, I'd like see logs from "--trace access" .

Updated by Petar Ivanov about 11 years ago Actions #10

Jaroslav Kysela wrote:

OK. I don't know how tvh identify you from the remote IP. It should be resolved somehow. Ideally, I'd like see logs from "--trace access" .

Log with "--trace access" attached

Updated by Jaroslav Kysela about 11 years ago Actions #11

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|8ce77c8b958a24ace9625e393db5eb76d94ec280.

Updated by Jaroslav Kysela about 11 years ago Actions #12

OK. I think that I found it. Could you try with latest ?

Updated by Petar Ivanov about 11 years ago Actions #13

OK. Now is fixed, thanks.

Actions

Also available in: PDF Atom