Kodi Community Forum
Resume / Finished Video Flag - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: AppTV (https://forum.kodi.tv/forumdisplay.php?fid=76)
+---- Thread: Resume / Finished Video Flag (/showthread.php?tid=366700)



Resume / Finished Video Flag - jpeg73 - 2022-01-25

Dear, 
Some minor issue but might it be possible to have a flag indicating if a movie is fully watched or not ? 
attached some illustration
Thanks in advance 
JP

Image


RE: Resume / Finished Video Flag - Klojum - 2022-01-25

(2022-01-25, 14:25)jpeg73 Wrote: Some minor issue but might it be possible to have a flag indicating if a movie is fully watched or not ? 

The top entry in your video list already has that.
You can reset the resume point of a video via its context menu.

You can also press the 'w' button to toggle the watched/unwatched state of a video.


RE: Resume / Finished Video Flag - jpeg73 - 2022-01-25

Thx for the reply
In apptv Top entry menu allow me to sort , yes
but no flags are present in apptv as estuary does

any way to display them ?


RE: Resume / Finished Video Flag - jpeg73 - 2022-01-25

To share some solution, 

Ive added in Includes_variables.xml
    <variable name="ListCompletionFlags">
        <value condition="ListItem.IsResumable">OverlayPartialyWatched.png</value>
        <value condition="!String.IsEmpty(ListItem.Overlay)">$INFO[ListItem.Overlay]</value>
    </variable>
and Ive added in View-video.xml 
just before </itemlayout> & </focusedlayout>
                <control type="image"> 
                    <left>676</left>
                    <top>48</top>
                    <width>48</width>
                    <height>48</height>
                    <texture>$VAR[ListCompletionFlags]</texture>
                </control>

This solve my issue
Regards,JP


RE: Resume / Finished Video Flag - wyrm - 2022-01-26

(2022-01-25, 18:11)jpeg73 Wrote: To share some solution, 

Ive added in Includes_variables.xml
    <variable name="ListCompletionFlags">
        <value condition="ListItem.IsResumable">OverlayPartialyWatched.png</value>
        <value condition="!String.IsEmpty(ListItem.Overlay)">$INFO[ListItem.Overlay]</value>
    </variable>
and Ive added in View-video.xml 
just before </itemlayout> & </focusedlayout>
                <control type="image"> 
                    <left>676</left>
                    <top>48</top>
                    <width>48</width>
                    <height>48</height>
                    <texture>$VAR[ListCompletionFlags]</texture>
                </control>

This solve my issue
Regards,JP
@jpeg73 ,

Thanks tiger, sounds like a wonderful idea. Only one problem, this has been a part of the skin since before Estuary was a twinkle in Phil65's eye.

As has been explained before a number of times, my implimentation follows iOS conventions (which as a Mac user you should recognise). Full blue circle is new (thus unwatched), half circle is partially watched (this also applies to TVShow seasons in the Library, but NOT in Files section) and NO image is watched. 

Wyrm