aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/playlist.py')
-rw-r--r--youtube/playlist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/playlist.py b/youtube/playlist.py
index a5ec0db..e596eae 100644
--- a/youtube/playlist.py
+++ b/youtube/playlist.py
@@ -1,4 +1,4 @@
-from youtube import util, yt_data_extract, proto
+from youtube import util, yt_data_extract, proto, local_playlist
from youtube import yt_app
import settings
@@ -115,6 +115,7 @@ def get_playlist_page():
video_count = 40
return flask.render_template('playlist.html',
+ header_playlist_names = local_playlist.get_playlist_names(),
video_list = info.get('items', []),
num_pages = math.ceil(video_count/20),
parameters_dictionary = request.args,