Skip to content

Commit

Permalink
Merge branch 'watchlater-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
kolsys committed May 29, 2017
2 parents df7b799 + db3c5eb commit 102b877
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,19 @@ def Feed(oid, offset=None):
res = item['content']
break
elif 'section_list' in res and len(res['section_list']['contents']):
res = res['section_list']['contents'][0]
for item in res['section_list']['contents']:
if item['item_type'] == 'playlist_video_list':
res = item
break
elif 'contents' in item:
for subitem in item['contents']:
if subitem['item_type'] == 'playlist_video_list':
res = subitem
break
else:
continue
break

elif 'continuation_contents' in res:
res = res['continuation_contents']
else:
Expand Down
2 changes: 1 addition & 1 deletion Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<key>CFBundleSignature</key>
<string>hook</string>
<key>CFBundleVersion</key>
<string>4.6</string>
<string>4.7</string>

<key>PlexPluginVersionUrl</key>
<string>http://bit.ly/1FuE3dz</string>
Expand Down

0 comments on commit 102b877

Please sign in to comment.