Skip to content

Commit

Permalink
[UPnPServer] xbmc -> kodi sender/CAnnouncementManager
Browse files Browse the repository at this point in the history
not sure about a few xbmc -> kodi like line xbmc#107 xbmc#1261 xbmc#1263 xbmc#1265
  • Loading branch information
uNiversaI authored and uNiversaI committed Feb 9, 2015
1 parent 74d6e28 commit 0cb59bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/network/upnp/UPnPServer.cpp
Expand Up @@ -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")
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 0cb59bc

Please sign in to comment.