From 9d866f9fc98c2d19b6d98f83da49fe2b5c437460 Mon Sep 17 00:00:00 2001
From: angelblue05 <tamara.angel05@gmail.com>
Date: Thu, 23 Jul 2015 04:02:41 -0500
Subject: [PATCH] Quick follow up

Including additional logging.
---
 resources/lib/PlayUtils.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py
index 8267d33c..84a3e51e 100644
--- a/resources/lib/PlayUtils.py
+++ b/resources/lib/PlayUtils.py
@@ -158,10 +158,12 @@ class PlayUtils():
         location = result[u'LocationType']
         # File can be FileSystem or Remote, not Virtual
         if u'Virtual' in location:
+            self.logMsg("File location is virtual. Can't proceed.", 1)
             return False
 
         # Verify BitRate
         if not self.isNetworkQualitySufficient(result):
+            self.logMsg("The network speed is insufficient to playback the file.", 1)
             return False
 
         return True
@@ -318,7 +320,7 @@ class PlayUtils():
 
     def audioSubsPref(self, mediaSources):
 
-        addon = xbmcaddon.Addon(id=self.addonId)
+        addon = xbmcaddon.Addon()
 
         defaultAudio = mediaSources[0][u'DefaultAudioStreamIndex']
         playurlprefs = "&AudioStreamIndex=%s" % defaultAudio