Mod Titan M O D ( last Updated 19-12-2019)
(2018-12-31, 14:42)vik6869 Wrote:
(2018-12-28, 11:32)Keksebacker Wrote: 2/ Remaining duration of live tv
The remaining duration of live tv doesn't work correctly in the osd.
For every other content like movies or netflix and so on it works properly.
Also in the small channel list its shown correctly.
 I made some changes to fix this ill leave the code here along with other small changes all for live tv.:

-Included the season and episode details if available.
-If no channel logo was available the channel details would shift left.
-Fixed EPG Runtime. KODI 18 only

Controls changed in IncludesOSD.xml name="OSDInfoPanelNetflix":
Code:

                <!-- details info --><!-- OSDLabel9 -->
                <control type="label">
                    <width>1000</width>
                    <height>45</height>
                    <align>left</align>
                    <font>Light24</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>dimgray</shadowcolor>
                    <label>$VAR[OSDLabel9]</label>
                    <visible>!VideoPlayer.Content(movies)</visible>
                    <scroll>false</scroll>
                </control>
Variables changed in IncludesOSD.xml
Code:

    <variable name="OSDImage">
        <value condition="![VideoPlayer.Content(livetv) + Skin.HasSetting(NoPvrArtOSD)] + !String.IsEmpty(Window(Home).Property(SkinHelper.Player.AnimatedPoster))">$INFO[Window(Home).Property(SkinHelper.Player.AnimatedPoster)]</value>
        <value condition="![VideoPlayer.Content(livetv) + Skin.HasSetting(NoPvrArtOSD)] + !String.IsEmpty(Player.Art(tvshow.poster))">$INFO[Player.Art(tvshow.poster)]</value>
        <value condition="![VideoPlayer.Content(livetv) + Skin.HasSetting(NoPvrArtOSD)] + !String.IsEmpty(Player.Art(poster))">$INFO[Player.Art(poster)]</value>
        <value condition="![VideoPlayer.Content(livetv) + Skin.HasSetting(NoPvrArtOSD)] + !String.IsEmpty(Window(Home).Property(SkinHelper.Player.Art.Poster))">$INFO[Window(Home).Property(SkinHelper.Player.Art.Poster)]</value>
        <value condition="VideoPlayer.Content(livetv) + !String.IsEmpty(VideoPlayer.Cover) + String.Contains(VideoPlayer.Cover,DefaultVideo)"></value>
        <value condition="!String.IsEmpty(VideoPlayer.Cover)">$INFO[VideoPlayer.Cover]</value>
        <value condition="!String.IsEmpty(Player.Icon)">$INFO[Player.Icon]</value>
        <value>DefaultVideo.png</value>
     </variable>
    <variable name="OSDLabel7">
        <value condition="Player.HasVideo + String.IsEqual(Window(Home).Property(subtitlemenu), show)"></value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv)">$INFO[VideoPlayer.ChannelNumberLabel,, • ]$INFO[VideoPlayer.ChannelName]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + Player.IsInternetStream + !String.IsEmpty(Window(Home).Property(SkinHelper.Player.AddonName)) + String.IsEmpty(VideoPlayer.TvShowTitle)">$INFO[Window(Home).Property(SkinHelper.Player.AddonName)]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(episodes) + !String.IsEmpty(VideoPlayer.TvShowTitle)">$INFO[VideoPlayer.TVShowTitle]</value>
        <value condition="Player.HasAudio + !String.IsEmpty(Window(Home).Property(SkinHelper.Player.AddonName))">$INFO[Window(Home).Property(SkinHelper.Player.AddonName)]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show)">$INFO[VideoPlayer.Title]</value>
        <value>$LOCALIZE[31040]</value>
    </variable>

    <variable name="OSDLabel8">
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(Episodes)">$INFO[VideoPlayer.Season,$LOCALIZE[20373] , | ]$INFO[VideoPlayer.Episode,$LOCALIZE[20359] , | ]$INFO[VideoPlayer.Title]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(Movies)">$INFO[VideoPlayer.year]$INFO[VideoPlayer.Mpaa, | ,]$INFO[VideoPlayer.Duration(mins), | ,min]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv) + [!String.IsEmpty(VideoPlayer.Season) + !String.IsEmpty(VideoPlayer.Episode) + !String.IsEmpty(VideoPlayer.EpisodeName)]">$INFO[VideoPlayer.Title] - S$INFO[VideoPlayer.Season]E$INFO[VideoPlayer.Episode] - $INFO[VideoPlayer.EpisodeName]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv) + [!String.IsEmpty(VideoPlayer.Episode) + !String.IsEmpty(VideoPlayer.EpisodeName)]">$INFO[VideoPlayer.Title] - E$INFO[VideoPlayer.Episode] - $INFO[VideoPlayer.EpisodeName]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv) + [!String.IsEmpty(VideoPlayer.EpisodeName)]">$INFO[VideoPlayer.Title] - $INFO[VideoPlayer.EpisodeName]</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv) + [!String.IsEmpty(VideoPlayer.Title)]">$INFO[VideoPlayer.Title]</value>
    </variable>

    <variable name="OSDLabel9">
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv) + !String.IsEqual(PVR.EpgEventDuration(mins),0) + VideoPlayer.HasEpg">$INFO[PVR.EpgEventDuration(mins)]min</value>
        <value condition="Player.HasVideo + !String.IsEqual(Window(Home).Property(subtitlemenu), show) + VideoPlayer.Content(livetv)"></value>
        <value>$VAR[premiered_or_year]$INFO[VideoPlayer.Mpaa, | ,]$INFO[VideoPlayer.Duration(mins), | ,min]</value>
    </variable>
 
 By test some thing on PVR, i need to ask some things .As i work just with an demo client, and maybe i got something wrong.

But since playing time on PVR/Live TV  is fine on my end i need to locate the mentioned issues more.

1st.
Whats the difference on your end when you start watch TV , if you start with "switch" or "play programme" Huh
Is there anything different showing up on your side.
Also as i am a non PVR user, whats the main difference between theese 2 options?
Any benefits in comparison ?

(if I start with  "play programme" :  VideoPlayer.Content(livetv) is false,
 if I start with "switch" :                 VideoPlayer.Content(livetv) is true)
but booth shows me correct playing time/remainning time values in the actual version

2st.
PVR.EpgEvent**** Labels are only for PVR Events, in my case there is a planned recordring at a specific time.
So $INFO[PVR.EpgEventRemainingTime] - doesnt show the value of currently playing video , it shows the "remaining time" till the next EPG EVENT (record, end record ) will start
and that sounds logical to me.
But the wiki says
Quote:" PVR.EpgEventRemainingTime[(format)]Returns the remaining time for currently playing epg event....
Skins                                                                                        
Reply
 
Thread Rating:
  • 15 Vote(s) - 4.33 Average


Messages In This Thread
RE: Titan Mod with small fixes - by mardukL - 2018-04-19, 16:34
RE: Titan Mod with small fixes - by mardukL - 2018-08-25, 12:38
RE: Titan Mod with small fixes - by geowill76 - 2018-04-20, 13:04
RE: Titan Mod with small fixes - by mardukL - 2018-04-20, 13:22
RE: Titan Mod with small fixes - by geowill76 - 2018-04-20, 14:34
RE: Titan Mod with small fixes - by mardukL - 2018-04-20, 16:23
RE: Titan Mod with small fixes - by mardukL - 2018-05-01, 14:01
RE: Titan Mod with small fixes - by mardukL - 2018-05-18, 15:49
RE: Titan Mod with small fixes - by blaze7 - 2018-05-18, 19:38
RE: Titan Mod with small fixes - by mardukL - 2018-05-25, 14:19
RE: Titan Mod with small fixes - by mardukL - 2018-05-19, 10:33
RE: Titan Mod with small fixes - by mardukL - 2018-05-22, 08:06
RE: Titan Mod with small fixes - by mardukL - 2018-05-23, 08:24
RE: Titan Mod with small fixes - by brazen1 - 2018-05-22, 23:08
RE: Titan Mod with small fixes - by mardukL - 2018-05-23, 08:34
RE: Titan Mod with small fixes - by mardukL - 2018-05-25, 14:22
RE: Titan Mod with small fixes - by mardukL - 2018-05-26, 14:22
RE: Titan Mod with small fixes - by rhoop206 - 2018-05-28, 07:01
RE: Titan Mod with small fixes - by mardukL - 2018-05-31, 17:20
RE: Titan Mod with small fixes - by mardukL - 2018-05-31, 14:43
RE: Titan Mod with small fixes - by mardukL - 2018-05-31, 14:14
RE: Titan Mod with small fixes - by ontap - 2018-05-30, 14:30
RE: Titan Mod with small fixes - by mardukL - 2018-05-31, 14:09
RE: Titan Mod with small fixes - by ontap - 2018-05-30, 14:30
RE: Titan Mod with small fixes - by ontap - 2018-05-30, 14:36
RE: Titan Mod with small fixes - by rhoop206 - 2018-06-01, 01:32
RE: Titan Mod with small fixes - by mardukL - 2018-06-02, 11:13
RE: Titan Mod with small fixes - by mardukL - 2018-06-14, 09:38
RE: Titan Mod with small fixes - by mardukL - 2018-06-14, 23:34
RE: Titan Mod with small fixes - by mardukL - 2018-06-18, 15:44
RE: Titan Mod with small fixes - by rhoop206 - 2018-06-16, 03:59
RE: Titan Mod with small fixes - by mardukL - 2018-06-16, 12:30
RE: Titan Mod with small fixes - by mardukL - 2018-06-18, 15:23
RE: Titan Mod with small fixes - by mardukL - 2018-06-18, 15:38
RE: Titan Mod with small fixes - by rhoop206 - 2018-06-19, 03:38
RE: Titan Mod with small fixes - by mardukL - 2018-06-19, 10:25
RE: Titan Mod with small fixes - by mardukL - 2018-06-20, 09:32
RE: Titan Mod with small fixes - by mardukL - 2018-06-20, 19:29
RE: Titan Mod with small fixes - by mardukL - 2018-06-21, 07:55
RE: Titan Mod with small fixes - by mardukL - 2018-06-21, 16:12
RE: Titan Mod with small fixes - by mardukL - 2018-06-21, 13:19
RE: Titan Mod with small fixes - by pmcnamara - 2018-06-21, 22:40
RE: Titan Mod with small fixes - by mardukL - 2018-06-22, 09:25
RE: Titan Mod with small fixes - by pmcnamara - 2018-06-26, 13:00
RE: Titan Mod with small fixes - by mardukL - 2018-06-22, 20:02
Titan Mod with small fixes - by wsx1 - 2018-06-23, 18:25
RE: Titan Mod with small fixes - by mardukL - 2018-06-24, 02:40
RE: Titan Mod with small fixes - by mardukL - 2018-06-24, 02:23
RE: Titan Mod with small fixes - by mardukL - 2018-06-25, 00:02
RE: Titan Mod with small fixes - by mardukL - 2018-06-25, 07:37
RE: Titan Mod with small fixes - by mardukL - 2018-06-25, 14:37
Titan Mod with small fixes - by wsx1 - 2018-06-25, 22:19
RE: Titan Mod with small fixes - by aerogems - 2018-06-29, 03:03
RE: Titan Mod with small fixes - by rhoop206 - 2018-06-29, 23:30
RE: Titan Mod with small fixes - by mardukL - 2018-06-30, 14:12
RE: Titan Mod with small fixes - by corus - 2018-06-30, 11:58
RE: Titan Mod with small fixes - by mardukL - 2018-06-30, 14:33
RE: Titan Mod with small fixes - by corus - 2018-06-30, 16:36
RE: Titan Mod with small fixes - by rhoop206 - 2018-07-01, 21:55
RE: Titan Mod with small fixes - by Juppstein - 2018-07-04, 17:50
RE: Titan Mod with small fixes - by Juppstein - 2018-07-04, 17:53
RE: Titan Mod with small fixes - by mardukL - 2018-07-05, 07:32
RE: Titan Mod with small fixes - by mardukL - 2018-07-10, 10:42
RE: Titan Mod with small fixes - by mardukL - 2018-07-10, 10:31
RE: Titan Mod with small fixes - by junitodx - 2018-07-10, 22:22
RE: Titan Mod with small fixes - by mardukL - 2018-07-11, 10:59
RE: Titan Mod with small fixes - by junitodx - 2018-07-11, 12:05
RE: Titan Mod with small fixes - by mardukL - 2018-07-11, 11:28
RE: Titan Mod with small fixes - by mardukL - 2018-07-12, 10:53
Titan Mod with small fixes - by wsx1 - 2018-07-11, 19:45
RE: Titan Mod with small fixes - by wsx1 - 2018-07-11, 20:58
RE: Titan Mod with small fixes - by mardukL - 2018-07-12, 08:20
RE: Titan Mod with small fixes - by wsx1 - 2018-07-11, 23:22
RE: Titan Mod with small fixes - by mardukL - 2018-07-12, 09:41
RE: Titan Mod with small fixes - by mpippia - 2018-07-23, 00:14
RE: Titan Mod with small fixes - by Karellen - 2018-07-23, 01:22
RE: Titan Mod with small fixes - by mpippia - 2018-07-23, 05:45
RE: Titan Mod with small fixes - by mpippia - 2018-07-24, 00:12
RE: Titan Mod with small fixes - by mardukL - 2018-07-23, 09:12
RE: Titan Mod with small fixes - by Comma - 2018-07-24, 05:35
RE: Titan Mod with small fixes - by mardukL - 2018-07-23, 18:24
RE: Titan Mod with small fixes - by mardukL - 2018-07-23, 20:04
Titan Mod with small fixes - by wsx1 - 2018-07-24, 18:10
RE: Titan Mod with small fixes - by rhoop206 - 2018-07-25, 04:37
RE: Titan Mod with small fixes - by mardukL - 2018-07-28, 15:23
RE: Titan Mod with small fixes - by mardukL - 2018-07-28, 15:38
RE: Titan Mod with small fixes - by mardukL - 2018-07-28, 18:35
RE: Titan Mod with small fixes - by mardukL - 2018-07-28, 18:36
Titan Mod with small fixes - by wsx1 - 2018-07-29, 09:34
RE: Titan Mod with small fixes - by mardukL - 2018-07-29, 16:45
Titan Mod with small fixes - by wsx1 - 2018-07-30, 14:03
RE: Titan Mod with small fixes - by Comma - 2018-07-31, 04:39
RE: Titan Mod with small fixes - by szabi - 2018-07-31, 17:56
RE: Titan Mod with small fixes - by mardukL - 2018-08-01, 22:04
RE: Titan Mod with small fixes - by mardukL - 2018-08-08, 13:33
RE: Titan Mod with small fixes - by mardukL - 2018-08-11, 17:28
RE: Titan Mod with small fixes - by mardukL - 2018-08-13, 09:06
Titan Mod with small fixes - by Gothico - 2018-08-15, 14:54
RE: Titan Mod with small fixes - by mardukL - 2018-08-15, 15:52
Titan Mod with small fixes - by Gothico - 2018-08-15, 16:01
RE: Titan Mod with small fixes - by mardukL - 2018-08-15, 16:19
RE: Titan Mod with small fixes - by Gothico - 2018-08-15, 18:35
RE: Titan Mod with small fixes - by mardukL - 2018-08-15, 18:43
Titan Mod with small fixes - by rflores2323 - 2018-08-20, 04:22
RE: Titan Mod with small fixes - by mardukL - 2018-08-20, 09:33
RE: Titan Mod with small fixes - by mardukL - 2018-08-21, 08:49
RE: Titan Mod with small fixes - by minhgi - 2018-08-20, 17:25
RE: Titan Mod with small fixes - by Juppstein - 2018-08-21, 11:00
RE: Titan Mod with small fixes - by mardukL - 2018-08-21, 13:30
RE: Titan Mod with small fixes - by Gothico - 2018-08-21, 11:53
RE: Titan Mod with small fixes - by mardukL - 2018-08-21, 16:33
RE: Titan Mod with small fixes - by mardukL - 2018-08-21, 16:21
RE: Titan Mod with small fixes - by Juppstein - 2018-08-21, 16:26
RE: Titan Mod with small fixes - by mardukL - 2018-08-23, 20:31
RE: Titan Mod with small fixes - by rhoop206 - 2018-08-26, 23:15
RE: Titan Mod with small fixes - by mardukL - 2018-08-27, 15:49
RE: Titan Mod with small fixes - by mardukL - 2018-09-07, 13:22
RE: Titan Mod with small fixes - by Juppstein - 2018-09-07, 21:24
RE: Titan Mod with small fixes - by mardukL - 2018-09-08, 14:18
RE: Titan Mod with small fixes - by Juppstein - 2018-09-08, 15:14
RE: Titan Mod with small fixes - by mardukL - 2018-09-08, 19:59
RE: Titan Mod with small fixes - by mardukL - 2018-09-08, 20:00
RE: Titan Mod with small fixes - by mardukL - 2018-09-08, 22:23
RE: Titan Mod with small fixes - by Juppstein - 2018-09-08, 23:21
RE: Titan Mod with small fixes - by godeli - 2018-09-09, 22:03
RE: Titan Mod with small fixes - by mardukL - 2018-09-10, 08:14
RE: Titan Mod with small fixes - by jsnj - 2018-09-09, 23:12
RE: Titan Mod with small fixes - by mardukL - 2018-09-10, 08:25
RE: Titan Mod with small fixes - by jsnj - 2018-09-10, 22:09
RE: Titan Mod with small fixes - by mardukL - 2018-09-14, 09:27
RE: Titan Mod with small fixes - by teedo42 - 2018-09-12, 00:24
RE: Titan Mod with small fixes - by mardukL - 2018-09-14, 09:24
RE: Titan Mod with small fixes - by mardukL - 2018-09-14, 21:09
RE: Titan Mod with small fixes - by Juppstein - 2018-09-15, 10:44
RE: Titan Mod with small fixes - by mardukL - 2018-09-15, 17:58
RE: Titan Mod with small fixes - by mardukL - 2018-09-16, 11:49
RE: Titan Mod with small fixes - by Juppstein - 2018-09-15, 19:33
RE: Titan Mod with small fixes - by mardukL - 2018-09-17, 15:37
RE: Titan Mod with small fixes - by mardukL - 2018-09-15, 23:22
RE: Titan Mod with small fixes - by mardukL - 2018-09-16, 10:43
RE: Titan Mod with small fixes - by manny729 - 2018-09-16, 08:54
RE: Titan Mod with small fixes - by mardukL - 2018-09-16, 10:42
RE: Titan Mod with small fixes - by manny729 - 2018-09-17, 03:51
RE: Titan Mod with small fixes - by mardukL - 2018-09-17, 14:23
Unknown symbol on screen - by Picard - 2018-09-24, 06:15
RE: Unknown symbol on screen - by mardukL - 2018-09-24, 09:32
Videolyrics PLUS - by Picard - 2018-09-27, 09:08
RE: Videolyrics PLUS - by mardukL - 2018-09-27, 09:35
Side blade - by Picard - 2018-11-03, 05:41
RE: Side blade - by mardukL - 2018-11-03, 15:49
RE: Titan M O D ( last Updated 25-12-2018) - by mardukL - 2019-01-04, 12:08


Logout Mark Read Team Forum Stats Members Help
Titan M O D ( last Updated 19-12-2019)4.3315
This forum uses Lukasz Tkacz MyBB addons.