Example #1
0
def library_update():
    from mediapoisk.library import update_library

    update_library()
Example #2
0
def safe_update():
    try:
        update_library()
        plugin.close_storages()
    except Exception as e:
        plugin.log.exception(e)