Added Playlist end reached logic