Separate out disc handling

This commit is contained in:
Matt Nadareski
2021-10-05 22:52:12 -07:00
parent 0b63ebf18b
commit 05875b919c
6 changed files with 130 additions and 63 deletions

View File

@@ -21,6 +21,23 @@ namespace RedBookPlayer.Models
Play = 2,
}
/// <summary>
/// Determine how to handle multiple discs
/// </summary>
/// <remarks>Used with both repeat and shuffle</remarks>
public enum DiscHandling
{
/// <summary>
/// Only deal with tracks on the current disc
/// </summary>
SingleDisc = 0,
/// <summary>
/// Deal with tracks on all loaded discs
/// </summary>
MultiDisc = 1,
}
/// <summary>
/// Current player state
/// </summary>
@@ -63,14 +80,9 @@ namespace RedBookPlayer.Models
Single,
/// <summary>
/// Repeat all tracks on a single disc
/// Repeat all tracks
/// </summary>
AllSingleDisc,
/// <summary>
/// Repeat all tracks on a multiple discs
/// </summary>
AllMultiDisc,
All,
}
/// <summary>