Looks like totem supports playlists, why not just generate a playlist and pipe that into totem? And I don't see any obvious documentation without downloading Totem, but you might check to see if there's an "exit on end" option that'd return control back to PHP if a playlist isn't an option. Or if you can feed totem a list of files without generating a playlist. Some media players will generate a playlist in memory based on a list of file names/paths sent to it rather than loading a text file playlist. -TG = = = Original message = = = Hi all, I am researching setting up an application in PHP where it would play various videos. I played with PHP and Totem but it didn't work exactly as planned. This code got the videos playing <snip> exec("totem --fullscreen million_dollar_weekend.mpeg"); exec("totem --fullscreen we_use_power_edit.mp4"); </snip> The problem here is that when the video stops totem stays open and therefore my script does not realize that it is time to play the next video. Does anyone have any ideas how to get them to stop properly? Is there another/better player than totem? Videolan does not have the level of command line control that totem does. Is there a pcntl function that might do the trick? I could keep a list of the videos and lengths and then have my script issue a kill comand once the length of time plus some play time has ellapsed. Thanks, -- Leonard Burton, N9URK leonardburton@xxxxxxxxx "The prolonged evacuation would have dramatically affected the survivability of the occupants." ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php