Started adding export / export of playhead queue via json for easy transferring / restarting db.

This commit is contained in:
Justin Emter
2017-08-09 19:07:55 -07:00
parent 753c800854
commit f55f90819d
3 changed files with 62 additions and 5 deletions

View File

@@ -282,6 +282,14 @@ class PseudoChannelDatabase():
Getters, etc.
"""
def get_shows_table(self):
sql = "SELECT lastEpisodetitle FROM shows"
self.cursor.execute(sql)
return self.cursor.fetchall()
def get_media(self, title, mediaType):
media = mediaType