mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-12 14:13:38 +00:00
Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
5fda7e8afd
2 changed files with 4 additions and 5 deletions
|
@ -329,9 +329,8 @@
|
||||||
#end if
|
#end if
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
#if $epResult["location"] != "" and $epResult["location"] != None:
|
#if $epResult["location"]:
|
||||||
#set $root_dirs = $sickbeard.ROOT_DIRS.split('|')
|
#set $video_root = $os.path.dirname($show._location)
|
||||||
#set $video_root = $root_dirs[int(root_dirs[0]) + 1]
|
|
||||||
<video id="$epResult["indexerid"]" class="video-js vjs-default-skin"
|
<video id="$epResult["indexerid"]" class="video-js vjs-default-skin"
|
||||||
controls preload="none" width="64" height="64"
|
controls preload="none" width="64" height="64"
|
||||||
poster="$sbRoot/showPoster/?show=$show.indexerid&which=poster_thumb" data-setup="{}">
|
poster="$sbRoot/showPoster/?show=$show.indexerid&which=poster_thumb" data-setup="{}">
|
||||||
|
|
|
@ -197,7 +197,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
|
||||||
|
|
||||||
cast = etree.SubElement(tv_node, "cast")
|
cast = etree.SubElement(tv_node, "cast")
|
||||||
|
|
||||||
if myShow["_actors"] != None:
|
if getattr(myShow, '_actors', None) is not None:
|
||||||
for actor in myShow['_actors']:
|
for actor in myShow['_actors']:
|
||||||
cur_actor_name_text = actor['name']
|
cur_actor_name_text = actor['name']
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
|
||||||
|
|
||||||
cast = etree.SubElement(episode, "cast")
|
cast = etree.SubElement(episode, "cast")
|
||||||
|
|
||||||
if myShow["_actors"] != None:
|
if getattr(myShow, '_actors', None) is not None:
|
||||||
for actor in myShow['_actors']:
|
for actor in myShow['_actors']:
|
||||||
cur_actor_name_text = actor['name']
|
cur_actor_name_text = actor['name']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue