send message when playlist not exist. #53
This commit is contained in:
parent
e8d1971686
commit
0970bcdb49
@ -109,7 +109,8 @@ class GetSourceFromPlaylist:
|
||||
# when we have no playlist for the current day,
|
||||
# then we generate a black clip
|
||||
# and calculate the seek in time, for when the playlist comes back
|
||||
self.eof_handling('Playlist not exist:', False)
|
||||
self.eof_handling(
|
||||
'Playlist not exist:\n{}'.format(self.json_file), False)
|
||||
|
||||
def get_clip_in_out(self, node):
|
||||
if is_float(node["in"]):
|
||||
@ -185,6 +186,8 @@ class GetSourceFromPlaylist:
|
||||
self.seek = 0.0
|
||||
self.ad = False
|
||||
|
||||
messenger.error(message)
|
||||
|
||||
current_delta, total_delta = get_delta(self.begin)
|
||||
|
||||
self.out = abs(total_delta)
|
||||
|
Loading…
Reference in New Issue
Block a user