diff --git a/xbmc/network/upnp/UPnPServer.cpp b/xbmc/network/upnp/UPnPServer.cpp index df79d3f2bd41f..2bee4dd1fa98a 100644 --- a/xbmc/network/upnp/UPnPServer.cpp +++ b/xbmc/network/upnp/UPnPServer.cpp @@ -412,7 +412,7 @@ CUPnPServer::Announce(AnnouncementFlag flag, const char *sender, const char *mes int item_id; string item_type; - if (strcmp(sender, "xbmc")) + if (strcmp(sender, "kodi")) return; if (strcmp(message, "OnUpdate") && strcmp(message, "OnRemove") @@ -1073,7 +1073,7 @@ CUPnPServer::OnUpdateObject(PLT_ActionReference& action, CVariant data; data["id"] = updated.GetVideoInfoTag()->m_iDbId; data["type"] = updated.GetVideoInfoTag()->m_type; - ANNOUNCEMENT::CAnnouncementManager::Get().Announce(ANNOUNCEMENT::VideoLibrary, "xbmc", "OnUpdate", data); + ANNOUNCEMENT::CAnnouncementManager::Get().Announce(ANNOUNCEMENT::VideoLibrary, "kodi", "OnUpdate", data); } updatelisting = true; }