Skip to content

Commit

Permalink
Fix my reintroduced bug with stream.get() + change version and log
Browse files Browse the repository at this point in the history
  • Loading branch information
zbyna committed Dec 19, 2016
1 parent 9af5aae commit e2ac85f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<addon id="script.module.stream.resolver" name="Stream Resolver" provider-name="Libor Zoubek" version="1.6.445">
<addon id="script.module.stream.resolver" name="Stream Resolver" provider-name="Libor Zoubek" version="1.6.447">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.module.simplejson" version="2.0.10" />
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[B]1.6.446:[/B]
- Add possibility for downloading to SMB shares (zbyna)
- Fix subtitles handling for sosac when playing from
library with slower internet connection (zbyna)
[B]1.6.445:[/B]
- Fix error when "headers" key is missing (mx3L)
[B]1.6.435:[/B]
Expand Down
4 changes: 2 additions & 2 deletions lib/contentprovider/xbmcprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ def play(self, item, sosac=None):
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, li)
if 'subs' in self.settings.keys():
if self.settings['subs'] == True:
xbmcutil.load_subtitles(stream['subs'], stream['headers'], sosac)
xbmcutil.load_subtitles(stream['subs'], stream.get('headers'), sosac)
else: # optional setting - plugin may not supply it
xbmcutil.load_subtitles(stream['subs'], stream['headers'], sosac)
xbmcutil.load_subtitles(stream['subs'], stream.get('headers'), sosac)
if sosac is not None:
return sosac

Expand Down

0 comments on commit e2ac85f

Please sign in to comment.