mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Wire up disc changing to UI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user