summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-07 15:16:39 +0200
committerGravatar Martin Szulecki2011-04-07 15:16:39 +0200
commita348356b9d7bc856465431965509cae99231809b (patch)
tree33e9b9500ea9a44b5636c4b5bf6437191514bd75
parent000c99126db23bbe5467c2f5f7fcfaf05b343d82 (diff)
downloadtotem-plugin-airplay-a348356b9d7bc856465431965509cae99231809b.tar.gz
totem-plugin-airplay-a348356b9d7bc856465431965509cae99231809b.tar.bz2
Return 404 for new slideshow-features request of iOS 4.3
-rw-r--r--AirPlayService.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/AirPlayService.py b/AirPlayService.py
index be3eeb0..394c434 100644
--- a/AirPlayService.py
+++ b/AirPlayService.py
@@ -119,6 +119,8 @@ class AirPlayProtocolHandler(asyncore.dispatcher_with_send):
elif (request.type == 'PUT' and request.uri.find('/photo')>-1):
self.photo(request.body, request.headers['X-Apple-Transition'])
answer = self.create_request()
+ elif (request.uri.find('/slideshow-features')>-1):
+ answer = self.create_request(404)
elif (request.type == 'GET' and request.uri.find('/server-info')>-1):
self.server_info()
content = '<?xml version="1.0" encoding="UTF-8"?>\