Switch to M3uContent

This commit is contained in:
crobibero 2020-06-15 08:34:24 -06:00
parent c243ec7ce9
commit 24f54837e1
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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