v17 [Implemented] Open 'Series Record' dialogue with single keypress - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +--- Thread: v17 [Implemented] Open 'Series Record' dialogue with single keypress (/showthread.php?tid=258708) Pages:
1
2
|
[Implemented] Open 'Series Record' dialogue with single keypress - beeswax - 2016-02-03 edit: please see my last post in this thread which shows how to achieve this (Krypton+ only). Hi, I installed Jarvis RC2 yesterday because I couldn't wait any longer to see how the series record PVR stuff has been implemented! So far, it's looking good, I'm just trying to work out the finer points of usability and wife acceptance. At first, I could not find the option to do a series record/series link but later discovered I have to bring up the context menu on the program in the EPG and select 'Add Timer'. This isn't quite as slick as it needs to be but I think there must be a way around that - there always is right? My first thought was to use a keymap entry, limited to the EPG window which brings up the special Add Timer dialogue but I can't quite work out how to get there. I already have this in my keyboard.xml to handle one-shot recordings: Code: <tvguide> which works fine so I just need to work out what action or Window ID to bind to another unused key. I checked the window IDs on the Wiki but can't find one for the PVR Add Timer/Series Link dialogue. Can anyone help with this? RE: Open 'Series Record' dialogue from remote press - beeswax - 2016-02-06 Anyone? I'm looking for a way to bring up the Add Timer dialogue (for doing a series record) with a single key press when on the EPG screen. RE: Open 'Series Record' dialogue with single keypress - AshG - 2016-02-06 Not sure about mapping that to a remote key you would have to find out the window name/ID or something have a look at the wiki is there anything in there... If it helps I have the standard setting that when you press ok in the guide it brings up the context menu (originally it was set at "tune channel" this makes it a little more "wife acceptable" RE: Open 'Series Record' dialogue with single keypress - beeswax - 2016-02-07 Thanks but I did say in the original post that I already checked the Wiki for the window ID. I'm guessing because PVR Series Record is relatively new, it hasn't been added to that page yet. RE: Open 'Series Record' dialogue with single keypress - negge - 2016-02-07 I think you'll have to look at the source code in order to figure out the window/dialog IDs. RE: Open 'Series Record' dialogue with single keypress - beeswax - 2016-02-07 Thanks but I'm not sure how you could possibly think that comment could be helpful in any way. Of course the answer lies somewhere in the source code but as you can see from my member status here, I am not a Kodi developer. I'm not fluent in the language Kodi is written in and more importantly, I don't understand the principles of windows IDs in the context of source code, how they are referenced, named or called, where do you suggest I start in the - how many lines of source code is Kodi up to now? Dennis Nedry has, I'm afraid, left the building and I'm just John Hammond asking how the frig I bring up a dialogue to stop dinosaurs eating everyone. Or to get easier series linking, one of the two. RE: Open 'Series Record' dialogue with single keypress - negge - 2016-02-08 I know it's not very helpful, but until someone else does it and adds it to the wiki it's really the only solution. RE: Open 'Series Record' dialogue with single keypress - Jönke - 2016-02-08 Turn on debug , open window normal way and look for window name in log ?? RE: Open 'Series Record' dialogue with single keypress - beeswax - 2016-02-08 Thank you Jönke, that was very helpful! After enabing debugging, the log showed the following skin file being loaded: DialogPVRTimerSettings.xml which on the Window IDs page of the wiki translates to: pvrtimersetting WINDOW_DIALOG_PVR_TIMER_SETTING 10604 604 DialogPVRTimerSettings.xml Only problem now is, I've added this to my keyboard.xml: Code: <tvguide> But this causes an instant crash when I press it in the EPG: "ERROR: Exception caught on main loop, Exiting". the debug log looks like this: Code: 11:59:36 T:36892 DEBUG: Keyboard: scancode: 0x12, sym: 0x0065, unicode: 0x0065, modifier: 0x0 I thought maybe all the "not found" lines were related to the error but they appear in the log even when accessing series link via the context menu. Damn! Thought we had it then. edit: This thread shows some other guys who have come across ActivateWindow(pvrtimersetting) causing a crash, I might file a bug report. I tested this in Confluence too just to be sure it wasn't my skin causing this and it's the same problem. Update: bug report filed. Open 'Series Record' dialogue with single keypress - ksooo - 2016-02-08 Ofc the crash is not intended. ;-) Fixing it should be no problem, but... ... currently, what you want is simply not possible. Before activation, the timer settings dialog needs to be "pointed" to the timer it shall display, and this timer has to be created from a specific epg event. All this is currently simply not possible using a simple key mapping. RE: Open 'Series Record' dialogue with single keypress - ksooo - 2016-02-09 Fix for the crash: https://github.com/xbmc/xbmc/pull/9095 I will see what I can do about the original feature request. Should not be to difficult to implement, it is just a matter of spare time. RE: Open 'Series Record' dialogue with single keypress - beeswax - 2016-02-09 Thanks for the crash fix ksoo, fast work. And if you can find time to implement one-click Series Link dialogues, I think a lot of PVR users would be very grateful, not least me. RE: Open 'Series Record' dialogue with single keypress - AshG - 2016-02-09 I appreciate this is not the "Feature Request" forum, but just seemed the most appropriate place to mention.... thinking outside the box a little, instead of having a one key press for scheduling a series record, how about using the current "record" button, which then brings up a small context menu displaying: >>>>>>Record Now >>>>>>Record Series "Record Now" would, as the name suggest record now, but "Record Series" would take you to the "Add Timer/Series Link" dialogue, I guess their Pros and Cons for doing this and I'm sure it's probably not as simple as it sounds and there's probably some complexities to get over..... but.....Just a thought? Open 'Series Record' dialogue with single keypress - ksooo - 2016-02-09 Where would be the difference to defining a hotkey to open the existing epg event's context menu and then selecting either "record" or "add timer" from that menu? The feature request is exactly about avoiding indirection on the way to the timer settings dialog. RE: Open 'Series Record' dialogue with single keypress - AshG - 2016-02-09 Ok, good point Ksoooo, I guess I was coming from pressing the record button while actually watching "live TV" rather than in the EPG, when I select a programme in the EPG it shows the context menu anyway, so I kind of get this feature anyway, abit with expanded options...I guess it needs the EPG data to schedule a series recording does it? |