(self, name, playlist, playlistIndex, position, lastUpdate)
| 395 | return self._connection.runQuery(initQuery) |
| 396 | |
| 397 | def saveRoom(self, name, playlist, playlistIndex, position, lastUpdate): |
| 398 | content = (name, playlist, playlistIndex, position, lastUpdate) |
| 399 | self._connection.runQuery("INSERT OR REPLACE INTO persistent_rooms VALUES (?, ?, ?, ?, ?)", content) |
| 400 | |
| 401 | def deleteRoom(self, name): |
| 402 | self._connection.runQuery("DELETE FROM persistent_rooms where name = ?", [name]) |