Commit 7529df34 authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback: allow restarting the playback session for local files, too

parent 3c7d82ca
......@@ -675,10 +675,9 @@
- (void)setFileFromMediaLibrary:(MLFile *)fileFromMediaLibrary
{
if (_fileFromMediaLibrary != fileFromMediaLibrary) {
[self stopPlayback];
_fileFromMediaLibrary = fileFromMediaLibrary;
}
[self stopPlayback];
_fileFromMediaLibrary = fileFromMediaLibrary;
_playerIsSetup = NO;
}
- (void)setUrl:(NSURL *)url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment