diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs index c4411aa..ec84254 100644 --- a/Pages/Index.cshtml.cs +++ b/Pages/Index.cshtml.cs @@ -24,6 +24,9 @@ namespace webmusic.Pages { Response.Redirect("/Error"); return; } + + if (Path.EndsWith(".m3u")) + Path = Path.Substring(0, Path.Length - 4); if (Path.EndsWith(".lrc")) return;