Save the maps in the preferences.
This commit is contained in:
1 parent
058aef0212
commit
c15d67c819
9 files changed
+376
-204
No files matched your search
@@ -1,23 +0,0 @@
|
||||
//
|
||||
// SBMetadataDefaultSet.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 28/07/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SBMetadataDefaultItem : NSObject
|
||||
|
||||
+ (instancetype)itemWithKey:(NSString *)key value:(NSArray *)value;
|
||||
- (instancetype)initWithKey:(NSString *)key value:(NSArray *)value;
|
||||
|
||||
@property (nonatomic, readonly) NSString *key;
|
||||
@property (nonatomic, readwrite, copy) NSArray *value;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -1,28 +0,0 @@
|
||||
//
|
||||
// SBMetadataDefaultSet.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 28/07/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBMetadataDefaultItem.h"
|
||||
|
||||
@implementation SBMetadataDefaultItem
|
||||
|
||||
- (instancetype)initWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_key = [key copy];
|
||||
_value = [value copy];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (instancetype)itemWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
return [[self alloc] initWithKey:key value:value];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
#import "SBMetadataPrefsViewController.h"
|
||||
|
||||
#import "SBMetadataDefaultItem.h"
|
||||
#import "SBMetadataResultMap.h"
|
||||
#import <MP42Foundation/MP42Metadata.h>
|
||||
|
||||
@interface SBMetadataPrefsViewController () <NSTableViewDelegate>
|
||||
@interface SBMetadataPrefsViewController () <NSTableViewDelegate, NSTokenFieldDelegate, NSTextFieldDelegate>
|
||||
|
||||
@property (nonatomic, weak) IBOutlet NSTokenField *builtInTokenField;
|
||||
@property (nonatomic, weak) IBOutlet NSPopUpButton *addMetadataPopUpButton;
|
||||
@@ -19,15 +19,16 @@
|
||||
|
||||
@property (nonatomic, weak) IBOutlet NSTableView *tableView;
|
||||
|
||||
@property (nonatomic, readonly) NSArray<NSString *> *movieTokens;
|
||||
@property (nonatomic, readonly) NSArray<NSString *> *tvShowTokens;
|
||||
@property (nonatomic) NSArray<NSString *> *matches;
|
||||
|
||||
@property (nonatomic) SBMetadataResultMap *movieMap;
|
||||
@property (nonatomic) SBMetadataResultMap *tvShowMap;
|
||||
|
||||
@property (nonatomic, readwrite) SBMetadataResultMap *map;
|
||||
@property (nonatomic) IBOutlet NSArrayController *itemsController;
|
||||
|
||||
@property (nonatomic, readwrite) NSArray<NSString *> *currentTokens;
|
||||
|
||||
@property (nonatomic) NSArray<NSString *> *matches;
|
||||
|
||||
@property (nonatomic, readwrite) NSMutableArray<SBMetadataDefaultItem *> *items;
|
||||
@property (nonatomic, strong) IBOutlet NSArrayController *itemsController;
|
||||
|
||||
@end
|
||||
|
||||
@@ -41,7 +42,15 @@
|
||||
[self.addMetadataPopUpButton addItemWithTitle:tag];
|
||||
}
|
||||
|
||||
_items = [[NSMutableArray alloc] init];
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
SBMetadataResultMap *savedMovieMap = [defaults SB_resultMapForKey:@"SBMetadataMovieResultMap"];
|
||||
SBMetadataResultMap *savedTvShowMap = [defaults SB_resultMapForKey:@"SBMetadataTvShowResultMap"];
|
||||
|
||||
self.movieMap = savedMovieMap ? savedMovieMap :[SBMetadataResultMap movieDefaultMap];
|
||||
self.tvShowMap = savedTvShowMap ? savedTvShowMap :[SBMetadataResultMap tvShowDefaultMap];
|
||||
|
||||
self.map = self.movieMap;
|
||||
self.currentTokens = [SBMetadataResultMap movieKeys];
|
||||
|
||||
NSArray<NSString *> *context = [MP42Metadata availableMetadata];
|
||||
NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"key"
|
||||
@@ -53,141 +62,35 @@
|
||||
}];
|
||||
|
||||
[self.itemsController setSortDescriptors:@[sortDescriptor]];
|
||||
[self.itemsController addObjects:[self movieDefaults]];
|
||||
self.itemsController.selectionIndexes = [NSIndexSet indexSet];
|
||||
|
||||
self.currentTokens = self.movieTokens;
|
||||
|
||||
[self.builtInTokenField setTokenizingCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@"%%"]];
|
||||
self.builtInTokenField.stringValue = [self.currentTokens componentsJoinedByString:@"%%"];
|
||||
}
|
||||
|
||||
#pragma mark - Defaults
|
||||
|
||||
- (NSArray<NSString *> *)movieTokens
|
||||
- (void)save
|
||||
{
|
||||
return @[@"{Title}",
|
||||
@"{Composer}",
|
||||
@"{Genre}",
|
||||
@"{Release Date}",
|
||||
@"{Description}",
|
||||
@"{Long Description}",
|
||||
@"{Rating}",
|
||||
@"{Studio}",
|
||||
@"{Cast}",
|
||||
@"{Director}",
|
||||
@"{Producers}",
|
||||
@"{Screenwriters}",
|
||||
@"{Copyright}",
|
||||
@"{contentID}",
|
||||
@"{iTunes Country}",
|
||||
@"{Executive Producer}"];
|
||||
}
|
||||
|
||||
- (NSArray<NSString *> *)tvShowTokens
|
||||
{
|
||||
return @[@"{Episode Name}",
|
||||
@"{Series Name}",
|
||||
@"{Composer}",
|
||||
@"{Genre}",
|
||||
@"{Release Date}",
|
||||
|
||||
@"{Track #}",
|
||||
@"{Disk #}",
|
||||
@"{TV Show}",
|
||||
@"{TV Episode #}",
|
||||
@"{TV Network}",
|
||||
@"{TV Episode ID}",
|
||||
@"{TV Season}",
|
||||
|
||||
@"{Description}",
|
||||
@"{Long Description}",
|
||||
@"{Series Description}",
|
||||
|
||||
@"{Rating}",
|
||||
@"{Studio}",
|
||||
@"{Cast}",
|
||||
@"{Director}",
|
||||
@"{Producers}",
|
||||
@"{Screenwriters}",
|
||||
@"{Copyright}",
|
||||
@"{contentID}",
|
||||
@"{artistID}",
|
||||
@"{playlistID}",
|
||||
@"{iTunes Country}",
|
||||
@"{Executive Producer}"];
|
||||
}
|
||||
|
||||
- (NSArray<SBMetadataDefaultItem *> *)movieDefaults
|
||||
{
|
||||
return @[
|
||||
[SBMetadataDefaultItem itemWithKey:@"Name" value:@[@"{Title}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Artist" value:@[@"{Director}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Composer" value:@[@"{Composer}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Genre" value:@[@"{Genre}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Release Date" value:@[@"{Release Date}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Description" value:@[@"{Description}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Long Description" value:@[@"{Long Description}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Rating" value:@[@"{Rating}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Studio" value:@[@"{Studio}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Cast" value:@[@"{Cast}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Director" value:@[@"{Director}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Producers" value:@[@"{Producers}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Screenwriters" value:@[@"{Screenwriters}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Copyright" value:@[@"{Copyright}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"contentID" value:@[@"{contentID}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"iTunes Country" value:@[@"{iTunes Country}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Executive Producer" value:@[@"{Executive Producer}"]],
|
||||
];
|
||||
}
|
||||
|
||||
- (NSArray<SBMetadataDefaultItem *> *)tvShowDefaults
|
||||
{
|
||||
return @[
|
||||
[SBMetadataDefaultItem itemWithKey:@"Name" value:@[@"{Episode Name}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Artist" value:@[@"{Series Name}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Album Artist" value:@[@"{Series Name}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Album" value:@[@"{Series Name}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Composer" value:@[@"{Composer}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Genre" value:@[@"{Genre}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Release Date" value:@[@"{Release Date}"]],
|
||||
|
||||
[SBMetadataDefaultItem itemWithKey:@"Track #" value:@[@"{Track #}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Disk #" value:@[@"{Disk #}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"TV Show" value:@[@"{TV Show}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"TV Episode #" value:@[@"{TV Episode #}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"TV Network" value:@[@"{TV Network}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"TV Episode ID" value:@[@"{TV Episode ID}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"TV Season" value:@[@"{TV Season}"]],
|
||||
|
||||
[SBMetadataDefaultItem itemWithKey:@"Description" value:@[@"{Description}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Long Description" value:@[@"{Long Description}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Series Description" value:@[@"{Series Description}"]],
|
||||
|
||||
[SBMetadataDefaultItem itemWithKey:@"Rating" value:@[@"{Rating}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Studio" value:@[@"{Studio}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Cast" value:@[@"{Cast}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Director" value:@[@"{Director}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Producers" value:@[@"{Producers}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Screenwriters" value:@[@"{Screenwriters}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Executive Producer" value:@[@"{Executive Producer}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Copyright" value:@[@"{Copyright}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"contentID" value:@[@"{contentID}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"artistID" value:@[@"{artistID}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"playlistID" value:@[@"{playlistID}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"iTunes Country" value:@[@"{iTunes Country}"]],
|
||||
[SBMetadataDefaultItem itemWithKey:@"Sort Album" value:@[@"{Series Name}", @", Season ", @"{TV Season}"]],
|
||||
];
|
||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||
[defaults SB_setResultMap:self.movieMap forKey:@"SBMetadataMovieResultMap"];
|
||||
[defaults SB_setResultMap:self.tvShowMap forKey:@"SBMetadataTvShowResultMap"];
|
||||
}
|
||||
|
||||
- (IBAction)addMetadataItem:(id)sender
|
||||
{
|
||||
NSString *key = [sender selectedItem].title;
|
||||
if (key.length) {
|
||||
SBMetadataDefaultItem *item = [[SBMetadataDefaultItem alloc] initWithKey:key value:@[@""]];
|
||||
SBMetadataResultMapItem *item = [[SBMetadataResultMapItem alloc] initWithKey:key value:@[@""]];
|
||||
[self.itemsController addObject:item];
|
||||
[self.itemsController rearrangeObjects];
|
||||
}
|
||||
[self save];
|
||||
}
|
||||
|
||||
- (IBAction)removeMetadata:(id)sender
|
||||
{
|
||||
[self.itemsController removeObjects:self.itemsController.selectedObjects];
|
||||
[self save];
|
||||
}
|
||||
|
||||
#pragma mark - Type selector
|
||||
@@ -195,12 +98,12 @@
|
||||
- (IBAction)setType:(NSPopUpButton *)sender
|
||||
{
|
||||
if (sender.selectedTag) {
|
||||
self.currentTokens = self.tvShowTokens;
|
||||
self.items = [[self tvShowDefaults] mutableCopy];
|
||||
self.currentTokens = [SBMetadataResultMap tvShowKeys];
|
||||
self.map = self.tvShowMap;
|
||||
}
|
||||
else {
|
||||
self.currentTokens = self.movieTokens;
|
||||
self.items = [[self movieDefaults] mutableCopy];
|
||||
self.currentTokens = [SBMetadataResultMap movieKeys];
|
||||
self.map = self.movieMap;
|
||||
}
|
||||
self.itemsController.selectionIndexes = [NSIndexSet indexSet];
|
||||
self.builtInTokenField.stringValue = [self.currentTokens componentsJoinedByString:@"%%"];
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<rect key="frame" x="1" y="0.0" width="458" height="316"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="REl-53-Sku" viewBased="YES" id="Tid-Rc-Ljr">
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="REl-53-Sku" viewBased="YES" id="Tid-Rc-Ljr">
|
||||
<rect key="frame" x="0.0" y="0.0" width="458" height="293"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
@@ -172,7 +172,7 @@
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="remove:" target="4Wq-Wo-sl2" id="LfP-AS-NCc"/>
|
||||
<action selector="removeMetadata:" target="-2" id="68h-Kv-eRu"/>
|
||||
<binding destination="4Wq-Wo-sl2" name="enabled" keyPath="selectionIndexes.count" id="K6b-sv-ld3"/>
|
||||
</connections>
|
||||
</button>
|
||||
@@ -255,11 +255,11 @@
|
||||
<constraint firstItem="1XK-zr-YdW" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="59" id="pmj-ye-CSF"/>
|
||||
<constraint firstItem="s8h-Of-e4s" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="vu5-JL-s1d"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-252" y="-244"/>
|
||||
<point key="canvasLocation" x="-489" y="-297"/>
|
||||
</customView>
|
||||
<arrayController objectClassName="SBMetadataDefaultItem" id="4Wq-Wo-sl2">
|
||||
<connections>
|
||||
<binding destination="-2" name="contentArray" keyPath="self.items" id="4xU-KX-jfc"/>
|
||||
<binding destination="-2" name="contentArray" keyPath="self.map.items" id="KOJ-Ao-j0F"/>
|
||||
</connections>
|
||||
</arrayController>
|
||||
</objects>
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
//
|
||||
// SBMetadataDefaultSet.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 28/07/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SBMetadataResultMapItem : NSObject<NSSecureCoding>
|
||||
|
||||
+ (instancetype)itemWithKey:(NSString *)key value:(NSArray *)value;
|
||||
- (instancetype)initWithKey:(NSString *)key value:(NSArray *)value;
|
||||
|
||||
@property (nonatomic, readonly) NSString *key;
|
||||
@property (nonatomic, readwrite, copy) NSArray<NSString *> *value;
|
||||
|
||||
@end
|
||||
|
||||
typedef NS_ENUM(NSUInteger, SBMetadataResultMapType) {
|
||||
SBMetadataResultMapTypeMovie,
|
||||
SBMetadataResultMapTypeTvShow,
|
||||
};
|
||||
|
||||
/**
|
||||
* Maps the values returned by the metadata importers
|
||||
* the the MP42Metadata values.
|
||||
*/
|
||||
@interface SBMetadataResultMap : NSObject<NSSecureCoding>
|
||||
|
||||
+ (NSArray<NSString *> *)movieKeys;
|
||||
+ (instancetype)movieDefaultMap;
|
||||
|
||||
+ (NSArray<NSString *> *)tvShowKeys;
|
||||
+ (instancetype)tvShowDefaultMap;
|
||||
|
||||
- (instancetype)initWithItems:(NSArray<SBMetadataResultMapItem *> *)items type:(SBMetadataResultMapType)type;
|
||||
|
||||
@property (nonatomic, readonly) NSMutableArray<SBMetadataResultMapItem *> *items;
|
||||
@property (nonatomic, readonly) SBMetadataResultMapType type;
|
||||
|
||||
@end
|
||||
|
||||
@interface NSUserDefaults (SublerMetadataResultMapAdditions)
|
||||
|
||||
- (nullable SBMetadataResultMap *)SB_resultMapForKey:(NSString *)defaultName;
|
||||
- (void)SB_setResultMap:(nullable SBMetadataResultMap *)value forKey:(NSString *)defaultName;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,256 @@
|
||||
//
|
||||
// SBMetadataDefaultSet.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 28/07/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBMetadataResultMap.h"
|
||||
|
||||
@implementation SBMetadataResultMapItem
|
||||
|
||||
- (instancetype)initWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_key = [key copy];
|
||||
_value = [value copy];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (instancetype)itemWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
return [[self alloc] initWithKey:key value:value];
|
||||
}
|
||||
|
||||
#pragma mark - NSCoding
|
||||
|
||||
+ (BOOL)supportsSecureCoding
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder
|
||||
{
|
||||
self = [self init];
|
||||
if (self) {
|
||||
id temp;
|
||||
temp = [coder decodeObjectOfClass:[NSString class] forKey:@"key"];
|
||||
if (temp) {
|
||||
_key = temp;
|
||||
}
|
||||
temp = [coder decodeObjectOfClass:[NSArray class] forKey:@"value"];
|
||||
if (temp) {
|
||||
_value = temp;
|
||||
}
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder *)coder
|
||||
{
|
||||
[coder encodeObject:self.key forKey:@"key"];
|
||||
[coder encodeObject:self.value forKey:@"value"];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation SBMetadataResultMap
|
||||
|
||||
+ (NSArray<NSString *> *)movieKeys
|
||||
{
|
||||
return @[@"{Title}",
|
||||
@"{Composer}",
|
||||
@"{Genre}",
|
||||
@"{Release Date}",
|
||||
@"{Description}",
|
||||
@"{Long Description}",
|
||||
@"{Rating}",
|
||||
@"{Studio}",
|
||||
@"{Cast}",
|
||||
@"{Director}",
|
||||
@"{Producers}",
|
||||
@"{Screenwriters}",
|
||||
@"{Copyright}",
|
||||
@"{contentID}",
|
||||
@"{iTunes Country}",
|
||||
@"{Executive Producer}"];
|
||||
}
|
||||
|
||||
+ (instancetype)movieDefaultMap
|
||||
{
|
||||
NSArray<SBMetadataResultMapItem *> *items = @[
|
||||
[SBMetadataResultMapItem itemWithKey:@"Name" value:@[@"{Title}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Artist" value:@[@"{Director}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Composer" value:@[@"{Composer}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Genre" value:@[@"{Genre}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Release Date" value:@[@"{Release Date}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Description" value:@[@"{Description}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Long Description" value:@[@"{Long Description}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Rating" value:@[@"{Rating}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Studio" value:@[@"{Studio}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Cast" value:@[@"{Cast}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Director" value:@[@"{Director}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Producers" value:@[@"{Producers}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Screenwriters" value:@[@"{Screenwriters}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Copyright" value:@[@"{Copyright}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"contentID" value:@[@"{contentID}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"iTunes Country" value:@[@"{iTunes Country}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Executive Producer" value:@[@"{Executive Producer}"]],
|
||||
];
|
||||
|
||||
return [[self alloc] initWithItems:items type:SBMetadataResultMapTypeMovie];
|
||||
}
|
||||
|
||||
+ (NSArray<NSString *> *)tvShowKeys
|
||||
{
|
||||
return @[@"{Episode Name}",
|
||||
@"{Series Name}",
|
||||
@"{Composer}",
|
||||
@"{Genre}",
|
||||
@"{Release Date}",
|
||||
|
||||
@"{Track #}",
|
||||
@"{Disk #}",
|
||||
@"{TV Show}",
|
||||
@"{TV Episode #}",
|
||||
@"{TV Network}",
|
||||
@"{TV Episode ID}",
|
||||
@"{TV Season}",
|
||||
|
||||
@"{Description}",
|
||||
@"{Long Description}",
|
||||
@"{Series Description}",
|
||||
|
||||
@"{Rating}",
|
||||
@"{Studio}",
|
||||
@"{Cast}",
|
||||
@"{Director}",
|
||||
@"{Producers}",
|
||||
@"{Screenwriters}",
|
||||
@"{Copyright}",
|
||||
@"{contentID}",
|
||||
@"{artistID}",
|
||||
@"{playlistID}",
|
||||
@"{iTunes Country}",
|
||||
@"{Executive Producer}"];
|
||||
}
|
||||
|
||||
+ (instancetype)tvShowDefaultMap
|
||||
{
|
||||
NSArray<SBMetadataResultMapItem *> *items = @[
|
||||
[SBMetadataResultMapItem itemWithKey:@"Name" value:@[@"{Episode Name}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Artist" value:@[@"{Series Name}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Album Artist" value:@[@"{Series Name}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Album" value:@[@"{Series Name}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Composer" value:@[@"{Composer}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Genre" value:@[@"{Genre}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Release Date" value:@[@"{Release Date}"]],
|
||||
|
||||
[SBMetadataResultMapItem itemWithKey:@"Track #" value:@[@"{Track #}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Disk #" value:@[@"{Disk #}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"TV Show" value:@[@"{TV Show}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"TV Episode #" value:@[@"{TV Episode #}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"TV Network" value:@[@"{TV Network}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"TV Episode ID" value:@[@"{TV Episode ID}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"TV Season" value:@[@"{TV Season}"]],
|
||||
|
||||
[SBMetadataResultMapItem itemWithKey:@"Description" value:@[@"{Description}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Long Description" value:@[@"{Long Description}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Series Description" value:@[@"{Series Description}"]],
|
||||
|
||||
[SBMetadataResultMapItem itemWithKey:@"Rating" value:@[@"{Rating}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Studio" value:@[@"{Studio}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Cast" value:@[@"{Cast}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Director" value:@[@"{Director}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Producers" value:@[@"{Producers}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Screenwriters" value:@[@"{Screenwriters}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Executive Producer" value:@[@"{Executive Producer}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Copyright" value:@[@"{Copyright}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"contentID" value:@[@"{contentID}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"artistID" value:@[@"{artistID}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"playlistID" value:@[@"{playlistID}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"iTunes Country" value:@[@"{iTunes Country}"]],
|
||||
[SBMetadataResultMapItem itemWithKey:@"Sort Album" value:@[@"{Series Name}", @", Season ", @"{TV Season}"]],
|
||||
];
|
||||
|
||||
return [[self alloc] initWithItems:items type:SBMetadataResultMapTypeTvShow];
|
||||
}
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_items = [[NSMutableArray alloc] init];
|
||||
_type = SBMetadataResultMapTypeMovie;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (instancetype)initWithItems:(NSArray<SBMetadataResultMapItem *> *)items type:(SBMetadataResultMapType)type
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_items = [items mutableCopy];
|
||||
_type = type;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark - NSCoding
|
||||
|
||||
+ (BOOL)supportsSecureCoding
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder
|
||||
{
|
||||
self = [self init];
|
||||
if (self) {
|
||||
id temp;
|
||||
temp = [coder decodeObjectOfClass:[NSArray class] forKey:@"items"];
|
||||
if (temp) {
|
||||
_items = temp;
|
||||
}
|
||||
_type = [coder decodeIntegerForKey:@"type"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder *)coder
|
||||
{
|
||||
[coder encodeObject:self.items forKey:@"items"];
|
||||
[coder encodeInteger:self.type forKey:@"type"];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSUserDefaults (SublerMetadataResultMapAdditions)
|
||||
|
||||
- (nullable SBMetadataResultMap *)SB_resultMapForKey:(NSString *)defaultName
|
||||
{
|
||||
NSData *encodedObject = [self objectForKey:defaultName];
|
||||
if (encodedObject) {
|
||||
@try {
|
||||
SBMetadataResultMap *decodedMap = [NSKeyedUnarchiver unarchiveObjectWithData:encodedObject];
|
||||
if ([decodedMap isKindOfClass:[SBMetadataResultMap class]]) {
|
||||
return decodedMap;
|
||||
}
|
||||
}
|
||||
@catch (NSException *exception) {}
|
||||
@finally {}
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)SB_setResultMap:(nullable SBMetadataResultMap *)value forKey:(NSString *)defaultName
|
||||
{
|
||||
NSData *encodedObject = [NSKeyedArchiver archivedDataWithRootObject:value];
|
||||
[self setObject:encodedObject forKey:defaultName];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -10,6 +10,7 @@
|
||||
#import "SBMetadataSearchController.h"
|
||||
#import "SBPresetManager.h"
|
||||
#import "SBMovieViewController.h"
|
||||
#import "SBMetadataResultMap.h"
|
||||
|
||||
#import <MP42Foundation/MP42Metadata.h>
|
||||
#import <MP42Foundation/MP42Ratings.h>
|
||||
@@ -38,7 +39,10 @@
|
||||
@implementation SBPrefsController
|
||||
|
||||
+ (void)registerUserDefaults
|
||||
{
|
||||
{
|
||||
NSData *movieDefaultMap = [NSKeyedArchiver archivedDataWithRootObject:[SBMetadataResultMap movieDefaultMap]];
|
||||
NSData *tvShowDefaultMap = [NSKeyedArchiver archivedDataWithRootObject:[SBMetadataResultMap tvShowDefaultMap]];
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{@"SBSaveFormat": @"m4v",
|
||||
@"defaultSaveFormat": @"0",
|
||||
@"SBOrganizeAlternateGroups": @"YES",
|
||||
@@ -59,7 +63,11 @@
|
||||
@"SBMetadataPreference|Movie|TheMovieDB|Language": @"English",
|
||||
@"SBMetadataPreference|TV": @"TheTVDB",
|
||||
@"SBMetadataPreference|TV|iTunes Store|Language": @"USA (English)",
|
||||
@"SBMetadataPreference|TV|TheTVDB|Language": @"English"}];
|
||||
@"SBMetadataPreference|TV|TheTVDB|Language": @"English",
|
||||
|
||||
@"SBMetadataMovieResultMap" : movieDefaultMap,
|
||||
@"SBMetadataTvShowResultMap" : tvShowDefaultMap,
|
||||
}];
|
||||
}
|
||||
|
||||
- (instancetype)init
|
||||
|
||||
+12
-10
@@ -20,10 +20,10 @@
|
||||
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" showsToolbarButton="NO" animationBehavior="default" id="1">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="625" y="992" width="540" height="130"/>
|
||||
<rect key="contentRect" x="625" y="992" width="600" height="130"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
|
||||
<view key="contentView" id="2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="540" height="130"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="130"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="0A22B294-70B1-4E35-B468-425EC64FF9C7" autosavesConfiguration="NO" displayMode="iconAndLabel" sizeMode="regular" id="W21-Kp-oTx">
|
||||
@@ -75,7 +75,7 @@
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="UII-c7-6hP">
|
||||
<rect key="frame" x="76" y="0.0" width="348" height="242"/>
|
||||
<rect key="frame" x="77" y="0.0" width="346" height="242"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
||||
<rect key="frame" x="18" y="205" width="117" height="17"/>
|
||||
@@ -97,7 +97,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="79">
|
||||
<rect key="frame" x="139" y="204" width="192" height="18"/>
|
||||
<rect key="frame" x="139" y="204" width="190" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Automatically check daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -107,7 +107,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="80">
|
||||
<rect key="frame" x="139" y="179" width="192" height="18"/>
|
||||
<rect key="frame" x="139" y="179" width="190" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -145,7 +145,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="82">
|
||||
<rect key="frame" x="139" y="154" width="192" height="18"/>
|
||||
<rect key="frame" x="139" y="154" width="190" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Create Preview Images" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -180,6 +180,9 @@
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="236">
|
||||
<rect key="frame" x="139" y="109" width="185" height="26"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="180" id="Iqm-JB-rHv"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="239" id="237">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
@@ -198,7 +201,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
||||
<rect key="frame" x="139" y="96" width="167" height="14"/>
|
||||
<rect key="frame" x="139" y="96" width="165" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -235,7 +238,6 @@
|
||||
<constraint firstItem="80" firstAttribute="trailing" secondItem="82" secondAttribute="trailing" id="ecc-4x-cYt"/>
|
||||
<constraint firstAttribute="trailing" secondItem="249" secondAttribute="trailing" constant="44" id="hXa-En-DHg"/>
|
||||
<constraint firstItem="79" firstAttribute="leading" secondItem="80" secondAttribute="leading" id="rjX-FO-BbK"/>
|
||||
<constraint firstAttribute="trailing" secondItem="236" secondAttribute="trailing" constant="27" id="s2n-eK-UDb"/>
|
||||
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="u8x-Vf-JlB"/>
|
||||
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" constant="-7" id="vBe-U7-K4r"/>
|
||||
<constraint firstItem="77" firstAttribute="leading" secondItem="UII-c7-6hP" secondAttribute="leading" constant="20" id="wR9-bT-Aha"/>
|
||||
@@ -246,10 +248,10 @@
|
||||
</customView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="UII-c7-6hP" firstAttribute="leading" secondItem="76" secondAttribute="leading" constant="76" id="Dn3-LT-Twc"/>
|
||||
<constraint firstItem="UII-c7-6hP" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="ThN-0I-qy7"/>
|
||||
<constraint firstItem="UII-c7-6hP" firstAttribute="centerY" secondItem="76" secondAttribute="centerY" id="YVW-MI-w8c"/>
|
||||
<constraint firstItem="UII-c7-6hP" firstAttribute="top" secondItem="76" secondAttribute="top" id="oQl-sJ-Yrx"/>
|
||||
<constraint firstItem="UII-c7-6hP" firstAttribute="top" secondItem="76" secondAttribute="top" id="tJb-RY-f3r"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-79.5" y="-487"/>
|
||||
</customView>
|
||||
@@ -420,6 +422,7 @@
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="201" firstAttribute="leading" secondItem="191" secondAttribute="trailing" constant="7" id="0r0-dV-g2W"/>
|
||||
<constraint firstItem="hgg-QV-i0I" firstAttribute="leading" secondItem="dxP-K4-Plz" secondAttribute="leading" constant="17" id="3vR-FY-mvS"/>
|
||||
<constraint firstItem="3fA-qQ-VvX" firstAttribute="leading" secondItem="hgg-QV-i0I" secondAttribute="trailing" constant="8" id="41f-qe-xN3"/>
|
||||
<constraint firstItem="113" firstAttribute="leading" secondItem="101" secondAttribute="leading" id="Af9-fN-G59"/>
|
||||
<constraint firstItem="115" firstAttribute="leading" secondItem="113" secondAttribute="trailing" constant="8" id="Afd-BA-HDD"/>
|
||||
@@ -459,7 +462,6 @@
|
||||
<constraint firstItem="dxP-K4-Plz" firstAttribute="centerX" secondItem="94" secondAttribute="centerX" id="FLe-BG-1bJ"/>
|
||||
<constraint firstAttribute="bottom" secondItem="dxP-K4-Plz" secondAttribute="bottom" id="RgL-FE-J7N"/>
|
||||
<constraint firstItem="dxP-K4-Plz" firstAttribute="centerY" secondItem="94" secondAttribute="centerY" id="gk7-KG-NGy"/>
|
||||
<constraint firstItem="dxP-K4-Plz" firstAttribute="leading" secondItem="94" secondAttribute="leading" constant="66" id="svl-z1-LtS"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-88" y="-776"/>
|
||||
</customView>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
A975644F132A325C0051ED08 /* info-pressed.pdf in Resources */ = {isa = PBXBuildFile; fileRef = A975644C132A325C0051ED08 /* info-pressed.pdf */; };
|
||||
A97EABF01C061B6700098D23 /* ToolbarChaptersTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A97EABEE1C061B6700098D23 /* ToolbarChaptersTemplate.png */; };
|
||||
A97EABF11C061B6700098D23 /* ToolbarChaptersTemplate@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A97EABEF1C061B6700098D23 /* ToolbarChaptersTemplate@2x.png */; };
|
||||
A98175501D49F11B00750709 /* SBMetadataDefaultItem.m in Sources */ = {isa = PBXBuildFile; fileRef = A981754F1D49F11B00750709 /* SBMetadataDefaultItem.m */; };
|
||||
A98175501D49F11B00750709 /* SBMetadataResultMap.m in Sources */ = {isa = PBXBuildFile; fileRef = A981754F1D49F11B00750709 /* SBMetadataResultMap.m */; };
|
||||
A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */ = {isa = PBXBuildFile; fileRef = A982D0BF140AB66400B92357 /* SBQueueItem.m */; };
|
||||
A984DB4B0F52D644001A20B2 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A984DB4A0F52D644001A20B2 /* Sparkle.framework */; };
|
||||
A984DB530F52D679001A20B2 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A984DB4A0F52D644001A20B2 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
|
||||
@@ -207,8 +207,8 @@
|
||||
A97BE36E0F73D72E00652CBD /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; };
|
||||
A97EABEE1C061B6700098D23 /* ToolbarChaptersTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarChaptersTemplate.png; path = images/ToolbarChaptersTemplate.png; sourceTree = "<group>"; };
|
||||
A97EABEF1C061B6700098D23 /* ToolbarChaptersTemplate@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "ToolbarChaptersTemplate@2x.png"; path = "images/ToolbarChaptersTemplate@2x.png"; sourceTree = "<group>"; };
|
||||
A981754E1D49F11B00750709 /* SBMetadataDefaultItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMetadataDefaultItem.h; path = Classes/SBMetadataDefaultItem.h; sourceTree = "<group>"; };
|
||||
A981754F1D49F11B00750709 /* SBMetadataDefaultItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMetadataDefaultItem.m; path = Classes/SBMetadataDefaultItem.m; sourceTree = "<group>"; };
|
||||
A981754E1D49F11B00750709 /* SBMetadataResultMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMetadataResultMap.h; path = Classes/SBMetadataResultMap.h; sourceTree = "<group>"; };
|
||||
A981754F1D49F11B00750709 /* SBMetadataResultMap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMetadataResultMap.m; path = Classes/SBMetadataResultMap.m; sourceTree = "<group>"; };
|
||||
A982D0BE140AB66400B92357 /* SBQueueItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueueItem.h; path = Classes/SBQueueItem.h; sourceTree = "<group>"; };
|
||||
A982D0BF140AB66400B92357 /* SBQueueItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBQueueItem.m; path = Classes/SBQueueItem.m; sourceTree = "<group>"; };
|
||||
A984DB4A0F52D644001A20B2 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
|
||||
@@ -482,8 +482,8 @@
|
||||
children = (
|
||||
A9B46A8212B79B240040517A /* SBPrefsController.h */,
|
||||
A9B46A8312B79B240040517A /* SBPrefsController.m */,
|
||||
A981754E1D49F11B00750709 /* SBMetadataDefaultItem.h */,
|
||||
A981754F1D49F11B00750709 /* SBMetadataDefaultItem.m */,
|
||||
A981754E1D49F11B00750709 /* SBMetadataResultMap.h */,
|
||||
A981754F1D49F11B00750709 /* SBMetadataResultMap.m */,
|
||||
A94721901D49DC0000858DD8 /* SBMetadataPrefsViewController.h */,
|
||||
A94721911D49DC0000858DD8 /* SBMetadataPrefsViewController.m */,
|
||||
A94721921D49DC0000858DD8 /* SBMetadataPrefsViewController.xib */,
|
||||
@@ -902,7 +902,7 @@
|
||||
A901C51F1C04F03F00430DC3 /* SBChapterImporter.m in Sources */,
|
||||
A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */,
|
||||
A9AF6A7518D0496400FAAB08 /* SBQueueAction.m in Sources */,
|
||||
A98175501D49F11B00750709 /* SBMetadataDefaultItem.m in Sources */,
|
||||
A98175501D49F11B00750709 /* SBMetadataResultMap.m in Sources */,
|
||||
A9F442301C75017100AD8786 /* SBMetadataResult.m in Sources */,
|
||||
CDC06FCE1747494D003C1D0A /* SBiTunesStore.m in Sources */,
|
||||
A917286119FD288B00348DF8 /* SBLogger.m in Sources */,
|
||||
|
||||
Reference in new issue
Block a user