def savecurrenthash(_hash):
media_file = xbmc.getInfoLabel('Player.Filenameandpath')
media_dict = {"file" : media_file, "hash":_hash}
if not os.path.exists(tweet_file):
if not os.path.exists(addon_userdata):
os.mkdir(addon_userdata)
FileIO.filewrite(tweet_file,json.dumps(media_dict))
return
评论列表
文章目录