Stop a movie playing via script

Post Reply
hepple
Posts: 44
Joined: Sun Mar 21, 2010 8:16 pm

Stop a movie playing via script

Post by hepple »

Is it possible to stop a movie playing via a script,

Also it is possible to identify the device playing a script in the "after the beginning of a playback of a media resource"
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Stop a movie playing via script

Post by Eugene »

hepple wrote:Is it possible to stop a movie playing via a script,
If you use the transcoding profiles (wrong parameters or not perform transcoding)
hepple wrote: Also it is possible to identify the device playing a script in the "after the beginning of a playback of a media resource"
No, but you can use cfgDeviceType (different devices - different device types)
hepple
Posts: 44
Joined: Sun Mar 21, 2010 8:16 pm

Re: Stop a movie playing via script

Post by hepple »

Hi,

I tried the following script...

begin
WmsLogMessage(mtiInfo, cfgDeviceType + ' - ' + CurrentMediaItem.Properties[mpiFilePath], False);
end.

but it always logs the default device type rather than the actual devices used. All the devices I have autodetect correctly.

Any ideas?
Post Reply