pass self to update_user_playlists

This commit is contained in:
j 2018-11-19 20:32:54 +01:00
parent 4fadcf7927
commit b5172bbc96

View file

@ -255,7 +255,7 @@ class Engine:
} for video in videos]
def update_user_playlists(user, watch_cutoff = 0.9):
def update_user_playlists(self, user, watch_cutoff = 0.9):
# Output: playlists with updated in/out time of clips that have been watched.
# Watched is defined as a video being played in full screen.
# "watch_cutoff" parameter: the portion of the clip duration to be determined as watched the whole clip. should be [0,1]