forked from Keelrleek/SoulStream
playlists + player: every service's list through one door with its names matched for real, and shuffle that readies exactly what it promises
This commit is contained in:
1 parent
30eb6fe025
commit
50414dae5c
16 files changed
+4157
-154
No files matched your search
@@ -233,7 +233,7 @@ fn parse_m3u(bytes: &[u8]) -> Result<ParsedPlaylist, String> {
|
||||
|
||||
/// "Artist - Title" (or the em/en-dash forms) split. Returns (artist, title);
|
||||
/// no separator means the whole display string is the title.
|
||||
fn split_artist_title(display: &str) -> (Option<String>, Option<String>) {
|
||||
pub(crate) fn split_artist_title(display: &str) -> (Option<String>, Option<String>) {
|
||||
let display = display.trim();
|
||||
if display.is_empty() {
|
||||
return (None, None);
|
||||
|
||||
Reference in new issue
Block a user