how to figure out caller of any .xml file? - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: how to figure out caller of any .xml file? (/showthread.php?tid=129356)
how to figure out caller of any .xml file? - slinuxgeek - 2012-04-19 11:11
How can I know from where a file is geting called/opened.
For ex: I see DialogProgress.xml is there in confluence directory but when this file will be opened from which place?
There are so many such files , how can I figure out their caller? Is it written some where?
we can not always search for file name in all file contents because they may never appear any where specially if they are getting opened from a dialog context menu (suppose) , because context menu file is general.
Thanks for help in advance.
RE: how to figure out caller of any .xml file? - butchabay - 2012-04-19 11:31
Edit your addon.xml
Set debugging from False to True
RE: how to figure out caller of any .xml file? - slinuxgeek - 2012-04-19 12:04
It is already done.
That displays file name of currently displayed window.
From where these (and many others) are getting opened?
Means where should I click , what menus should I visit so that one of these files displays something on screen.
In my skin I have not included these files , and the skin is working but if I distribute the skin others may encounter many problems because of missing files so , I want to become clear if some file is necessary I will include that otherwise not.
Thank You .
RE: how to figure out caller of any .xml file? - phil65 - 2012-04-19 12:27
DialogProgress: scan database
DialogSeekBar: in Fullscreen Video
DialogOK: confirm dialog to delete movies for example
DialogKaiToast: Call Notification with Notification(test,test) in keymap.xml
DialogSlider: Volume Change I think
most are self-explaining, i don´t think there´s a list which one is called how.
RE: how to figure out caller of any .xml file? - `Black - 2012-04-19 13:39
DialogSlider i.e. audio or subtitle delay. Volume change is DialogVolumeBar.
RE: how to figure out caller of any .xml file? - slinuxgeek - 2012-04-19 14:29
And such things you guys know from experience?
It has to be written some where.
RE: how to figure out caller of any .xml file? - butchabay - 2012-04-19 15:27
Take a look at foundation skin. There are pretty much infos with screenshots,
Btw, you shouldn't remove any xml in the skin folder if your plan is to share your work for public.
As base look at confluence skin or as mentioned above skin foundation.