Added a second languages popup for the languages selection.
Fixed a crash.
This commit is contained in:
1 parent
89ed390891
commit
9cbd2e7001
7 files changed
+140
-43
No files matched your search
@@ -17,7 +17,8 @@
|
||||
|
||||
NSArray *_moviesProviders;
|
||||
NSArray *_tvShowsProviders;
|
||||
NSArray *_languages;
|
||||
NSArray *_movieLanguages;
|
||||
NSArray *_tvShowLanguages;
|
||||
|
||||
NSURL *_destination;
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#import "MetadataImporter.h"
|
||||
|
||||
static void *SBOptionsViewContex = &SBOptionsViewContex;
|
||||
|
||||
@interface SBOptionsViewController ()
|
||||
|
||||
@property (nonatomic) NSMutableDictionary *options;
|
||||
@@ -21,7 +23,8 @@
|
||||
|
||||
@property (nonatomic, retain) NSArray *moviesProviders;
|
||||
@property (nonatomic, retain) NSArray *tvShowsProviders;
|
||||
@property (nonatomic, retain) NSArray *languages;
|
||||
@property (nonatomic, retain) NSArray *movieLanguages;
|
||||
@property (nonatomic, retain) NSArray *tvShowLanguages;
|
||||
|
||||
- (IBAction)chooseDestination:(id)sender;
|
||||
- (IBAction)destination:(id)sender;
|
||||
@@ -36,7 +39,8 @@
|
||||
@synthesize sets = _sets;
|
||||
@synthesize moviesProviders = _moviesProviders;
|
||||
@synthesize tvShowsProviders = _tvShowsProviders;
|
||||
@synthesize languages = _languages;
|
||||
@synthesize movieLanguages = _movieLanguages;
|
||||
@synthesize tvShowLanguages = _tvShowLanguages;
|
||||
|
||||
@synthesize destination = _destination;
|
||||
|
||||
@@ -47,7 +51,6 @@
|
||||
_sets = [[NSMutableArray alloc] init];
|
||||
_moviesProviders = [[MetadataImporter movieProviders] retain];
|
||||
_tvShowsProviders = [[MetadataImporter tvProviders] retain];
|
||||
_languages = [[[MP42Languages defaultManager] iso6391languages] retain];
|
||||
|
||||
}
|
||||
return self;
|
||||
@@ -63,6 +66,19 @@
|
||||
|
||||
- (void)loadView {
|
||||
[super loadView];
|
||||
|
||||
// Observe the providers changes
|
||||
// to update the specific provider languages popup
|
||||
[self addObserver:self
|
||||
forKeyPath:@"options.SBQueueMovieProvider"
|
||||
options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew
|
||||
context:SBOptionsViewContex];
|
||||
|
||||
[self addObserver:self
|
||||
forKeyPath:@"options.SBQueueTVShowProvider"
|
||||
options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew
|
||||
context:SBOptionsViewContex];
|
||||
|
||||
[self prepareDestPopup];
|
||||
[self prepareSetsPopup];
|
||||
}
|
||||
@@ -79,6 +95,23 @@
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
|
||||
if (context == SBOptionsViewContex) {
|
||||
// Update the languages popup
|
||||
if ([keyPath isEqualToString:@"options.SBQueueMovieProvider"]) {
|
||||
NSString *newProvider = [change valueForKey:NSKeyValueChangeNewKey];
|
||||
self.movieLanguages = [MetadataImporter languagesForProvider:newProvider];
|
||||
} else if ([keyPath isEqualToString:@"options.SBQueueTVShowProvider"]) {
|
||||
NSString *newProvider = [change valueForKey:NSKeyValueChangeNewKey];
|
||||
self.tvShowLanguages = [MetadataImporter languagesForProvider:newProvider];
|
||||
} else {
|
||||
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark Destination PopUp
|
||||
|
||||
- (void)prepareDestPopup {
|
||||
NSMenuItem *folderItem = nil;
|
||||
|
||||
@@ -154,6 +187,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark Sets PopUp
|
||||
|
||||
- (void)prepareSetsPopup {
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(updateSetsMenu:)
|
||||
@@ -177,6 +212,14 @@
|
||||
[_moviesProviders release];
|
||||
[_tvShowsProviders release];
|
||||
|
||||
[_movieLanguages release];
|
||||
[_tvShowLanguages release];
|
||||
|
||||
@try {
|
||||
[self removeObserver:self forKeyPath:@"options.SBQueueMovieProvider"];
|
||||
[self removeObserver:self forKeyPath:@"options.SBQueueTVShowProvider"];
|
||||
} @catch (NSException * __unused exception) {}
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
||||
@@ -24,11 +24,13 @@
|
||||
*/
|
||||
@interface SBQueueMetadataAction : NSObject <SBQueueActionProtocol> {
|
||||
@private
|
||||
NSString *_language;
|
||||
NSString *_movieLanguage;
|
||||
NSString *_tvShowLanguage;
|
||||
NSString *_movieProvider;
|
||||
NSString *_tvShowProvider;
|
||||
}
|
||||
- (instancetype)initWithLanguage:(NSString *)language
|
||||
- (instancetype)initWithMovieLanguage:(NSString *)movieLang
|
||||
tvShowLanguage:(NSString *)tvLang
|
||||
movieProvider:(NSString *)movieProvider
|
||||
tvShowProvider:(NSString *)tvShowProvider;
|
||||
@end
|
||||
|
||||
+16
-9
@@ -80,17 +80,26 @@
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_language = [MetadataImporter defaultMovieLanguage];
|
||||
_movieLanguage = [MetadataImporter defaultMovieLanguage];
|
||||
_tvShowLanguage = [MetadataImporter defaultTVLanguage];
|
||||
_movieProvider = [[MetadataImporter movieProviders] firstObject];
|
||||
_tvShowProvider = [[MetadataImporter tvProviders] firstObject];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (instancetype)initWithLanguage:(NSString *)language movieProvider:(NSString *)movieProvider tvShowProvider:(NSString *)tvShowProvider {
|
||||
- (instancetype)initWithMovieLanguage:(NSString *)movieLang
|
||||
tvShowLanguage:(NSString *)tvLang
|
||||
movieProvider:(NSString *)movieProvider
|
||||
tvShowProvider:(NSString *)tvShowProvider {
|
||||
if (!movieLang || !tvLang || !movieProvider || !tvShowProvider) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
self = [self init];
|
||||
if (self) {
|
||||
_language = language;
|
||||
_movieLanguage = movieLang;
|
||||
_tvShowLanguage = tvLang;
|
||||
_movieProvider = movieProvider;
|
||||
_tvShowProvider = tvShowProvider;
|
||||
}
|
||||
@@ -118,19 +127,17 @@
|
||||
NSString *type = (NSString *)[parsed valueForKey:@"type"];
|
||||
if ([@"movie" isEqualToString:type]) {
|
||||
currentSearcher = [MetadataImporter importerForProvider:_movieProvider];
|
||||
NSString *language = [MetadataImporter defaultMovieLanguage];
|
||||
NSArray *results = [currentSearcher searchMovie:[parsed valueForKey:@"title"] language:language];
|
||||
NSArray *results = [currentSearcher searchMovie:[parsed valueForKey:@"title"] language:_movieLanguage];
|
||||
if ([results count]) {
|
||||
metadata = [currentSearcher loadMovieMetadata:[results firstObject] language:language];
|
||||
metadata = [currentSearcher loadMovieMetadata:[results firstObject] language:_movieLanguage];
|
||||
}
|
||||
} else if ([@"tv" isEqualToString:type]) {
|
||||
currentSearcher = [MetadataImporter importerForProvider:_tvShowProvider];
|
||||
NSString *language = [MetadataImporter defaultTVLanguage];
|
||||
NSArray *results = [currentSearcher searchTVSeries:[parsed valueForKey:@"seriesName"]
|
||||
language:language seasonNum:[parsed valueForKey:@"seasonNum"]
|
||||
language:_tvShowLanguage seasonNum:[parsed valueForKey:@"seasonNum"]
|
||||
episodeNum:[parsed valueForKey:@"episodeNum"]];
|
||||
if ([results count]) {
|
||||
metadata = [currentSearcher loadTVMetadata:[results firstObject] language:language];
|
||||
metadata = [currentSearcher loadTVMetadata:[results firstObject] language:_tvShowLanguage];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,9 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserverForName:SBQueueFailedNotification object:self.queue queue:mainQueue usingBlock:^(NSNotification *note) {
|
||||
NSDictionary *info = [note userInfo];
|
||||
[NSApp presentError:[info valueForKey:@"Error"]];
|
||||
if ([[info valueForKey:@"Error"] isMemberOfClass:[NSError class]]) {
|
||||
[NSApp presentError:[info valueForKey:@"Error"]];
|
||||
}
|
||||
}];
|
||||
|
||||
// Update the UI the first time
|
||||
@@ -177,7 +179,8 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
@"SBQueueOptimize" : @YES,
|
||||
@"SBQueueMovieProvider" : @"TheMovieDB",
|
||||
@"SBQueueTVShowProvider" : @"TheTVDB",
|
||||
@"SBQueueProviderLanguage" : @"English"}];
|
||||
@"SBQueueMovieProviderLanguage" : @"English",
|
||||
@"SBQueueTVShowProviderLanguage" : @"English"}];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -185,7 +188,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
*/
|
||||
- (void)saveUserDefaults {
|
||||
NSArray *keys = @[@"SBQueueOrganize", @"SBQueueMetadata", @"SBQueueSubtitles", @"SBQueueAutoStart", @"SBQueueOptimize",
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueProviderLanguage"];
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueMovieProviderLanguage", @"SBQueueTVShowProviderLanguage"];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[self.options objectForKey:obj] forKey:obj];
|
||||
@@ -203,7 +206,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
_options = [[NSMutableDictionary alloc] init];
|
||||
|
||||
NSArray *keys = @[@"SBQueueOrganize", @"SBQueueMetadata", @"SBQueueSubtitles", @"SBQueueAutoStart", @"SBQueueOptimize",
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueProviderLanguage"];
|
||||
@"SBQueueMovieProvider", @"SBQueueTVShowProvider", @"SBQueueMovieProviderLanguage", @"SBQueueTVShowProviderLanguage"];
|
||||
|
||||
[keys enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
|
||||
[_options setObject:[[NSUserDefaults standardUserDefaults] valueForKey:obj] forKey:obj];
|
||||
@@ -298,7 +301,8 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
SBQueueItem *item = [SBQueueItem itemWithURL:url];
|
||||
|
||||
if ([[self.options objectForKey:@"SBQueueMetadata"] boolValue]) {
|
||||
[item addAction:[[[SBQueueMetadataAction alloc] initWithLanguage:[self.options objectForKey:@"SBQueueProviderLanguage"]
|
||||
[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]];
|
||||
}
|
||||
|
||||
@@ -146,6 +146,10 @@
|
||||
#pragma mark Item processing
|
||||
|
||||
- (BOOL)prepareItem:(NSError **)outError {
|
||||
if (![[NSFileManager defaultManager] fileExistsAtPath:[self.URL path]]) {
|
||||
return NO;
|
||||
}
|
||||
|
||||
NSString *type;
|
||||
[self.URL getResourceValue:&type forKey:NSURLTypeIdentifierKey error:outError];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13D43" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13E19" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment defaultVersion="1060" identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
|
||||
@@ -14,7 +14,7 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application"/>
|
||||
<customView id="UlG-O3-eNc" userLabel="OptionsView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="321" height="236"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="334" height="262"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<button id="zEH-aV-Tl7">
|
||||
@@ -33,7 +33,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Search metadata online" id="9GN-f6-r2j">
|
||||
<rect key="frame" x="111" y="210" width="103" height="18"/>
|
||||
<rect key="frame" x="111" y="236" width="103" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="QNO-e1-WUJ">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -134,7 +134,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="eTL-yP-QQ5">
|
||||
<rect key="frame" x="140" y="189" width="47" height="14"/>
|
||||
<rect key="frame" x="124" y="215" width="47" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -146,7 +146,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="bDo-OD-bck">
|
||||
<rect key="frame" x="124" y="169" width="63" height="14"/>
|
||||
<rect key="frame" x="124" y="171" width="63" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -167,7 +167,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="S7L-mA-j3Y">
|
||||
<rect key="frame" x="49" y="212" width="59" height="14"/>
|
||||
<rect key="frame" x="49" y="238" width="59" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Add item:" id="9ls-xq-YGz">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -205,7 +205,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton verticalHuggingPriority="750" id="ZVm-yi-3cE">
|
||||
<rect key="frame" x="193" y="189" width="111" height="17"/>
|
||||
<rect key="frame" x="177" y="215" width="111" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CbR-eu-sGI">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
@@ -213,6 +213,11 @@
|
||||
<menu key="menu" title="OtherViews" id="ptP-wd-Rxc"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProvider" previousBinding="crR-iB-g3d" id="zMN-ZS-xkn">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="content" keyPath="self.moviesProviders" id="crR-iB-g3d">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
@@ -221,15 +226,10 @@
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="IHE-rh-qMI"/>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProvider" previousBinding="crR-iB-g3d" id="zMN-ZS-xkn">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton verticalHuggingPriority="750" id="tLh-V3-OfB">
|
||||
<rect key="frame" x="193" y="167" width="111" height="17"/>
|
||||
<rect key="frame" x="193" y="169" width="111" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UOb-Qe-IPw">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
@@ -237,6 +237,12 @@
|
||||
<menu key="menu" title="OtherViews" id="ytE-Us-3gv"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProvider" previousBinding="Rh9-LC-qBz" id="29h-lK-saO">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="WZY-iH-YJ5"/>
|
||||
<binding destination="-2" name="content" keyPath="self.tvShowsProviders" id="Rh9-LC-qBz">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
@@ -244,16 +250,10 @@
|
||||
<string key="NSNullPlaceholder">None</string>
|
||||
</dictionary>
|
||||
</binding>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="WZY-iH-YJ5"/>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProvider" previousBinding="Rh9-LC-qBz" id="29h-lK-saO">
|
||||
<dictionary key="options">
|
||||
<bool key="NSValidatesImmediately" value="YES"/>
|
||||
</dictionary>
|
||||
</binding>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" id="BWL-Nn-iGH">
|
||||
<rect key="frame" x="124" y="147" width="62" height="14"/>
|
||||
<rect key="frame" x="134" y="151" width="62" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="1dC-y4-0rx">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -265,7 +265,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" id="Ce4-O7-Iu4">
|
||||
<rect key="frame" x="193" y="145" width="111" height="17"/>
|
||||
<rect key="frame" x="203" y="149" width="111" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nqF-p0-mT7">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
@@ -273,15 +273,51 @@
|
||||
<menu key="menu" title="OtherViews" id="U0q-ED-kQf"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="content" keyPath="self.languages" id="6NP-iD-sJZ">
|
||||
<binding destination="-2" name="content" keyPath="self.tvShowLanguages" id="aF7-XO-EMK">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
<string key="NSNotApplicablePlaceholder">None</string>
|
||||
<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"/>
|
||||
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueProviderLanguage" previousBinding="6NP-iD-sJZ" id="NQo-71-Vl8">
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" id="73q-gi-fe2">
|
||||
<rect key="frame" x="134" y="197" width="62" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="gYI-7C-fKA"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" id="5rh-cM-iOg">
|
||||
<rect key="frame" x="203" y="195" width="111" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<menu key="menu" title="OtherViews" id="0QM-sv-vRX"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
<binding destination="-2" name="content" keyPath="self.movieLanguages" id="3w0-jj-Nkk">
|
||||
<dictionary key="options">
|
||||
<string key="NSNoSelectionPlaceholder">None</string>
|
||||
<string key="NSNotApplicablePlaceholder">None</string>
|
||||
<string key="NSNullPlaceholder">None</string>
|
||||
</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>
|
||||
|
||||
Reference in new issue
Block a user