aktueller Stand

This commit is contained in:
hubobel 2019-02-12 20:19:52 +01:00
parent d5457380f7
commit 9775f8991d
22 changed files with 692 additions and 216 deletions

17
kodi_db.py Normal file
View file

@ -0,0 +1,17 @@
#Filmdatenbank abfragen
import pymysql
connection = pymysql.connect(db="MyVideos107",
user="hubobel",
passwd="polier2003",
host='10.0.1.59', charset='utf8')
cursor = connection.cursor()
sql = "SELECT * FROM tvshow_view ORDER BY c00 DESC"
resp = cursor.execute(sql)
x = cursor.fetchall()
a=1
antwort={}
for i in x:
print(i[1]+str(i[33]))
antwort[a] = i[1]
a = a + 1
print (antwort)