XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only!
Not for posting feature requests, bugs, or end-user support requests!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-02-24, 18:35   #1
scooba77
Junior Member
 
Join Date: Feb 2004
Posts: 7
scooba77 is on a distinguished road
Default

hi,
i want to have a dialog that appears after mediaplay has finished.
i tried this:
Quote:
import xbmc, xbmcgui

dialog = xbmcgui.dialog()
list = ['next','cancel']

xbmc.mediaplay("smb://192.168.66.7/videoz/01.mpg")
selected = dialog.select('select an item', list)
if selected == 0:
* *xbmc.mediaplay("smb://192.168.66.7/videoz/02.mpg")
but the dialog comes first and after an selection the file plays.

i want that the mpg finishes and then the dialog appears.

thx for help

scooba77
scooba77 is offline   Reply With Quote
Old 2004-02-24, 20:30   #2
darkie
Team-XBMC Developer
 
Join Date: Sep 2003
Posts: 530
darkie is on a distinguished road
Default

not possible atm.
python does not know when xbmc is finished playing a media file.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


darkie is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running python-scripts on events(play/pause) wirrum Plugin/Script (Python) Development 2 2006-01-04 13:53
Script python to play .au (unix audio) file cpio77 Plugin/Script (Python) Development 5 2005-09-17 02:01
Script python to play .au (unix audio) file cpio77 Plugin/Script (Python) Help and Support 2 2005-09-14 00:08
Dialog.select help XBoxgeek Plugin/Script (Python) Help and Support 1 2005-06-21 12:56
is it possible to play movies from python? nianhbg Plugin/Script (Python) Development 4 2004-09-15 15:57


All times are GMT +2. The time now is 09:15.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project