INTERACT FORUM

Please login or register.

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

Author Topic: 'Last Played' and 'Number of Plays' data update too early on DNLA  (Read 1607 times)

andrewberg

  • Galactic Citizen
  • ****
  • Posts: 418

When playing videos on a DLNA device, the 'Last Played' and 'Number of Plays' data update immediately when playback is started, and even when resumed after pause, respectively.
These data should update in the same standard fashion as they do for local/ MC playback, i.e. only after the file has played down for a certain amount/ percentage of time, and not upon Pause/Resume before the whole file has played down ('Number of Plays' should count entire, not partial playbacks).

It would be great if these could be fixed -- thank you!!
Logged
"To be is to do" (Socrates) - "To do is to be" (Sartre) - "Do be do be do" (Sinatra)

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: 'Last Played' and 'Number of Plays' data update too early on DNLA
« Reply #1 on: June 15, 2017, 03:38:04 am »

It updates the play count every time the track is "served"; there is no way for it to determine whether any particular "serving" actually results in a "playing" of that track by the remote player..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

andrewberg

  • Galactic Citizen
  • ****
  • Posts: 418
Re: 'Last Played' and 'Number of Plays' data update too early on DNLA
« Reply #2 on: June 15, 2017, 01:17:09 pm »

I'm sure there is a way... ;-) Remember that MC is the library server, so it knows both the file/track and the playback zone (e.g., a DLNA device). All that MC has to do is to write the 'Last Played' and 'Number of Plays' data in the same way it dos for local playback (as decribed before), rather than instantly... for example:

With MC is in server mode, a remote device requests a file/track. MC begins to serve the track and count the amount of packages sent (as it always does). Only after the file has been completely sent, not before, MC updates the fields 'Last Played' and 'Number of Plays'. Done.

Shouldn't be too hard...
Logged
"To be is to do" (Socrates) - "To do is to be" (Sartre) - "Do be do be do" (Sinatra)
Pages: [1]   Go Up