Kodi Community Forum

Full Version: Display a label at certain times when video is playing?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im pretty certain this can be done?

Just like mtv vidzone etc.. display a label of the music video title & artist after 5 seconds of the video starting & 10 seconds before it ends.

How would i work out the times from VideoPlayer.Duration? & how would i retrigger my animations when the next music video starts?

Thanks
PHP Code:
!IntegerGreaterThan(VideoPlayer.Time,5

PHP Code:
!IntegerGreaterThan(VideoPlayer.TimeRemaining,10
Thanks Hitcher

I 90% worked it out a few minutes after i posted lol

Slightly OT

is there something like $INFO[MusicPlayer.offset(1).Artist] but for music videos? the wiki doesn't list anything.

If not i know $INFO[VideoPlayer.PlaylistPosition] is there, so is any way to grab the info from that (somehow populate the playlist), so i can show the next music video artist & title?

Thanks again