コード例 #1
0
def setStrmFolder():
    strm_folder = strm().getStrmFolder()
    if strm_folder:
        strm().setStrmFolder(strm_folder)
    else:
        xbmcgui.Dialog().ok("Error",
                            "Destination folder hasn't been selected!")
コード例 #2
0
def createStrmFile(name, content):
    strm().createStrmFile(name, content)
コード例 #3
0
def createStrmFileFromPlaylist(playlist):
    strm_folder = strm().getStrmFolder()
    strm().deleteFilesFromFolder(strm_folder)
    strm().createStrmFileFromPlaylist(playlist)
コード例 #4
0
def selectStrmFolder():
    strm().selectStrmFolder()
コード例 #5
0
def createInstance():

    return strm()