diff --git a/MediaBrowser.Tests/M3uParserTest.cs b/MediaBrowser.Tests/M3uParserTest.cs index a6f4c3bd8..be7708457 100644 --- a/MediaBrowser.Tests/M3uParserTest.cs +++ b/MediaBrowser.Tests/M3uParserTest.cs @@ -40,5 +40,17 @@ namespace MediaBrowser.Tests Assert.AreEqual("ABC News 04", result[0].Name); Assert.IsNull(result[0].Number); } + + [TestMethod] + public void TestFormat3() + { + BaseExtensions.CryptographyProvider = new CryptographyProvider(); + + var result = new M3uParser(new NullLogger(), null, null, null).ParseString("#EXTINF:0, 3.2 - Movies!\nhttp://mystream", "-", "-"); + Assert.AreEqual(1, result.Count); + + Assert.AreEqual("Movies!", result[0].Name); + Assert.AreEqual("3.2", result[0].Number); + } } }