Posts: 909
Joined: Mar 2014
Reputation:
196
2016-08-12, 13:04
Hey,
is there a way to verify if a video which is playing comes from an addon? Something similar to String.IsEmpty(Container.PluginName) when browsing the addon itself, but relating to the VideoPlayer.
Thank you!
Posts: 3,532
Joined: Oct 2013
Reputation:
357
2016-08-12, 13:10
(This post was last modified: 2016-08-12, 13:11 by sualfred.)
If you just want to recognize if it's a stream (addons usually just play streams for the most cases) -> Player.IsInternetStream
Or use String.Contains with the player playback path for special conditions.
Main: Lancool II Mesh - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 - EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB / Crucial P1 2TB / WD Blue 3D Nand 2TB
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Posts: 909
Joined: Mar 2014
Reputation:
196
Great. That helps. Thank you!