2020-04-24, 19:56
When I start a video in Kodi 18.6 or any version and stop that video after 0.1 seconds the lastPlayed is registered in the database. This will have videos with playCount [NULL] and a valid lastPlayed
This results in weird behaviour when you are creating a Smart Playlist for instance, to only include shows you are currently watching in the last x days.
Smart Playlist like this:
Shows that you accidentally have started and stopped within a second will be counted for lastPlayed
It would make much more sense to register a lastPlayed when an episode is counted as finished and the playCount is incremented since there is not LastWatched in the database
Already created a bug report but it was not deemed a bug but a feature request.
https://github.com/xbmc/xbmc/issues/17717
This results in weird behaviour when you are creating a Smart Playlist for instance, to only include shows you are currently watching in the last x days.
Smart Playlist like this:
xml:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>TV Shows In Progress</name>
<match>all</match>
<rule field="playlist" operator="is">
<value>TV Shows</value>
</rule>
<rule field="inprogress" operator="true" />
<rule field="lastplayed" operator="inthelast">
<value>45</value>
</rule>
</smartplaylist>
Shows that you accidentally have started and stopped within a second will be counted for lastPlayed
It would make much more sense to register a lastPlayed when an episode is counted as finished and the playCount is incremented since there is not LastWatched in the database
Already created a bug report but it was not deemed a bug but a feature request.
https://github.com/xbmc/xbmc/issues/17717