Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

airplay: switch to non apple tv name

This makes discovery of xbmc more reliable in mac osx.

Thanx to matli on forum for find.

Signed-off-by: Joakim Plate <>
Signed-off-by: Memphiz <>
  • Loading branch information...
commit 77ede9aac30e241df44839312bfd83aec94b37bf 1 parent ca8f3f7
@elupus elupus authored
2  xbmc/Application.cpp
@@ -1589,7 +1589,7 @@ bool CApplication::StartAirplayServer()
txt.push_back(std::make_pair("deviceid", "FF:FF:FF:FF:FF:F2"));
txt.push_back(std::make_pair("features", "0x77"));
- txt.push_back(std::make_pair("model", "AppleTV2,1"));
+ txt.push_back(std::make_pair("model", "Xbmc,1"));
txt.push_back(std::make_pair("srcvers", AIRPLAY_SERVER_VERSION_STR));
CZeroconf::GetInstance()->PublishService("servers.airplay", "_airplay._tcp", g_infoManager.GetLabel(SYSTEM_FRIENDLY_NAME), listenPort, txt);
ret = true;
2  xbmc/network/AirPlayServer.cpp
@@ -119,7 +119,7 @@ const char *eventStrings[] = {"playing", "paused", "loading", "stopped"};
1  xbmc/network/AirTunesServer.cpp
@@ -524,6 +524,7 @@ bool CAirTunesServer::StartServer(int port, bool nonlocal, bool usePassword, con
txt.push_back(std::make_pair("da", "true"));
txt.push_back(std::make_pair("vs", "130.14"));
txt.push_back(std::make_pair("md", "0,1,2"));
+ txt.push_back(std::make_pair("am", "Xbmc,1"));
CZeroconf::GetInstance()->PublishService("servers.airtunes", "_raop._tcp", appName, port, txt);

2 comments on commit 77ede9a


Confirmed that it also fixes airplay from ios 6.1.x clients. Added to backports.


Confirmed that this patch fixed playing audio via AirPlay on the iPad 3 running iOS6.1.2, the MacBook Air running OSX 10.7.5 and the MacBook Pro Retina running OSX 10.8.2

I did have to disable the Wi-Fi IPv6 support through console (networksetup -setv6off Wi-Fi) on the laptops because they were getting connect errors with IPv6.

The only issue im still having is that I am not able to set my system audio output to XBMC on OSX 10.7.5 while this is working perfectly on OSX 10.8.2


Please sign in to comment.
Something went wrong with that request. Please try again.