fix #1010 error issues happening from time to time
optimization in playlist parsing/updating