diff --git a/pod/playlist/utils.py b/pod/playlist/utils.py index 8de6482b16..62e3e9047a 100644 --- a/pod/playlist/utils.py +++ b/pod/playlist/utils.py @@ -380,6 +380,7 @@ def check_password(form_password: str, playlist: Playlist) -> bool: hashed_password = hashlib.sha256(form_password.encode("utf-8")).hexdigest() return hashed_password == playlist.password + def playlist_can_be_displayed(request: WSGIRequest, playlist: Playlist) -> bool: """ Check if the playlist can be displayed by the current user. diff --git a/pod/video/views.py b/pod/video/views.py index 9780390bf8..e185785b4e 100644 --- a/pod/video/views.py +++ b/pod/video/views.py @@ -38,7 +38,6 @@ from pod.playlist.apps import FAVORITE_PLAYLIST_NAME from pod.playlist.models import Playlist, PlaylistContent from pod.playlist.utils import ( - get_playlists_for_additional_owner, get_video_list_for_playlist, playlist_can_be_displayed, user_can_see_playlist_video,