Skip to content

Commit

Permalink
Merge pull request #646 from Stremio/feat/external-player-m3u
Browse files Browse the repository at this point in the history
feat(deep_links): add m3u option for open_player
  • Loading branch information
elpiel authored Mar 8, 2024
2 parents db0800f + e95efca commit a90bb16
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/deep_links/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ impl From<(&Stream, Option<&Url>, &Settings)> for ExternalPlayerLink {
macos: Some(format!("mpv://{url}")),
..Default::default()
}),
"m3u" => Some(OpenPlayerLink {
linux: playlist.to_owned(),
windows: playlist.to_owned(),
macos: playlist.to_owned(),
android: playlist.to_owned(),
ios: playlist.to_owned(),
..Default::default()
}),
_ => None,
},
None => None,
Expand Down

0 comments on commit a90bb16

Please sign in to comment.