This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xbmc, xbmcvfs, xbmcaddon, xbmcgui,re, os, glob, thread | |
from datetime import datetime | |
try: from sqlite3 import dbapi2 as database | |
except: from pysqlite2 import dbapi2 as database | |
def main(): | |
class enableAll(): | |
def __init__(self): | |
self.databasepath = xbmc.translatePath('special://database/') | |
self.addons = xbmc.translatePath('special://home/addons/') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import json | |
def vdf_parse(steam_config_file, config): | |
line = " " | |
while line: | |
line = steam_config_file.readline() | |
if not line or line.strip() == "}": | |
return config |