修正(已點歌曲返回按鈕+關台已點歌單清除+資料庫快取表修正)
This commit is contained in:
parent
e269c5b54c
commit
643df70feb
@ -254,7 +254,7 @@ namespace DualScreenDemo
|
||||
}
|
||||
|
||||
private string SetQueryforSQL(string contains){
|
||||
string query = $"SELECT * FROM song_library_cache WHERE situation LIKE '%{contains}%' ORDER BY `song_id` DESC";
|
||||
string query = $"SELECT * FROM song_library_cache WHERE situations LIKE '%{contains}%' ORDER BY `song_id` DESC";
|
||||
return query;
|
||||
}
|
||||
}
|
||||
|
@ -2012,6 +2012,8 @@ namespace DualScreenDemo
|
||||
/// <param name="e"></param>
|
||||
private void ShouYeButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(currentSongList == playedSongsHistory)
|
||||
return;
|
||||
autoRefreshTimer.Stop(); // 停止自动刷新
|
||||
FindFirstNonEmptyText(inputBoxZhuYinSingers
|
||||
, inputBoxZhuYinSongs
|
||||
|
@ -152,7 +152,7 @@ namespace DualScreenDemo
|
||||
);
|
||||
VideoPlayerForm.publicPlaylist = new List<SongData>();
|
||||
VideoPlayerForm.playingSongList = new List<SongData>();
|
||||
|
||||
PrimaryForm.playedSongsHistory = new List<SongData>();
|
||||
if (VideoPlayerForm.Instance.currentPlayingSong != null)
|
||||
{
|
||||
VideoPlayerForm.playingSongList.Add(VideoPlayerForm.Instance.currentPlayingSong);
|
||||
|
Loading…
x
Reference in New Issue
Block a user