xbmc-plugin.video.ted.talks icon indicating copy to clipboard operation
xbmc-plugin.video.ted.talks copied to clipboard

Remember seen videos

Open cristim opened this issue 12 years ago • 4 comments

The plugin should remember the videos that have been seen and mark them as such in the UI.

cristim avatar Mar 18 '12 20:03 cristim

I just played a video, and it seemed to mark it watched (with a tick). Reopen if this isn't the desired behavior.

moreginger avatar May 22 '12 19:05 moreginger

Ah I see, it remembers only until the list of talks is refreshed.

I think YouTube does this by storing something in the settings:

YouTubePlayer.py

self.__settings__.setSetting( "vidstatus-" + video['videoid'], "7" )

YouTubeCore.py

overlay = self.__storage__.retrieveValue("vidstatus-" + video['videoid'] )
if overlay:
    print self.__plugin__ + " _getvideoinfo videoid set to false XXXX XXXX : " + repr(overlay)
    video['Overlay'] = int(overlay)

moreginger avatar May 22 '12 21:05 moreginger

couldn't we have something similar?

cristim avatar Jun 04 '12 23:06 cristim

I think you need to set playcount yourself or not at all (iirc) so Kodi auto recognises it's same URL and gets the playcount from it's database

MartijnKaijser avatar Apr 25 '17 18:04 MartijnKaijser