Wild media server (UPnP, DLNA, HTTP)
http://wildmediaserver.com/forum/

Stop a movie playing via script
http://wildmediaserver.com/forum/viewtopic.php?f=19&t=1420
Page 1 of 1

Author:  hepple [ Wed Feb 29, 2012 2:04 pm ]
Post subject:  Stop a movie playing via script

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"

Author:  Eugene [ Wed Feb 29, 2012 3:13 pm ]
Post subject:  Re: Stop a movie playing via script

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)

Author:  hepple [ Wed Feb 29, 2012 3:50 pm ]
Post subject:  Re: Stop a movie playing via script

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?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/