Browse Source

export list: from m3u8 to m3u extension

HOME 2 năm trước cách đây
mục cha
commit
ff6ccce482

+ 1 - 2
FNZCM/FNZCM.BlazorWasm/UI/Components/FileIcon.razor

@@ -40,7 +40,7 @@
 
     @if (ShowParam && (Track.Tag?.BitRate > 0 || Track.Tag?.Freq > 0))
     {
-         <span class="badge bg-secondary">
+        <span class="badge bg-secondary">
             @if (Track.Tag?.BitRate > 0)
             {
                 @if (Track.Tag.BitRate < 1000)
@@ -53,7 +53,6 @@
                 }
             }
 
-
             @if (Track.Tag?.Freq > 0)
             {
                 <span class="ms-1">@(Track.Tag.Freq / 100f)</span>

+ 1 - 1
FNZCM/FNZCM.BlazorWasm/UI/Views/Default/Playlist/PlaylistTableItem.razor

@@ -148,7 +148,7 @@
         }
 
         // export
-        JSRuntime.InvokeVoidAsync("fnz.downloadFile", $"{PlaylistHelper.PlayListLoadSave[playlistId]}.m3u8", "text/mpegurl", sb.ToString());
+        JSRuntime.InvokeVoidAsync("fnz.downloadFile", $"{PlaylistHelper.PlayListLoadSave[playlistId]}.m3u", "text/mpegurl", sb.ToString());
     }
 
     private void Remove(Guid playlistId, int index, string path)