Skip to content

Commit

Permalink
plugin.video.stan.au -> v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman authored and johnny5-is-alive committed Sep 26, 2023
1 parent 3f4c581 commit 743e834
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugin.video.stan.au/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.stan.au" name="Stan" provider-name="SlyGuy" version="0.4.4">
<addon id="plugin.video.stan.au" name="Stan" provider-name="SlyGuy" version="0.4.5">
<requires>
<import addon="script.module.slyguy" version="0.63.1"/>
</requires>
Expand Down
12 changes: 5 additions & 7 deletions plugin.video.stan.au/resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,12 @@ def parse(url, title=None, page=1, **kwargs):
#art = {'thumb': row['thumbnail']},
path = plugin.url_for(parse, url=row['url'], title=row['title']),
)
else:
if data.get('type') == 'single_list':
data = api.url(data['entries'][0]['url'])

return folder

if data.get('type') == 'single_list':
data = api.url(data['entries'][0]['url'])

items = _process_entries(data['entries'])
folder.add_items(items)
items = _process_entries(data['entries'])
folder.add_items(items)

return folder, data.get('next')

Expand Down

0 comments on commit 743e834

Please sign in to comment.