We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b2879 commit 22eb231Copy full SHA for 22eb231
main.py
@@ -0,0 +1,21 @@
1
+import xbmc
2
+import xbmcgui
3
+import xbmcplugin
4
+import sys
5
+import os
6
+
7
+# Get the plugin handle
8
+plugin_handle = int(sys.argv[1])
9
10
+def show_search_dialog():
11
+ # Load the XML file
12
+ dialog_path = os.path.join(os.path.dirname(__file__), 'resources', 'lib', 'search.xml')
13
+ # Display a simple dialog for demonstration
14
+ xbmcgui.Dialog().ok("Search Addon", "This is where the search dialog would be displayed.")
15
+ # You can use xbmcgui.WindowXML to load and display the XML dialog if needed
16
17
+def main():
18
+ show_search_dialog()
19
20
+if __name__ == "__main__":
21
+ main()
0 commit comments