mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +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
|
||||
</td>
|
||||
<td>
|
||||
#if $epResult["location"] != "" and $epResult["location"] != None:
|
||||
#set $root_dirs = $sickbeard.ROOT_DIRS.split('|')
|
||||
#set $video_root = $root_dirs[int(root_dirs[0]) + 1]
|
||||
#if $epResult["location"]:
|
||||
#set $video_root = $os.path.dirname($show._location)
|
||||
<video id="$epResult["indexerid"]" class="video-js vjs-default-skin"
|
||||
controls preload="none" width="64" height="64"
|
||||
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")
|
||||
|
||||
if myShow["_actors"] != None:
|
||||
if getattr(myShow, '_actors', None) is not None:
|
||||
for actor in myShow['_actors']:
|
||||
cur_actor_name_text = actor['name']
|
||||
|
||||
|
@ -328,7 +328,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
|
|||
|
||||
cast = etree.SubElement(episode, "cast")
|
||||
|
||||
if myShow["_actors"] != None:
|
||||
if getattr(myShow, '_actors', None) is not None:
|
||||
for actor in myShow['_actors']:
|
||||
cur_actor_name_text = actor['name']
|
||||
|
||||
|
|
Loading…
Reference in a new issue