Explorar o código

Merge pull request #626 from EraYaN/m3uparser-syntax-fix

Fix extra type name in parameter, add out keyword
Joshua M. Boniface %!s(int64=6) %!d(string=hai) anos
pai
achega
1bd477e2e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs

+ 1 - 1
Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs

@@ -291,7 +291,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
 
             if (string.IsNullOrWhiteSpace(name))
             {
-                attributes.TryGetValue("tvg-id", string name);
+                attributes.TryGetValue("tvg-id", out name);
             }
 
             if (string.IsNullOrWhiteSpace(name))