Added setting to set the position of the rendered chapter previews. Default is the middle of the chapter.
This commit is contained in:
1 parent
a872eda5d3
commit
42f0431b25
4 files changed
+104
-51
No files matched your search
@@ -57,6 +57,7 @@
|
||||
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"chaptersPreviewTrack"] boolValue]) {
|
||||
attributes[MP42GenerateChaptersPreviewTrack] = @YES;
|
||||
attributes[MP42ChaptersPreviewPosition] = [NSNumber numberWithFloat:[[NSUserDefaults standardUserDefaults] floatForKey:@"SBChaptersPreviewPosition"]];
|
||||
}
|
||||
|
||||
_attributes = [attributes copy];
|
||||
@@ -81,6 +82,7 @@
|
||||
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"chaptersPreviewTrack"] boolValue]) {
|
||||
attributes[MP42GenerateChaptersPreviewTrack] = @YES;
|
||||
attributes[MP42ChaptersPreviewPosition] = [NSNumber numberWithFloat:[[NSUserDefaults standardUserDefaults] floatForKey:@"SBChaptersPreviewPosition"]];
|
||||
}
|
||||
|
||||
_attributes = [attributes copy];
|
||||
|
||||
Reference in new issue
Block a user