PlaylistsNET 1.4.1

dotnet add package PlaylistsNET --version 1.4.1
NuGet\Install-Package PlaylistsNET -Version 1.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PlaylistsNET" Version="1.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PlaylistsNET --version 1.4.1
#r "nuget: PlaylistsNET, 1.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PlaylistsNET as a Cake Addin
#addin nuget:?package=PlaylistsNET&version=1.4.1

// Install PlaylistsNET as a Cake Tool
#tool nuget:?package=PlaylistsNET&version=1.4.1

PlaylistsNET

Simple library for reading and writing playlist's files. Supported formats: m3u, pls, wpl, zpl.

Install

Nuget https://www.nuget.org/packages/PlaylistsNET

Examples

Read

WplContent content = new WplContent();
WplPlaylist playlist = content.GetFromStream(stream);
// or
var parser = PlaylistParserFactory.GetPlaylistParser(".wpl");
IBasePlaylist playlist = parser.GetFromStream(stream);

List<string> paths = playlist.GetTracksPaths();

Save

M3uPlaylist playlist = new M3uPlaylist();
playlist.IsExtended = true;
playlist.PlaylistEntries.Add(new M3uPlaylistEntry()
{
    Album = "New album",
    AlbumArtist = "",
    Duration = TimeSpan.FromSeconds(175),
    Path = @"C:\Music\song.mp3",
    Title = "Track Title"
});

M3uContent content = new M3uContent();
string text = content.ToText(playlist);
// or
string text = PlaylistToTextHelper.ToText(playlist);

/*
#EXTM3U
#EXTALB:New album
#EXTINF:175,Track Title
C:\Music\song.mp3
*/
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.4 is compatible.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 1.4

  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PlaylistsNET:

Package Downloads
AmiIptvParser

A IptvParser library for parser and manage iptv list in m3u8 format

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on PlaylistsNET:

Repository Stars
jellyfin/jellyfin
The Free Software Media System
MediaBrowser/Emby
Emby Server is a personal media server with apps on just about every device.
Otiel/BandcampDownloader
A Windows app used to download albums from Bandcamp.
Splamy/TS3AudioBot
Advanced Musicbot for Teamspeak 3
vesoapp/veso
Open source media server.
Version Downloads Last updated
1.4.1 19,453 1/5/2024
1.4.0 43,307 5/26/2023
1.3.2 1,575 5/18/2023
1.3.1 29,493 12/10/2022
1.3.0 745 12/10/2022
1.2.1 69,602 5/5/2022
1.2.0 876 5/5/2022
1.1.3 103,497 11/12/2020
1.1.2 19,990 7/17/2020
1.1.1 1,012 7/17/2020
1.1.0 977 7/17/2020
1.0.6 12,996 4/25/2020
1.0.5 2,866 2/12/2020
1.0.4 35,677 4/24/2019
1.0.3 4,146 3/11/2019
1.0.2 14,746 6/30/2018
1.0.1 1,480 6/25/2018
1.0.0 1,621 4/11/2018

Add encoding parameter to IPlaylistParser.GetFromStream