Some restructuring, cs.music_library.rescan() added instead previous plain code.