write all track and plays info to sqlite