Commit 0e801d14 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix bag of small fixes

parent 60183fb3
......@@ -89,7 +89,7 @@
- (void)startAnimationTimer
{
[startAnimationTimer invalidate];
startAnimationTimer = [NSTimer scheduledTimerWithTimeInterval:2.0 target:self selector:@selector(startAnimation) userInfo:nil repeats:NO];
startAnimationTimer = [NSTimer scheduledTimerWithTimeInterval:4.0 target:self selector:@selector(startAnimation) userInfo:nil repeats:NO];
}
- (void)stopAnimation
......
......@@ -28,7 +28,7 @@
- (NSString *)title
{
return NSLocalizedString(@"OPEN_NETWORK", nil);
return NSLocalizedString(@"NETWORK_TITLE", nil);
}
- (void)viewDidLoad {
......
......@@ -583,19 +583,22 @@
if (!_playbackStarted) {
if (percentage >= 10) {
_playbackStarted = YES;
[self performSelectorOnMainThread:@selector(startPlaybackOfPath:) withObject:_filepath waitUntilDone:NO];
}
}
#endif
}
APLog(@"Starting playback of %@", _filepath);
- (void)startPlaybackOfPath:(NSString *)path
{
APLog(@"Starting playback of %@", path);
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
[vpc playURL:[NSURL fileURLWithPath:_filepath] successCallback:nil errorCallback:nil];
[vpc playURL:[NSURL fileURLWithPath:path] successCallback:nil errorCallback:nil];
VLCFullscreenMovieTVViewController *moviewVC = [VLCFullscreenMovieTVViewController fullscreenMovieTVViewController];
[[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:moviewVC
animated:YES
completion:nil];
}
}
#endif
}
//-----------------------------------------------------------------
......
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