mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 10:54:55 +08:00
Compare commits
5 Commits
8d7fbe63c5
...
78bafb8508
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78bafb8508 | ||
|
|
b4d24c5570 | ||
|
|
83c9f9806d | ||
|
|
adde74afb0 | ||
|
|
67b4d4e409 |
@@ -195,7 +195,10 @@
|
|||||||
<StackPanel Spacing="6">
|
<StackPanel Spacing="6">
|
||||||
<TextBlock x:Uid="SettingsPagePatrons" />
|
<TextBlock x:Uid="SettingsPagePatrons" />
|
||||||
<dev:WrapPanel Margin="-12,0,0,0" Orientation="Horizontal">
|
<dev:WrapPanel Margin="-12,0,0,0" Orientation="Horizontal">
|
||||||
|
<uc:PatronControl Date="Jan 3, 2026" PatronName="**轩" />
|
||||||
|
<uc:PatronControl Date="Dec 13, 2025" PatronName="<Anonymous>" />
|
||||||
<uc:PatronControl Date="Dec 3, 2025" PatronName="YE" />
|
<uc:PatronControl Date="Dec 3, 2025" PatronName="YE" />
|
||||||
|
<uc:PatronControl Date="Dec 2, 2025" PatronName="<Anonymous>" />
|
||||||
<uc:PatronControl Date="Nov 23, 2025" PatronName="**玄" />
|
<uc:PatronControl Date="Nov 23, 2025" PatronName="**玄" />
|
||||||
<uc:PatronControl Date="Nov 21, 2025" PatronName="**智" />
|
<uc:PatronControl Date="Nov 21, 2025" PatronName="**智" />
|
||||||
<uc:PatronControl Date="Nov 17, 2025" PatronName="SuHeAndZl" />
|
<uc:PatronControl Date="Nov 17, 2025" PatronName="SuHeAndZl" />
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ namespace BetterLyrics.WinUI3.Helper
|
|||||||
public static string LogFilePattern => Path.Combine(LogDirectory, "log-.txt");
|
public static string LogFilePattern => Path.Combine(LogDirectory, "log-.txt");
|
||||||
|
|
||||||
public static string LyricsCacheDirectory => Path.Combine(CacheFolder, "lyrics");
|
public static string LyricsCacheDirectory => Path.Combine(CacheFolder, "lyrics");
|
||||||
public static string AmllTtmlDbLyricsCacheDirectory => Path.Combine(LyricsCacheDirectory, "amll-ttml-db");
|
|
||||||
public static string AmllTtmlDbIndexPath => Path.Combine(LyricsCacheDirectory, "amll-ttml-db-index.jsonl");
|
public static string AmllTtmlDbIndexPath => Path.Combine(LyricsCacheDirectory, "amll-ttml-db-index.jsonl");
|
||||||
public static string AmllTtmlDbLastUpdatedPath => Path.Combine(LyricsCacheDirectory, "amll-ttml-db-last-updated.txt");
|
public static string AmllTtmlDbLastUpdatedPath => Path.Combine(LyricsCacheDirectory, "amll-ttml-db-last-updated.txt");
|
||||||
|
|
||||||
@@ -57,11 +56,7 @@ namespace BetterLyrics.WinUI3.Helper
|
|||||||
public static void EnsureDirectories()
|
public static void EnsureDirectories()
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(SettingsDirectory);
|
Directory.CreateDirectory(SettingsDirectory);
|
||||||
|
|
||||||
Directory.CreateDirectory(LogDirectory);
|
Directory.CreateDirectory(LogDirectory);
|
||||||
|
|
||||||
Directory.CreateDirectory(AmllTtmlDbLyricsCacheDirectory);
|
|
||||||
|
|
||||||
Directory.CreateDirectory(iTunesAlbumArtCacheDirectory);
|
Directory.CreateDirectory(iTunesAlbumArtCacheDirectory);
|
||||||
Directory.CreateDirectory(LocalAlbumArtCacheDirectory);
|
Directory.CreateDirectory(LocalAlbumArtCacheDirectory);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,10 +92,7 @@ namespace BetterLyrics.WinUI3.ViewModels
|
|||||||
private void ClearCacheFiles()
|
private void ClearCacheFiles()
|
||||||
{
|
{
|
||||||
DirectoryHelper.DeleteAllFiles(PathHelper.LogDirectory);
|
DirectoryHelper.DeleteAllFiles(PathHelper.LogDirectory);
|
||||||
|
|
||||||
DirectoryHelper.DeleteAllFiles(PathHelper.LyricsCacheDirectory);
|
DirectoryHelper.DeleteAllFiles(PathHelper.LyricsCacheDirectory);
|
||||||
DirectoryHelper.DeleteAllFiles(PathHelper.AmllTtmlDbLyricsCacheDirectory);
|
|
||||||
|
|
||||||
DirectoryHelper.DeleteAllFiles(PathHelper.iTunesAlbumArtCacheDirectory);
|
DirectoryHelper.DeleteAllFiles(PathHelper.iTunesAlbumArtCacheDirectory);
|
||||||
|
|
||||||
ToastHelper.ShowToast("ActionCompleted", null, InfoBarSeverity.Success);
|
ToastHelper.ShowToast("ActionCompleted", null, InfoBarSeverity.Success);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Special thanks to the following people for their support!
|
|||||||
|
|
||||||
| Date / 日期 | Name / 昵称 |
|
| Date / 日期 | Name / 昵称 |
|
||||||
| :--- | :--- |
|
| :--- | :--- |
|
||||||
|
| Jan 3, 2026 | \*\*轩 |
|
||||||
| Dec 13, 2025 | \<Anonymous\> |
|
| Dec 13, 2025 | \<Anonymous\> |
|
||||||
| Dec 3, 2025 | YE |
|
| Dec 3, 2025 | YE |
|
||||||
| Dec 2, 2025 | \<Anonymous\> |
|
| Dec 2, 2025 | \<Anonymous\> |
|
||||||
|
|||||||
Reference in New Issue
Block a user