Hi,
Occasionally, I download many videos (CES 2015) and cannot easily tell which I have watched. Not sure why many DLNA clients do not have this feature, like xbmc, so I decided to solve the problem.
I have implemented a watched checkmark that only works for Samsung TVs.
Summary:
When a video is stopped, Samsung TVs send out the message "X_SetBookmark", which contains the video position in seconds.
I use this existing function to:
1. Compute percentage of video watched
2. Get minidlna thumbnail location for the current video
2. Run a bash script and pass parameters - this may not be the most secure method, but I'm not a proficient C programmer and it's easier to customize the bash script later after minidlna is compiled.
3. Bash script will execute (graphicsmagick) to place a checkmark over the existing minidlna thumbnail cache
Screenshot:
Green checkmark placed in bottom right corner of "The Verge" video
http://i.imgur.com/94IW9rL.jpg
It works well for my Samsung F series TV, but there are a few caveats for my Samsung C series.
These actions may falsely trigger the script and create a watched checkmark:
1. Samsung C series - resuming a video
2. Quickly stopping a video in the beginning at position 0
More Info.