WIP Discuss improvements for pvr section - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: WIP Discuss improvements for pvr section (/showthread.php?tid=175135) |
RE: Discuss improvements for pvr section - negge - 2014-06-17 @da-anda Python addons can but the binary addons have a much more narrow interface. RE: Discuss improvements for pvr section - scarecrow420 - 2014-06-18 yeah the interface is very narrow indeed. FOr helix are we going to bump the interface version and more stuff? Eg I was implementing wake on lan in pvr.wmc and although we can call XBMC->WakeOnLan() with the MAC address, we dont ahve any hooks into the partts of XBMC that can queue up the MAC address discovery based on the hostname (like XBMC does for SMB sources, databases etc). Ideally we would make the PVR Addon have a callback for "Get Backend HostName" that XBMC could call when it gather any hostnames that need MAC discovery. And WakeOnLAN could be built into XBMC rather than needing to be done in the addons Same as things like Series Recording, we could have a "capability" bSupportsSeriesRecord and enahce the PVR API to support that stuff. Most addons support it im assuming and it shouldnt be hard to come up with a standard interface for XBMC to use this information. I can help but I have no idea how to get authorisation that we will bump the PVR API version (thus breaking all addons until they move up to it etc etc). RE: Discuss improvements for pvr section - da-anda - 2014-06-18 (2014-06-17, 19:16)negge Wrote: @da-anda Python addons can but the binary addons have a much more narrow interface.but binary addons can still open a socket to JsonRPC which will work even if the webserver is disabled IIRC (could be wrong on this though) RE: Discuss improvements for pvr section - negge - 2014-06-18 @da-anda: sure, but who wants to do that? RE: Discuss improvements for pvr section - xhaggi - 2014-06-18 (2014-06-16, 23:38)negge Wrote: @xhaggi: I know, but addons like tvheadend fetch the EPG data asynchronously and serve it from memory whenever XBMC requests it. Currently it has to fetch everything because there's no way to know how much data XBMC is going to need. It's a minor issue but it would be nice to have the ability to request settings, could be useful in the future. could you explain this in detail. i don't understand why tvheadend needs to read the epg setting if xbmc requests epg from startdate till enddate on a per channel basis. RE: Discuss improvements for pvr section - scarecrow420 - 2014-06-18 I was doing something in pvr.wmc the other day and really could have used an XBMC->SaveSetting() function, that would let me save one of the addon's settings (that the user can save through the addon options) but from code. I needed this to persist across XBMC restarts etc so I couldn't just hold it in memory, but it was a bit of a complex value to have to have the user key in themselves in the UI manually. Any objections if we added such a function to the PVR API, or are these settings meant to only ever be allowed to be set by the user? I ended up having to save my own "settings file" in the addondata area for pvr.wmc and assuming I wanted typesafe settings in say XML format then Id need to use XML libraries etc to do it all as well. Compared to just having a "SaveSetting" function exposed through the PVR API that could be useful to all pvr addons. Thoughts? RE: Discuss improvements for pvr section - cyrils - 2014-06-27 When entering a channel number that is not in the current group could XBMC ignore the grouping and switch directly to that channel? RE: Discuss improvements for pvr section - xhaggi - 2014-06-27 (2014-06-27, 15:51)cyrils Wrote: When entering a channel number that is not in the current group could XBMC ignore the grouping and switch directly to that channel? no, because if you don't use channel numbers of your backend every group starts at 1. RE: Discuss improvements for pvr section - cyrils - 2014-06-28 Is that likely to change? I think persistent numbers are simpler to handle for end-users (well for me anyway, and my household/guests). What is the benefit of having groups numbered like that if each channel has a unique number anyway, whether it's from the backend or not? RE: Discuss improvements for pvr section - krustyreturns - 2014-06-28 My request is that the pvr addon have a way to tell xbmc that the addon will handle the timer dialogs (new-timer, edit-timer and delete-timer). The pvr addons are implementing series timers and timer options in a custom fashion currently, and I think that's okay since the backends offer different features related to these. But our users have to deal with the stock xbmc dialogs first, before we can preset them with our custom dialogs - which is at best redundant and at worse very confusing. So yeah, I would really like hooks that tell xbmc we'll handle the timer dialogs. Also, in the EPG view, for programs that show the timer icon, I request that xbmc call the addon to handle the case where the user chooses to delete or edit the timer from the context menu on these entries. RE: Discuss improvements for pvr section - Jönke - 2014-06-29 Xhaggi when can we expect to see you pvr rewrite in xbmc nightly? RE: Discuss improvements for pvr section - negge - 2014-06-29 I don't really think there's an ETA at the moment, it's still pending a final review and at the moment everyone is kind of busy. RE: Discuss improvements for pvr section - scarecrow420 - 2014-06-29 who else can review/merge PR's for PVR stuff apart from opdenkamp? Ive got PR pending for pvr.wmc addon into helix for ages now, I assume opdenkamp is busy but it'd be good to get things flowing in the pvr repo again RE: Discuss improvements for pvr section - Ed76 - 2014-06-29 please add an option to hide the "all channels"-group. RE: Discuss improvements for pvr section - xhaggi - 2014-06-29 (2014-06-29, 13:05)negge Wrote:(2014-06-29, 11:18)Jönke Wrote: Xhaggi when can we expect to see you pvr rewrite in xbmc nightly?I don't really think there's an ETA at the moment, it's still pending a final review and at the moment everyone is kind of busy. except me |