home *** CD-ROM | disk | FTP | other *** search
- // This is a Sample DVD Trailers file for Zoom Player.
- // It can also work for Media Mode if specified in a command
- // line parameter (the SetDVDPath function is ignored), for example:
- // x:\path\to\zplayer.exe x:\trailers\MyTrailers.trailers z:\video\movie.avi
- //
- //
- // Functions:
- //
- // SetDVDPath(Directory)
- // - Specifies the location where the VIDEO_TS.IFO file resides
- // If no path is specified, Zoom Player will try to use the
- // specified DVD Drive instead.
- //
- // Examples:
- // SetDVDPath(E:\VIDEO_TS)
- // SetDVDPath(C:\My Media Server\My Movie)
- //
- //
- // LoadRandomTrailer(Directory)
- // - Loads a Random Media file from the specified Directory.
- // If you try to load multiple random files from the same
- // directory, Zoom Player will try to load different files
- // each time.
- //
- // Zoom Player uses the AUDIO/VIDEO extensions defined under
- // "Options / Values / Extensions" To determine which file
- // types to look for in the specified directory.
- //
- // Examples:
- // LoadRandomTrailer(C:\My Trailers\New Releases)
- // LoadRandomTrailer(C:\My Trailers\DTS)
- //
- //
- // LoadMaskRandomTrailer(Directory+Mask)
- // - Similar to "LoadRandomTrailer", but you must specify a
- // file mask for Zoom Player to look for. The extensions
- // specified in the Options are ignored for this function.
- // This function is recursive, so as the example below shows
- // specifying "VIDEO_TS.IFO" may find several such files
- // in directories that reside under the "My Trailers" directory.
- //
- // Examples:
- // LoadMaskRandomTrailer(C:\My Trailers\*.AVI)
- // LoadMaskRandomTrailer(C:\My Trailers\VIDEO_TS.IFO)
- //
- //
- // LoadTrailer(File)
- // - Load a specific Media file
- //
- // Examples:
- // LoadTrailer(C:\My Trailers\New Releases\AotC.AVI)
- // LoadTrailer(C:\My Trailers\New Releases\IJ4.AVI)
- //
- //
- // Execute(Executable,Parameters,WaitTillDone)
- // - Execute an external program. WaitTillDone is a boolean parameter
- // (value can be "True" or "False") and determines if Zoom Player should
- // wait until after the exectable file closes or go on with the rest
- // of the trailer commands.
- //
- // Examples:
- // Execute(C:\Program Files\LightsOff.exe, ,True)
- // (No parameters required for this executable)
- //
- // Execute(C:\Program Files\SetVolume.exe,/v:50,False)
- //
-
-
- // First we set the DVD Path to our DVD Drive (or hard disk path where we copied it to)
- // We write the full path as Zoom Player looks for the VIDEO_TS.IFO file in the specified path.
- SetDVDPath(F:\VIDEO_TS)
-
- // We start off with a personalized logo we've made for our Home Theater:
- LoadTrailer(C:\Eye Candy\My Logo.AVI)
-
- // Next we show a random upcoming movie trailer:
- LoadRandomTrailer(C:\My Trailers\New Releases)
-
- // Finally we show a random player for our spanking new Dolby DXESVW sound system:
- LoadRandomTrailer(C:\My Trailers\Too Cool for 5.1\Dolby Digital)
-
- // After the last trailer plays, the DVD will start playing automatically.
-