mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Switch to M3uContent
This commit is contained in:
parent
c243ec7ce9
commit
24f54837e1
@ -466,7 +466,7 @@ namespace Emby.Server.Implementations.Playlists
|
||||
playlist.PlaylistEntries.Add(entry);
|
||||
}
|
||||
|
||||
string text = new M3u8Content().ToText(playlist);
|
||||
string text = new M3uContent().ToText(playlist);
|
||||
File.WriteAllText(playlistPath, text);
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ namespace MediaBrowser.Providers.Playlists
|
||||
|
||||
private 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user