(self, watcher, index)
| 241 | watcher.setPlaylistIndex(room.getName(), room.getPlaylistIndex()) |
| 242 | |
| 243 | def setPlaylistIndex(self, watcher, index): |
| 244 | room = watcher.getRoom() |
| 245 | if room.canControl(watcher): |
| 246 | watcher.getRoom().setPlaylistIndex(index, watcher) |
| 247 | self._roomManager.broadcastRoom(watcher, lambda w: w.setPlaylistIndex(watcher.getName(), index)) |
| 248 | else: |
| 249 | watcher.setPlaylistIndex(room.getName(), room.getPlaylistIndex()) |
| 250 | |
| 251 | def _allowTLSconnections(self, path): |
| 252 | try: |
nothing calls this directly
no test coverage detected