Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuk committed May 11, 2018
2 parents 457b060 + 111375c commit e1a1bdf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.plex"
name="Plex"
version="0.1.5"
version="0.1.6"
provider-name="Plex">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[- 0.1.6 -]

Fix issues when selecting subtitles for users of certain languages (Issue #188)

[- 0.1.5 -]

Allow direct playback of episodes and movies using the play button on hub screen (thanks to pannal)
Expand Down
8 changes: 4 additions & 4 deletions lib/_included_packages/plexnet/plexstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def getTitle(self, translate_func=util.dummyTranslate):
channels = self.getChannels(translate_func)

if codec != "" and channels != "":
title += " ({0} {1})".format(codec, channels)
title += u" ({0} {1})".format(codec, channels)
elif codec != "" or channels != "":
title += " ({0}{1})".format(codec, channels)
title += u" ({0}{1})".format(codec, channels)
elif streamType == self.TYPE_SUBTITLE:
extras = []

Expand All @@ -64,11 +64,11 @@ def getTitle(self, translate_func=util.dummyTranslate):
extras.append(translate_func("Forced"))

if len(extras) > 0:
title += " ({0})".format('/'.join(extras))
title += u" ({0})".format('/'.join(extras))
elif streamType == self.TYPE_LYRICS:
title = translate_func("Lyrics")
if self.format:
title += " ({0})".format(self.format)
title += u" ({0})".format(self.format)

return title

Expand Down

0 comments on commit e1a1bdf

Please sign in to comment.