Project

General

Profile

Bug #2908

DVR not start rec when use manuel DVR record

Added by Petar Ivanov over 9 years ago. Updated over 9 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

History

#1

Updated by Jaroslav Kysela over 9 years ago

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

#2

Updated by Petar Ivanov over 9 years ago

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 ?

#3

Updated by Rob vh over 9 years ago

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

#4

Updated by Petar Ivanov over 9 years ago

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

#5

Updated by Rob vh over 9 years ago

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.
#6

Updated by Jaroslav Kysela over 9 years ago

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.

#7

Updated by Jaroslav Kysela over 9 years ago

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.

#8

Updated by Petar Ivanov over 9 years ago

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.

#9

Updated by Jaroslav Kysela over 9 years ago

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" .

#10

Updated by Petar Ivanov over 9 years ago

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

#11

Updated by Jaroslav Kysela over 9 years ago

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

Applied in changeset commit:tvheadend|8ce77c8b958a24ace9625e393db5eb76d94ec280.

#12

Updated by Jaroslav Kysela over 9 years ago

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

#13

Updated by Petar Ivanov over 9 years ago

OK. Now is fixed, thanks.

Also available in: Atom PDF