upnpsoap: Add additonal bookmark support
Add support for upnp:playbackCount and upnp:lastPlaybackPosition tags. These are used by Kodi to keep track of bookmark information as well as determining whether to show the checkmark to indicate that the video has been played. Also add support for the UpdateObject command, which Kodi uses to update the playbackCount and lastPlaybackPosition information. This change requires a DB schema update, which should be done automatically on the first run. Inspired by SF user Karsten's patch #167.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* MiniDLNA media server
|
||||
* Copyright (C) 2013 NETGEAR
|
||||
* Copyright (C) 2013-2017 NETGEAR
|
||||
*
|
||||
* This file is part of MiniDLNA.
|
||||
*
|
||||
@ -254,6 +254,13 @@ struct client_type_s client_types[] =
|
||||
EUserAgent
|
||||
},
|
||||
|
||||
{ EKodi,
|
||||
FLAG_DLNA | FLAG_MIME_AVI_AVI | FLAG_CAPTION_RES,
|
||||
"Kodi",
|
||||
"Kodi",
|
||||
EUserAgent
|
||||
},
|
||||
|
||||
{ 0,
|
||||
FLAG_DLNA | FLAG_MIME_AVI_AVI,
|
||||
"Windows",
|
||||
|
Reference in New Issue
Block a user