The Free Software Media System - Server Backend & API
Switch to M3uContent
crobibero24f54837e152
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.csindex 9feef5d8d8..184d64e608 100644--- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs+++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs@@ -466,7 +466,7 @@ namespace Emby.Server.Implementations.Playlistsplaylist.PlaylistEntries.Add(entry);}- string text = new M3u8Content().ToText(playlist);+ string text = new M3uContent().ToText(playlist);File.WriteAllText(playlistPath, text);}diff --git a/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs b/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.csindex 9fc86b213e..ed0601c00e 100644--- a/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs+++ b/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs@@ -95,7 +95,7 @@ namespace MediaBrowser.Providers.Playlistsprivate IEnumerable<LinkedChild> GetM3u8Items(Stream stream){- var content = new M3u8Content();+ var content = new M3uContent();var playlist = content.GetFromStream(stream);return playlist.PlaylistEntries.Select(i => new LinkedChild