From cd9b35e07c0a2a50b63261f7291c1c5dea98631c Mon Sep 17 00:00:00 2001 From: KRKeegan Date: Wed, 6 Feb 2008 18:09:51 -0800 Subject: [PATCH] Allow browsing of XML from Browser Old version would block requests that lack TSNs. This will allow requests from non-TiVos such as internet browsers. It will use a generic TSN to store the info. --- plugins/video/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/video/video.py b/plugins/video/video.py index a33082b..f496f85 100644 --- a/plugins/video/video.py +++ b/plugins/video/video.py @@ -46,8 +46,8 @@ class Video(Plugin): #not a tivo if not tsn: - debug_write(['Hack this was not a TiVo request.', '\n']) - return query, None + debug_write(['Hack this was not a TiVo request. Using default tsn.', '\n']) + tsn = '123456789' #this breaks up the anchor item request into seperate parts if 'AnchorItem' in query and (query['AnchorItem']) != ['Hack8.3']: -- 2.11.4.GIT