mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-12 19:08:33 +08:00
Compare commits
10 Commits
v1.0.147.0
...
v1.0.149.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0217150c1 | ||
|
|
0705bde0e2 | ||
|
|
3f5122c93f | ||
|
|
97f061d887 | ||
|
|
77525a62ff | ||
|
|
ad473bbd1d | ||
|
|
b1126026c2 | ||
|
|
2f84155e6e | ||
|
|
1769167811 | ||
|
|
551da8c0b0 |
2
.github/workflows/release-to-telegram.yml
vendored
2
.github/workflows/release-to-telegram.yml
vendored
@@ -2,7 +2,7 @@ name: Notify Telegram on GitHub Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
types: [published, edited]
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
|
||||
2
.github/workflows/releases-to-discord.yml
vendored
2
.github/workflows/releases-to-discord.yml
vendored
@@ -2,7 +2,7 @@ name: Notify Discord on GitHub Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
types: [published, edited]
|
||||
|
||||
jobs:
|
||||
github-releases-to-discord:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<Identity
|
||||
Name="37412.BetterLyrics"
|
||||
Publisher="CN=E1428B0E-DC1D-4EA4-ACB1-4556569D5BA9"
|
||||
Version="1.0.147.0" />
|
||||
Version="1.0.148.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="ca4a4830-fc19-40d9-b823-53e2bff3d816" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
|
||||
@@ -323,31 +323,29 @@
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid Grid.Row="1">
|
||||
<RelativePanel>
|
||||
<TextBlock
|
||||
x:Uid="LyricsSearchControlHelp"
|
||||
Margin="0,0,24,0"
|
||||
FontSize="12"
|
||||
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||
RelativePanel.AlignVerticalCenterWithPanel="True"
|
||||
RelativePanel.LeftOf="Reset"
|
||||
TextWrapping="Wrap" />
|
||||
<Button
|
||||
x:Name="Reset"
|
||||
x:Uid="LyricsSearchControlReset"
|
||||
Margin="0,0,6,0"
|
||||
Command="{x:Bind ViewModel.ResetCommand}"
|
||||
RelativePanel.AlignVerticalCenterWithPanel="True"
|
||||
RelativePanel.LeftOf="SaveChanges" />
|
||||
<Button
|
||||
x:Name="SaveChanges"
|
||||
x:Uid="LyricsSearchControlSaveChanges"
|
||||
Command="{x:Bind ViewModel.SaveCommand}"
|
||||
RelativePanel.AlignRightWithPanel="True"
|
||||
RelativePanel.AlignVerticalCenterWithPanel="True"
|
||||
Style="{StaticResource AccentButtonStyle}" />
|
||||
</RelativePanel>
|
||||
<Grid Grid.Row="1" ColumnSpacing="6">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock
|
||||
x:Uid="LyricsSearchControlHelp"
|
||||
Grid.Column="1"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||
TextWrapping="Wrap" />
|
||||
<Button
|
||||
x:Uid="LyricsSearchControlReset"
|
||||
Grid.Column="2"
|
||||
Command="{x:Bind ViewModel.ResetCommand}" />
|
||||
<Button
|
||||
x:Uid="LyricsSearchControlSaveChanges"
|
||||
Grid.Column="3"
|
||||
Command="{x:Bind ViewModel.SaveCommand}"
|
||||
Style="{StaticResource AccentButtonStyle}" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
return new OpacityEffect
|
||||
{
|
||||
Source = backgroundFontEffect,
|
||||
Opacity = (float)(lyricsLine.OpacityTransition.Value * lyricsLayerOpacity),
|
||||
Opacity = (float)Math.Clamp(lyricsLine.OpacityTransition.Value * lyricsLayerOpacity, 0, 1),
|
||||
};
|
||||
}
|
||||
else
|
||||
@@ -60,7 +60,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
BorderMode = EffectBorderMode.Soft,
|
||||
Optimization = EffectOptimization.Speed,
|
||||
},
|
||||
Opacity = (float)Math.Max(lyricsLine.OpacityTransition.Value * lyricsLayerOpacity, 0),
|
||||
Opacity = (float)Math.Clamp(lyricsLine.OpacityTransition.Value * lyricsLayerOpacity, 0, 1),
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -119,7 +119,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
Source = foregroundFontEffect,
|
||||
AlphaMask = mask,
|
||||
},
|
||||
BlurAmount = (float)glowEffectAmount,
|
||||
BlurAmount = (float)Math.Clamp(glowEffectAmount, 0, 100),
|
||||
Optimization = EffectOptimization.Speed,
|
||||
};
|
||||
}
|
||||
@@ -358,7 +358,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
Source = foregroundFontEffect,
|
||||
AlphaMask = mask,
|
||||
},
|
||||
Opacity = (float)opacity,
|
||||
Opacity = (float)Math.Clamp(opacity, 0, 1),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
AlphaMask = mask,
|
||||
},
|
||||
ShadowColor = shadowColor,
|
||||
BlurAmount = (float)shadowAmount,
|
||||
BlurAmount = (float)Math.Clamp(shadowAmount, 0, 100),
|
||||
Optimization = EffectOptimization.Speed,
|
||||
};
|
||||
}
|
||||
@@ -386,7 +386,7 @@ namespace BetterLyrics.WinUI3.Helper
|
||||
Source = foregroundFontEffect,
|
||||
AlphaMask = mask,
|
||||
},
|
||||
Opacity = (float)opacity,
|
||||
Opacity = (float)Math.Clamp(opacity, 0, 1),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace BetterLyrics.WinUI3.Parsers.LyricsParser
|
||||
|
||||
if (LyricsDataArr.Count == 0)
|
||||
{
|
||||
LyricsDataArr.Add(LyricsData.GetParseErrorPlaceholder());
|
||||
LyricsDataArr.Add(LyricsData.GetNotfoundPlaceholder());
|
||||
}
|
||||
}
|
||||
LoadTranslation(lyricsSearchResult);
|
||||
|
||||
@@ -592,7 +592,7 @@ namespace BetterLyrics.WinUI3.Services.LyricsSearchService
|
||||
|
||||
lyricsSearchResult.Raw = response?.Lrc?.Lyric;
|
||||
lyricsSearchResult.Translation = response?.Tlyric?.Lyric;
|
||||
lyricsSearchResult.Transliteration = response?.Romalrc.Lyric;
|
||||
lyricsSearchResult.Transliteration = response?.Romalrc?.Lyric;
|
||||
lyricsSearchResult.Reference = $"https://music.163.com/song?id={neteaseResult.Id}";
|
||||
}
|
||||
else if (result is KugouSearchResult kugouResult)
|
||||
|
||||
@@ -370,7 +370,7 @@ namespace BetterLyrics.WinUI3.ViewModels.LyricsRendererViewModel
|
||||
combinedDs.DrawImage(new OpacityEffect
|
||||
{
|
||||
Source = effectLayer,
|
||||
Opacity = (float)Math.Max(line.HighlightOpacityTransition.Value * _lyricsOpacityTransition.Value, 0),
|
||||
Opacity = (float)Math.Clamp(line.HighlightOpacityTransition.Value * _lyricsOpacityTransition.Value, 0, 1),
|
||||
});
|
||||
|
||||
if (i == _playingLineIndex)
|
||||
|
||||
@@ -1,47 +1,57 @@
|
||||
# Welcome to ShareHub
|
||||
# Welcome to ShareHub | 欢迎来到 ShareHub
|
||||
|
||||
## Shared lyrics window status
|
||||
## Shared lyrics window status | 已分享的歌词窗口状态
|
||||
|
||||
Click on the links below to view and download the config files.
|
||||
Click on the links below to view and download the config files. | 点击以下链接查看和下载配置文件。
|
||||
|
||||
Each link is accompanied by a preview image of the lyrics window in that specific status.
|
||||
Each link is accompanied by a preview image of the lyrics window in that specific status. | 每个链接都附带该状态下歌词窗口的预览图像。
|
||||
|
||||
### D
|
||||
---
|
||||
|
||||
- [Desktop](LyricsWindowStatus/desktop.json)
|
||||
### [Desktop | 桌面](LyricsWindowStatus/desktop.json)
|
||||
|
||||

|
||||
|
||||
- [Docked (Bottom)](LyricsWindowStatus/docked-bottom.json)
|
||||
---
|
||||
|
||||
### [Docked (Bottom) | 停靠(底部)](LyricsWindowStatus/docked-bottom.json)
|
||||
|
||||

|
||||
|
||||
- [Docked (Top)](LyricsWindowStatus/docked-top.json)
|
||||
---
|
||||
|
||||
### [Docked (Top) | 停靠(顶部)](LyricsWindowStatus/docked-top.json)
|
||||
|
||||

|
||||
|
||||
### F
|
||||
---
|
||||
|
||||
- [Fullscreen (Horizontal)](LyricsWindowStatus/fs-horiz.json)
|
||||
### [Fullscreen (Horizontal) | 全屏(横屏)](LyricsWindowStatus/fs-horiz.json)
|
||||
|
||||

|
||||
|
||||
- [Fullscreen (Vertical)](LyricsWindowStatus/fs-vert.json)
|
||||
---
|
||||
|
||||
### [Fullscreen (Vertical) | 全屏(竖屏)](LyricsWindowStatus/fs-vert.json)
|
||||
|
||||

|
||||
|
||||
### S
|
||||
---
|
||||
|
||||
- [Standard (Horizontal)](LyricsWindowStatus/std-horiz.json)
|
||||
### [Standard (Horizontal) | 标准(横屏)](LyricsWindowStatus/std-horiz.json)
|
||||
|
||||

|
||||
|
||||
- [Standard (Vertical)](LyricsWindowStatus/std-vert.json)
|
||||
---
|
||||
|
||||
### [Standard (Vertical) | 标准(竖屏)](LyricsWindowStatus/std-vert.json)
|
||||
|
||||

|
||||
|
||||
### T
|
||||
---
|
||||
|
||||
- [Taskbar](LyricsWindowStatus/taskbar.json)
|
||||
### [Taskbar | 任务栏](LyricsWindowStatus/taskbar.json)
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user