Periodically refetch the playlist

The playlist is refetched every 5 seconds
Add library listing and queuing
debug--
Fix return values