Compare commits
2 commits
9cc8609244
...
24bd733ef0
| Author | SHA1 | Date | |
|---|---|---|---|
| 24bd733ef0 | |||
| 6a71c56e71 |
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class Engine:
|
||||||
}
|
}
|
||||||
if 'gridChange' not in self.state:
|
if 'gridChange' not in self.state:
|
||||||
self.state['gridChange'] = {
|
self.state['gridChange'] = {
|
||||||
'nextClip': {'locked': False, 'value': 4},
|
'nextClip': {'locked': True, 'value': 4},
|
||||||
'nextPlaylist': {'locked': False, 'value': 4},
|
'nextPlaylist': {'locked': False, 'value': 4},
|
||||||
'staySame': {'locked': False, 'value': 8}
|
'staySame': {'locked': False, 'value': 8}
|
||||||
}
|
}
|
||||||
|
|
@ -137,10 +137,10 @@ class Engine:
|
||||||
next_playlist_index.append(i)
|
next_playlist_index.append(i)
|
||||||
break
|
break
|
||||||
# Discuss how this behavour should be: should it switch to a new playlist if it is the end of the playlist clip sequence already?
|
# Discuss how this behavour should be: should it switch to a new playlist if it is the end of the playlist clip sequence already?
|
||||||
elif prev_grid_list[i].get('playlistPosition') + 1 == len(playlist['clips']):
|
elif prev_grid_list[i].get('playlistPosition', 0) + 1 == len(playlist['clips']):
|
||||||
playlist_pos = 0
|
playlist_pos = 0
|
||||||
else:
|
else:
|
||||||
playlist_pos = prev_grid_list[i].get('playlistPosition') + 1
|
playlist_pos = prev_grid_list[i].get('playlistPosition', 0) + 1
|
||||||
|
|
||||||
rec_list.append((i, {
|
rec_list.append((i, {
|
||||||
'clips': playlist['clips'],
|
'clips': playlist['clips'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue