feat: 添加定时关闭功能,支持按时间、歌曲数和播放列表结束自动停止播放

This commit is contained in:
algerkong
2025-05-03 23:46:28 +08:00
parent 5f63ab6b4a
commit eff9328a23
6 changed files with 782 additions and 5 deletions
+22
View File
@@ -73,5 +73,27 @@ export default {
acoustic: 'Acoustic',
custom: 'Custom'
}
},
// Sleep timer related
sleepTimer: {
title: 'Sleep Timer',
cancel: 'Cancel Timer',
timeMode: 'By Time',
songsMode: 'By Songs',
playlistEnd: 'After Playlist',
afterPlaylist: 'After Playlist Ends',
activeUntilEnd: 'Active until end of playlist',
minutes: 'min',
hours: 'hr',
songs: 'songs',
set: 'Set',
timerSetSuccess: 'Timer set for {minutes} minutes',
songsSetSuccess: 'Timer set for {songs} songs',
playlistEndSetSuccess: 'Timer set to end after playlist',
timerCancelled: 'Sleep timer cancelled',
timerEnded: 'Sleep timer ended',
playbackStopped: 'Music playback stopped',
minutesRemaining: '{minutes} min remaining',
songsRemaining: '{count} songs remaining'
}
};