Kodi Community Forum

Full Version: Viewcounter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The viewcounter uses the URL of an Video right ?
So when the same Video has a time token like http://server/Video/fh5664fgabc
It will mit work.
Is There somthing Like Setting a viewid ?
the best way is to properly set the content in your plugin (http://mirrors.xbmc.org/docs/python-docs...setContent)
skins will then automatically select the best view for this content type.
(some more info: http://forum.kodi.tv/showthread.php?tid=299107)
No, i mean the Symbol for already Seen Episodes. Normally the video geht marked as watched .
ah, got it :-)

you need to use setInfo() http://mirrors.xbmc.org/docs/python-docs...em-setInfo
and properly set these two:
Quote: - playcount : integer (2) - number of times this item has been played
- overlay : integer (2) - range is 0..8. See GUIListItem.h for values

ref: https://github.com/xbmc/xbmc/blob/5fed0c....h#L53-L59
Setting Manually is Difficult. Because. I Can only set it before starting the Video. But Normally i gets increased only when it was played completely..
Also Setting a Video Already Played, or Unset wouldnt Work and have to be reimplemented.
I Hoped there is away to tell kodi
http://server.com/video/dkjfdse3w933erdsdsk
is the same like
http://server.com/video/abcdkewrierfkjmfdee12
ánd let kodi do the counter