2007-11-14, 06:55
I'm writing my very first script... just 2 lines long. I want to play a movie trailer followed by the movie in the DVD drive.
The trailer plays just fine. But then the script stops and the DVD never plays.
The python debug report says:
xbmc.PlayDVD()
AttributeError: "module" object has no attribute 'PlayDVD'
I'm running the latest release T3CH release of XBMC.
PHP Code:
import xbmc
import sys
# Define the path to your trailer
MyTheaterTrailer= 'F:\\MyVideos\\TheaterLogos\\KinkeadTheaterLogo.avi'
# Play the trailer
xbmc.Player().play(MyTheaterTrailer)
# Play the DVD
xbmc.PlayDVD()
The python debug report says:
xbmc.PlayDVD()
AttributeError: "module" object has no attribute 'PlayDVD'
I'm running the latest release T3CH release of XBMC.