From f4e6d347f7af3953264b5aba2dc396910cd37b0b Mon Sep 17 00:00:00 2001 From: William McBrine Date: Tue, 15 Apr 2014 21:52:34 -0400 Subject: [PATCH] Allow for even more variance in input to Push(), and TVBusQuery(). --- 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 aa98719..9ab5e09 100644 --- a/plugins/video/video.py +++ b/plugins/video/video.py @@ -152,7 +152,7 @@ class Pushable(object): files = query.get('File', []) for f in files: - file_path = os.path.normpath(path + f) + file_path = os.path.normpath(path + '/' + f) queue.append({'path': file_path, 'name': f, 'tsn': tsn, 'url': baseurl}) if len(queue) == 1: @@ -525,7 +525,7 @@ class BaseVideo(Plugin): tsn = handler.headers.getheader('tsn', '') f = query['File'][0] path = self.get_local_path(handler, query) - file_path = os.path.normpath(path + f) + file_path = os.path.normpath(path + '/' + f) details = self.get_details_xml(tsn, file_path) -- 2.11.4.GIT