Wire up disc changing to UI

This commit is contained in:
Matt Nadareski
2021-10-05 10:40:10 -07:00
parent 7b01715a11
commit 211ee8cecf
10 changed files with 181 additions and 91 deletions

View File

@@ -299,13 +299,14 @@ namespace RedBookPlayer.Models.Discs
}
/// <inheritdoc/>
public override void Init(IOpticalMediaImage image, bool autoPlay)
public override void Init(string path, IOpticalMediaImage image, bool autoPlay)
{
// If the image is null, we can't do anything
if(image == null)
return;
// Set the current disc image
ImagePath = path;
_image = image;
// Attempt to load the TOC