Commit 080a70d2 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

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

parent 089a208b
...@@ -675,10 +675,9 @@ ...@@ -675,10 +675,9 @@
- (void)setFileFromMediaLibrary:(MLFile *)fileFromMediaLibrary - (void)setFileFromMediaLibrary:(MLFile *)fileFromMediaLibrary
{ {
if (_fileFromMediaLibrary != fileFromMediaLibrary) {
[self stopPlayback]; [self stopPlayback];
_fileFromMediaLibrary = fileFromMediaLibrary; _fileFromMediaLibrary = fileFromMediaLibrary;
} _playerIsSetup = NO;
} }
- (void)setUrl:(NSURL *)url - (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