Posts: 219
Joined: Feb 2012
Reputation:
0
2012-08-21, 15:34
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.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you can disable the dialog in general (see video/music settings), but it can't be specifically disabled for certain scans.
Posts: 1,265
Joined: Oct 2009
Reputation:
29
takoi
Team-Kodi Member
Posts: 1,265
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.