Kodi Community Forum
Can I display the number of times a film has been watched - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Can I display the number of times a film has been watched (/showthread.php?tid=343701)



Can I display the number of times a film has been watched - JaztheRaz - 2019-05-07

Hi

I am running Kodi 17 on a Pi, using the confluence skin.

When I list my movies is there anyway of showing the number of times a film has been seen, I assume that this data is in the Database file.

I have tried Google but with no luck.

Regards Jaz


RE: Can I display the number of times a film has been watched - Klojum - 2019-05-07

(2019-05-07, 22:17)JaztheRaz Wrote: I assume that this data is in the Database file.

It is, in the videodatabase in the playCount field of the "files" database table.


RE: Can I display the number of times a film has been watched - Karellen - 2019-05-08

(2019-05-07, 22:17)JaztheRaz Wrote: When I list my movies is there anyway of showing the number of times a film has been seen

That depends on which skin you are using. Some skins and some views will show it in the movie list, others will show it in the Movie Information page. Some won't show it at all. Personally, I like seeing the Last Played and Play Count figures so I have had to edit the skins to display it.

Which skin and view are you using?

Maybe this might interest you... https://forum.kodi.tv/showthread.php?tid=210069&pid=2754870#pid2754870


RE: Can I display the number of times a film has been watched - JaztheRaz - 2019-05-08

(2019-05-08, 00:22)Karellen Wrote:
(2019-05-07, 22:17)JaztheRaz Wrote: When I list my movies is there anyway of showing the number of times a film has been seen

That depends on which skin you are using. Some skins and some views will show it in the movie list, others will show it in the Movie Information page. Some won't show it at all. Personally, I like seeing the Last Played and Play Count figures so I have had to edit the skins to display it.

Which skin and view are you using?

Maybe this might interest you... https://forum.kodi.tv/showthread.php?tid=210069&pid=2754870#pid2754870 
Thanks, as stated in my post I am using the confluence skin, thanks for the link. I did modify an old  confluence skin years ago to remove the remaining time when you pause a film.

Will see if I can add.

Regards Jaz


RE: Can I display the number of times a film has been watched - Karellen - 2019-05-09

Ok, if you are sticking with Confluence (and not looking for an alternative skin), then you post is better in the Confluence forum.

I'll move it there.


RE: Can I display the number of times a film has been watched - DaVu - 2019-05-17

There´s a info label for the playcount of an item: ListItem.PlayCount
which returns the playcount of a video in a container as a string (in this case a number)

So the answer to "Can I display the number of times a film has been watched" is yes Wink