コード例 #1
0
ファイル: plugin.py プロジェクト: stopinskipawel/kodi
def clear(token):
    # type: (str) -> None
    """Clear cached or recently played items"""
    if token == "cache" and ku.confirm():
        iwm.cache_clear()
    if token == "recent" and ku.confirm():
        iwm.cache_clear()
コード例 #2
0
def clear(idx):
    # type: (str) -> None
    """Clear cached or recently played items"""
    if idx == "cache" and ku.confirm():
        dws.cache_clear()
    elif idx == "recent" and ku.confirm():
        dws.recents.clear()
    elif idx == "search" and ku.confirm():
        dws.searches.clear()
コード例 #3
0
def clear(token):
    if token == "cache" and ku.confirm():
        bcfs.cache_clear()
コード例 #4
0
ファイル: plugin.py プロジェクト: Lunatixz/repo-plugins
def clear(token):
    if token == "cache" and ku.confirm():
        eafa.cache_clear()
コード例 #5
0
ファイル: plugin.py プロジェクト: kusinkay/repo-plugins
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()
コード例 #6
0
def clear(token):
    if token == "cache" and ku.confirm():
        jafc.cache_clear()
    if token == "recent" and ku.confirm():
        jafc.recent_clear()
コード例 #7
0
ファイル: plugin.py プロジェクト: Lunatixz/repo-plugins
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()