Switch to M3uContent

pull/3344/head
crobibero 5 years ago
parent c243ec7ce9
commit 24f54837e1

@ -466,7 +466,7 @@ namespace Emby.Server.Implementations.Playlists
playlist.PlaylistEntries.Add(entry); playlist.PlaylistEntries.Add(entry);
} }
string text = new M3u8Content().ToText(playlist); string text = new M3uContent().ToText(playlist);
File.WriteAllText(playlistPath, text); File.WriteAllText(playlistPath, text);
} }

@ -95,7 +95,7 @@ namespace MediaBrowser.Providers.Playlists
private IEnumerable<LinkedChild> GetM3u8Items(Stream stream) private IEnumerable<LinkedChild> GetM3u8Items(Stream stream)
{ {
var content = new M3u8Content(); var content = new M3uContent();
var playlist = content.GetFromStream(stream); var playlist = content.GetFromStream(stream);
return playlist.PlaylistEntries.Select(i => new LinkedChild return playlist.PlaylistEntries.Select(i => new LinkedChild

Loading…
Cancel
Save