mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Expose shuffling to UI
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
| **Page Down** | Previous Disc |
|
||||
| **→** | Next Track |
|
||||
| **←** | Previous Track |
|
||||
| **R** | Shuffle Tracks |
|
||||
| **]** | Next Index |
|
||||
| **[** | Previous Index |
|
||||
| **.** | Fast Forward |
|
||||
@@ -36,6 +37,10 @@ For Save Track(s):
|
||||
For Disc Switching:
|
||||
- If you change the number of discs in the internal changer, you must restart the program for it to take effect
|
||||
|
||||
For Shuffling:
|
||||
- Shuffling only works on the current set of playable tracks
|
||||
- If you are in single disc mode and switch discs, it will not automatically shuffle the new tracks
|
||||
|
||||
For both Volume Up and Volume Down:
|
||||
- Holding **Ctrl** will move in increments of 2
|
||||
- Holding **Shift** will move in increments of 5
|
||||
|
||||
@@ -101,10 +101,10 @@ namespace RedBookPlayer.GUI.ViewModels
|
||||
}
|
||||
|
||||
// Shuffle Track List
|
||||
// else if(e.Key == App.Settings.ShuffleTracksKey)
|
||||
// {
|
||||
// PlayerView?.ViewModel?.ExecuteShuffle();
|
||||
// }
|
||||
else if(e.Key == App.Settings.ShuffleTracksKey)
|
||||
{
|
||||
PlayerView?.ViewModel?.ExecuteShuffle();
|
||||
}
|
||||
|
||||
// Next Index
|
||||
else if(e.Key == App.Settings.NextIndexKey)
|
||||
|
||||
@@ -183,7 +183,7 @@ namespace RedBookPlayer.GUI.ViewModels
|
||||
/// <summary>
|
||||
/// Key assigned to shuffling the track list
|
||||
/// </summary>
|
||||
// public Key ShuffleTracksKey { get; set; } = Key.R;
|
||||
public Key ShuffleTracksKey { get; set; } = Key.R;
|
||||
|
||||
/// <summary>
|
||||
/// Key assigned to move to the next index
|
||||
|
||||
@@ -142,6 +142,14 @@
|
||||
HorizontalAlignment="Right" Margin="8,0,0,0" Width="120"/>
|
||||
</WrapPanel>
|
||||
|
||||
<!-- Shuffle Tracks -->
|
||||
<WrapPanel Margin="0,0,0,16">
|
||||
<TextBlock Width="120">Shuffle Tracks</TextBlock>
|
||||
<ComboBox Name="ShuffleTracksKeyBind"
|
||||
Items="{Binding KeyboardList}" SelectedItem="{Binding ShuffleTracksKey, Mode=TwoWay}"
|
||||
HorizontalAlignment="Right" Margin="8,0,0,0" Width="120"/>
|
||||
</WrapPanel>
|
||||
|
||||
<!-- Next Index -->
|
||||
<WrapPanel Margin="0,0,0,16">
|
||||
<TextBlock Width="120">Next Index</TextBlock>
|
||||
|
||||
Reference in New Issue
Block a user