Possible fix for handling broken songs
This commit is contained in:
@@ -122,6 +122,7 @@ namespace MusicPlayer
|
|||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
AState = AudioState.STOPPED;
|
AState = AudioState.STOPPED;
|
||||||
|
main.form.SongFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -207,6 +208,7 @@ namespace MusicPlayer
|
|||||||
{
|
{
|
||||||
BState = BufferState.EMPTY;
|
BState = BufferState.EMPTY;
|
||||||
AState = AudioState.STOPPED;
|
AState = AudioState.STOPPED;
|
||||||
|
main.form.SongFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user