![]() |
Add-on development: Custom button in the movie information dialog - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: Add-on development: Custom button in the movie information dialog (/showthread.php?tid=364992) |
Add-on development: Custom button in the movie information dialog - Xoreph - 2021-10-16 I'm currently writing an add-on very similar to cinema vision, just more bare bones. I absolutely love the idea of cinema vision and similar add-ons but I wanted an add-on which you could simply install and point to a folder and it would be done. The add-on is basically complete but I'm tweaking a few things and adding some simple functionality. One thing I’m having trouble adding is a button to start it in the movie information window similar to that in cinema vision (see picture). I've tried analyzing the code from several add-ons to find how this is done but haven't been able to figure it out yet... Is this easily accomplished or will I waste a huge amount of time getting it to work? Any help or tips is greatly appreciated. It should be noted that it's my first ever add-on and I am not overly acquainted with python but I'm taking it step by step. ![]() ![]() RE: Add-on development: Custom button in the movie information dialog - ronie - 2021-10-17 you can stop wasting your time since python addons can not add buttons to a skin. such buttons need to be added by the skin developer. Add-on development: Custom button in the movie information dialog - spl147 - 2021-10-17 (2021-10-17, 01:52)ronie Wrote: you can stop wasting your time since python addons can not add buttons to a skin. Or just edit the skin and add your own RE: Add-on development: Custom button in the movie information dialog - Xoreph - 2021-10-17 (2021-10-17, 02:27)spl147 Wrote:Ooh yeah, that might be an option!(2021-10-17, 01:52)ronie Wrote: you can stop wasting your time since python addons can not add buttons to a skin. ![]() RE: Add-on development: Custom button in the movie information dialog - Xoreph - 2021-10-17 (2021-10-17, 01:52)ronie Wrote: you can stop wasting your time since python addons can not add buttons to a skin.Thanks for the answer but I just got an idea. If python addons can't add buttons, that would mean that the cinema mode button which cinema vision utilizes is an asset from the estuary skin right? Would it be possible for me to utilize that button in a similar manner since I'm not gonna use cinema vision anyways when my addon is complete? RE: Add-on development: Custom button in the movie information dialog - ronie - 2021-10-18 if it's for personal use, sure, you can just modify the estuary skin. you can change this part to run your addon instead of cinemavision: https://github.com/xbmc/xbmc/blob/97936fe0ab629c42c15d0ffb216257f4f2bc092c/addons/skin.estuary/xml/DialogVideoInfo.xml#L534-L541 RE: Add-on development: Custom button in the movie information dialog - Xoreph - 2021-10-18 (2021-10-18, 02:52)ronie Wrote: if it's for personal use, sure, you can just modify the estuary skin.Yeah it's for personal use for the time being. Thank you so much for the helpful response! |