Refactored part of SBQueueController.
This commit is contained in:
1 parent
9cbd2e7001
commit
30f4ebf97a
7 files changed
+190
-102
No files matched your search
@@ -12,6 +12,7 @@
|
||||
|
||||
@class SBQueueItem;
|
||||
@class SBOptionsViewController;
|
||||
@class SBQueuePreferences;
|
||||
|
||||
@class SBTableView;
|
||||
@class MP42File;
|
||||
@@ -21,7 +22,7 @@
|
||||
IBOutlet NSTextField *_countLabel;
|
||||
IBOutlet NSProgressIndicator *_progressIndicator;
|
||||
|
||||
IBOutlet SBTableView *_tableView;
|
||||
IBOutlet SBTableView *_tableView;
|
||||
|
||||
IBOutlet NSWindow *_detachedWindow;
|
||||
IBOutlet NSToolbarItem *_startItem;
|
||||
@@ -30,7 +31,9 @@
|
||||
NSPopover *_itemPopover;
|
||||
SBOptionsViewController *_windowController;
|
||||
|
||||
SBQueuePreferences *_prefs;
|
||||
NSMutableDictionary *_options;
|
||||
|
||||
NSImage *_docImg;
|
||||
|
||||
SBQueue *_queue;
|
||||
|
||||
+29
-90
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
#import "SBQueueController.h"
|
||||
#import "SBQueuePreferences.h"
|
||||
#import "SBQueueItem.h"
|
||||
|
||||
#import "SBOptionsViewController.h"
|
||||
@@ -14,10 +15,8 @@
|
||||
|
||||
#import "SBDocument.h"
|
||||
#import "SBTableView.h"
|
||||
#import "SBPresetManager.h"
|
||||
|
||||
#import <MP42Foundation/MP42Utilities.h>
|
||||
#import <MP42Foundation/MP42Metadata.h>
|
||||
|
||||
static NSString *fileType = @"mp4";
|
||||
static void *SBQueueContex = &SBQueueContex;
|
||||
@@ -32,6 +31,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
@property (nonatomic, retain) SBOptionsViewController *windowController;
|
||||
|
||||
@property (nonatomic, readonly) NSMutableDictionary *options;
|
||||
@property (nonatomic, readonly) SBQueuePreferences *prefs;
|
||||
|
||||
- (IBAction)removeSelectedItems:(id)sender;
|
||||
- (IBAction)removeCompletedItems:(id)sender;
|
||||
@@ -55,6 +55,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
@synthesize itemPopover = _itemPopover;
|
||||
@synthesize windowController = _windowController;
|
||||
@synthesize options = _options;
|
||||
@synthesize prefs = _prefs;
|
||||
|
||||
+ (SBQueueController *)sharedManager {
|
||||
static dispatch_once_t pred;
|
||||
@@ -66,8 +67,12 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
|
||||
- (id)init {
|
||||
if (self = [super initWithWindowNibName:@"Queue"]) {
|
||||
_queue = [[SBQueue alloc] initWithURL:[self queueURL]];
|
||||
[self registerUserDefaults];
|
||||
_prefs = [[SBQueuePreferences alloc] init];
|
||||
[_prefs registerUserDefaults];
|
||||
_options = _prefs.options;
|
||||
|
||||
_queue = [[SBQueue alloc] initWithURL:_prefs.queueURL];
|
||||
|
||||
[self removeCompletedItems:self];
|
||||
[self updateDockTile];
|
||||
}
|
||||
@@ -86,8 +91,9 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
|
||||
[_tableView registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, SublerBatchTableViewDataType, nil]];
|
||||
|
||||
// Init options
|
||||
[self initOptions];
|
||||
|
||||
// Observe the changes to SBQueueOptimize
|
||||
[self addObserver:self forKeyPath:@"options.SBQueueOptimize" options:NSKeyValueObservingOptionInitial context:SBQueueContex];
|
||||
|
||||
// Register to the queue notifications
|
||||
NSOperationQueue *mainQueue = [NSOperationQueue mainQueue];
|
||||
@@ -169,80 +175,10 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
return YES;
|
||||
}
|
||||
|
||||
#pragma mark - User Defaults
|
||||
|
||||
- (void)registerUserDefaults {
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"SBQueueOrganize" : @YES,
|
||||
@"SBQueueMetadata" : @NO,
|
||||
@"SBQueueSubtitles": @YES,
|
||||
@"SBQueueAutoStart": @NO,
|
||||
@"SBQueueOptimize" : @YES,
|
||||
@"SBQueueMovieProvider" : @"TheMovieDB",
|
||||
@"SBQueueTVShowProvider" : @"TheTVDB",
|
||||
@"SBQueueMovieProviderLanguage" : @"English",
|
||||
@"SBQueueTVShowProviderLanguage" : @"English"}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Save the queue user defaults
|
||||
*/
|
||||
- (void)saveUserDefaults {
|
||||
NSArray *keys = @[@"SBQueueOrganize", @"SBQueueMetadata", @"SBQueueSubtitles", @"SBQueueAutoStart", @"SBQueueOptimize",
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueMovieProviderLanguage", @"SBQueueTVShowProviderLanguage"];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[self.options objectForKey:obj] forKey:obj];
|
||||
}];
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[[self.options objectForKey:@"SBQueueDestination"] path] forKey:@"SBQueueDestination"];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[[self.options objectForKey:@"SBQueueSet"] presetName] forKey:@"SBQueueSet"];
|
||||
}
|
||||
|
||||
/**
|
||||
* Init the options dictionary
|
||||
* and register the KVO observer
|
||||
*/
|
||||
- (void)initOptions {
|
||||
_options = [[NSMutableDictionary alloc] init];
|
||||
|
||||
NSArray *keys = @[@"SBQueueOrganize", @"SBQueueMetadata", @"SBQueueSubtitles", @"SBQueueAutoStart", @"SBQueueOptimize",
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueMovieProviderLanguage", @"SBQueueTVShowProviderLanguage"];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[_options setObject:[[NSUserDefaults standardUserDefaults] valueForKey:obj] forKey:obj];
|
||||
}];
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:@"SBQueueDestination"]) {
|
||||
[_options setObject:[NSURL fileURLWithPath:[[NSUserDefaults standardUserDefaults] valueForKey:@"SBQueueDestination"]] forKey:@"SBQueueDestination"];
|
||||
}
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:@"SBQueueSet"]) {
|
||||
MP42Metadata *set = [[SBPresetManager sharedManager] setWithName:[[NSUserDefaults standardUserDefaults] valueForKey:@"SBQueueSet"]];
|
||||
[_options setObject:set forKey:@"SBQueueSet"];
|
||||
}
|
||||
|
||||
// Observe the changes to SBQueueOptimize
|
||||
[self addObserver:self forKeyPath:@"options.SBQueueOptimize" options:NSKeyValueObservingOptionInitial context:SBQueueContex];
|
||||
}
|
||||
|
||||
- (NSURL *)queueURL {
|
||||
NSURL *appSupportURL = nil;
|
||||
NSArray *allPaths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory,
|
||||
NSUserDomainMask,
|
||||
YES);
|
||||
if ([allPaths count]) {
|
||||
appSupportURL = [NSURL fileURLWithPath:[[[allPaths lastObject] stringByAppendingPathComponent:@"Subler"]
|
||||
stringByAppendingPathComponent:@"queue.sbqueue"] isDirectory:YES];
|
||||
return appSupportURL;
|
||||
} else {
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
|
||||
if (context == SBQueueContex) {
|
||||
if ([keyPath isEqualToString:@"options.SBQueueOptimize"]) {
|
||||
self.queue.optimize = [[self.options objectForKey:@"SBQueueOptimize"] boolValue];
|
||||
self.queue.optimize = [[self.options objectForKey:SBQueueOptimize] boolValue];
|
||||
}
|
||||
} else {
|
||||
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
|
||||
@@ -262,7 +198,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
* Saves the queue and the user defaults.
|
||||
*/
|
||||
- (BOOL)saveQueueToDisk {
|
||||
[self saveUserDefaults];
|
||||
[self.prefs saveUserDefaults];
|
||||
return [self.queue saveQueueToDisk];
|
||||
}
|
||||
|
||||
@@ -300,26 +236,26 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
- (SBQueueItem *)createItemWithURL:(NSURL *)url {
|
||||
SBQueueItem *item = [SBQueueItem itemWithURL:url];
|
||||
|
||||
if ([[self.options objectForKey:@"SBQueueMetadata"] boolValue]) {
|
||||
[item addAction:[[[SBQueueMetadataAction alloc] initWithMovieLanguage:[self.options objectForKey:@"SBQueueMovieProviderLanguage"]
|
||||
tvShowLanguage:[self.options objectForKey:@"SBQueueTVShowProviderLanguage"]
|
||||
movieProvider:[self.options objectForKey:@"SBQueueMovieProvider"]
|
||||
tvShowProvider:[self.options objectForKey:@"SBQueueTVShowProvider"]] autorelease]];
|
||||
if ([[self.options objectForKey:SBQueueMetadata] boolValue]) {
|
||||
[item addAction:[[[SBQueueMetadataAction alloc] initWithMovieLanguage:[self.options objectForKey:SBQueueMovieProviderLanguage]
|
||||
tvShowLanguage:[self.options objectForKey:SBQueueTVShowProviderLanguage]
|
||||
movieProvider:[self.options objectForKey:SBQueueMovieProvider]
|
||||
tvShowProvider:[self.options objectForKey:SBQueueTVShowProvider]] autorelease]];
|
||||
}
|
||||
|
||||
if ([[self.options objectForKey:@"SBQueueSubtitles"] boolValue]) {
|
||||
if ([[self.options objectForKey:SBQueueSubtitles] boolValue]) {
|
||||
[item addAction:[[[SBQueueSubtitlesAction alloc] init] autorelease]];
|
||||
}
|
||||
|
||||
if ([[self.options objectForKey:@"SBQueueOrganize"] boolValue]) {
|
||||
if ([[self.options objectForKey:SBQueueOrganize] boolValue]) {
|
||||
[item addAction:[[[SBQueueOrganizeGroupsAction alloc] init] autorelease]];
|
||||
}
|
||||
|
||||
if ([self.options objectForKey:@"SBQueueSet"]) {
|
||||
[item addAction:[[[SBQueueSetAction alloc] initWithSet:[self.options objectForKey:@"SBQueueSet"]] autorelease]];
|
||||
if ([self.options objectForKey:SBQueueSet]) {
|
||||
[item addAction:[[[SBQueueSetAction alloc] initWithSet:[self.options objectForKey:SBQueueSet]] autorelease]];
|
||||
}
|
||||
|
||||
NSURL *destination = [self.options objectForKey:@"SBQueueDestination"];
|
||||
NSURL *destination = [self.options objectForKey:SBQueueDestination];
|
||||
if (destination) {
|
||||
destination = [[[destination URLByAppendingPathComponent:[url lastPathComponent]] URLByDeletingPathExtension] URLByAppendingPathExtension:fileType];
|
||||
} else {
|
||||
@@ -369,7 +305,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
if ([undo isUndoing] || [undo isRedoing])
|
||||
[self updateUI];
|
||||
|
||||
if ([[self.options objectForKey:@"SBQueueAutoStart"] boolValue])
|
||||
if ([[self.options objectForKey:SBQueueAutoStart] boolValue])
|
||||
[self start:self];
|
||||
|
||||
[mutableIndexes release];
|
||||
@@ -456,8 +392,11 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
if (!self.windowController) {
|
||||
self.windowController = [[[SBOptionsViewController alloc] initWithOptions:self.options] autorelease];
|
||||
}
|
||||
_detachedWindow.contentView = _windowController.view;
|
||||
NSRect contentFrame = NSMakeRect(0, 0, self.windowController.view.frame.size.width, self.windowController.view.frame.size.height + 20);
|
||||
|
||||
_detachedWindow.contentView = self.windowController.view;
|
||||
_detachedWindow.delegate = self;
|
||||
[_detachedWindow setFrame:contentFrame display:NO];
|
||||
return _detachedWindow;
|
||||
}
|
||||
return nil;
|
||||
|
||||
@@ -147,6 +147,11 @@
|
||||
|
||||
- (BOOL)prepareItem:(NSError **)outError {
|
||||
if (![[NSFileManager defaultManager] fileExistsAtPath:[self.URL path]]) {
|
||||
if (outError) {
|
||||
NSDictionary *errorDetail = @{ NSLocalizedDescriptionKey : @"File not found",
|
||||
NSLocalizedRecoverySuggestionErrorKey : @"The source file couldn't be found." };
|
||||
*outError = [NSError errorWithDomain:@"SBQueueItemError" code:10 userInfo:errorDetail];
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// SBQueuePreferences.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 24/06/14.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
extern NSString * const SBQueueOrganize;
|
||||
extern NSString * const SBQueueMetadata;
|
||||
extern NSString * const SBQueueSubtitles;
|
||||
extern NSString * const SBQueueSet;
|
||||
|
||||
extern NSString * const SBQueueAutoStart;
|
||||
extern NSString * const SBQueueOptimize;
|
||||
|
||||
extern NSString * const SBQueueMovieProvider;
|
||||
extern NSString * const SBQueueTVShowProvider;
|
||||
extern NSString * const SBQueueMovieProviderLanguage;
|
||||
extern NSString * const SBQueueTVShowProviderLanguage;
|
||||
|
||||
extern NSString * const SBQueueDestination;
|
||||
|
||||
@interface SBQueuePreferences : NSObject {
|
||||
NSMutableDictionary *_options;
|
||||
}
|
||||
|
||||
@property (readonly) NSMutableDictionary *options;
|
||||
@property (readonly) NSURL *queueURL;
|
||||
|
||||
- (void)registerUserDefaults;
|
||||
- (void)saveUserDefaults;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,99 @@
|
||||
//
|
||||
// SBQueuePreferences.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 24/06/14.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBQueuePreferences.h"
|
||||
#import "SBPresetManager.h"
|
||||
|
||||
#import <MP42Foundation/MP42Metadata.h>
|
||||
|
||||
NSString * const SBQueueOrganize = @"SBQueueOrganize";
|
||||
NSString * const SBQueueMetadata = @"SBQueueMetadata";
|
||||
NSString * const SBQueueSubtitles = @"SBQueueSubtitles";
|
||||
|
||||
NSString * const SBQueueAutoStart = @"SBQueueAutoStart";
|
||||
NSString * const SBQueueOptimize = @"SBQueueOptimize";
|
||||
|
||||
NSString * const SBQueueDestination = @"SBQueueDestination";
|
||||
|
||||
NSString * const SBQueueMovieProvider = @"SBQueueMovieProvider";
|
||||
NSString * const SBQueueTVShowProvider = @"SBQueueTVShowProvider";
|
||||
NSString * const SBQueueMovieProviderLanguage = @"SBQueueMovieProviderLanguage";
|
||||
NSString * const SBQueueTVShowProviderLanguage = @"SBQueueTVShowProviderLanguage";
|
||||
NSString * const SBQueueSet = @"SBQueueSet";
|
||||
|
||||
@implementation SBQueuePreferences
|
||||
|
||||
@synthesize options = _options;
|
||||
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_options = [[NSMutableDictionary alloc] init];
|
||||
|
||||
NSArray *keys = @[SBQueueOrganize, SBQueueMetadata, SBQueueSubtitles, SBQueueAutoStart, SBQueueOptimize,
|
||||
SBQueueMovieProvider, SBQueueTVShowProvider, SBQueueMovieProviderLanguage, SBQueueTVShowProviderLanguage];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[_options setObject:[[NSUserDefaults standardUserDefaults] valueForKey:obj] forKey:obj];
|
||||
}];
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:SBQueueDestination]) {
|
||||
[_options setObject:[NSURL fileURLWithPath:[[NSUserDefaults standardUserDefaults] valueForKey:SBQueueDestination]] forKey:SBQueueDestination];
|
||||
}
|
||||
|
||||
if ([[NSUserDefaults standardUserDefaults] valueForKey:SBQueueSet]) {
|
||||
MP42Metadata *set = [[SBPresetManager sharedManager] setWithName:[[NSUserDefaults standardUserDefaults] valueForKey:SBQueueSet]];
|
||||
[_options setObject:set forKey:SBQueueSet];
|
||||
}
|
||||
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)registerUserDefaults {
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ SBQueueOrganize : @YES,
|
||||
SBQueueMetadata : @NO,
|
||||
SBQueueSubtitles: @YES,
|
||||
SBQueueAutoStart: @NO,
|
||||
SBQueueOptimize : @YES,
|
||||
SBQueueMovieProvider : @"TheMovieDB",
|
||||
SBQueueTVShowProvider : @"TheTVDB",
|
||||
SBQueueMovieProviderLanguage : @"English",
|
||||
SBQueueTVShowProviderLanguage : @"English"}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Save the queue user defaults
|
||||
*/
|
||||
- (void)saveUserDefaults {
|
||||
NSArray *keys = @[SBQueueOrganize, SBQueueMetadata, SBQueueSubtitles, SBQueueAutoStart, SBQueueOptimize,
|
||||
SBQueueMovieProvider, SBQueueTVShowProvider, SBQueueMovieProviderLanguage, SBQueueTVShowProviderLanguage];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[self.options objectForKey:obj] forKey:obj];
|
||||
}];
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[[self.options objectForKey:SBQueueDestination] path] forKey:SBQueueDestination];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[[self.options objectForKey:SBQueueSet] presetName] forKey:SBQueueSet];
|
||||
}
|
||||
|
||||
- (NSURL *)queueURL {
|
||||
NSURL *appSupportURL = nil;
|
||||
NSArray *allPaths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory,
|
||||
NSUserDomainMask,
|
||||
YES);
|
||||
if ([allPaths count]) {
|
||||
appSupportURL = [NSURL fileURLWithPath:[[[allPaths lastObject] stringByAppendingPathComponent:@"Subler"]
|
||||
stringByAppendingPathComponent:@"queue.sbqueue"] isDirectory:YES];
|
||||
return appSupportURL;
|
||||
} else {
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -273,6 +273,12 @@
|
||||
<menu key="menu" title="OtherViews" id="U0q-ED-kQf"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProviderLanguage" previousBinding="aF7-XO-EMK" id="8zl-Qa-wBq">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="P1S-72-eFU"/>
|
||||
<binding destination="-2" name="content" keyPath="self.tvShowLanguages" id="aF7-XO-EMK">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
@@ -280,12 +286,6 @@
|
||||
<string key="NSNullPlaceholder">None</string>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProviderLanguage" previousBinding="aF7-XO-EMK" id="8zl-Qa-wBq">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="P1S-72-eFU"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" id="73q-gi-fe2">
|
||||
@@ -309,6 +309,11 @@
|
||||
<menu key="menu" title="OtherViews" id="0QM-sv-vRX"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProviderLanguage" previousBinding="3w0-jj-Nkk" id="I8g-ge-lPH">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="content" keyPath="self.movieLanguages" id="3w0-jj-Nkk">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
@@ -317,11 +322,6 @@
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="ABT-BG-W0N"/>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProviderLanguage" previousBinding="3w0-jj-Nkk" id="I8g-ge-lPH">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
</subviews>
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
A9BC410818D9ABC000F8C92C /* QueueItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9BC410618D9ABC000F8C92C /* QueueItem.xib */; };
|
||||
A9C055370F6D395B00AF15B5 /* FileImport.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C055360F6D395B00AF15B5 /* FileImport.xib */; };
|
||||
A9C4259318DB6D1F00E99DB8 /* stopTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = A9C4259218DB6D1F00E99DB8 /* stopTemplate.pdf */; };
|
||||
A9C828F5195950C3004C4718 /* SBQueuePreferences.m in Sources */ = {isa = PBXBuildFile; fileRef = A9C828F4195950C3004C4718 /* SBQueuePreferences.m */; };
|
||||
A9C9E34413FBC1EB00CA3B4E /* EncodeWorking.png in Resources */ = {isa = PBXBuildFile; fileRef = A9C9E34113FBC1EB00CA3B4E /* EncodeWorking.png */; };
|
||||
A9D47B5817B239E200900BCA /* EncodeCanceled.png in Resources */ = {isa = PBXBuildFile; fileRef = A9D47B5417B239E200900BCA /* EncodeCanceled.png */; };
|
||||
A9D47B5917B239E200900BCA /* EncodeCanceled@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A9D47B5517B239E200900BCA /* EncodeCanceled@2x.png */; };
|
||||
@@ -215,6 +216,8 @@
|
||||
A9C0957F0F7B6C8C00170CAF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; };
|
||||
A9C4259218DB6D1F00E99DB8 /* stopTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = stopTemplate.pdf; path = images/stopTemplate.pdf; sourceTree = "<group>"; };
|
||||
A9C8182C0F74D6E300019BFF /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = "<absolute>"; };
|
||||
A9C828F3195950C3004C4718 /* SBQueuePreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueuePreferences.h; path = Classes/SBQueuePreferences.h; sourceTree = "<group>"; };
|
||||
A9C828F4195950C3004C4718 /* SBQueuePreferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBQueuePreferences.m; path = Classes/SBQueuePreferences.m; sourceTree = "<group>"; };
|
||||
A9C9E34113FBC1EB00CA3B4E /* EncodeWorking.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = EncodeWorking.png; path = images/EncodeWorking.png; sourceTree = "<group>"; };
|
||||
A9D47B5417B239E200900BCA /* EncodeCanceled.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = EncodeCanceled.png; path = images/EncodeCanceled.png; sourceTree = "<group>"; };
|
||||
A9D47B5517B239E200900BCA /* EncodeCanceled@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "EncodeCanceled@2x.png"; path = "images/EncodeCanceled@2x.png"; sourceTree = "<group>"; };
|
||||
@@ -436,6 +439,8 @@
|
||||
children = (
|
||||
A961475F13F567E10068F161 /* SBQueueController.h */,
|
||||
A961476013F567E10068F161 /* SBQueueController.m */,
|
||||
A9C828F3195950C3004C4718 /* SBQueuePreferences.h */,
|
||||
A9C828F4195950C3004C4718 /* SBQueuePreferences.m */,
|
||||
A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */,
|
||||
A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */,
|
||||
A9BC410118D9AB8700F8C92C /* SBItemViewController.h */,
|
||||
@@ -697,6 +702,7 @@
|
||||
CD71FF1D12F1C4A900F0A98D /* TheTVDB.m in Sources */,
|
||||
A9D73C5218BF3F1100C6FFA6 /* SBQueue.m in Sources */,
|
||||
A9AB485717F0AEAC000AA72E /* SBSoundViewController.m in Sources */,
|
||||
A9C828F5195950C3004C4718 /* SBQueuePreferences.m in Sources */,
|
||||
CD56963212FAAD680029FADB /* SBArtworkSelector.m in Sources */,
|
||||
A936E03E130BE10200CA5527 /* MAAttachedWindow.m in Sources */,
|
||||
A961476313F567E10068F161 /* SBQueueController.m in Sources */,
|
||||
|
||||
Reference in new issue
Block a user