ASIptvServer.M3U 1.0.4

dotnet add package ASIptvServer.M3U --version 1.0.4
                    
NuGet\Install-Package ASIptvServer.M3U -Version 1.0.4
                    
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="ASIptvServer.M3U" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ASIptvServer.M3U" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="ASIptvServer.M3U" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ASIptvServer.M3U --version 1.0.4
                    
#r "nuget: ASIptvServer.M3U, 1.0.4"
                    
#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.
#:package ASIptvServer.M3U@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ASIptvServer.M3U&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=ASIptvServer.M3U&version=1.0.4
                    
Install as a Cake Tool

ASIptvServer.M3U

ASIptvServer.M3U uma biblioteca C# que fornece funcionalidades para ler listas m3u .

Funcionalidades

  • Ler varios formatos de listas
  • faz download da url e salva em arquivo m3u
  • Separa no logo e url
  • verifica se é uma série, filme ou programa de tv

Exemplo de Código com arquivos m3u

using ASIptvServer.M3U;

class Program
{
    static void Main(string[] args)
    {
        var pathM3u = @"C:\list.m3u";
        M3UPath m3UPath = new M3UPath(pathM3u);
        var dt = M3UList.M3uPath(m3UPath);
        foreach (var item in dt)
        {
            Console.WriteLine(item.Id);  // Saída: "01"
            Console.WriteLine(item.Name);  // Saída: "ex!"
            Console.WriteLine(item.Logo);  // Saída: "http://urlLogo"
            Console.WriteLine(item.Categories);  // Saída: "Movies | action"
            Console.WriteLine(item.Movies);  // Saída: "true"
            Console.WriteLine(item.Series);  // Saída: "false"
            Console.WriteLine(item.Tv);  // Saída: "false"
            Console.WriteLine(item.Radio);  // Saída: "false"
        }  
    }
}

Exemplo de Código com url m3u

using ASIptvServer.M3U;

class Program
{
    static void Main(string[] args)
    {
        var urlM3u = @"http://url.m3u";
        M3Uurl m3uUrl = new M3Uurl(urlM3u);
        var dt = M3UList.M3Uurl(m3uUrl);
        foreach (var item in dt.Result)
        {
            Console.WriteLine(item.Id);  // Saída: "01"
            Console.WriteLine(item.Name);  // Saída: "ex!"
            Console.WriteLine(item.Logo);  // Saída: "http://urlLogo"
            Console.WriteLine(item.Categories);  // Saída: "Movies | action"
            Console.WriteLine(item.Movies);  // Saída: "true"
            Console.WriteLine(item.Series);  // Saída: "false"
            Console.WriteLine(item.Tv);  // Saída: "false"
            Console.WriteLine(item.Radio);  // Saída: "false"
        }
        
    }
}

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 197 10/10/2024
1.0.3 164 10/10/2024
1.0.2 171 10/9/2024