Tvheadend recording management » History » Version 3
Hein Rigolo, 2010-02-04 21:30
1 | 1 | Hein Rigolo | Tvheadend has a DVR/PVR function. At the moment the recording management is extreemly basis. This page will describe possible options for improving this and the design decisions that need to made to implement these improvements |
---|---|---|---|
2 | 2 | Hein Rigolo | |
3 | == Initial thoughts == |
||
4 | |||
5 | Here are some initial thoughts that we might need to find answer to; |
||
6 | |||
7 | |||
8 | 3 | Hein Rigolo | * should you be able to delete a recording from the OS and how should the DVR handle that |
9 | * how do we keep tvheadend from filling up your hdd |
||
10 | * should you need to specify a certain "savety" disc space |
||
11 | * what if an other process is filling up the hdd .. should that mean we keep deleting recordings ? |
||
12 | * when do we "expire"/delete recordings? when a new recordign starts make enough room to completly record it? |
||
13 | * what is there are 3 or 4 concurent recordings? how do we know we have enought space |
||
14 | * do we keep track of the estimated bit-rates of the various channels to beter figure out the needed space for a recording? (difference between SH and HD etc) |
||
15 | * take the duration of a recording/size of recording and use that as a measure (average over time??) |
||
16 | * estimaed recording lenght * estimated bit-rate to determine how much we need to clear |
||
17 | * do we need to keep track of the amount of free-space during a recording and possible delete more old recordings when needed |
||
18 | * do we need to test the write speed of the filesystem that is used to store recordings? in order to prevent too many concurrent recordings? |
||
19 | * do we want to support multiple storage locations? |
||
20 | * or do we say: if you have a need to record a large number of concurent recordings .. make sure your filesystem is up to it |
||
21 | * do we want to have support linking multiple instances of tvheadend to schedule recordings across multiple backends? |
||
22 | 2 | Hein Rigolo | |
23 | 3 | Hein Rigolo | * how about conflict handling? I have 2 capture cards but I want to record from 3 transportstreams how to manage that ? |
24 | * we also need to "re-arrange" all previous scheduled recordings if a new request comes in |
||
25 | * do we directly link a recording schedule already to a capture card? so that we can keep track and use that when working out possible conflicts? |
||
26 | * what if there are multiple clients making a schedule recording request. Do we keep one "on hold" untill the first one is completed and scheduled? |
||
27 | * who solves the conflict? can everybody make that decision? should that be a "user rights" option? |
||
28 | * how do we inform the original requested user if his or her recording has been removed in order solve a conflict? |