home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
EventGhostPlus
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DaBIGOne" data-source="post: 1086268" data-attributes="member: 118220"><p>Hello Cojo,</p><p></p><p>When there is a video started EventGhostPlus will fire an event, in this event is the location of the video added as a payload.</p><p>You can use this payload to identify if it's an online video (HTTP, HTTPS) or youtube (<a href="HTTP://xxxxx.youtube.com" target="_blank">HTTP://xxxxx.youtube.com</a>)</p><p></p><p>You need to process the event to be able to use the payload, you can find some info about this earlier in this topic.</p><p></p><p>Regards,</p><p></p><p>Da BIG One.</p><p></p><p><a href="https://forum.team-mediaportal.com/threads/eventghostplus.113463/page-6#post-931745" target="_blank">Edit: I found this: https://forum.team-mediaportal.com/threads/eventghostplus.113463/page-6#post-931745</a></p><p>I think you need some more checks so a single python command won't do, you'll need to create a script to check this with the python script action.</p><p></p><p>In this script you can use eg.event.payload[0] variable to string-check information you want (the number of the payload starting with 0)</p><p>You can easlily google for python commands by searching with python in your search. i.e. "python string compare"</p></blockquote><p></p>
[QUOTE="DaBIGOne, post: 1086268, member: 118220"] Hello Cojo, When there is a video started EventGhostPlus will fire an event, in this event is the location of the video added as a payload. You can use this payload to identify if it's an online video (HTTP, HTTPS) or youtube ([url]HTTP://xxxxx.youtube.com[/url]) You need to process the event to be able to use the payload, you can find some info about this earlier in this topic. Regards, Da BIG One. [URL='https://forum.team-mediaportal.com/threads/eventghostplus.113463/page-6#post-931745']Edit: I found this: https://forum.team-mediaportal.com/threads/eventghostplus.113463/page-6#post-931745[/URL] I think you need some more checks so a single python command won't do, you'll need to create a script to check this with the python script action. In this script you can use eg.event.payload[0] variable to string-check information you want (the number of the payload starting with 0) You can easlily google for python commands by searching with python in your search. i.e. "python string compare" [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
EventGhostPlus
Contact us
RSS
Top
Bottom