skipToNext method
Skips to the next track in the playlist.
Returns true if successful, false if at the end of the playlist.
Implementation
Future<bool> skipToNext() async {
final playlist = _playlist;
if (playlist == null) return false;
if (!playlist.next()) {
return false;
}
final source = playlist.currentSource;
if (source == null) return false;
if (source is UriAudioSource) {
return await startPlayback(source.uri.toString());
}
return false;
}