DVR - Bugfix - Duplicate recordings
In some situations (I suspend my main pvr machine, and use a script to wake it up before recordings, this means I stop and start tvheadend multiple times a day), tvheadend starts parsing EPG-data agains AutoRec rules before previously scheduled recordings are loaded from disk. Since the check for duplicate recordings is not present in the code that loads previously scheduled recordings from disk, it would mean that when an autorec-rule was triggered, this would result in duplicate scheduled recordings. By first restoring previously scheduled recordings from disk and then loading the AutoRec rules, this situation can not happen anymore...
This commit is contained in:
parent
eee6e1c45b
commit
c365f235cc
1 changed files with 2 additions and 2 deletions
|
@ -834,9 +834,9 @@ dvr_init(void)
|
|||
}
|
||||
}
|
||||
|
||||
dvr_autorec_init();
|
||||
|
||||
dvr_db_load();
|
||||
|
||||
dvr_autorec_init();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue