Allow to customize the Live TV priority
As I have a dual TV tuner, I would like the (XBMC) live TV to have the highest priority, over the "normal" scheduled recordings.
Currently, from what I have seen inside my syslog, the live TV has a weight of 150 while the "Normal" recordings have a weight of 300 and the "Important" recordings have a weight of 400 (see attached log output of tail -n 3000 /var/log/syslog | grep weight > /tmp/syslog_weight.txt)
There should be a way (if not the default!) to increase the weight of the live TV to a value like 350 so that it never gets interrupted by "normal" recordings.
#1 Updated by Adam Sutton 11 months ago
I'm gonna have to think on this one. I know what you're saying, and I can see the benefit.
However generally speaking the "defaults" are there in the absence of any input from the client. XBMC has full control over what those weights are.
So I could add you a way to override the TVH defaults, but if XBMC is using its own defaults and passing them over then you're out of luck as they'll override anything you may have set in TVH.
But I'll think about it and discuss with other devs. Of course if you want to provide a patch that's always a quicker way to get something included.
Do I overlook something? I have a dual tuner also and when I look Live-TV the second tuner take the recording without switching the the devices regardless how priorities are set. Thats the normal behaviour.
Independent from this a schedule musst have the highest priority, like the very old video-recorders with a single tuner have done. If not, any schedule will be obsolete.
#4 Updated by Sébastien Aubry 11 months ago
The live TV weight is only 150.
The recordings weight is: 500, 400, 300, 200, 100 depending on their priority: Important, High, Normal, Low, Unimportant
So my understanding was that an unimportant recording would not break Live TV.
We can choose between:
1. This weight-based system with some good default values.
2. A system with a boolean "Allow recordings to stop Live TV", currently true. This kind of feature can be seen in some other media centers such as MediaPortal TV Server if I remember well. It is the same as giving Live TV a zero or infinite weight.
3. A system where the user could select: "Allow recordings to stop Live TV if their priority is equal or above" between None, Important, High, Normal, Low, Unimportant
On my setup, I have some "newbie" users which want to watch Live TV without being annoyed by my recordings (about 20 per day).
#5 Updated by Adam Sutton 11 months ago
Personally I think the current approach provides all the flexibility required, I can certainly see situations where a different type of recording could either be lower priority (maybe a one of recording?) or higher priority (series link?) than live TV. Some might want something different.
This is all controllable via HTSP, however the one thing I think could do with some improvements is allowing override of the basic defaults (in the event the client specifies nothing).
#6 Updated by Adam Sutton 7 months ago
- Category set to WEB UI
- Target version set to 3.4
I don't think that anything needs doing here in relation to XBMC, it already has the ability (via HTSP) to control it. If it doesn't provide the user with control over such a value then that's an issue for XBMC not TVH.
It doesn't seem important to allow a change to the default live tv prio since DVR prios should basically all be relative to this. So its only relevant to allow clients to override.
However this does indicate one potential area for improv, there HTTP streaming of live tv does NOT allow prio to be overridden.
#7 Updated by Sébastien Aubry 7 months ago
It doesn't seem important to allow a change to the default live tv prio since DVR prios should basically all be relative to this
In this case, the default priority should be something like "Normal". By default, I would like to be able to watch Live TV without being annoyed by my (numerous) recordings. But you are right, XBMC should probably show a windows asking if the user wants to stop one of the current recordings. I will try to open a demand on XBMC side.
#8 Updated by Adam Sutton 7 months ago
I think that's a matter of opinion, I personally wouldn't want my live viewing of possibly random crap I don't care about to mean I miss a recording of something I've specifically selected for recording
Again XBMC user interface could do with some work here to help with possible conflicts much like a normal STB would, i.e. you have a conflict about to occur what would you like to do. I'm sure its on Lars TODO list.
Sébastien Aubry wrote:
I have just found this related XBMC patch and forum thread.
I already use this, its available in master (and 3.2 I believe) it is the Extra priority: value in the adapter.
I just it for using my DVB-T card instead of my DVB-S2 card, if the adapter has that channel.