playback fixed (fow now)

This commit is contained in:
Marcel van der Veldt 2015-05-08 03:04:46 +02:00
parent 27b13d6509
commit 599fd4e2ac

View file

@ -313,7 +313,7 @@ class WriteKodiMusicDB():
sql="INSERT OR REPLACE into album_artist(idArtist, idAlbum, strArtist) values(?, ?, ?)"
cursor.execute(sql, (artistid, albumid, artist["Name"]))
playurl = PlayUtils().getPlayUrl(server, MBitem["Id"], MBitem)
playurl = PlayUtils().directPlay(MBitem)
#for transcoding we need to create a fake strm file because I couldn't figure out how to set a http or plugin path in the music DB
if playurl.startswith("http"):
#create fake strm file