(2014-03-05, 07:42)SoCalXMBC Wrote: (2014-03-05, 00:05)scarecrow420 Wrote: Regarding the using a current recording file rather than live channel...
If you are already recording something and select it from the channel or timeline, chances are its something you want to see from the beginning anyway. That should simplify the approach rather than offsetting it to current time and having the user rewind.. I can see how once the show is over, the timer has turned off recording and the next show is not time shifted or even active for that matter. I know Windows Media Center handles this gracefully. Perhaps their approach is also exposed in the .dll, to handle just such an occurrence post timed recording? Even if there was no way to do it, just being able to watch a currently recording item from the channel list/EPG is a win even if it stops at the end!
ah see well here already we have some mixed requirements. I thought you were saying if a channel was already being recorded and you chose to watch that channel live, to avoid tying up a 2nd tuner we should access the stream being used for the recording. In this use case, skipping ahead to the current time index would seem to be the requirement since you dont want to watch that recording per se, you actually just want to watch that channel live and a recording happens to already be using a tuner on that channel. Particularly in a multi client household one person could be recording Big Bang Theory while another just wants to watch that channel live and catch the end of the episode (or possibly even unaware/uncaring that someone else is recording that show).
But you've now mentioned a second use case which is more along the lines of making it more convenient to see an in progress recording and start watching that recording (from the beginning) by clicking on the EPG entry rather than having to go to the recordings section.
So it would seem at a minimum that clicking on an EPG entry/channel that is currently having a recording in progress should maybe ask whether you want to watch from the beginning or from now...
(2014-03-05, 07:42)SoCalXMBC Wrote: I find XBMC's compartmentalization of LiveTV confusing at best. I understand their motives to decouple from that main logic but I just don't get the implementation. It seems for a pvr plugin to be successful in their model it must also be installed in conjunction with a custom skin, but then the pvr plugin would be making arbitrary decisions about all the other media paths.. and that violates the compartmentalization idea all over again. It seems that a pvr plugin should be responsible for only the livetv/epg skin, within whatever skin is active, inherit the global theme, and be provided some basic RTC callback functions from the core through an api. I hope that was the future strategy for initially decoupling. I was hoping Gotham would provide some initial insight but that doesn't seem to be the case. I am happy with the reduction in CPU - makes playback much smoother.
i agree the ball does seem to be moving forward quite slowly but the idea is that XBMC interface will support/define how PVR functionality should work, and the addons/backends then provide that. We shouldnt have to have custom dialogs/skins and perhaps in the future we wont need to... for example series recording is a common feature so XBMC could/should implement support for it, then we wouldnt need to tack it on ourselves with custom dialogs that pop up after the user has already confirmed they want to do the recording. I dont think it would be workable for PVR plugins to have to control/provide the entire PVR skin, and afterall XBMC does need to have a consistent approach to say EPG, recordings, etc no matter which backend you are using... but the PVR addon interface could be further enhanced to allow more customisation/influence over XBMC behaviour. The framework is already there though, and things are still a work in progress. Eg each addon defines a capabilities matrix indicating to XBMC the things it supports and then XBMC knows to call for them (eg supports EDL, supports lastplayedposition, supports timeshift, supports live streaming etc etc). So all the building blocks are in place and once "breaking" changes can be made to the API interfaces again (things are locked down now, to stabilise Gotham) more things will be added and enhanced im sure (just as they were for gotham).
(2014-03-05, 09:25)bluenote Wrote: Thanks for the education krusty.
It sounds like the simple addon non pvr interface would actually be useful in some cases. I wonder if there might be a case for having the wmc addon in two parts?
I'm sure it would have cons, but if you had the ability to launch it from within wmc... ?
Well im not krusty but ill take it as a compliment
we also can hook into adding items to the context menu on recordings, timers, channels etc so perhaps that would be a slightly more intuitive way of presenting a "Create new wishlist recording" option.
It's an interesting idea having a separate "regular" addon in XBMC that could add additional screens/management of some of this stuff, but my python skills are pretty rusty
and im not sure there is that much stuff that doesnt fit into the existing PVR framework of XBMC (wishlist recording is one of the major ones I guess)