Esempio n. 1
0
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()
Esempio n. 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()
Esempio n. 3
0
def clear(token):
    if token == "cache" and ku.confirm():
        bcfs.cache_clear()
Esempio n. 4
0
def clear(token):
    if token == "cache" and ku.confirm():
        eafa.cache_clear()
Esempio n. 5
0
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()
Esempio n. 6
0
def clear(token):
    if token == "cache" and ku.confirm():
        jafc.cache_clear()
    if token == "recent" and ku.confirm():
        jafc.recent_clear()
Esempio n. 7
0
def clear(id):
    if id == "cache" and ku.confirm():
        bfis.cache_clear()
    if id == "recent" and ku.confirm():
        bfis.recent_clear()