INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DLNA - Items getting marked as 'played' just by scanning the files?  (Read 827 times)

BartMan01

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1513

I was testing out Infuse connected to Media Center via DLNA as a possible solution to having files offline on my iOS devices. I very quickly noticed that when I browsed to a new media view it was marking many/all of the videos as 'played' in MC as it scanned the folder to see what was there and pull metadata down. Is there something I can set in the DLNA settting to keep this from happening?
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: DLNA - Items getting marked as 'played' just by scanning the files?
« Reply #1 on: June 21, 2018, 07:59:57 am »

The MC server is probably counting any HTTP GET request on the track as a “play”. So even if the client is just pulling meta data it will count. To be frank I don’t see any way that MC could really differentiate between HTTP GETs for playing or for meta data..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

BartMan01

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1513
Re: DLNA - Items getting marked as 'played' just by scanning the files?
« Reply #2 on: June 21, 2018, 07:55:29 pm »

As the server it can't tell how much of the content has been sent out in response to the 'get' or how far in to the content it has served the stream? Not savvy enough with the technical details it seems like there might be a way to know how much of a video has been sent and trigger the 'play' response after a certain point. May not be possible with short format content since a single 'get' may be able to pull an entire song but I can't see that could happen with a several GB video file.

Edit: Really this is only an issue with video files where I need to be able to track what I have and have not watched. I have a bunch of recorded TV shows that I am behind on and need to know where I left off when I come back a few weeks later. If there is no way to (semi)accurately track status via DLNA then that kills that approach.

Thanks.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: DLNA - Items getting marked as 'played' just by scanning the files?
« Reply #3 on: June 23, 2018, 03:52:52 pm »

I have seen renderers that do a GET for the start of the file to look for meta data, followed by a GET for the end of the file to look for an appended ID3v2 meta data tag. So just checking if the beginning and end of the track have been accessed would not be sufficient to identify an actual play. Also a total download of a track is not necessarily a proof that the track has actually been played out (it might have just been preloaded into buffer). OTOH it might theoretically be possible if MC were to check GetTransportState or GetPositionInfo to determine if something was actually being played. However I fear that different renderers would give different indications, so it might be hard to be consistent..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

BartMan01

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1513
Re: DLNA - Items getting marked as 'played' just by scanning the files?
« Reply #4 on: June 23, 2018, 09:46:13 pm »

Thanks for the explanation. How hard would it be to have an option to NOT update play status based on DLNA activity? I would rather manually update play status vs having shows I haven't watched (or have partially watched) getting marked as played.
Logged
Pages: [1]   Go Up