Layout: refactor item system to be more maintainable, add vertical item type

This commit is contained in:
James Taylor
2019-08-23 14:48:00 -07:00
parent 70d2cff817
commit 85572c94de
7 changed files with 167 additions and 312 deletions

View File

@@ -82,7 +82,6 @@ def get_local_playlist_videos(name, offset=0, amount=50):
else:
info['thumbnail'] = util.get_thumbnail_url(info['id'])
missing_thumbnails.append(info['id'])
info['item_size'] = 'small'
info['type'] = 'video'
yt_data_extract.add_extra_html_info(info)
videos.append(info)