Bug #2908
DVR not start rec when use manuel DVR record
100%
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
History
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.
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 ?
Updated by Rob vh over 9 years ago
so migrating an existing set of scheduled recordings and autorec rules is impossible?
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
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.
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.
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.
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.
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" .
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
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.
Updated by Jaroslav Kysela over 9 years ago
OK. I think that I found it. Could you try with latest ?