XBMC Community Forum
how to figure out caller of any .xml file? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- 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

Hi all,
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?
DialogProgress.xml
DialogSeekBar.xml
DialogSlider.xml
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
etc etc

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.