Kodi Community Forum

Full Version: Bool to check if played video has been started from an addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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.
Great. That helps. Thank you!