Hello,
Does anyone know if it is possible to have a dialog window displayed showing some kind of information and setting the focus to the main active window; think DialogVideoScan; this dialog can be displayed whilst browsing any section of xbmc.
Thanks for your time.
[Python] DialogWindow Question
- Dom DXecutioner
- Posts: 585
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 219 times
- Contact:
Re: [Python] DialogWindow Question
Hey Dom
Dont know if this helps, you've probably seen this page, its got some info on making GUI dialouge stuff http://wiki.xbmc.org/index.php?title=HO ... on_Scripts
Someone else with better phthon knowledge can probably help better than I
Dont know if this helps, you've probably seen this page, its got some info on making GUI dialouge stuff http://wiki.xbmc.org/index.php?title=HO ... on_Scripts
Someone else with better phthon knowledge can probably help better than I
- Dom DXecutioner
- Posts: 585
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 219 times
- Contact:
Re: [Python] DialogWindow Question
Thanks KoZz... I have that page; however, it does not speak of that which I need. Good try though
- Dan Dar3
- Posts: 1176
- Joined: Sun Jul 08, 2012 4:09 pm
- Has thanked: 273 times
- Been thanked: 257 times
- Contact:
Re: [Python] DialogWindow Question
Hey Dom,
a non-modal progress dialog, like the library scan at the top of the screen?
Might be this:
http://xbmc.sourceforge.net/python-docs ... olProgress
http://wiki.xbmc.org/index.php?title=Progress_Control
a non-modal progress dialog, like the library scan at the top of the screen?
Might be this:
http://xbmc.sourceforge.net/python-docs ... olProgress
http://wiki.xbmc.org/index.php?title=Progress_Control
- App(s): XBMC4Xbox Remote for Android | Plugin(s): XBMC4Xbox Installer
- Please donate to XBMC4Xbox project to keep it going, every little helps!
- Join us on TeamSpeak
- Dom DXecutioner
- Posts: 585
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 219 times
- Contact:
Re: [Python] DialogWindow Question
@byron
I have a script that modifies the actors table in the videos db, fetches the movie actors, queries tmdb; if found, downloads the info and thumb and adds it to the actors table.
All this works, but I'd like to show a progress bar similar to the DialogVideoScan or DialogMusicScan.
@Dan
I can already show the progress window but I'd like the ability to continue browsing or viewing a video whilst scrapping and the only way I can do this at the moment is by simply running the script with no dialog displayed!
When I show the progress dialog, it takes the focus and I can't do anything else but watch the progress.
I have a script that modifies the actors table in the videos db, fetches the movie actors, queries tmdb; if found, downloads the info and thumb and adds it to the actors table.
All this works, but I'd like to show a progress bar similar to the DialogVideoScan or DialogMusicScan.
@Dan
I can already show the progress window but I'd like the ability to continue browsing or viewing a video whilst scrapping and the only way I can do this at the moment is by simply running the script with no dialog displayed!
When I show the progress dialog, it takes the focus and I can't do anything else but watch the progress.
- Dan Dar3
- Posts: 1176
- Joined: Sun Jul 08, 2012 4:09 pm
- Has thanked: 273 times
- Been thanked: 257 times
- Contact:
Re: [Python] DialogWindow Question
I'm not sure if you tried the ControlProgress or DialogProgress... DialogProgress for sure is a middle screen modal window, like you say.
The ControllProgress seems to have a position and a size as parameters, which gives me the idea that it can be displayed somewhere like at the top of the screen.
http://xbmc.sourceforge.net/python-docs ... olProgress
http://xbmc.sourceforge.net/python-docs ... ogProgress
Anywasy, don't mind me, thought it might help, just throwing ideas.
The ControllProgress seems to have a position and a size as parameters, which gives me the idea that it can be displayed somewhere like at the top of the screen.
http://xbmc.sourceforge.net/python-docs ... olProgress
http://xbmc.sourceforge.net/python-docs ... ogProgress
Anywasy, don't mind me, thought it might help, just throwing ideas.
- App(s): XBMC4Xbox Remote for Android | Plugin(s): XBMC4Xbox Installer
- Please donate to XBMC4Xbox project to keep it going, every little helps!
- Join us on TeamSpeak
- byron
- Posts: 582
- Joined: Wed Jul 04, 2012 9:26 pm
- Location: Illinois
- Has thanked: 27 times
- Been thanked: 96 times
Re: [Python] DialogWindow Question
I gotcha, sounds fun...Maybe you've already tried this, but you could make a custom dialog. Tell the script (maybe add the command to the script?) to open it and show the progress with a progress control in the dialog with system.foo? Anyhow, that's about the best that I've got...sorry buddy.