diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml
index 4572b87..c4a5b7e 100644
--- a/Pages/Index.cshtml
+++ b/Pages/Index.cshtml
@@ -1,4 +1,5 @@
@page
+@using System.IO
@model IndexModel
@{
ViewData["Title"] = $"webmusic on .NET {Environment.Version}";
@@ -38,7 +39,7 @@ else {
@if (System.IO.File.Exists(lrcpath)) {
[LRC]
}
- else {
+ else if(Directory.GetFiles(@Model.Fullpath, "*.lrc").Length != 0) {
[---]
}
@file