How can I silently update and clean library through python?
#1
Star 
How can I silently update and clean library through python so that no info dialog or dialog window gets displayed?

xbmc.executebuiltin("updatelibrary(music)")
and
xbmc.executebuiltin("cleanlibrary(music)")

displays progress status on screen, I don't want that.

Thanks for help in advance.
Reply
#2
you can disable the dialog in general (see video/music settings), but it can't be specifically disabled for certain scans.
Reply
#3
It hapeens in a service called "XBMC Library Auto Update". They are doing it in python but I don't understand their code Sad .
Reply
#4
I'm pretty sure that addon does not do it silently. And that setting spiff's talking about works but will only apply to updates.

Actually, the clean library dialog is modal and will not only always show up in the middle of the screen, but completely lock the gui as long as it's running (which might be like 30 seconds or more). It's really annoying, but I don't think currently there's any way around it.
Reply

Logout Mark Read Team Forum Stats Members Help
How can I silently update and clean library through python? 0