Page 1 of 1

Stop a movie playing via script

Posted: Wed Feb 29, 2012 2:04 pm
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"

Re: Stop a movie playing via script

Posted: Wed Feb 29, 2012 3:13 pm
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)

Re: Stop a movie playing via script

Posted: Wed Feb 29, 2012 3:50 pm
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?