Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9077b6d149 | ||
|
|
a3e15e725a | ||
|
|
839b47cd9e | ||
|
|
b58346eda7 | ||
|
|
4c7a26a175 | ||
|
|
85854a2f06 | ||
|
|
a3f73cf1f8 | ||
|
|
a7739840ee | ||
|
|
d0cd519460 | ||
|
|
1040f0dab6 | ||
|
|
dfdffb9332 | ||
|
|
530ea2ed20 | ||
|
|
23f683626d | ||
|
|
934ae63b95 | ||
|
|
1cb5fb59dc | ||
|
|
81d5f8902c | ||
|
|
a48cb77aac | ||
|
|
d930bdb0a6 | ||
|
|
8c0d366764 | ||
|
|
33a7665c5a | ||
|
|
43a768a187 | ||
|
|
8290bf7c52 | ||
|
|
b250450966 | ||
|
|
c84cfd47e3 | ||
|
|
53e46d8095 | ||
|
|
d9131ffc3b | ||
|
|
0305d5371c | ||
|
|
257e412987 | ||
|
|
73e27ef56c | ||
|
|
59f085a7e4 | ||
|
|
40107a9db1 | ||
|
|
ce011a4d37 | ||
|
|
c8fb950854 | ||
|
|
151530d6ab | ||
|
|
94255d6e17 | ||
|
|
a65fcf9bf2 | ||
|
|
b7910bdb45 | ||
|
|
3017c4ef35 | ||
|
|
e12618bda4 | ||
|
|
b88b3d48a6 | ||
|
|
e3f67451b0 | ||
|
|
2f3050f9d0 | ||
|
|
fbdbb2006b | ||
|
|
9ac32753d4 | ||
|
|
d399af54b2 | ||
|
|
689f51d002 | ||
|
|
6307626786 | ||
|
|
7990e816b2 | ||
|
|
d8d40fa315 | ||
|
|
9896d96e87 | ||
|
|
334bc51906 | ||
|
|
8dd1adc199 | ||
|
|
192de27e8d | ||
|
|
97b88a2adb | ||
|
|
abdfa38d2d | ||
|
|
f8667656ef | ||
|
|
22c449f798 | ||
|
|
17c7d67b96 | ||
|
|
beb7774761 | ||
|
|
6c124ca5d0 | ||
|
|
b0d8ee73a8 | ||
|
|
ed69edf45f | ||
|
|
4f2c8f2509 | ||
|
|
16e81d4be0 | ||
|
|
153b8e6570 | ||
|
|
45cf445bca | ||
|
|
cf3dae6490 | ||
|
|
51f395469c | ||
|
|
c01460cb43 | ||
|
|
fc082f3bca | ||
|
|
9122f520db | ||
|
|
1a797e20fa | ||
|
|
f58142a250 | ||
|
|
68bef59a9f | ||
|
|
78ddedb92a | ||
|
|
68709ef2ec | ||
|
|
9aaf78acd2 | ||
|
|
d6cd740aa8 | ||
|
|
418196dbe0 | ||
|
|
aeda6095a8 | ||
|
|
4b5f384a56 | ||
|
|
d50ad9a86f | ||
|
|
03c9a0a129 | ||
|
|
11633fe0e2 | ||
|
|
c928f94e18 | ||
|
|
49edd9adc5 | ||
|
|
43ebf7e835 | ||
|
|
6bc6b749c5 | ||
|
|
20521b0446 | ||
|
|
dea7426df2 |
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fCL-eV-Fib">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fCL-eV-Fib">
|
||||||
<rect key="frame" x="436" y="13" width="122" height="32"/>
|
<rect key="frame" x="440" y="20" width="111" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Set as artwork" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="rMb-PC-yTA">
|
<buttonCell key="cell" type="push" title="Set as artwork" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="rMb-PC-yTA">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -38,7 +38,7 @@ DQ
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fMj-Ew-Qej">
|
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fMj-Ew-Qej">
|
||||||
<rect key="frame" x="449" y="48" width="104" height="20"/>
|
<rect key="frame" x="451" y="54" width="100" height="18"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="100" id="o7H-4a-ogx"/>
|
<constraint firstAttribute="width" constant="100" id="o7H-4a-ogx"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -49,8 +49,8 @@ DQ
|
|||||||
</connections>
|
</connections>
|
||||||
</slider>
|
</slider>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="iH5-SJ-sDV">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="iH5-SJ-sDV">
|
||||||
<rect key="frame" x="13" y="13" width="159" height="32"/>
|
<rect key="frame" x="20" y="20" width="145" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Load more artwork..." bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="40h-Rv-m31">
|
<buttonCell key="cell" type="push" title="Load more artworks" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="40h-Rv-m31">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<string key="keyEquivalent">l</string>
|
<string key="keyEquivalent">l</string>
|
||||||
@@ -61,7 +61,7 @@ DQ
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zyu-WY-ltM">
|
<button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zyu-WY-ltM">
|
||||||
<rect key="frame" x="371" y="13" width="67" height="32"/>
|
<rect key="frame" x="371" y="20" width="57" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UDG-fN-bQH">
|
<buttonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UDG-fN-bQH">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -74,13 +74,13 @@ Gw
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c0O-We-pZd">
|
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c0O-We-pZd">
|
||||||
<rect key="frame" x="20" y="74" width="531" height="461"/>
|
<rect key="frame" x="20" y="80" width="531" height="455"/>
|
||||||
<clipView key="contentView" id="cHe-z7-drT">
|
<clipView key="contentView" id="cHe-z7-drT">
|
||||||
<rect key="frame" x="1" y="1" width="529" height="459"/>
|
<rect key="frame" x="1" y="1" width="529" height="453"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<collectionView selectable="YES" allowsMultipleSelection="YES" id="234-cJ-3Un" customClass="ArtworkCollectionView" customModule="Subler" customModuleProvider="target">
|
<collectionView selectable="YES" allowsMultipleSelection="YES" id="234-cJ-3Un" customClass="ArtworkCollectionView" customModule="Subler" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="529" height="459"/>
|
<rect key="frame" x="0.0" y="0.0" width="529" height="453"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
|
||||||
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="lte-fF-bVi">
|
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="lte-fF-bVi">
|
||||||
<size key="itemSize" width="154" height="194"/>
|
<size key="itemSize" width="154" height="194"/>
|
||||||
@@ -99,14 +99,14 @@ Gw
|
|||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
</scroller>
|
</scroller>
|
||||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="nbX-9d-w82">
|
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="nbX-9d-w82">
|
||||||
<rect key="frame" x="486" y="1" width="16" height="457"/>
|
<rect key="frame" x="513" y="1" width="17" height="453"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
</scroller>
|
</scroller>
|
||||||
</scrollView>
|
</scrollView>
|
||||||
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="AYL-Jp-agY">
|
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="AYL-Jp-agY">
|
||||||
<rect key="frame" x="20" y="20" width="16" height="16"/>
|
<rect key="frame" x="20" y="20" width="16" height="16"/>
|
||||||
</progressIndicator>
|
</progressIndicator>
|
||||||
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
|
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
|
||||||
<rect key="frame" x="41" y="21" width="86" height="14"/>
|
<rect key="frame" x="41" y="21" width="86" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="TbL-2H-ra9">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="TbL-2H-ra9">
|
||||||
<font key="font" metaFont="smallSystem"/>
|
<font key="font" metaFont="smallSystem"/>
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
<customObject id="-2" userLabel="File's Owner" customClass="GeneralPrefsViewController" customModule="Subler" customModuleProvider="target">
|
<customObject id="-2" userLabel="File's Owner" customClass="GeneralPrefsViewController" customModule="Subler" customModuleProvider="target">
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="saveLocationPopUp" destination="saveLocationPopUp" id="saveLocationOutlet"/>
|
||||||
<outlet property="view" destination="76" id="u5x-9E-WAf"/>
|
<outlet property="view" destination="76" id="u5x-9E-WAf"/>
|
||||||
</connections>
|
</connections>
|
||||||
</customObject>
|
</customObject>
|
||||||
@@ -25,22 +26,22 @@
|
|||||||
</declaredKeys>
|
</declaredKeys>
|
||||||
</userDefaultsController>
|
</userDefaultsController>
|
||||||
<customView id="76">
|
<customView id="76">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="660" height="328"/>
|
<rect key="frame" x="0.0" y="0.0" width="660" height="374"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="dxI-5Q-gDD">
|
<customView translatesAutoresizingMaskIntoConstraints="NO" id="dxI-5Q-gDD">
|
||||||
<rect key="frame" x="133" y="0.0" width="394" height="328"/>
|
<rect key="frame" x="132" y="0.0" width="397" height="374"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
||||||
<rect key="frame" x="147" y="156" width="57" height="14"/>
|
<rect key="frame" x="152" y="172" width="57" height="14"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Beginning" id="3Vs-qA-7Z6">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Beginning" id="3Vs-qA-7Z6">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
<textField focusRingType="none" verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
||||||
<rect key="frame" x="129" y="110" width="165" height="14"/>
|
<rect key="frame" x="134" y="122" width="165" height="14"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -48,7 +49,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="133">
|
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="133">
|
||||||
<rect key="frame" x="124" y="43" width="182" height="32"/>
|
<rect key="frame" x="136" y="54" width="172" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134">
|
<buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -58,7 +59,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="80">
|
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="80">
|
||||||
<rect key="frame" x="129" y="229" width="121" height="18"/>
|
<rect key="frame" x="136" y="276" width="117" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
|
<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"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -71,8 +72,8 @@
|
|||||||
</binding>
|
</binding>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
|
||||||
<rect key="frame" x="18" y="53" width="107" height="16"/>
|
<rect key="frame" x="18" y="58" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -80,7 +81,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="82">
|
<button verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="82">
|
||||||
<rect key="frame" x="129" y="203" width="236" height="18"/>
|
<rect key="frame" x="136" y="216" width="232" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Create Preview Images at position:" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
|
<buttonCell key="cell" type="check" title="Create Preview Images at position:" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -94,15 +95,15 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<slider verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
|
<slider verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
|
||||||
<rect key="frame" x="147" y="170" width="220" height="28"/>
|
<rect key="frame" x="154" y="192" width="214" height="16"/>
|
||||||
<sliderCell key="cell" state="on" alignment="left" maxValue="1" doubleValue="0.5" tickMarkPosition="below" numberOfTickMarks="7" sliderType="linear" id="iKX-dX-4IV"/>
|
<sliderCell key="cell" state="on" alignment="left" maxValue="1" doubleValue="0.5" tickMarkPosition="below" numberOfTickMarks="7" sliderType="linear" id="iKX-dX-4IV"/>
|
||||||
<connections>
|
<connections>
|
||||||
<binding destination="3" name="value" keyPath="values.SBChaptersPreviewPosition" id="JtQ-lM-MNU"/>
|
<binding destination="3" name="value" keyPath="values.SBChaptersPreviewPosition" id="JtQ-lM-MNU"/>
|
||||||
<binding destination="3" name="enabled" keyPath="values.chaptersPreviewTrack" id="hNU-uO-zsL"/>
|
<binding destination="3" name="enabled" keyPath="values.chaptersPreviewTrack" id="hNU-uO-zsL"/>
|
||||||
</connections>
|
</connections>
|
||||||
</slider>
|
</slider>
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
|
||||||
<rect key="frame" x="18" y="129" width="107" height="16"/>
|
<rect key="frame" x="18" y="142" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Show ratings for:" id="207">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Show ratings for:" id="207">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -110,7 +111,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="136">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="136">
|
||||||
<rect key="frame" x="124" y="13" width="182" height="32"/>
|
<rect key="frame" x="136" y="20" width="172" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137">
|
<buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -119,8 +120,8 @@
|
|||||||
<action selector="deleteCachedMetadata:" target="-2" id="141"/>
|
<action selector="deleteCachedMetadata:" target="-2" id="141"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
|
||||||
<rect key="frame" x="18" y="204" width="107" height="16"/>
|
<rect key="frame" x="18" y="216" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Chapters:" id="85">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Chapters:" id="85">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="B5v-6Q-3Qa">
|
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="B5v-6Q-3Qa">
|
||||||
<rect key="frame" x="129" y="269" width="246" height="18"/>
|
<rect key="frame" x="136" y="316" width="242" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Automatically check for update daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="2Pf-pq-4IX">
|
<buttonCell key="cell" type="check" title="Automatically check for update daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="2Pf-pq-4IX">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -137,24 +138,24 @@
|
|||||||
<binding destination="3" name="value" keyPath="values.SUEnableAutomaticChecks" id="6AF-uh-wt7"/>
|
<binding destination="3" name="value" keyPath="values.SUEnableAutomaticChecks" id="6AF-uh-wt7"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
||||||
<rect key="frame" x="18" y="292" width="107" height="16"/>
|
<rect key="frame" x="18" y="338" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="At Launch:" id="89">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="At Launch:" id="89">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
|
||||||
<rect key="frame" x="343" y="156" width="24" height="14"/>
|
<rect key="frame" x="346" y="172" width="24" height="14"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="End" id="He0-rl-DBi">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="End" id="He0-rl-DBi">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="78">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="78">
|
||||||
<rect key="frame" x="18" y="230" width="107" height="16"/>
|
<rect key="frame" x="18" y="276" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Window:" id="88">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Window:" id="88">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -162,7 +163,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatPopup">
|
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatPopup">
|
||||||
<rect key="frame" x="128" y="78" width="167" height="25"/>
|
<rect key="frame" x="136" y="90" width="160" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="logFormatCell">
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="logFormatCell">
|
||||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
@@ -178,7 +179,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="79">
|
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="79">
|
||||||
<rect key="frame" x="129" y="291" width="130" height="18"/>
|
<rect key="frame" x="136" y="338" width="126" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Show open panel" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
|
<buttonCell key="cell" type="check" title="Show open panel" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -188,7 +189,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="236">
|
<popUpButton verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="236">
|
||||||
<rect key="frame" x="128" y="122" width="187" height="25"/>
|
<rect key="frame" x="136" y="138" width="180" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="237">
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="237">
|
||||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
@@ -204,22 +205,63 @@
|
|||||||
<binding destination="123" name="selectedValue" keyPath="values.SBRatingsCountry" previousBinding="245" id="248"/>
|
<binding destination="123" name="selectedValue" keyPath="values.SBRatingsCountry" previousBinding="245" id="248"/>
|
||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
|
||||||
<rect key="frame" x="235" y="156" width="44" height="14"/>
|
<rect key="frame" x="239" y="172" width="44" height="14"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Middle" id="2o1-dB-mt1">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Middle" id="2o1-dB-mt1">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatLabel">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatLabel">
|
||||||
<rect key="frame" x="18" y="85" width="107" height="16"/>
|
<rect key="frame" x="18" y="94" width="112" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Log Format:" id="logFormatLabelCell">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Log Format:" id="logFormatLabelCell">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="saveLocationLabel">
|
||||||
|
<rect key="frame" x="18" y="246" width="112" height="16"/>
|
||||||
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Save As Location:" id="saveLocationLabelCell">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
</textField>
|
||||||
|
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="saveLocationPopUp">
|
||||||
|
<rect key="frame" x="136" y="242" width="180" height="24"/>
|
||||||
|
<popUpButtonCell key="cell" type="push" title="Automatic" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="saveLocationLastUsed" id="saveLocationCell">
|
||||||
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
|
<font key="font" metaFont="message"/>
|
||||||
|
<menu key="menu" id="saveLocationMenu">
|
||||||
|
<items>
|
||||||
|
<menuItem title="Automatic" state="on" id="saveLocationLastUsed">
|
||||||
|
<connections>
|
||||||
|
<action selector="setSaveLocation:" target="-2" id="saveLocationLastUsedAction"/>
|
||||||
|
</connections>
|
||||||
|
</menuItem>
|
||||||
|
<menuItem title="Same as File" tag="1" id="saveLocationSameAsFile">
|
||||||
|
<connections>
|
||||||
|
<action selector="setSaveLocation:" target="-2" id="saveLocationSameAsFileAction"/>
|
||||||
|
</connections>
|
||||||
|
</menuItem>
|
||||||
|
<menuItem isSeparatorItem="YES" id="saveLocationSeparator"/>
|
||||||
|
<menuItem title="Other…" tag="3" id="saveLocationOther">
|
||||||
|
<connections>
|
||||||
|
<action selector="chooseSaveLocation:" target="-2" id="saveLocationOtherAction"/>
|
||||||
|
</connections>
|
||||||
|
</menuItem>
|
||||||
|
</items>
|
||||||
|
</menu>
|
||||||
|
</popUpButtonCell>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="saveLocationWidth"/>
|
||||||
|
</constraints>
|
||||||
|
<connections>
|
||||||
|
<accessibilityConnection property="title" destination="saveLocationLabel" id="saveLocationAccessibility"/>
|
||||||
|
</connections>
|
||||||
|
</popUpButton>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="133" firstAttribute="width" secondItem="136" secondAttribute="width" id="05F-cw-fMw"/>
|
<constraint firstItem="133" firstAttribute="width" secondItem="136" secondAttribute="width" id="05F-cw-fMw"/>
|
||||||
@@ -237,7 +279,7 @@
|
|||||||
<constraint firstItem="XPF-Mh-XYC" firstAttribute="firstBaseline" secondItem="mNP-6I-gV4" secondAttribute="firstBaseline" id="AFc-cn-ab1"/>
|
<constraint firstItem="XPF-Mh-XYC" firstAttribute="firstBaseline" secondItem="mNP-6I-gV4" secondAttribute="firstBaseline" id="AFc-cn-ab1"/>
|
||||||
<constraint firstItem="77" firstAttribute="top" secondItem="dxI-5Q-gDD" secondAttribute="top" constant="20" symbolic="YES" id="D9x-E1-HxF"/>
|
<constraint firstItem="77" firstAttribute="top" secondItem="dxI-5Q-gDD" secondAttribute="top" constant="20" symbolic="YES" id="D9x-E1-HxF"/>
|
||||||
<constraint firstItem="82" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" constant="-18" id="E8S-ti-ghL"/>
|
<constraint firstItem="82" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" constant="-18" id="E8S-ti-ghL"/>
|
||||||
<constraint firstItem="82" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="ELH-2G-UJe"/>
|
<constraint firstItem="82" firstAttribute="top" secondItem="saveLocationPopUp" secondAttribute="bottom" constant="10" id="ELH-2G-UJe"/>
|
||||||
<constraint firstItem="mNP-6I-gV4" firstAttribute="firstBaseline" secondItem="tVb-Qq-sU7" secondAttribute="firstBaseline" id="ElQ-mv-Pfd"/>
|
<constraint firstItem="mNP-6I-gV4" firstAttribute="firstBaseline" secondItem="tVb-Qq-sU7" secondAttribute="firstBaseline" id="ElQ-mv-Pfd"/>
|
||||||
<constraint firstItem="206" firstAttribute="width" secondItem="logFormatLabel" secondAttribute="width" id="G5L-ax-8Io"/>
|
<constraint firstItem="206" firstAttribute="width" secondItem="logFormatLabel" secondAttribute="width" id="G5L-ax-8Io"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" id="Ies-Bx-zqg"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" id="Ies-Bx-zqg"/>
|
||||||
@@ -272,6 +314,12 @@
|
|||||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="centerX" secondItem="mNP-6I-gV4" secondAttribute="centerX" id="oJD-2R-bDt"/>
|
<constraint firstItem="JhA-jk-CGt" firstAttribute="centerX" secondItem="mNP-6I-gV4" secondAttribute="centerX" id="oJD-2R-bDt"/>
|
||||||
<constraint firstItem="logFormatLabel" firstAttribute="width" secondItem="139" secondAttribute="width" id="rof-yU-4Yg"/>
|
<constraint firstItem="logFormatLabel" firstAttribute="width" secondItem="139" secondAttribute="width" id="rof-yU-4Yg"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" id="s3j-nY-Z3K"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" id="s3j-nY-Z3K"/>
|
||||||
|
<constraint firstItem="saveLocationLabel" firstAttribute="firstBaseline" secondItem="saveLocationPopUp" secondAttribute="firstBaseline" id="saveLocationBaseline"/>
|
||||||
|
<constraint firstItem="saveLocationPopUp" firstAttribute="leading" secondItem="saveLocationLabel" secondAttribute="trailing" constant="8" symbolic="YES" id="saveLocationHorizontalSpace"/>
|
||||||
|
<constraint firstItem="saveLocationLabel" firstAttribute="width" secondItem="206" secondAttribute="width" id="saveLocationLabelWidth"/>
|
||||||
|
<constraint firstItem="saveLocationLabel" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="saveLocationLeading"/>
|
||||||
|
<constraint firstItem="saveLocationPopUp" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="saveLocationTop"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="saveLocationPopUp" secondAttribute="trailing" id="saveLocationTrailing"/>
|
||||||
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="uK9-gt-tF8"/>
|
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="uK9-gt-tF8"/>
|
||||||
<constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" symbolic="YES" id="v25-j6-krj"/>
|
<constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" symbolic="YES" id="v25-j6-krj"/>
|
||||||
<constraint firstItem="139" firstAttribute="firstBaseline" secondItem="133" secondAttribute="firstBaseline" id="w1s-Sg-fws"/>
|
<constraint firstItem="139" firstAttribute="firstBaseline" secondItem="133" secondAttribute="firstBaseline" id="w1s-Sg-fws"/>
|
||||||
|
|||||||
+4
-18
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<menuItem isSeparatorItem="YES" id="236">
|
<menuItem isSeparatorItem="YES" id="236">
|
||||||
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
|
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem title="Preferences…" keyEquivalent="," id="129" userLabel="121">
|
<menuItem title="Preferences…" preferredImageVisibility="hidden" keyEquivalent="," id="129" userLabel="121">
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="showPrefsWindow:" target="-1" id="558"/>
|
<action selector="showPrefsWindow:" target="-1" id="558"/>
|
||||||
</connections>
|
</connections>
|
||||||
@@ -199,20 +199,6 @@ CA
|
|||||||
<action selector="removeCompletedItems:" target="-1" id="ouO-db-qWo"/>
|
<action selector="removeCompletedItems:" target="-1" id="ouO-db-qWo"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem isSeparatorItem="YES" id="7Ls-cX-HSz" userLabel="2">
|
|
||||||
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
|
|
||||||
</menuItem>
|
|
||||||
<menuItem title="Page Setup..." keyEquivalent="P" id="77" userLabel="5">
|
|
||||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
|
||||||
<connections>
|
|
||||||
<action selector="runPageLayout:" target="-1" id="87"/>
|
|
||||||
</connections>
|
|
||||||
</menuItem>
|
|
||||||
<menuItem title="Print…" keyEquivalent="p" id="78" userLabel="6">
|
|
||||||
<connections>
|
|
||||||
<action selector="printDocument:" target="-1" id="373"/>
|
|
||||||
</connections>
|
|
||||||
</menuItem>
|
|
||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
@@ -506,7 +492,7 @@ CA
|
|||||||
</menu>
|
</menu>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
</items>
|
</items>
|
||||||
<point key="canvasLocation" x="106" y="-246"/>
|
<point key="canvasLocation" x="214" y="-221"/>
|
||||||
</menu>
|
</menu>
|
||||||
<customObject id="419" customClass="NSFontManager"/>
|
<customObject id="419" customClass="NSFontManager"/>
|
||||||
<customObject id="449" userLabel="AppDelegate" customClass="AppDelegate" customModule="Subler" customModuleProvider="target">
|
<customObject id="449" userLabel="AppDelegate" customClass="AppDelegate" customModule="Subler" customModuleProvider="target">
|
||||||
|
|||||||
+145
-166
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -32,11 +32,11 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<view id="1lR-dE-p3x">
|
<view id="1lR-dE-p3x">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="550" height="466"/>
|
<rect key="frame" x="0.0" y="0.0" width="550" height="505"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bfj-tB-Wq2">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bfj-tB-Wq2">
|
||||||
<rect key="frame" x="439" y="13" width="98" height="32"/>
|
<rect key="frame" x="446" y="20" width="84" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PqB-NK-OtT">
|
<buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PqB-NK-OtT">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zM1-YP-Au2">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zM1-YP-Au2">
|
||||||
<rect key="frame" x="343" y="13" width="98" height="32"/>
|
<rect key="frame" x="350" y="20" width="84" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PJC-dF-B1z">
|
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PJC-dF-B1z">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -64,52 +64,31 @@ Gw
|
|||||||
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="QEr-1S-JZX">
|
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="QEr-1S-JZX">
|
||||||
<rect key="frame" x="20" y="20" width="16" height="16"/>
|
<rect key="frame" x="20" y="20" width="16" height="16"/>
|
||||||
</progressIndicator>
|
</progressIndicator>
|
||||||
<tabView translatesAutoresizingMaskIntoConstraints="NO" id="6hW-RR-cfF">
|
<tabView horizontalHuggingPriority="249" verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="6hW-RR-cfF">
|
||||||
<rect key="frame" x="-12" y="347" width="574" height="115"/>
|
<rect key="frame" x="-11" y="383" width="572" height="118"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="height" constant="102" id="bDZ-xh-EwQ"/>
|
||||||
|
</constraints>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<tabViewItems>
|
<tabViewItems>
|
||||||
<tabViewItem label="Movie" identifier="1" id="apc-8c-iyM">
|
<tabViewItem label="Movie" identifier="1" id="apc-8c-iyM">
|
||||||
<view key="view" id="e2g-GX-p4j">
|
<view key="view" id="e2g-GX-p4j">
|
||||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
<rect key="frame" x="10" y="33" width="552" height="72"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
|
||||||
<rect key="frame" x="18" y="45" width="44" height="16"/>
|
<rect key="frame" x="20" y="44" width="434" height="24"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Movie:" id="uyt-vh-nv6">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
</textField>
|
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
|
|
||||||
<rect key="frame" x="67" y="42" width="395" height="21"/>
|
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="sXD-8k-I7r">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="sXD-8k-I7r">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
<connections>
|
<connections>
|
||||||
<accessibilityConnection property="title" destination="gBb-mO-eZD" id="V6J-SK-ibX"/>
|
|
||||||
<outlet property="delegate" destination="-2" id="HI8-qI-i23"/>
|
<outlet property="delegate" destination="-2" id="HI8-qI-i23"/>
|
||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qsS-B6-c2q">
|
<popUpButton horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0aO-Wz-ASZ">
|
||||||
<rect key="frame" x="64" y="6" width="187" height="25"/>
|
<rect key="frame" x="20" y="10" width="125" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="tuc-lL-n0W">
|
|
||||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
|
||||||
<font key="font" metaFont="message"/>
|
|
||||||
<menu key="menu" id="obN-m7-G5Q"/>
|
|
||||||
</popUpButtonCell>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="t4t-2B-C6I"/>
|
|
||||||
</constraints>
|
|
||||||
<accessibility description="Language"/>
|
|
||||||
<connections>
|
|
||||||
<action selector="metadataProviderLanguageSelected:" target="-2" id="WiO-tU-ojJ"/>
|
|
||||||
</connections>
|
|
||||||
</popUpButton>
|
|
||||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="0aO-Wz-ASZ">
|
|
||||||
<rect key="frame" x="424" y="6" width="117" height="25"/>
|
|
||||||
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="nn6-mR-Bh1" id="k9r-Fo-4Nl">
|
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="nn6-mR-Bh1" id="k9r-Fo-4Nl">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
@@ -120,17 +99,14 @@ Gw
|
|||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</popUpButtonCell>
|
</popUpButtonCell>
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="110" id="4MR-8H-PO9"/>
|
|
||||||
</constraints>
|
|
||||||
<accessibility description="Metadata Provider"/>
|
<accessibility description="Metadata Provider"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="metadataProviderSelected:" target="-2" id="Z6X-nl-ffA"/>
|
<action selector="metadataProviderSelected:" target="-2" id="Z6X-nl-ffA"/>
|
||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="x4l-iV-xgr">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="x4l-iV-xgr">
|
||||||
<rect key="frame" x="467" y="36" width="77" height="32"/>
|
<rect key="frame" x="466" y="44" width="66" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HF1-WK-lv1">
|
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HF1-WK-lv1">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<string key="keyEquivalent" base64-UTF8="YES">
|
<string key="keyEquivalent" base64-UTF8="YES">
|
||||||
@@ -141,107 +117,63 @@ DQ
|
|||||||
<action selector="searchForResults:" target="-2" id="Oy5-RZ-YGX"/>
|
<action selector="searchForResults:" target="-2" id="Oy5-RZ-YGX"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qsS-B6-c2q">
|
||||||
|
<rect key="frame" x="153" y="10" width="130" height="24"/>
|
||||||
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="tuc-lL-n0W">
|
||||||
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
|
<font key="font" metaFont="message"/>
|
||||||
|
<menu key="menu" id="obN-m7-G5Q"/>
|
||||||
|
</popUpButtonCell>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="130" id="TL8-uD-R6K"/>
|
||||||
|
</constraints>
|
||||||
|
<accessibility description="Language"/>
|
||||||
|
<connections>
|
||||||
|
<action selector="metadataProviderLanguageSelected:" target="-2" id="WiO-tU-ojJ"/>
|
||||||
|
</connections>
|
||||||
|
</popUpButton>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="qsS-B6-c2q" secondAttribute="trailing" constant="20" id="9UN-0q-TUf"/>
|
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="80g-EC-tOh"/>
|
||||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="gBb-mO-eZD" secondAttribute="trailing" constant="7" id="Gas-Hm-DaP"/>
|
|
||||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="Hk6-CI-CYe"/>
|
|
||||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="centerY" secondItem="Dyr-Xb-8vA" secondAttribute="centerY" id="Hvk-C7-byp"/>
|
<constraint firstItem="x4l-iV-xgr" firstAttribute="centerY" secondItem="Dyr-Xb-8vA" secondAttribute="centerY" id="Hvk-C7-byp"/>
|
||||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="leading" secondItem="Dyr-Xb-8vA" secondAttribute="trailing" constant="12" id="LJF-Kf-dQD"/>
|
<constraint firstItem="x4l-iV-xgr" firstAttribute="leading" secondItem="Dyr-Xb-8vA" secondAttribute="trailing" constant="12" id="LJF-Kf-dQD"/>
|
||||||
<constraint firstItem="qsS-B6-c2q" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="39" id="M8Q-0P-nWB"/>
|
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="4" id="RJf-nv-Vmc"/>
|
||||||
<constraint firstItem="qsS-B6-c2q" firstAttribute="bottom" secondItem="0aO-Wz-ASZ" secondAttribute="bottom" id="OEE-wC-5np"/>
|
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="centerY" secondItem="qsS-B6-c2q" secondAttribute="centerY" id="T91-4a-kLt"/>
|
||||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="firstBaseline" secondItem="gBb-mO-eZD" secondAttribute="firstBaseline" id="WeN-uo-QVa"/>
|
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="TD7-Np-2g0"/>
|
||||||
<constraint firstItem="gBb-mO-eZD" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="8" id="Y39-sC-lfw"/>
|
<constraint firstAttribute="bottom" secondItem="0aO-Wz-ASZ" secondAttribute="bottom" constant="10" id="bqC-Gj-KcW"/>
|
||||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="trailing" secondItem="0aO-Wz-ASZ" secondAttribute="trailing" id="crX-q8-6xo"/>
|
<constraint firstAttribute="trailing" secondItem="x4l-iV-xgr" secondAttribute="trailing" constant="20" symbolic="YES" id="fhM-i9-sRG"/>
|
||||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="gBb-mO-eZD" secondAttribute="trailing" constant="7" id="cxE-Kb-aJS"/>
|
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="top" secondItem="Dyr-Xb-8vA" secondAttribute="bottom" constant="10" id="g1y-qg-YWU"/>
|
||||||
<constraint firstItem="gBb-mO-eZD" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="feD-8w-Skn"/>
|
<constraint firstItem="qsS-B6-c2q" firstAttribute="leading" secondItem="0aO-Wz-ASZ" secondAttribute="trailing" constant="8" symbolic="YES" id="ubq-To-aMP"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="x4l-iV-xgr" secondAttribute="trailing" constant="17" id="fhM-i9-sRG"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qsS-B6-c2q" secondAttribute="trailing" constant="20" symbolic="YES" id="ydk-pF-yHc"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="qsS-B6-c2q" secondAttribute="bottom" constant="10" id="pUJ-uL-Hfg"/>
|
|
||||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="qsS-B6-c2q" secondAttribute="leading" id="ylB-Fv-roN"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</tabViewItem>
|
</tabViewItem>
|
||||||
<tabViewItem label="TV Episode" identifier="2" id="GPk-3A-rQI">
|
<tabViewItem label="TV Episode" identifier="2" id="GPk-3A-rQI">
|
||||||
<view key="view" id="pC0-6X-DbE">
|
<view key="view" id="pC0-6X-DbE">
|
||||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
<rect key="frame" x="10" y="33" width="552" height="72"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
|
<comboBox focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
|
||||||
<rect key="frame" x="14" y="45" width="61" height="16"/>
|
<rect key="frame" x="20" y="44" width="434" height="24"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="TV Show:" id="lE4-J1-ySV">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
</textField>
|
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
|
|
||||||
<rect key="frame" x="14" y="13" width="61" height="16"/>
|
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="kz7-mH-DuT">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
</textField>
|
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
|
|
||||||
<rect key="frame" x="80" y="10" width="30" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="30" id="9CR-ib-DtF"/>
|
|
||||||
</constraints>
|
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="7S1-uI-qok">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
<connections>
|
|
||||||
<accessibilityConnection property="title" destination="gWo-ag-3S4" id="5FA-Hq-pOg"/>
|
|
||||||
<outlet property="delegate" destination="-2" id="wF7-SW-Zgw"/>
|
|
||||||
</connections>
|
|
||||||
</textField>
|
|
||||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
|
|
||||||
<rect key="frame" x="184" y="10" width="30" height="21"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" constant="30" id="JnI-dd-MkA"/>
|
|
||||||
</constraints>
|
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="Xvo-B4-9Wa">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
<connections>
|
|
||||||
<accessibilityConnection property="title" destination="r32-v1-g3U" id="767-O1-jhF"/>
|
|
||||||
<outlet property="delegate" destination="-2" id="Em3-9Q-0I2"/>
|
|
||||||
</connections>
|
|
||||||
</textField>
|
|
||||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r32-v1-g3U">
|
|
||||||
<rect key="frame" x="115" y="13" width="64" height="16"/>
|
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Episode #" id="Zik-QU-m81">
|
|
||||||
<font key="font" metaFont="system"/>
|
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
||||||
</textFieldCell>
|
|
||||||
</textField>
|
|
||||||
<comboBox verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
|
|
||||||
<rect key="frame" x="79" y="42" width="386" height="23"/>
|
|
||||||
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesDataSource="YES" numberOfVisibleItems="5" id="o7O-s5-2MI">
|
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesDataSource="YES" numberOfVisibleItems="5" id="o7O-s5-2MI">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</comboBoxCell>
|
</comboBoxCell>
|
||||||
<connections>
|
<connections>
|
||||||
<accessibilityConnection property="title" destination="PoJ-z7-u2L" id="Mqw-FY-8Ae"/>
|
|
||||||
<outlet property="dataSource" destination="-2" id="1TN-qD-O3Q"/>
|
<outlet property="dataSource" destination="-2" id="1TN-qD-O3Q"/>
|
||||||
<outlet property="delegate" destination="-2" id="24Y-25-ZbJ"/>
|
<outlet property="delegate" destination="-2" id="24Y-25-ZbJ"/>
|
||||||
</connections>
|
</connections>
|
||||||
</comboBox>
|
</comboBox>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4yY-id-JNb">
|
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4yY-id-JNb">
|
||||||
<rect key="frame" x="211" y="6" width="160" height="25"/>
|
<rect key="frame" x="153" y="10" width="130" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="6dD-ZJ-fLf">
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="6dD-ZJ-fLf">
|
||||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
<menu key="menu" id="eDp-3G-Kg4"/>
|
<menu key="menu" id="eDp-3G-Kg4"/>
|
||||||
</popUpButtonCell>
|
</popUpButtonCell>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="153" id="aRl-QK-caF"/>
|
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="130" id="Jj5-aw-h6y"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<accessibility description="Language"/>
|
<accessibility description="Language"/>
|
||||||
<connections>
|
<connections>
|
||||||
@@ -249,7 +181,7 @@ DQ
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<popUpButton horizontalCompressionResistancePriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="UTG-O0-5RG">
|
<popUpButton horizontalCompressionResistancePriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="UTG-O0-5RG">
|
||||||
<rect key="frame" x="424" y="6" width="117" height="25"/>
|
<rect key="frame" x="20" y="10" width="125" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="j44-FV-Lpy" id="O3t-4h-3zl">
|
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="j44-FV-Lpy" id="O3t-4h-3zl">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
@@ -261,16 +193,13 @@ DQ
|
|||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</popUpButtonCell>
|
</popUpButtonCell>
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="110" id="yze-MC-pfr"/>
|
|
||||||
</constraints>
|
|
||||||
<accessibility description="Metadata provider"/>
|
<accessibility description="Metadata provider"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="metadataProviderSelected:" target="-2" id="nMq-JN-KOa"/>
|
<action selector="metadataProviderSelected:" target="-2" id="nMq-JN-KOa"/>
|
||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-F6-30O">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-F6-30O">
|
||||||
<rect key="frame" x="467" y="37" width="77" height="32"/>
|
<rect key="frame" x="466" y="44" width="66" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Mu-cI-Uiu">
|
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Mu-cI-Uiu">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -282,31 +211,73 @@ DQ
|
|||||||
<action selector="searchForResults:" target="-2" id="dCt-ma-lyj"/>
|
<action selector="searchForResults:" target="-2" id="dCt-ma-lyj"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
|
||||||
|
<rect key="frame" x="289" y="14" width="61" height="16"/>
|
||||||
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="kz7-mH-DuT">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
</textField>
|
||||||
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
|
||||||
|
<rect key="frame" x="355" y="10" width="30" height="24"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="30" id="j6g-V9-PJF"/>
|
||||||
|
</constraints>
|
||||||
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="7S1-uI-qok">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
<connections>
|
||||||
|
<accessibilityConnection property="title" destination="gWo-ag-3S4" id="5FA-Hq-pOg"/>
|
||||||
|
<outlet property="delegate" destination="-2" id="wF7-SW-Zgw"/>
|
||||||
|
</connections>
|
||||||
|
</textField>
|
||||||
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
|
||||||
|
<rect key="frame" x="460" y="10" width="30" height="24"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="width" constant="30" id="ojN-7h-wgW"/>
|
||||||
|
</constraints>
|
||||||
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="Xvo-B4-9Wa">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
<connections>
|
||||||
|
<accessibilityConnection property="title" destination="r32-v1-g3U" id="767-O1-jhF"/>
|
||||||
|
<outlet property="delegate" destination="-2" id="Em3-9Q-0I2"/>
|
||||||
|
</connections>
|
||||||
|
</textField>
|
||||||
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r32-v1-g3U">
|
||||||
|
<rect key="frame" x="391" y="14" width="64" height="16"/>
|
||||||
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Episode #" id="Zik-QU-m81">
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
</textFieldCell>
|
||||||
|
</textField>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="gWo-ag-3S4" secondAttribute="trailing" constant="20" symbolic="YES" id="1cf-QH-GoS"/>
|
<constraint firstAttribute="bottom" secondItem="UTG-O0-5RG" secondAttribute="bottom" constant="10" id="0jz-eZ-PYZ"/>
|
||||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="leading" id="3XJ-NW-2OT"/>
|
<constraint firstItem="PmP-Uz-mXF" firstAttribute="leading" secondItem="r32-v1-g3U" secondAttribute="trailing" constant="7" id="76f-1f-IhA"/>
|
||||||
<constraint firstItem="nYS-Uo-Puv" firstAttribute="baseline" secondItem="r32-v1-g3U" secondAttribute="baseline" id="5Yy-LG-A13"/>
|
<constraint firstItem="EpM-F6-30O" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="trailing" constant="12" id="Bbw-ih-qSD"/>
|
||||||
<constraint firstItem="UTG-O0-5RG" firstAttribute="leading" secondItem="4yY-id-JNb" secondAttribute="trailing" constant="60" id="5bZ-A2-oAt"/>
|
<constraint firstItem="UTG-O0-5RG" firstAttribute="top" secondItem="yxL-hY-Wvf" secondAttribute="bottom" constant="10" id="Drk-HP-jyl"/>
|
||||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="baseline" secondItem="nYS-Uo-Puv" secondAttribute="baseline" id="7w2-5k-loo"/>
|
<constraint firstAttribute="trailing" secondItem="EpM-F6-30O" secondAttribute="trailing" constant="20" symbolic="YES" id="EpQ-oZ-M1N"/>
|
||||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="8" id="EVi-oc-tqE"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="PmP-Uz-mXF" secondAttribute="trailing" constant="20" symbolic="YES" id="GX9-Ax-mrl"/>
|
||||||
<constraint firstItem="r32-v1-g3U" firstAttribute="baseline" secondItem="PmP-Uz-mXF" secondAttribute="baseline" id="IcC-EN-90a"/>
|
<constraint firstItem="nYS-Uo-Puv" firstAttribute="firstBaseline" secondItem="r32-v1-g3U" secondAttribute="firstBaseline" id="OVu-Br-svU"/>
|
||||||
<constraint firstItem="PmP-Uz-mXF" firstAttribute="leading" secondItem="r32-v1-g3U" secondAttribute="trailing" constant="7" id="Nlc-DQ-qvf"/>
|
<constraint firstItem="EpM-F6-30O" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="4" id="RoW-MN-5l8"/>
|
||||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="width" secondItem="PoJ-z7-u2L" secondAttribute="width" id="PI1-1C-eAU"/>
|
<constraint firstItem="gWo-ag-3S4" firstAttribute="firstBaseline" secondItem="nYS-Uo-Puv" secondAttribute="firstBaseline" id="Shj-mM-Vg8"/>
|
||||||
<constraint firstItem="EpM-F6-30O" firstAttribute="trailing" secondItem="UTG-O0-5RG" secondAttribute="trailing" id="PKp-73-Vbb"/>
|
<constraint firstItem="4yY-id-JNb" firstAttribute="leading" secondItem="UTG-O0-5RG" secondAttribute="trailing" constant="8" symbolic="YES" id="U32-Nz-YfN"/>
|
||||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="leading" secondItem="pC0-6X-DbE" secondAttribute="leading" constant="16" id="YbU-68-uWT"/>
|
<constraint firstItem="nYS-Uo-Puv" firstAttribute="leading" secondItem="gWo-ag-3S4" secondAttribute="trailing" constant="7" id="YqB-c1-I3n"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="EpM-F6-30O" secondAttribute="trailing" constant="17" id="baJ-gT-gpq"/>
|
<constraint firstItem="4yY-id-JNb" firstAttribute="centerY" secondItem="gWo-ag-3S4" secondAttribute="centerY" id="eLh-kH-KNh"/>
|
||||||
<constraint firstItem="EpM-F6-30O" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="trailing" constant="12" id="e0P-Oe-Tz3"/>
|
<constraint firstItem="r32-v1-g3U" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="trailing" constant="8" symbolic="YES" id="fVO-St-Aez"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="nYS-Uo-Puv" secondAttribute="bottom" constant="10" id="ehG-Fz-i2o"/>
|
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="pC0-6X-DbE" secondAttribute="leading" constant="20" symbolic="YES" id="hTu-YS-Eeh"/>
|
||||||
<constraint firstItem="r32-v1-g3U" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="trailing" constant="7" id="iUT-w5-MQJ"/>
|
<constraint firstItem="UTG-O0-5RG" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="leading" id="hp6-qT-uGH"/>
|
||||||
<constraint firstItem="4yY-id-JNb" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="PmP-Uz-mXF" secondAttribute="trailing" priority="750" constant="8" symbolic="YES" id="lc1-tA-1Gj"/>
|
<constraint firstItem="gWo-ag-3S4" firstAttribute="leading" secondItem="4yY-id-JNb" secondAttribute="trailing" constant="8" symbolic="YES" id="lRS-M6-Cxr"/>
|
||||||
<constraint firstItem="4yY-id-JNb" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="39" id="n3d-4T-yVM"/>
|
<constraint firstItem="UTG-O0-5RG" firstAttribute="centerY" secondItem="4yY-id-JNb" secondAttribute="centerY" id="nVx-52-jdh"/>
|
||||||
<constraint firstItem="4yY-id-JNb" firstAttribute="bottom" secondItem="UTG-O0-5RG" secondAttribute="bottom" id="r9M-rQ-1OL"/>
|
<constraint firstItem="r32-v1-g3U" firstAttribute="firstBaseline" secondItem="PmP-Uz-mXF" secondAttribute="firstBaseline" id="rMa-Q9-tLd"/>
|
||||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="firstBaseline" secondItem="yxL-hY-Wvf" secondAttribute="firstBaseline" constant="1" id="txE-Mz-IYh"/>
|
<constraint firstItem="yxL-hY-Wvf" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="4" id="x6j-8D-FgH"/>
|
||||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="leading" secondItem="PoJ-z7-u2L" secondAttribute="leading" id="uwV-a4-QuX"/>
|
|
||||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="PoJ-z7-u2L" secondAttribute="trailing" constant="7" id="xNm-xS-fGk"/>
|
|
||||||
<constraint firstItem="EpM-F6-30O" firstAttribute="centerY" secondItem="yxL-hY-Wvf" secondAttribute="centerY" id="xVF-6P-gxR"/>
|
|
||||||
<constraint firstItem="PmP-Uz-mXF" firstAttribute="bottom" secondItem="4yY-id-JNb" secondAttribute="bottom" id="xd7-a0-KTM"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</tabViewItem>
|
</tabViewItem>
|
||||||
@@ -315,7 +286,7 @@ DQ
|
|||||||
<outlet property="delegate" destination="-2" id="1gw-D2-r7v"/>
|
<outlet property="delegate" destination="-2" id="1gw-D2-r7v"/>
|
||||||
</connections>
|
</connections>
|
||||||
</tabView>
|
</tabView>
|
||||||
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
|
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
|
||||||
<rect key="frame" x="41" y="21" width="297" height="14"/>
|
<rect key="frame" x="41" y="21" width="297" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="gYx-cY-5Xj">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="gYx-cY-5Xj">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
@@ -324,20 +295,20 @@ DQ
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<splitView autosaveName="SBMetadataSearchSplitView" translatesAutoresizingMaskIntoConstraints="NO" id="BfX-EM-ktQ">
|
<splitView autosaveName="SBMetadataSearchSplitView" translatesAutoresizingMaskIntoConstraints="NO" id="BfX-EM-ktQ">
|
||||||
<rect key="frame" x="20" y="60" width="510" height="289"/>
|
<rect key="frame" x="20" y="64" width="510" height="321"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<customView misplaced="YES" id="8It-Zb-03g">
|
<customView misplaced="YES" id="8It-Zb-03g">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="510" height="103"/>
|
<rect key="frame" x="0.0" y="0.0" width="510" height="115"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView misplaced="YES" autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VnH-EL-2bp">
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VnH-EL-2bp">
|
||||||
<rect key="frame" x="0.0" y="1" width="510" height="102"/>
|
<rect key="frame" x="0.0" y="0.0" width="510" height="120"/>
|
||||||
<clipView key="contentView" id="I28-fS-tPQ">
|
<clipView key="contentView" id="I28-fS-tPQ">
|
||||||
<rect key="frame" x="1" y="1" width="508" height="100"/>
|
<rect key="frame" x="1" y="1" width="508" height="118"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowHeight="15" rowSizeStyle="automatic" headerView="Bv4-ow-7Qb" viewBased="YES" id="IDz-Ox-2sW">
|
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowHeight="15" rowSizeStyle="automatic" headerView="Bv4-ow-7Qb" viewBased="YES" id="IDz-Ox-2sW">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="508" height="75"/>
|
<rect key="frame" x="0.0" y="0.0" width="508" height="93"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="2"/>
|
<size key="intercellSpacing" width="3" height="2"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -359,7 +330,7 @@ DQ
|
|||||||
<rect key="frame" x="1" y="1" width="505" height="15"/>
|
<rect key="frame" x="1" y="1" width="505" height="15"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
|
||||||
<rect key="frame" x="0.0" y="1" width="505" height="14"/>
|
<rect key="frame" x="0.0" y="1" width="505" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="wLe-r3-x0V">
|
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="wLe-r3-x0V">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
@@ -406,25 +377,29 @@ DQ
|
|||||||
</scrollView>
|
</scrollView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="VnH-EL-2bp" secondAttribute="bottom" id="IF3-gK-AfW"/>
|
||||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="top" secondItem="8It-Zb-03g" secondAttribute="top" id="JI5-nL-Cb4"/>
|
<constraint firstItem="VnH-EL-2bp" firstAttribute="top" secondItem="8It-Zb-03g" secondAttribute="top" id="JI5-nL-Cb4"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="VnH-EL-2bp" secondAttribute="trailing" id="JL5-2S-520"/>
|
||||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="leading" secondItem="8It-Zb-03g" secondAttribute="leading" id="LAd-9v-90B"/>
|
<constraint firstItem="VnH-EL-2bp" firstAttribute="leading" secondItem="8It-Zb-03g" secondAttribute="leading" id="LAd-9v-90B"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="VnH-EL-2bp" secondAttribute="trailing" id="O4c-bt-Ef6"/>
|
<constraint firstAttribute="trailing" secondItem="VnH-EL-2bp" secondAttribute="trailing" id="O4c-bt-Ef6"/>
|
||||||
|
<constraint firstItem="VnH-EL-2bp" firstAttribute="leading" secondItem="8It-Zb-03g" secondAttribute="leading" id="QPf-58-gaz"/>
|
||||||
|
<constraint firstItem="VnH-EL-2bp" firstAttribute="top" secondItem="8It-Zb-03g" secondAttribute="top" id="k1y-Ov-GHp"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="VnH-EL-2bp" secondAttribute="bottom" id="kvH-Wg-mrC"/>
|
<constraint firstAttribute="bottom" secondItem="VnH-EL-2bp" secondAttribute="bottom" id="kvH-Wg-mrC"/>
|
||||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="120" id="oBd-XH-2sW"/>
|
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="120" id="oBd-XH-2sW"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</customView>
|
</customView>
|
||||||
<customView misplaced="YES" id="YFw-L1-xW7">
|
<customView misplaced="YES" id="YFw-L1-xW7">
|
||||||
<rect key="frame" x="0.0" y="112" width="510" height="177"/>
|
<rect key="frame" x="0.0" y="124" width="510" height="197"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView misplaced="YES" autohidesScrollers="YES" horizontalLineScroll="39" horizontalPageScroll="10" verticalLineScroll="39" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L9f-RN-ymm">
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="39" horizontalPageScroll="10" verticalLineScroll="39" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L9f-RN-ymm">
|
||||||
<rect key="frame" x="0.0" y="-3" width="510" height="180"/>
|
<rect key="frame" x="0.0" y="0.0" width="510" height="192"/>
|
||||||
<clipView key="contentView" ambiguous="YES" id="JKj-Cf-XlS">
|
<clipView key="contentView" ambiguous="YES" id="JKj-Cf-XlS">
|
||||||
<rect key="frame" x="1" y="1" width="508" height="178"/>
|
<rect key="frame" x="1" y="1" width="508" height="190"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="37" rowSizeStyle="automatic" headerView="8SH-1C-Y6N" viewBased="YES" id="7Te-u0-Sax" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="37" rowSizeStyle="automatic" headerView="8SH-1C-Y6N" viewBased="YES" id="7Te-u0-Sax" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="508" height="153"/>
|
<rect key="frame" x="0.0" y="0.0" width="508" height="165"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="2"/>
|
<size key="intercellSpacing" width="3" height="2"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -446,7 +421,7 @@ DQ
|
|||||||
<rect key="frame" x="1" y="1" width="101" height="37"/>
|
<rect key="frame" x="1" y="1" width="101" height="37"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
|
||||||
<rect key="frame" x="0.0" y="22" width="101" height="14"/>
|
<rect key="frame" x="0.0" y="22" width="101" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" id="5mH-2x-szO">
|
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" id="5mH-2x-szO">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
@@ -482,7 +457,7 @@ DQ
|
|||||||
<rect key="frame" x="105" y="1" width="401" height="14"/>
|
<rect key="frame" x="105" y="1" width="401" height="14"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="401" height="14"/>
|
<rect key="frame" x="0.0" y="0.0" width="401" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="cXa-al-MIH">
|
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="cXa-al-MIH">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
@@ -505,7 +480,7 @@ DQ
|
|||||||
<rect key="frame" x="105" y="17" width="401" height="37"/>
|
<rect key="frame" x="105" y="17" width="401" height="37"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
|
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
|
||||||
<rect key="frame" x="0.0" y="12" width="401" height="14"/>
|
<rect key="frame" x="0.0" y="12" width="401" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" id="L0d-pm-lX4">
|
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" id="L0d-pm-lX4">
|
||||||
<font key="font" metaFont="message" size="11"/>
|
<font key="font" metaFont="message" size="11"/>
|
||||||
@@ -552,11 +527,15 @@ DQ
|
|||||||
</scrollView>
|
</scrollView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<constraint firstItem="L9f-RN-ymm" firstAttribute="leading" secondItem="YFw-L1-xW7" secondAttribute="leading" id="CaQ-4M-NYe"/>
|
||||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="top" secondItem="YFw-L1-xW7" secondAttribute="top" id="DDY-yc-xwu"/>
|
<constraint firstItem="L9f-RN-ymm" firstAttribute="top" secondItem="YFw-L1-xW7" secondAttribute="top" id="DDY-yc-xwu"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="L9f-RN-ymm" secondAttribute="bottom" id="Dji-UV-X83"/>
|
<constraint firstAttribute="bottom" secondItem="L9f-RN-ymm" secondAttribute="bottom" id="Dji-UV-X83"/>
|
||||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="160" id="MiB-Tq-jnd"/>
|
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="160" id="MiB-Tq-jnd"/>
|
||||||
|
<constraint firstItem="L9f-RN-ymm" firstAttribute="top" secondItem="YFw-L1-xW7" secondAttribute="top" id="Y6z-es-GyW"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="L9f-RN-ymm" secondAttribute="bottom" id="Ylu-kT-cca"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="L9f-RN-ymm" secondAttribute="trailing" id="o50-sW-JjL"/>
|
<constraint firstAttribute="trailing" secondItem="L9f-RN-ymm" secondAttribute="trailing" id="o50-sW-JjL"/>
|
||||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="leading" secondItem="YFw-L1-xW7" secondAttribute="leading" id="vYe-8Y-9O9"/>
|
<constraint firstItem="L9f-RN-ymm" firstAttribute="leading" secondItem="YFw-L1-xW7" secondAttribute="leading" id="vYe-8Y-9O9"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="L9f-RN-ymm" secondAttribute="trailing" id="wuL-0U-r1i"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</customView>
|
</customView>
|
||||||
</subviews>
|
</subviews>
|
||||||
@@ -567,25 +546,25 @@ DQ
|
|||||||
</splitView>
|
</splitView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<constraint firstItem="BfX-EM-ktQ" firstAttribute="top" secondItem="6hW-RR-cfF" secondAttribute="bottom" constant="8" symbolic="YES" id="1xg-4I-ico"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="QEr-1S-JZX" secondAttribute="bottom" constant="20" id="27F-h3-4J5"/>
|
<constraint firstAttribute="bottom" secondItem="QEr-1S-JZX" secondAttribute="bottom" constant="20" id="27F-h3-4J5"/>
|
||||||
<constraint firstItem="6hW-RR-cfF" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="-5" id="2VD-Jo-sCA"/>
|
<constraint firstItem="6hW-RR-cfF" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="-4" id="2VD-Jo-sCA"/>
|
||||||
<constraint firstItem="6hW-RR-cfF" firstAttribute="top" secondItem="1lR-dE-p3x" secondAttribute="top" constant="10" id="40o-r6-s4C"/>
|
<constraint firstItem="6hW-RR-cfF" firstAttribute="top" secondItem="1lR-dE-p3x" secondAttribute="top" constant="10" id="40o-r6-s4C"/>
|
||||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="trailing" secondItem="Bfj-tB-Wq2" secondAttribute="trailing" id="Akd-YK-H0o"/>
|
|
||||||
<constraint firstItem="QEr-1S-JZX" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="20" id="DRP-5G-W3e"/>
|
<constraint firstItem="QEr-1S-JZX" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="20" id="DRP-5G-W3e"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="BfX-EM-ktQ" secondAttribute="trailing" constant="20" symbolic="YES" id="EVf-1X-v1B"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="Bfj-tB-Wq2" secondAttribute="bottom" constant="20" id="LeM-a8-IMO"/>
|
<constraint firstAttribute="bottom" secondItem="Bfj-tB-Wq2" secondAttribute="bottom" constant="20" id="LeM-a8-IMO"/>
|
||||||
<constraint firstItem="dWj-kw-NVW" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="trailing" constant="7" id="Nv1-th-2ki"/>
|
<constraint firstItem="dWj-kw-NVW" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="trailing" constant="7" id="Nv1-th-2ki"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="6hW-RR-cfF" secondAttribute="trailing" constant="-5" id="Rfl-Zu-KRL"/>
|
<constraint firstAttribute="trailing" secondItem="6hW-RR-cfF" secondAttribute="trailing" constant="-4" id="Rfl-Zu-KRL"/>
|
||||||
|
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="top" secondItem="BfX-EM-ktQ" secondAttribute="bottom" constant="20" symbolic="YES" id="ST5-KA-9jo"/>
|
||||||
<constraint firstItem="zM1-YP-Au2" firstAttribute="baseline" secondItem="Bfj-tB-Wq2" secondAttribute="baseline" id="Ydc-dO-pHN"/>
|
<constraint firstItem="zM1-YP-Au2" firstAttribute="baseline" secondItem="Bfj-tB-Wq2" secondAttribute="baseline" id="Ydc-dO-pHN"/>
|
||||||
<constraint firstItem="dWj-kw-NVW" firstAttribute="centerY" secondItem="QEr-1S-JZX" secondAttribute="centerY" id="ZJK-aI-ebA"/>
|
<constraint firstItem="dWj-kw-NVW" firstAttribute="centerY" secondItem="QEr-1S-JZX" secondAttribute="centerY" id="ZJK-aI-ebA"/>
|
||||||
<constraint firstItem="zM1-YP-Au2" firstAttribute="width" secondItem="Bfj-tB-Wq2" secondAttribute="width" id="ain-gy-U2V"/>
|
<constraint firstItem="zM1-YP-Au2" firstAttribute="width" secondItem="Bfj-tB-Wq2" secondAttribute="width" id="ain-gy-U2V"/>
|
||||||
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="top" secondItem="BfX-EM-ktQ" secondAttribute="bottom" constant="20" id="amA-Vx-LBb"/>
|
|
||||||
<constraint firstAttribute="trailing" secondItem="Bfj-tB-Wq2" secondAttribute="trailing" constant="20" id="fSb-kG-oqW"/>
|
<constraint firstAttribute="trailing" secondItem="Bfj-tB-Wq2" secondAttribute="trailing" constant="20" id="fSb-kG-oqW"/>
|
||||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="top" secondItem="6hW-RR-cfF" secondAttribute="bottom" constant="8" id="gB2-uH-CDQ"/>
|
<constraint firstItem="BfX-EM-ktQ" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="20" symbolic="YES" id="g9K-ua-Yl9"/>
|
||||||
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="leading" secondItem="zM1-YP-Au2" secondAttribute="trailing" constant="12" id="hPx-74-Y3U"/>
|
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="leading" secondItem="zM1-YP-Au2" secondAttribute="trailing" constant="12" id="hPx-74-Y3U"/>
|
||||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="leading" id="mjk-ta-h2N"/>
|
|
||||||
<constraint firstItem="zM1-YP-Au2" firstAttribute="leading" secondItem="dWj-kw-NVW" secondAttribute="trailing" constant="14" id="vyk-qX-8IX"/>
|
<constraint firstItem="zM1-YP-Au2" firstAttribute="leading" secondItem="dWj-kw-NVW" secondAttribute="trailing" constant="14" id="vyk-qX-8IX"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="244" y="72"/>
|
<point key="canvasLocation" x="130" y="71"/>
|
||||||
</view>
|
</view>
|
||||||
</objects>
|
</objects>
|
||||||
</document>
|
</document>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="1" customClass="PrefsWindow" customModule="Subler" customModuleProvider="target">
|
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="1" customClass="PrefsWindow" customModule="Subler" customModuleProvider="target">
|
||||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||||
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
||||||
<rect key="contentRect" x="625" y="560" width="660" height="220"/>
|
<rect key="contentRect" x="625" y="660" width="660" height="220"/>
|
||||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
||||||
<view key="contentView" id="2">
|
<view key="contentView" id="2">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="660" height="220"/>
|
<rect key="frame" x="0.0" y="0.0" width="660" height="220"/>
|
||||||
|
|||||||
+32
-26
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -20,31 +20,31 @@
|
|||||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||||
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
||||||
<rect key="contentRect" x="98" y="443" width="503" height="505"/>
|
<rect key="contentRect" x="98" y="443" width="503" height="505"/>
|
||||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1049"/>
|
||||||
<value key="minSize" type="size" width="378" height="200"/>
|
<value key="minSize" type="size" width="378" height="200"/>
|
||||||
<view key="contentView" wantsLayer="YES" id="2">
|
<view key="contentView" wantsLayer="YES" misplaced="YES" id="2">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="503" height="505"/>
|
<rect key="frame" x="0.0" y="0.0" width="450" height="505"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="23" horizontalPageScroll="10" verticalLineScroll="23" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3">
|
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="23" horizontalPageScroll="10" verticalLineScroll="23" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3">
|
||||||
<rect key="frame" x="-1" y="46" width="505" height="460"/>
|
<rect key="frame" x="-1" y="69" width="452" height="437"/>
|
||||||
<clipView key="contentView" id="ix7-yM-0F6">
|
<clipView key="contentView" id="ix7-yM-0F6">
|
||||||
<rect key="frame" x="1" y="1" width="503" height="458"/>
|
<rect key="frame" x="1" y="1" width="431" height="435"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowHeight="19" rowSizeStyle="automatic" viewBased="YES" id="7" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="sequential" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowHeight="19" rowSizeStyle="automatic" viewBased="YES" id="7" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="512" height="458"/>
|
<rect key="frame" x="0.0" y="0.0" width="452" height="435"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="4"/>
|
<size key="intercellSpacing" width="3" height="4"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
|
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
|
||||||
<tableColumns>
|
<tableColumns>
|
||||||
<tableColumn identifier="nameColumn" editable="NO" width="500" minWidth="40" maxWidth="3000" id="8">
|
<tableColumn identifier="nameColumn" editable="NO" width="452" minWidth="40" maxWidth="3000" id="8">
|
||||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="nameColumn">
|
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="nameColumn">
|
||||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
|
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
</tableHeaderCell>
|
</tableHeaderCell>
|
||||||
<textFieldCell key="dataCell" lineBreakMode="charWrapping" selectable="YES" editable="YES" alignment="left" id="11">
|
<textFieldCell key="dataCell" lineBreakMode="truncatingMiddle" selectable="YES" editable="YES" alignment="left" id="11">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -52,26 +52,23 @@
|
|||||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
|
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
|
||||||
<prototypeCellViews>
|
<prototypeCellViews>
|
||||||
<tableCellView id="ofF-gY-wBR">
|
<tableCellView id="ofF-gY-wBR">
|
||||||
<rect key="frame" x="1" y="2" width="509" height="19"/>
|
<rect key="frame" x="1" y="2" width="428" height="19"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="pjh-GC-aOA">
|
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="pjh-GC-aOA">
|
||||||
<rect key="frame" x="29" y="2" width="451" height="17"/>
|
<rect key="frame" x="29" y="2" width="370" height="16"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
<textFieldCell key="cell" lineBreakMode="truncatingMiddle" sendsActionOnEndEditing="YES" title="Name" usesSingleLineMode="YES" id="srx-EJ-mK6">
|
||||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Name" id="srx-EJ-mK6">
|
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Xeb-eQ-90j">
|
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Xeb-eQ-90j">
|
||||||
<rect key="frame" x="7" y="2" width="16" height="16"/>
|
<rect key="frame" x="7" y="2" width="16" height="16"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
|
||||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="EncodeComplete" id="uXb-c3-MQO"/>
|
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="EncodeComplete" id="uXb-c3-MQO"/>
|
||||||
</imageView>
|
</imageView>
|
||||||
<button toolTip="Show item info" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="o98-wM-YAQ">
|
<button toolTip="Show item info" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="o98-wM-YAQ">
|
||||||
<rect key="frame" x="486" y="2" width="16" height="16"/>
|
<rect key="frame" x="405" y="2" width="16" height="16"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
|
|
||||||
<buttonCell key="cell" type="bevel" bezelStyle="rounded" image="info" imagePosition="overlaps" alignment="center" alternateImage="info-pressed" imageScaling="proportionallyDown" inset="2" id="AFW-1U-iaL">
|
<buttonCell key="cell" type="bevel" bezelStyle="rounded" image="info" imagePosition="overlaps" alignment="center" alternateImage="info-pressed" imageScaling="proportionallyDown" inset="2" id="AFW-1U-iaL">
|
||||||
<behavior key="behavior" lightByContents="YES"/>
|
<behavior key="behavior" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -82,6 +79,15 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstItem="Xeb-eQ-90j" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="90b-BW-lff"/>
|
||||||
|
<constraint firstItem="o98-wM-YAQ" firstAttribute="leading" secondItem="pjh-GC-aOA" secondAttribute="trailing" constant="8" symbolic="YES" id="CaB-q0-ftY"/>
|
||||||
|
<constraint firstItem="Xeb-eQ-90j" firstAttribute="leading" secondItem="ofF-gY-wBR" secondAttribute="leading" constant="7" id="G9p-cq-HKH"/>
|
||||||
|
<constraint firstItem="o98-wM-YAQ" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="USV-VJ-xKf"/>
|
||||||
|
<constraint firstItem="pjh-GC-aOA" firstAttribute="leading" secondItem="Xeb-eQ-90j" secondAttribute="trailing" constant="8" symbolic="YES" id="ZBk-XN-nd9"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="o98-wM-YAQ" secondAttribute="trailing" constant="7" id="mX3-LL-ent"/>
|
||||||
|
<constraint firstItem="pjh-GC-aOA" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="odE-Gg-80F"/>
|
||||||
|
</constraints>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="imageView" destination="Xeb-eQ-90j" id="Q6V-gj-mwY"/>
|
<outlet property="imageView" destination="Xeb-eQ-90j" id="Q6V-gj-mwY"/>
|
||||||
<outlet property="textField" destination="pjh-GC-aOA" id="PQK-Y7-IFu"/>
|
<outlet property="textField" destination="pjh-GC-aOA" id="PQK-Y7-IFu"/>
|
||||||
@@ -99,8 +105,8 @@
|
|||||||
</tableView>
|
</tableView>
|
||||||
</subviews>
|
</subviews>
|
||||||
</clipView>
|
</clipView>
|
||||||
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6">
|
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6">
|
||||||
<rect key="frame" x="1" y="443" width="503" height="16"/>
|
<rect key="frame" x="1" y="420" width="431" height="17"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
</scroller>
|
</scroller>
|
||||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="4">
|
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="4">
|
||||||
@@ -109,7 +115,7 @@
|
|||||||
</scroller>
|
</scroller>
|
||||||
</scrollView>
|
</scrollView>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="12">
|
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="12">
|
||||||
<rect key="frame" x="8" y="16" width="339" height="16"/>
|
<rect key="frame" x="8" y="39" width="267" height="16"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Queue items" id="13">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Queue items" id="13">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -117,7 +123,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="91">
|
<progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="91">
|
||||||
<rect key="frame" x="353" y="13" width="140" height="20"/>
|
<rect key="frame" x="281" y="14" width="140" height="41"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="140" id="zk9-SM-dx0"/>
|
<constraint firstAttribute="width" constant="140" id="zk9-SM-dx0"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -138,7 +144,7 @@
|
|||||||
<connections>
|
<connections>
|
||||||
<outlet property="delegate" destination="-2" id="c4X-w0-NMZ"/>
|
<outlet property="delegate" destination="-2" id="c4X-w0-NMZ"/>
|
||||||
</connections>
|
</connections>
|
||||||
<point key="canvasLocation" x="165.5" y="60.5"/>
|
<point key="canvasLocation" x="294.5" y="35.5"/>
|
||||||
</window>
|
</window>
|
||||||
<menu id="78">
|
<menu id="78">
|
||||||
<items>
|
<items>
|
||||||
|
|||||||
+52
-54
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -16,18 +16,15 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<customView id="UlG-O3-eNc" userLabel="OptionsView">
|
<customView id="UlG-O3-eNc" userLabel="OptionsView">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="382" height="642"/>
|
<rect key="frame" x="0.0" y="0.0" width="395" height="687"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<button verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zEH-aV-Tl7">
|
<button verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zEH-aV-Tl7">
|
||||||
<rect key="frame" x="111" y="88" width="68" height="16"/>
|
<rect key="frame" x="112" y="89" width="65" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Optimize" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nig-pN-efw">
|
<buttonCell key="cell" type="check" title="Optimize" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nig-pN-efw">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
</buttonCell>
|
</buttonCell>
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="67" id="st2-UI-Qkc"/>
|
|
||||||
</constraints>
|
|
||||||
<connections>
|
<connections>
|
||||||
<binding destination="-2" name="value" keyPath="self.options.optimize" id="2oW-EB-1dq">
|
<binding destination="-2" name="value" keyPath="self.options.optimize" id="2oW-EB-1dq">
|
||||||
<dictionary key="options">
|
<dictionary key="options">
|
||||||
@@ -37,7 +34,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Clear existing metadata" translatesAutoresizingMaskIntoConstraints="NO" id="9GN-f6-r2j">
|
<button toolTip="Clear existing metadata" translatesAutoresizingMaskIntoConstraints="NO" id="9GN-f6-r2j">
|
||||||
<rect key="frame" x="111" y="607" width="145" height="16"/>
|
<rect key="frame" x="112" y="653" width="142" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Clear existing metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="QNO-e1-WUJ">
|
<buttonCell key="cell" type="check" title="Clear existing 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"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -51,7 +48,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="MGZ-hB-jhx">
|
<button verticalHuggingPriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="MGZ-hB-jhx">
|
||||||
<rect key="frame" x="112" y="39" width="132" height="16"/>
|
<rect key="frame" x="113" y="40" width="129" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Auto-Start the queue" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="LYO-G0-9jA">
|
<buttonCell key="cell" type="check" title="Auto-Start the queue" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="LYO-G0-9jA">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -65,7 +62,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Organize the mp4 alternate groups" verticalHuggingPriority="757" translatesAutoresizingMaskIntoConstraints="NO" id="ccd-Xn-Dj3">
|
<button toolTip="Organize the mp4 alternate groups" verticalHuggingPriority="757" translatesAutoresizingMaskIntoConstraints="NO" id="ccd-Xn-Dj3">
|
||||||
<rect key="frame" x="111" y="440" width="110" height="16"/>
|
<rect key="frame" x="112" y="466" width="107" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Organize Groups" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="240-c7-2UW">
|
<buttonCell key="cell" type="check" title="Organize Groups" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="240-c7-2UW">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -79,7 +76,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Load the external srt subtitles file" verticalHuggingPriority="758" translatesAutoresizingMaskIntoConstraints="NO" id="etc-K7-Atw">
|
<button toolTip="Load the external srt subtitles file" verticalHuggingPriority="758" translatesAutoresizingMaskIntoConstraints="NO" id="etc-K7-Atw">
|
||||||
<rect key="frame" x="111" y="400" width="142" height="16"/>
|
<rect key="frame" x="112" y="426" width="138" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Load external subtitles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="59T-kp-mV1">
|
<buttonCell key="cell" type="check" title="Load external subtitles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="59T-kp-mV1">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -93,7 +90,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="86l-GG-SpO">
|
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="86l-GG-SpO">
|
||||||
<rect key="frame" x="195" y="127" width="130" height="17"/>
|
<rect key="frame" x="195" y="132" width="130" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="6jC-r9-LzT" id="8bb-Gy-KAS">
|
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="6jC-r9-LzT" id="8bb-Gy-KAS">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -122,7 +119,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="vJ5-JB-k1m">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="vJ5-JB-k1m">
|
||||||
<rect key="frame" x="132" y="129" width="56" height="14"/>
|
<rect key="frame" x="132" y="135" width="56" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Location:" id="17e-9u-rVn">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Location:" id="17e-9u-rVn">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -130,7 +127,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="NhN-Lg-awX">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="NhN-Lg-awX">
|
||||||
<rect key="frame" x="126" y="149" width="62" height="14"/>
|
<rect key="frame" x="126" y="159" width="62" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Apply Set:" id="9gt-mI-zIV">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Apply Set:" id="9gt-mI-zIV">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -138,7 +135,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-yP-QQ5">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-yP-QQ5">
|
||||||
<rect key="frame" x="126" y="565" width="48" height="14"/>
|
<rect key="frame" x="126" y="608" width="48" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -149,7 +146,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="bDo-OD-bck">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="bDo-OD-bck">
|
||||||
<rect key="frame" x="126" y="519" width="63" height="14"/>
|
<rect key="frame" x="126" y="554" width="63" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -168,7 +165,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="S7L-mA-j3Y">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="S7L-mA-j3Y">
|
||||||
<rect key="frame" x="49" y="608" width="58" height="14"/>
|
<rect key="frame" x="49" y="653" width="58" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Add item:" id="9ls-xq-YGz">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Add item:" id="9ls-xq-YGz">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -176,7 +173,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DVM-Js-DwK">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DVM-Js-DwK">
|
||||||
<rect key="frame" x="195" y="147" width="130" height="17"/>
|
<rect key="frame" x="195" y="156" width="130" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bQx-xN-b3H">
|
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bQx-xN-b3H">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -208,7 +205,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZVm-yi-3cE">
|
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZVm-yi-3cE">
|
||||||
<rect key="frame" x="181" y="563" width="150" height="17"/>
|
<rect key="frame" x="181" y="605" width="150" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CbR-eu-sGI">
|
<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"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -235,7 +232,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tLh-V3-OfB">
|
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tLh-V3-OfB">
|
||||||
<rect key="frame" x="195" y="517" width="150" height="17"/>
|
<rect key="frame" x="195" y="551" width="150" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UOb-Qe-IPw">
|
<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"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -262,7 +259,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="BWL-Nn-iGH">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="BWL-Nn-iGH">
|
||||||
<rect key="frame" x="142" y="499" width="63" height="14"/>
|
<rect key="frame" x="142" y="530" width="63" height="14"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="58" id="vbR-Os-38g"/>
|
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="58" id="vbR-Os-38g"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -276,7 +273,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Ns9-7q-hsh">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Ns9-7q-hsh">
|
||||||
<rect key="frame" x="126" y="471" width="54" height="14"/>
|
<rect key="frame" x="126" y="498" width="54" height="14"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="98L-OX-PB1"/>
|
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="98L-OX-PB1"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -290,7 +287,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ce4-O7-Iu4">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ce4-O7-Iu4">
|
||||||
<rect key="frame" x="212" y="497" width="150" height="17"/>
|
<rect key="frame" x="212" y="527" width="150" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nqF-p0-mT7">
|
<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"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -318,7 +315,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="73q-gi-fe2">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="73q-gi-fe2">
|
||||||
<rect key="frame" x="142" y="545" width="63" height="14"/>
|
<rect key="frame" x="142" y="584" width="63" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -329,7 +326,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5rh-cM-iOg">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5rh-cM-iOg">
|
||||||
<rect key="frame" x="212" y="543" width="150" height="17"/>
|
<rect key="frame" x="212" y="581" width="150" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
|
<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"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -358,14 +355,11 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button toolTip="Organize the audio fallbacks" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="TV6-Sk-Bqr">
|
<button toolTip="Organize the audio fallbacks" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="TV6-Sk-Bqr">
|
||||||
<rect key="frame" x="111" y="420" width="118" height="16"/>
|
<rect key="frame" x="112" y="446" width="115" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Fix audio fallbacks" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="W6u-1c-BsI">
|
<buttonCell key="cell" type="check" title="Fix audio fallbacks" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="W6u-1c-BsI">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
</buttonCell>
|
</buttonCell>
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="117" id="8uL-Xd-FJM"/>
|
|
||||||
</constraints>
|
|
||||||
<connections>
|
<connections>
|
||||||
<binding destination="-2" name="value" keyPath="self.options.fixFallbacks" id="W1e-uB-NXG">
|
<binding destination="-2" name="value" keyPath="self.options.fixFallbacks" id="W1e-uB-NXG">
|
||||||
<dictionary key="options">
|
<dictionary key="options">
|
||||||
@@ -375,7 +369,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Set tracks without a language to the selected one" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="slL-2h-MPl">
|
<button toolTip="Set tracks without a language to the selected one" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="slL-2h-MPl">
|
||||||
<rect key="frame" x="111" y="320" width="159" height="16"/>
|
<rect key="frame" x="112" y="346" width="156" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Complete tracks language" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="cxz-2q-RIP">
|
<buttonCell key="cell" type="check" title="Complete tracks language" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="cxz-2q-RIP">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -389,7 +383,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="swT-iM-shZ">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="swT-iM-shZ">
|
||||||
<rect key="frame" x="126" y="302" width="64" height="14"/>
|
<rect key="frame" x="126" y="325" width="64" height="14"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="60" id="x6U-u1-ezQ"/>
|
<constraint firstAttribute="width" constant="60" id="x6U-u1-ezQ"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -403,7 +397,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZZk-4j-Ji7">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZZk-4j-Ji7">
|
||||||
<rect key="frame" x="197" y="300" width="111" height="17"/>
|
<rect key="frame" x="197" y="322" width="111" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kEh-SN-iHZ">
|
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kEh-SN-iHZ">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -431,7 +425,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="ntU-85-AaJ">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="ntU-85-AaJ">
|
||||||
<rect key="frame" x="126" y="262" width="63" height="14"/>
|
<rect key="frame" x="126" y="283" width="63" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="963-dI-WCB">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="963-dI-WCB">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -442,7 +436,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ztL-LO-XhV">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ztL-LO-XhV">
|
||||||
<rect key="frame" x="196" y="260" width="111" height="17"/>
|
<rect key="frame" x="196" y="280" width="111" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="tj2-P4-OCU">
|
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="tj2-P4-OCU">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -470,7 +464,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3et-YT-WBR">
|
<button horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3et-YT-WBR">
|
||||||
<rect key="frame" x="111" y="279" width="195" height="16"/>
|
<rect key="frame" x="112" y="303" width="192" height="14"/>
|
||||||
<string key="toolTip">In files with multiple audio tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language audio to play by default. An audio track labeled with the selected language and tagged as main program content must exist. </string>
|
<string key="toolTip">In files with multiple audio tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language audio to play by default. An audio track labeled with the selected language and tagged as main program content must exist. </string>
|
||||||
<buttonCell key="cell" type="check" title="Enable audio track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="nC7-4d-Is1">
|
<buttonCell key="cell" type="check" title="Enable audio track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="nC7-4d-Is1">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
@@ -485,7 +479,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LiA-V6-VEx" userLabel="Change Subtitle Language Track">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LiA-V6-VEx" userLabel="Change Subtitle Language Track">
|
||||||
<rect key="frame" x="111" y="242" width="211" height="16"/>
|
<rect key="frame" x="112" y="262" width="208" height="14"/>
|
||||||
<string key="toolTip">In files with multiple subtitle tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language subtitles to play by default. A subtitle track labeled with the preferred language must exist in the file.</string>
|
<string key="toolTip">In files with multiple subtitle tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language subtitles to play by default. A subtitle track labeled with the preferred language must exist in the file.</string>
|
||||||
<buttonCell key="cell" type="check" title="Enable subtitles track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="LD5-Kv-x0M" userLabel="Change Subtitle Language Track">
|
<buttonCell key="cell" type="check" title="Enable subtitles track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="LD5-Kv-x0M" userLabel="Change Subtitle Language Track">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
@@ -500,7 +494,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="yI9-2a-q2a">
|
<button verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="yI9-2a-q2a">
|
||||||
<rect key="frame" x="112" y="19" width="178" height="16"/>
|
<rect key="frame" x="113" y="20" width="175" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Show Notification When Done" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="n6P-IC-SEp">
|
<buttonCell key="cell" type="check" title="Show Notification When Done" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="n6P-IC-SEp">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -514,7 +508,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Delete all custom track names" verticalHuggingPriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="22k-mA-HyA">
|
<button toolTip="Delete all custom track names" verticalHuggingPriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="22k-mA-HyA">
|
||||||
<rect key="frame" x="111" y="380" width="122" height="16"/>
|
<rect key="frame" x="112" y="406" width="119" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Clear tracks names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="mtK-5C-Pzh">
|
<buttonCell key="cell" type="check" title="Clear tracks names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="mtK-5C-Pzh">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -528,7 +522,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Rename audio tracks according to channel count (Mono, Stereo, Surround)" verticalHuggingPriority="753" translatesAutoresizingMaskIntoConstraints="NO" id="81E-pQ-vyQ">
|
<button toolTip="Rename audio tracks according to channel count (Mono, Stereo, Surround)" verticalHuggingPriority="753" translatesAutoresizingMaskIntoConstraints="NO" id="81E-pQ-vyQ">
|
||||||
<rect key="frame" x="111" y="360" width="159" height="16"/>
|
<rect key="frame" x="112" y="386" width="156" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Prettify audio track names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="akF-dR-OPB" userLabel="Prettify audio track names">
|
<buttonCell key="cell" type="check" title="Prettify audio track names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="akF-dR-OPB" userLabel="Prettify audio track names">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -542,7 +536,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button toolTip="Rename chapters titles to "Chapter N" format." verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0qr-Nt-Pan">
|
<button toolTip="Rename chapters titles to "Chapter N" format." verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0qr-Nt-Pan">
|
||||||
<rect key="frame" x="111" y="340" width="142" height="16"/>
|
<rect key="frame" x="112" y="366" width="139" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Rename chapters titles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="yFm-Nq-s66" userLabel="Prettify audio track names">
|
<buttonCell key="cell" type="check" title="Rename chapters titles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="yFm-Nq-s66" userLabel="Prettify audio track names">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -556,7 +550,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="08Q-2k-0Gb">
|
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="08Q-2k-0Gb">
|
||||||
<rect key="frame" x="187" y="469" width="70" height="17"/>
|
<rect key="frame" x="187" y="495" width="90" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" title="Poster" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="YjX-6f-SPu" id="1t8-o9-ckI">
|
<popUpButtonCell key="cell" type="roundRect" title="Poster" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="YjX-6f-SPu" id="1t8-o9-ckI">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -587,7 +581,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button toolTip="Set the color space of video tracks to the selected one" verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="Pdq-s0-erT">
|
<button toolTip="Set the color space of video tracks to the selected one" verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="Pdq-s0-erT">
|
||||||
<rect key="frame" x="111" y="205" width="115" height="16"/>
|
<rect key="frame" x="112" y="221" width="112" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Apply color space" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="0By-RQ-4mS">
|
<buttonCell key="cell" type="check" title="Apply color space" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="0By-RQ-4mS">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -601,7 +595,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="2Hf-2V-95U">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="2Hf-2V-95U">
|
||||||
<rect key="frame" x="126" y="187" width="76" height="14"/>
|
<rect key="frame" x="126" y="201" width="76" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="tMS-Tg-pPf">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="tMS-Tg-pPf">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -612,7 +606,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="s2g-Iz-52P">
|
<popUpButton verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="s2g-Iz-52P">
|
||||||
<rect key="frame" x="209" y="185" width="150" height="18"/>
|
<rect key="frame" x="209" y="198" width="150" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" title="Implicit" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="psY-0V-t0k" id="QT5-Bh-4Hc">
|
<popUpButtonCell key="cell" type="roundRect" title="Implicit" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="psY-0V-t0k" id="QT5-Bh-4Hc">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -641,7 +635,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button toolTip="Search metadata online" verticalHuggingPriority="759" translatesAutoresizingMaskIntoConstraints="NO" id="s8r-Cf-VfB">
|
<button toolTip="Search metadata online" verticalHuggingPriority="759" translatesAutoresizingMaskIntoConstraints="NO" id="s8r-Cf-VfB">
|
||||||
<rect key="frame" x="111" y="587" width="103" height="16"/>
|
<rect key="frame" x="112" y="633" width="100" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="h5x-un-6cJ">
|
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="h5x-un-6cJ">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -655,7 +649,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="zVi-vU-sh2">
|
<button translatesAutoresizingMaskIntoConstraints="NO" id="zVi-vU-sh2">
|
||||||
<rect key="frame" x="111" y="69" width="145" height="16"/>
|
<rect key="frame" x="112" y="70" width="142" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Send to AppleTV/iTunes" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="4an-VK-S2u">
|
<buttonCell key="cell" type="check" title="Send to AppleTV/iTunes" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="4an-VK-S2u">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -669,7 +663,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="k33-Yf-DbF">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="k33-Yf-DbF">
|
||||||
<rect key="frame" x="263" y="469" width="73" height="17"/>
|
<rect key="frame" x="283" y="495" width="92" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" title="Standard" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="goC-ck-how" id="obA-0k-yqE">
|
<popUpButtonCell key="cell" type="roundRect" title="Standard" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="goC-ck-how" id="obA-0k-yqE">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -694,7 +688,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="FJc-Hc-zCR">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="FJc-Hc-zCR">
|
||||||
<rect key="frame" x="126" y="225" width="63" height="14"/>
|
<rect key="frame" x="126" y="242" width="63" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="E4E-3v-z24">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="E4E-3v-z24">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -705,7 +699,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</textField>
|
</textField>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YJ5-of-VuU">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YJ5-of-VuU">
|
||||||
<rect key="frame" x="196" y="223" width="111" height="17"/>
|
<rect key="frame" x="196" y="239" width="111" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="muE-Km-mrP">
|
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="muE-Km-mrP">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -733,7 +727,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hjl-i0-gFW">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hjl-i0-gFW">
|
||||||
<rect key="frame" x="111" y="166" width="124" height="16"/>
|
<rect key="frame" x="112" y="179" width="121" height="14"/>
|
||||||
<buttonCell key="cell" type="check" title="Set output filename" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="Qld-0F-DsX">
|
<buttonCell key="cell" type="check" title="Set output filename" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="Qld-0F-DsX">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -743,7 +737,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KWg-Ak-bB6">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KWg-Ak-bB6">
|
||||||
<rect key="frame" x="195" y="107" width="130" height="17"/>
|
<rect key="frame" x="195" y="108" width="130" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="roundRect" title="mp4" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="10" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="iXb-rA-1f3" id="Tgc-fW-mN5">
|
<popUpButtonCell key="cell" type="roundRect" title="mp4" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="10" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="iXb-rA-1f3" id="Tgc-fW-mN5">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="label" size="11"/>
|
<font key="font" metaFont="label" size="11"/>
|
||||||
@@ -763,7 +757,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="muY-E0-hVI">
|
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="muY-E0-hVI">
|
||||||
<rect key="frame" x="129" y="109" width="59" height="14"/>
|
<rect key="frame" x="129" y="111" width="59" height="14"/>
|
||||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="File Type:" id="UbR-KJ-8iR">
|
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="File Type:" id="UbR-KJ-8iR">
|
||||||
<font key="font" metaFont="smallSystemBold"/>
|
<font key="font" metaFont="smallSystemBold"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -790,10 +784,12 @@
|
|||||||
<constraint firstItem="zEH-aV-Tl7" firstAttribute="top" secondItem="KWg-Ak-bB6" secondAttribute="bottom" constant="5" id="G6e-3t-3Qo"/>
|
<constraint firstItem="zEH-aV-Tl7" firstAttribute="top" secondItem="KWg-Ak-bB6" secondAttribute="bottom" constant="5" id="G6e-3t-3Qo"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ccd-Xn-Dj3" secondAttribute="trailing" constant="20" symbolic="YES" id="GMb-eq-e9x"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ccd-Xn-Dj3" secondAttribute="trailing" constant="20" symbolic="YES" id="GMb-eq-e9x"/>
|
||||||
<constraint firstItem="Ce4-O7-Iu4" firstAttribute="top" secondItem="tLh-V3-OfB" secondAttribute="bottom" constant="4" id="GZU-yB-OvD"/>
|
<constraint firstItem="Ce4-O7-Iu4" firstAttribute="top" secondItem="tLh-V3-OfB" secondAttribute="bottom" constant="4" id="GZU-yB-OvD"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="81E-pQ-vyQ" secondAttribute="trailing" constant="20" symbolic="YES" id="HI8-BQ-BTo"/>
|
||||||
<constraint firstItem="swT-iM-shZ" firstAttribute="leading" secondItem="slL-2h-MPl" secondAttribute="leading" constant="16" id="IET-Co-LEB"/>
|
<constraint firstItem="swT-iM-shZ" firstAttribute="leading" secondItem="slL-2h-MPl" secondAttribute="leading" constant="16" id="IET-Co-LEB"/>
|
||||||
<constraint firstItem="DVM-Js-DwK" firstAttribute="baseline" secondItem="NhN-Lg-awX" secondAttribute="baseline" id="IIu-ZN-CEa"/>
|
<constraint firstItem="DVM-Js-DwK" firstAttribute="baseline" secondItem="NhN-Lg-awX" secondAttribute="baseline" id="IIu-ZN-CEa"/>
|
||||||
<constraint firstItem="ztL-LO-XhV" firstAttribute="leading" secondItem="ntU-85-AaJ" secondAttribute="trailing" constant="9" id="K3L-f4-IZc"/>
|
<constraint firstItem="ztL-LO-XhV" firstAttribute="leading" secondItem="ntU-85-AaJ" secondAttribute="trailing" constant="9" id="K3L-f4-IZc"/>
|
||||||
<constraint firstItem="Hjl-i0-gFW" firstAttribute="top" secondItem="s2g-Iz-52P" secondAttribute="bottom" constant="5" id="KsR-cp-dYg"/>
|
<constraint firstItem="Hjl-i0-gFW" firstAttribute="top" secondItem="s2g-Iz-52P" secondAttribute="bottom" constant="5" id="KsR-cp-dYg"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="etc-K7-Atw" secondAttribute="trailing" constant="20" symbolic="YES" id="LBm-Pp-APA"/>
|
||||||
<constraint firstItem="tLh-V3-OfB" firstAttribute="leading" secondItem="bDo-OD-bck" secondAttribute="trailing" constant="8" symbolic="YES" id="LkT-ae-DtF"/>
|
<constraint firstItem="tLh-V3-OfB" firstAttribute="leading" secondItem="bDo-OD-bck" secondAttribute="trailing" constant="8" symbolic="YES" id="LkT-ae-DtF"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="9GN-f6-r2j" secondAttribute="trailing" constant="20" symbolic="YES" id="MDf-Y0-K0I"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="9GN-f6-r2j" secondAttribute="trailing" constant="20" symbolic="YES" id="MDf-Y0-K0I"/>
|
||||||
<constraint firstItem="FJc-Hc-zCR" firstAttribute="leading" secondItem="LiA-V6-VEx" secondAttribute="leading" constant="16" id="MQ9-dx-nHh"/>
|
<constraint firstItem="FJc-Hc-zCR" firstAttribute="leading" secondItem="LiA-V6-VEx" secondAttribute="leading" constant="16" id="MQ9-dx-nHh"/>
|
||||||
@@ -821,7 +817,6 @@
|
|||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="s2g-Iz-52P" secondAttribute="trailing" constant="20" symbolic="YES" id="X1t-8Y-baf"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="s2g-Iz-52P" secondAttribute="trailing" constant="20" symbolic="YES" id="X1t-8Y-baf"/>
|
||||||
<constraint firstItem="TV6-Sk-Bqr" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="X37-Ek-Obs"/>
|
<constraint firstItem="TV6-Sk-Bqr" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="X37-Ek-Obs"/>
|
||||||
<constraint firstItem="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="X54-PH-kRj"/>
|
<constraint firstItem="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="X54-PH-kRj"/>
|
||||||
<constraint firstItem="etc-K7-Atw" firstAttribute="trailing" secondItem="0qr-Nt-Pan" secondAttribute="trailing" id="XT5-Su-3cJ"/>
|
|
||||||
<constraint firstItem="eTL-yP-QQ5" firstAttribute="leading" secondItem="s8r-Cf-VfB" secondAttribute="leading" constant="16" id="Z6O-Is-xJw"/>
|
<constraint firstItem="eTL-yP-QQ5" firstAttribute="leading" secondItem="s8r-Cf-VfB" secondAttribute="leading" constant="16" id="Z6O-Is-xJw"/>
|
||||||
<constraint firstItem="k33-Yf-DbF" firstAttribute="leading" secondItem="08Q-2k-0Gb" secondAttribute="trailing" constant="6" id="aBD-L7-WLH"/>
|
<constraint firstItem="k33-Yf-DbF" firstAttribute="leading" secondItem="08Q-2k-0Gb" secondAttribute="trailing" constant="6" id="aBD-L7-WLH"/>
|
||||||
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="Uoo-hZ-D1f" secondAttribute="trailing" constant="8" symbolic="YES" id="bZX-aT-V7w"/>
|
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="Uoo-hZ-D1f" secondAttribute="trailing" constant="8" symbolic="YES" id="bZX-aT-V7w"/>
|
||||||
@@ -840,9 +835,11 @@
|
|||||||
<constraint firstItem="22k-mA-HyA" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="gf1-Gn-HmD"/>
|
<constraint firstItem="22k-mA-HyA" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="gf1-Gn-HmD"/>
|
||||||
<constraint firstItem="ZVm-yi-3cE" firstAttribute="top" secondItem="s8r-Cf-VfB" secondAttribute="bottom" constant="8" symbolic="YES" id="guH-Zh-HOj"/>
|
<constraint firstItem="ZVm-yi-3cE" firstAttribute="top" secondItem="s8r-Cf-VfB" secondAttribute="bottom" constant="8" symbolic="YES" id="guH-Zh-HOj"/>
|
||||||
<constraint firstItem="9GN-f6-r2j" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="h8R-Ut-8qp"/>
|
<constraint firstItem="9GN-f6-r2j" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="h8R-Ut-8qp"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="TV6-Sk-Bqr" secondAttribute="trailing" constant="20" symbolic="YES" id="hcL-c5-CaR"/>
|
||||||
<constraint firstItem="08Q-2k-0Gb" firstAttribute="leading" secondItem="Ns9-7q-hsh" secondAttribute="trailing" constant="9" id="iQj-1h-1cO"/>
|
<constraint firstItem="08Q-2k-0Gb" firstAttribute="leading" secondItem="Ns9-7q-hsh" secondAttribute="trailing" constant="9" id="iQj-1h-1cO"/>
|
||||||
<constraint firstItem="2Hf-2V-95U" firstAttribute="baseline" secondItem="s2g-Iz-52P" secondAttribute="baseline" id="iuc-CH-gRQ"/>
|
<constraint firstItem="2Hf-2V-95U" firstAttribute="baseline" secondItem="s2g-Iz-52P" secondAttribute="baseline" id="iuc-CH-gRQ"/>
|
||||||
<constraint firstItem="86l-GG-SpO" firstAttribute="leading" secondItem="vJ5-JB-k1m" secondAttribute="trailing" constant="9" id="jVT-Dw-cxd"/>
|
<constraint firstItem="86l-GG-SpO" firstAttribute="leading" secondItem="vJ5-JB-k1m" secondAttribute="trailing" constant="9" id="jVT-Dw-cxd"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="k33-Yf-DbF" secondAttribute="trailing" constant="20" symbolic="YES" id="kql-Sm-3Q6"/>
|
||||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="baseline" secondItem="9GN-f6-r2j" secondAttribute="baseline" id="lQw-5e-sOv"/>
|
<constraint firstItem="S7L-mA-j3Y" firstAttribute="baseline" secondItem="9GN-f6-r2j" secondAttribute="baseline" id="lQw-5e-sOv"/>
|
||||||
<constraint firstItem="etc-K7-Atw" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="lRh-Vo-1XH"/>
|
<constraint firstItem="etc-K7-Atw" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="lRh-Vo-1XH"/>
|
||||||
<constraint firstItem="KWg-Ak-bB6" firstAttribute="firstBaseline" secondItem="muY-E0-hVI" secondAttribute="firstBaseline" id="lu4-VE-F0x"/>
|
<constraint firstItem="KWg-Ak-bB6" firstAttribute="firstBaseline" secondItem="muY-E0-hVI" secondAttribute="firstBaseline" id="lu4-VE-F0x"/>
|
||||||
@@ -854,6 +851,7 @@
|
|||||||
<constraint firstItem="5rh-cM-iOg" firstAttribute="top" secondItem="ZVm-yi-3cE" secondAttribute="bottom" constant="4" id="o3T-cH-W5B"/>
|
<constraint firstItem="5rh-cM-iOg" firstAttribute="top" secondItem="ZVm-yi-3cE" secondAttribute="bottom" constant="4" id="o3T-cH-W5B"/>
|
||||||
<constraint firstItem="5rh-cM-iOg" firstAttribute="leading" secondItem="73q-gi-fe2" secondAttribute="trailing" constant="9" id="oAW-Hc-PIL"/>
|
<constraint firstItem="5rh-cM-iOg" firstAttribute="leading" secondItem="73q-gi-fe2" secondAttribute="trailing" constant="9" id="oAW-Hc-PIL"/>
|
||||||
<constraint firstItem="s8r-Cf-VfB" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="oUh-bK-O8z"/>
|
<constraint firstItem="s8r-Cf-VfB" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="oUh-bK-O8z"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="0qr-Nt-Pan" secondAttribute="trailing" constant="20" symbolic="YES" id="p6g-Q8-2JO"/>
|
||||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="20" id="qfC-zl-k6y"/>
|
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="20" id="qfC-zl-k6y"/>
|
||||||
<constraint firstItem="tLh-V3-OfB" firstAttribute="top" secondItem="5rh-cM-iOg" secondAttribute="bottom" constant="10" id="qgN-Bo-MoW"/>
|
<constraint firstItem="tLh-V3-OfB" firstAttribute="top" secondItem="5rh-cM-iOg" secondAttribute="bottom" constant="10" id="qgN-Bo-MoW"/>
|
||||||
<constraint firstItem="YJ5-of-VuU" firstAttribute="leading" secondItem="FJc-Hc-zCR" secondAttribute="trailing" constant="9" id="s62-9o-HgE"/>
|
<constraint firstItem="YJ5-of-VuU" firstAttribute="leading" secondItem="FJc-Hc-zCR" secondAttribute="trailing" constant="9" id="s62-9o-HgE"/>
|
||||||
@@ -870,7 +868,7 @@
|
|||||||
<constraint firstItem="MGZ-hB-jhx" firstAttribute="top" secondItem="zVi-vU-sh2" secondAttribute="bottom" constant="16" id="zMD-eX-e2y"/>
|
<constraint firstItem="MGZ-hB-jhx" firstAttribute="top" secondItem="zVi-vU-sh2" secondAttribute="bottom" constant="16" id="zMD-eX-e2y"/>
|
||||||
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="yI9-2a-q2a" secondAttribute="leading" id="zpo-Kd-EaI"/>
|
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="yI9-2a-q2a" secondAttribute="leading" id="zpo-Kd-EaI"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="-1040" y="-23"/>
|
<point key="canvasLocation" x="-1250" y="-137"/>
|
||||||
</customView>
|
</customView>
|
||||||
<arrayController objectClassName="Preset" automaticallyPreparesContent="YES" id="vyv-na-Xpo" userLabel="Set Controller">
|
<arrayController objectClassName="Preset" automaticallyPreparesContent="YES" id="vyv-na-Xpo" userLabel="Set Controller">
|
||||||
<declaredKeys>
|
<declaredKeys>
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
|||||||
view.wantsLayer = true
|
view.wantsLayer = true
|
||||||
|
|
||||||
imageBrowser.register(ArtworkSelectorViewItem.self, forItemWithIdentifier: ArtworkSelectorController.itemView)
|
imageBrowser.register(ArtworkSelectorViewItem.self, forItemWithIdentifier: ArtworkSelectorController.itemView)
|
||||||
loadMoreArtworks(count: 8)
|
loadMoreArtworks(count: 11)
|
||||||
|
|
||||||
let type = metadata.mediaKind.description
|
let type = metadata.mediaKind.description
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
|||||||
imageBrowser.reloadItems(at: [indexPath])
|
imageBrowser.reloadItems(at: [indexPath])
|
||||||
}
|
}
|
||||||
|
|
||||||
imageBrowser.selectionIndexPaths = selectionIndexPaths
|
imageBrowser.selectionIndexPaths = selectionIndexPaths
|
||||||
}
|
}
|
||||||
|
|
||||||
private func selectArtwork(at index: Int) {
|
private func selectArtwork(at index: Int) {
|
||||||
@@ -294,7 +294,8 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func selectedArtworks() -> [ArtworkImageObject] {
|
private func selectedArtworks() -> [ArtworkImageObject] {
|
||||||
return imageBrowser.selectionIndexPaths.map { artworks[$0.item] }
|
let indexes = imageBrowser.selectionIndexPaths.map { $0.item } .sorted()
|
||||||
|
return indexes.map { artworks[$0] }
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK - UI state
|
// MARK - UI state
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ import AVFoundation
|
|||||||
|
|
||||||
final class ArtworkSelectorViewItemLabel : NSTextField {
|
final class ArtworkSelectorViewItemLabel : NSTextField {
|
||||||
|
|
||||||
@IBInspectable var highlightColor: NSColor = .alternateSelectedControlColor
|
|
||||||
|
@IBInspectable var highlightColor: NSColor = .alternateSelectedControlColor //.selectedContentBackgroundColor
|
||||||
@IBInspectable var highlightTextColor: NSColor = .alternateSelectedControlTextColor
|
@IBInspectable var highlightTextColor: NSColor = .alternateSelectedControlTextColor
|
||||||
@IBInspectable var cornerRadius: CGFloat = 3
|
@IBInspectable var cornerRadius: CGFloat = 3
|
||||||
|
|
||||||
@@ -162,7 +163,11 @@ final class ArtworkSelectorViewItemView: NSView {
|
|||||||
|
|
||||||
backgroundLayer.anchorPoint = CGPoint.zero
|
backgroundLayer.anchorPoint = CGPoint.zero
|
||||||
backgroundLayer.position = CGPoint(x: 0, y: paddingBottom)
|
backgroundLayer.position = CGPoint(x: 0, y: paddingBottom)
|
||||||
backgroundLayer.backgroundColor = NSColor.controlHighlightColor.cgColor
|
if #available(macOS 10.14, *) {
|
||||||
|
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||||
|
} else {
|
||||||
|
backgroundLayer.backgroundColor = NSColor.controlHighlightColor.cgColor
|
||||||
|
}
|
||||||
backgroundLayer.cornerRadius = 8
|
backgroundLayer.cornerRadius = 8
|
||||||
backgroundLayer.isHidden = true
|
backgroundLayer.isHidden = true
|
||||||
backgroundLayer.isOpaque = true
|
backgroundLayer.isOpaque = true
|
||||||
@@ -171,7 +176,11 @@ final class ArtworkSelectorViewItemView: NSView {
|
|||||||
emptyLayer.position = CGPoint(x: padding, y: padding + paddingBottom)
|
emptyLayer.position = CGPoint(x: padding, y: padding + paddingBottom)
|
||||||
emptyLayer.lineWidth = 3.0
|
emptyLayer.lineWidth = 3.0
|
||||||
emptyLayer.lineDashPattern = [12,5]
|
emptyLayer.lineDashPattern = [12,5]
|
||||||
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
if #available(macOS 10.14, *) {
|
||||||
|
emptyLayer.strokeColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||||
|
} else {
|
||||||
|
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
||||||
|
}
|
||||||
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||||
emptyLayer.isOpaque = true
|
emptyLayer.isOpaque = true
|
||||||
|
|
||||||
@@ -197,12 +206,21 @@ final class ArtworkSelectorViewItemView: NSView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func updateBackgroundColor() {
|
private func updateBackgroundColor() {
|
||||||
if #available(OSX 10.14, *) {
|
if #available(macOS 11, *) {
|
||||||
|
effectiveAppearance.performAsCurrentDrawingAppearance {
|
||||||
|
imageLayer.shadowColor = NSColor.labelColor.cgColor
|
||||||
|
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||||
|
emptyLayer.strokeColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||||
|
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||||
|
}
|
||||||
|
} else {
|
||||||
let saved = NSAppearance.current
|
let saved = NSAppearance.current
|
||||||
NSAppearance.current = effectiveAppearance
|
NSAppearance.current = effectiveAppearance
|
||||||
|
|
||||||
imageLayer.shadowColor = NSColor.labelColor.cgColor
|
imageLayer.shadowColor = NSColor.labelColor.cgColor
|
||||||
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
if #available(macOS 10.14, *) {
|
||||||
|
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||||
|
}
|
||||||
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
||||||
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||||
|
|
||||||
@@ -276,6 +294,9 @@ final class ArtworkSelectorViewItem: NSCollectionViewItem {
|
|||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
textField?.layer?.isOpaque = true
|
textField?.layer?.isOpaque = true
|
||||||
|
let recognizer = NSClickGestureRecognizer(target: self, action: #selector(handleGesture))
|
||||||
|
recognizer.numberOfClicksRequired = 2
|
||||||
|
self.view.addGestureRecognizer(recognizer)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateLabels() {
|
private func updateLabels() {
|
||||||
@@ -337,11 +358,9 @@ final class ArtworkSelectorViewItem: NSCollectionViewItem {
|
|||||||
|
|
||||||
// MARK: Actions
|
// MARK: Actions
|
||||||
|
|
||||||
override func mouseUp(with event: NSEvent) {
|
@objc func handleGesture() {
|
||||||
if event.clickCount > 1, let action = doubleAction {
|
if let action = doubleAction {
|
||||||
target?.performSelector(onMainThread: action, with: nil, waitUntilDone: true)
|
target?.performSelector(onMainThread: action, with: nil, waitUntilDone: true)
|
||||||
} else {
|
|
||||||
super.mouseUp(with: event)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="128" height="171"/>
|
<rect key="frame" x="0.0" y="0.0" width="128" height="171"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wkh-6c-0tU" customClass="ArtworkSelectorViewItemLabel" customModule="Subler" customModuleProvider="target">
|
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wkh-6c-0tU" customClass="ArtworkSelectorViewItemLabel" customModule="Subler" customModuleProvider="target">
|
||||||
<rect key="frame" x="-4" y="17" width="136" height="15"/>
|
<rect key="frame" x="-4" y="17" width="136" height="15"/>
|
||||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="TsL-Ak-xnf">
|
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="TsL-Ak-xnf">
|
||||||
<font key="font" metaFont="cellTitle"/>
|
<font key="font" metaFont="cellTitle"/>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
||||||
<rect key="frame" x="-4" y="4" width="136" height="13"/>
|
<rect key="frame" x="-4" y="4" width="136" height="13"/>
|
||||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="ggX-Q2-CZ0">
|
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="ggX-Q2-CZ0">
|
||||||
<font key="font" metaFont="system" size="10"/>
|
<font key="font" metaFont="system" size="10"/>
|
||||||
@@ -40,7 +40,6 @@
|
|||||||
<constraint firstItem="fGU-Kh-WjD" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="0Wf-6t-6Lg"/>
|
<constraint firstItem="fGU-Kh-WjD" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="0Wf-6t-6Lg"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="Wkh-6c-0tU" secondAttribute="trailing" constant="-2" id="9df-FA-2lX"/>
|
<constraint firstAttribute="trailing" secondItem="Wkh-6c-0tU" secondAttribute="trailing" constant="-2" id="9df-FA-2lX"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="Wkh-6c-0tU" secondAttribute="bottom" constant="17" id="EOh-x3-ntT"/>
|
<constraint firstAttribute="bottom" secondItem="Wkh-6c-0tU" secondAttribute="bottom" constant="17" id="EOh-x3-ntT"/>
|
||||||
<constraint firstItem="Wkh-6c-0tU" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="HaR-VX-NRg"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="fGU-Kh-WjD" secondAttribute="bottom" constant="4" id="Xx6-ak-lcw"/>
|
<constraint firstAttribute="bottom" secondItem="fGU-Kh-WjD" secondAttribute="bottom" constant="4" id="Xx6-ak-lcw"/>
|
||||||
<constraint firstItem="Wkh-6c-0tU" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="cPi-y8-nFz"/>
|
<constraint firstItem="Wkh-6c-0tU" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="cPi-y8-nFz"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="fGU-Kh-WjD" secondAttribute="trailing" constant="-2" id="fLm-DU-mGT"/>
|
<constraint firstAttribute="trailing" secondItem="fGU-Kh-WjD" secondAttribute="trailing" constant="-2" id="fLm-DU-mGT"/>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -14,10 +13,10 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" toolbarStyle="expanded" id="s5f-yH-26m" userLabel="Window">
|
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" toolbarStyle="expanded" id="s5f-yH-26m" userLabel="Window">
|
||||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" fullSizeContentView="YES"/>
|
||||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||||
<rect key="contentRect" x="50" y="490" width="520" height="510"/>
|
<rect key="contentRect" x="200" y="500" width="520" height="510"/>
|
||||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1049"/>
|
||||||
<value key="minSize" type="size" width="520" height="510"/>
|
<value key="minSize" type="size" width="520" height="510"/>
|
||||||
<view key="contentView" id="rip-YL-WpY">
|
<view key="contentView" id="rip-YL-WpY">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="520" height="510"/>
|
<rect key="frame" x="0.0" y="0.0" width="520" height="510"/>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -19,17 +19,17 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<customView id="Hz6-mo-xeY">
|
<customView id="Hz6-mo-xeY">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="642" height="497"/>
|
<rect key="frame" x="0.0" y="0.0" width="642" height="518"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XK-zr-YdW">
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XK-zr-YdW">
|
||||||
<rect key="frame" x="166" y="142" width="456" height="311"/>
|
<rect key="frame" x="166" y="167" width="456" height="307"/>
|
||||||
<clipView key="contentView" id="mho-zw-2Ud">
|
<clipView key="contentView" id="mho-zw-2Ud">
|
||||||
<rect key="frame" x="1" y="1" width="454" height="309"/>
|
<rect key="frame" x="1" y="1" width="454" height="305"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" tableStyle="plain" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="REl-53-Sku" viewBased="YES" id="Tid-Rc-Ljr">
|
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" tableStyle="plain" 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="454" height="286"/>
|
<rect key="frame" x="0.0" y="0.0" width="454" height="282"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="2"/>
|
<size key="intercellSpacing" width="3" height="2"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
</tableHeaderView>
|
</tableHeaderView>
|
||||||
</scrollView>
|
</scrollView>
|
||||||
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y15-gP-AOw">
|
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y15-gP-AOw">
|
||||||
<rect key="frame" x="18" y="67" width="606" height="15"/>
|
<rect key="frame" x="18" y="88" width="606" height="15"/>
|
||||||
<tokenFieldCell key="cell" selectable="YES" allowsUndo="NO" alignment="left" allowsEditingTextAttributes="YES" id="rG5-g2-YmU">
|
<tokenFieldCell key="cell" selectable="YES" allowsUndo="NO" alignment="left" allowsEditingTextAttributes="YES" id="rG5-g2-YmU">
|
||||||
<font key="font" metaFont="cellTitle"/>
|
<font key="font" metaFont="cellTitle"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</tokenField>
|
</tokenField>
|
||||||
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sd5-qb-K5v">
|
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sd5-qb-K5v">
|
||||||
<rect key="frame" x="207" y="107" width="44" height="32"/>
|
<rect key="frame" x="229" y="135" width="38" height="24"/>
|
||||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
|
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -161,7 +161,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton toolTip="Add annotation" verticalHuggingPriority="249" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="Jdh-Cj-6ef">
|
<popUpButton toolTip="Add annotation" verticalHuggingPriority="249" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="Jdh-Cj-6ef">
|
||||||
<rect key="frame" x="163" y="110" width="53" height="25"/>
|
<rect key="frame" x="166" y="135" width="61" height="24"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="message"/>
|
<font key="font" metaFont="message"/>
|
||||||
@@ -178,13 +178,13 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h1q-Xr-y6R">
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h1q-Xr-y6R">
|
||||||
<rect key="frame" x="20" y="142" width="138" height="311"/>
|
<rect key="frame" x="20" y="167" width="138" height="307"/>
|
||||||
<clipView key="contentView" id="KId-fX-q1q">
|
<clipView key="contentView" ambiguous="YES" id="KId-fX-q1q">
|
||||||
<rect key="frame" x="1" y="1" width="136" height="309"/>
|
<rect key="frame" x="1" y="1" width="136" height="305"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="Eh9-8P-dr0" viewBased="YES" id="nXW-oy-rtu">
|
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="Eh9-8P-dr0" viewBased="YES" id="nXW-oy-rtu">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="136" height="286"/>
|
<rect key="frame" x="0.0" y="0.0" width="136" height="282"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="2"/>
|
<size key="intercellSpacing" width="3" height="2"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
</tableHeaderView>
|
</tableHeaderView>
|
||||||
</scrollView>
|
</scrollView>
|
||||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8sr-aI-VZy">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8sr-aI-VZy">
|
||||||
<rect key="frame" x="18" y="90" width="606" height="16"/>
|
<rect key="frame" x="18" y="111" width="606" height="16"/>
|
||||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Available values:" id="OYx-Dd-YIf">
|
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Available values:" id="OYx-Dd-YIf">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BkU-sx-jUf">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BkU-sx-jUf">
|
||||||
<rect key="frame" x="494" y="107" width="135" height="32"/>
|
<rect key="frame" x="498" y="135" width="124" height="24"/>
|
||||||
<buttonCell key="cell" type="push" title="Restore Defaults" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
|
<buttonCell key="cell" type="push" title="Restore Defaults" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -277,7 +277,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZpH-Zy-mAt">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZpH-Zy-mAt">
|
||||||
<rect key="frame" x="18" y="461" width="323" height="16"/>
|
<rect key="frame" x="18" y="482" width="323" height="16"/>
|
||||||
<textFieldCell key="cell" lineBreakMode="clipping" title="Map the providers' metadata to the MP4 annotations" id="cUW-9F-EvO">
|
<textFieldCell key="cell" lineBreakMode="clipping" title="Map the providers' metadata to the MP4 annotations" id="cUW-9F-EvO">
|
||||||
<font key="font" usesAppearanceFont="YES"/>
|
<font key="font" usesAppearanceFont="YES"/>
|
||||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -285,7 +285,7 @@
|
|||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
|
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
|
||||||
<rect key="frame" x="18" y="19" width="173" height="41"/>
|
<rect key="frame" x="20" y="64" width="169" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Keep empty annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7Ek-lI-5Lo">
|
<buttonCell key="cell" type="check" title="Keep empty annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7Ek-lI-5Lo">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -294,8 +294,29 @@
|
|||||||
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
|
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
|
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="SZd-pK-hWX">
|
||||||
|
<rect key="frame" x="20" y="42" width="206" height="16"/>
|
||||||
|
<buttonCell key="cell" type="check" title="Overwrite existing annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7KC-Up-hGn">
|
||||||
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
</buttonCell>
|
||||||
|
<connections>
|
||||||
|
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataOverwriteExistingAnnotations" id="gMZ-eG-GV4"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
|
<button toolTip="4K metadata may cause streaming issues with some Apple TV and iTunes configurations" translatesAutoresizingMaskIntoConstraints="NO" id="cEs-iS-fwI">
|
||||||
|
<rect key="frame" x="20" y="20" width="232" height="16"/>
|
||||||
|
<buttonCell key="cell" type="check" title="Autodetect 4K HD Video Metadata" bezelStyle="regularSquare" imagePosition="left" inset="2" id="vyR-ib-B9Q">
|
||||||
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
|
<font key="font" metaFont="system"/>
|
||||||
|
</buttonCell>
|
||||||
|
<connections>
|
||||||
|
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBSet4KHDVideoMetadata" id="OKn-J3-W8a"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<constraint firstItem="SZd-pK-hWX" firstAttribute="leading" secondItem="ZMK-Xt-bJh" secondAttribute="leading" id="00b-Uc-cOS"/>
|
||||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="bottom" secondItem="sd5-qb-K5v" secondAttribute="bottom" id="0SP-GV-ri1"/>
|
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="bottom" secondItem="sd5-qb-K5v" secondAttribute="bottom" id="0SP-GV-ri1"/>
|
||||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="leading" secondItem="1XK-zr-YdW" secondAttribute="leading" id="1EI-3q-Cy7"/>
|
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="leading" secondItem="1XK-zr-YdW" secondAttribute="leading" id="1EI-3q-Cy7"/>
|
||||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2i2-lP-HkJ"/>
|
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2i2-lP-HkJ"/>
|
||||||
@@ -304,16 +325,20 @@
|
|||||||
<constraint firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" constant="20" symbolic="YES" id="9fj-nw-Dnj"/>
|
<constraint firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" constant="20" symbolic="YES" id="9fj-nw-Dnj"/>
|
||||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="bottom" secondItem="1XK-zr-YdW" secondAttribute="bottom" id="BRg-Qn-cnk"/>
|
<constraint firstItem="h1q-Xr-y6R" firstAttribute="bottom" secondItem="1XK-zr-YdW" secondAttribute="bottom" id="BRg-Qn-cnk"/>
|
||||||
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="BpM-Kf-SfT"/>
|
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="BpM-Kf-SfT"/>
|
||||||
|
<constraint firstItem="SZd-pK-hWX" firstAttribute="top" secondItem="ZMK-Xt-bJh" secondAttribute="bottom" constant="6" symbolic="YES" id="DHM-ZO-C7P"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="20" id="GLC-tk-eTl"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="20" id="GLC-tk-eTl"/>
|
||||||
<constraint firstItem="8sr-aI-VZy" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="HFP-B1-ScR"/>
|
<constraint firstItem="8sr-aI-VZy" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="HFP-B1-ScR"/>
|
||||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Y15-gP-AOw" secondAttribute="leading" id="HMX-Qb-8MC"/>
|
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Y15-gP-AOw" secondAttribute="leading" id="HMX-Qb-8MC"/>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="cEs-iS-fwI" secondAttribute="bottom" constant="20" symbolic="YES" id="HUg-bO-NbS"/>
|
||||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="centerY" secondItem="1XK-zr-YdW" secondAttribute="centerY" id="JHk-tE-xQI"/>
|
<constraint firstItem="h1q-Xr-y6R" firstAttribute="centerY" secondItem="1XK-zr-YdW" secondAttribute="centerY" id="JHk-tE-xQI"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="SZd-pK-hWX" secondAttribute="trailing" constant="20" symbolic="YES" id="MBW-h8-eD8"/>
|
||||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" id="NcZ-Os-USj"/>
|
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" id="NcZ-Os-USj"/>
|
||||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZpH-Zy-mAt" secondAttribute="trailing" constant="20" symbolic="YES" id="P7f-Fl-xTL"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZpH-Zy-mAt" secondAttribute="trailing" constant="20" symbolic="YES" id="P7f-Fl-xTL"/>
|
||||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="top" secondItem="ZpH-Zy-mAt" secondAttribute="bottom" constant="8" symbolic="YES" id="S2n-Cv-TwB"/>
|
<constraint firstItem="h1q-Xr-y6R" firstAttribute="top" secondItem="ZpH-Zy-mAt" secondAttribute="bottom" constant="8" symbolic="YES" id="S2n-Cv-TwB"/>
|
||||||
<constraint firstItem="BkU-sx-jUf" firstAttribute="centerY" secondItem="sd5-qb-K5v" secondAttribute="centerY" id="ZWW-ZP-Xp1"/>
|
<constraint firstItem="BkU-sx-jUf" firstAttribute="centerY" secondItem="sd5-qb-K5v" secondAttribute="centerY" id="ZWW-ZP-Xp1"/>
|
||||||
<constraint firstItem="BkU-sx-jUf" firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" id="bp9-bU-BRc"/>
|
<constraint firstItem="BkU-sx-jUf" firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" id="bp9-bU-BRc"/>
|
||||||
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="h1q-Xr-y6R" secondAttribute="trailing" constant="8" symbolic="YES" id="cCT-Qp-Bxz"/>
|
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="h1q-Xr-y6R" secondAttribute="trailing" constant="8" symbolic="YES" id="cCT-Qp-Bxz"/>
|
||||||
|
<constraint firstItem="cEs-iS-fwI" firstAttribute="top" secondItem="SZd-pK-hWX" secondAttribute="bottom" constant="6" symbolic="YES" id="d8X-hu-sZn"/>
|
||||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="sd5-qb-K5v" secondAttribute="top" id="ewc-at-D5g"/>
|
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="sd5-qb-K5v" secondAttribute="top" id="ewc-at-D5g"/>
|
||||||
<constraint firstItem="BkU-sx-jUf" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="fdW-8M-iew"/>
|
<constraint firstItem="BkU-sx-jUf" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="fdW-8M-iew"/>
|
||||||
<constraint firstItem="8sr-aI-VZy" firstAttribute="top" secondItem="Jdh-Cj-6ef" secondAttribute="bottom" constant="8" id="gVT-X2-Zcu"/>
|
<constraint firstItem="8sr-aI-VZy" firstAttribute="top" secondItem="Jdh-Cj-6ef" secondAttribute="bottom" constant="8" id="gVT-X2-Zcu"/>
|
||||||
@@ -321,12 +346,13 @@
|
|||||||
<constraint firstItem="BkU-sx-jUf" firstAttribute="height" secondItem="Jdh-Cj-6ef" secondAttribute="height" id="lyO-6Z-Osi"/>
|
<constraint firstItem="BkU-sx-jUf" firstAttribute="height" secondItem="Jdh-Cj-6ef" secondAttribute="height" id="lyO-6Z-Osi"/>
|
||||||
<constraint firstItem="Y15-gP-AOw" firstAttribute="top" secondItem="8sr-aI-VZy" secondAttribute="bottom" constant="8" id="mFt-Ao-lHu"/>
|
<constraint firstItem="Y15-gP-AOw" firstAttribute="top" secondItem="8sr-aI-VZy" secondAttribute="bottom" constant="8" id="mFt-Ao-lHu"/>
|
||||||
<constraint firstItem="Y15-gP-AOw" firstAttribute="trailing" secondItem="8sr-aI-VZy" secondAttribute="trailing" id="mXF-1R-Sbp"/>
|
<constraint firstItem="Y15-gP-AOw" firstAttribute="trailing" secondItem="8sr-aI-VZy" secondAttribute="trailing" id="mXF-1R-Sbp"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="ZMK-Xt-bJh" secondAttribute="bottom" constant="20" symbolic="YES" id="qbM-tp-ooC"/>
|
|
||||||
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="ttK-B9-wyu"/>
|
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="ttK-B9-wyu"/>
|
||||||
<constraint firstItem="sd5-qb-K5v" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="2" id="vIk-e5-WB3"/>
|
<constraint firstItem="sd5-qb-K5v" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="2" id="vIk-e5-WB3"/>
|
||||||
|
<constraint firstItem="cEs-iS-fwI" firstAttribute="leading" secondItem="SZd-pK-hWX" secondAttribute="leading" id="wdD-k6-Agx"/>
|
||||||
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="cEs-iS-fwI" secondAttribute="trailing" constant="20" symbolic="YES" id="we6-QF-WHA"/>
|
||||||
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="166" id="yZg-V9-bxH"/>
|
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="166" id="yZg-V9-bxH"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="-295.5" y="-469.5"/>
|
<point key="canvasLocation" x="-296" y="-459"/>
|
||||||
</customView>
|
</customView>
|
||||||
<arrayController objectClassName="NSString" id="RId-BH-Y2G" userLabel="Types Controller">
|
<arrayController objectClassName="NSString" id="RId-BH-Y2G" userLabel="Types Controller">
|
||||||
<classReference key="objectClass" className="NSString"/>
|
<classReference key="objectClass" className="NSString"/>
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<customView id="Hz6-mo-xeY">
|
<customView id="Hz6-mo-xeY">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="610" height="220"/>
|
<rect key="frame" x="0.0" y="0.0" width="660" height="202"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="PZS-8W-dno">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="PZS-8W-dno">
|
||||||
<rect key="frame" x="67" y="183" width="184" height="18"/>
|
<rect key="frame" x="69" y="166" width="180" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Set filename of Movies to:" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="wci-gO-GWT">
|
<buttonCell key="cell" type="check" title="Set filename of Movies to:" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="wci-gO-GWT">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="TBF-BD-fSk">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="TBF-BD-fSk">
|
||||||
<rect key="frame" x="67" y="104" width="201" height="18"/>
|
<rect key="frame" x="69" y="86" width="197" height="16"/>
|
||||||
<buttonCell key="cell" type="check" title="Set filename of TV Shows to:" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="kQC-bu-0by">
|
<buttonCell key="cell" type="check" title="Set filename of TV Shows to:" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="kQC-bu-0by">
|
||||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -39,12 +39,9 @@
|
|||||||
<binding destination="BZm-iR-6oK" name="value" keyPath="values.SBSetTVShowFormat" id="e2b-dq-8JE"/>
|
<binding destination="BZm-iR-6oK" name="value" keyPath="values.SBSetTVShowFormat" id="e2b-dq-8JE"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<tokenField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="i8H-oP-Sif">
|
<tokenField focusRingType="none" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="i8H-oP-Sif">
|
||||||
<rect key="frame" x="85" y="153" width="440" height="23"/>
|
<rect key="frame" x="69" y="134" width="476" height="24"/>
|
||||||
<constraints>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<constraint firstAttribute="width" constant="440" id="6Ap-Ey-VHf"/>
|
|
||||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="23" id="JPO-az-iic"/>
|
|
||||||
</constraints>
|
|
||||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="h4P-Ma-djC">
|
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="h4P-Ma-djC">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -54,11 +51,9 @@
|
|||||||
<outlet property="delegate" destination="-2" id="39Q-aI-o60"/>
|
<outlet property="delegate" destination="-2" id="39Q-aI-o60"/>
|
||||||
</connections>
|
</connections>
|
||||||
</tokenField>
|
</tokenField>
|
||||||
<tokenField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rzc-AK-4Vr">
|
<tokenField focusRingType="none" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rzc-AK-4Vr">
|
||||||
<rect key="frame" x="85" y="74" width="440" height="23"/>
|
<rect key="frame" x="69" y="54" width="476" height="24"/>
|
||||||
<constraints>
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="23" id="bvK-Gm-JUU"/>
|
|
||||||
</constraints>
|
|
||||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="aHe-D5-fgj">
|
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="aHe-D5-fgj">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -68,8 +63,9 @@
|
|||||||
<outlet property="delegate" destination="-2" id="mh9-CJ-zVx"/>
|
<outlet property="delegate" destination="-2" id="mh9-CJ-zVx"/>
|
||||||
</connections>
|
</connections>
|
||||||
</tokenField>
|
</tokenField>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dq1-e8-fa6">
|
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dq1-e8-fa6">
|
||||||
<rect key="frame" x="526" y="148" width="44" height="32"/>
|
<rect key="frame" x="553" y="134" width="38" height="24"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSSmartBadgeTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="qsh-5h-jhl">
|
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSSmartBadgeTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="qsh-5h-jhl">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -78,8 +74,9 @@
|
|||||||
<action selector="showMovieTokens:" target="-2" id="Er8-nw-di4"/>
|
<action selector="showMovieTokens:" target="-2" id="Er8-nw-di4"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fZZ-im-9BI">
|
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fZZ-im-9BI">
|
||||||
<rect key="frame" x="526" y="69" width="44" height="32"/>
|
<rect key="frame" x="553" y="54" width="38" height="24"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSSmartBadgeTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gf3-DD-hW7">
|
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSSmartBadgeTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gf3-DD-hW7">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
@@ -89,10 +86,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
|
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
|
||||||
<rect key="frame" x="83" y="20" width="444" height="34"/>
|
<rect key="frame" x="83" y="20" width="441" height="14"/>
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="height" constant="34" id="Y5R-jS-Whb"/>
|
|
||||||
</constraints>
|
|
||||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Set the format to create a custom filename in the Save As… panel and in the queue." id="hE3-zH-XFE">
|
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Set the format to create a custom filename in the Save As… panel and in the queue." id="hE3-zH-XFE">
|
||||||
<font key="font" metaFont="smallSystem"/>
|
<font key="font" metaFont="smallSystem"/>
|
||||||
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -101,25 +95,18 @@
|
|||||||
</textField>
|
</textField>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="bottom" secondItem="Pbz-wc-RXA" secondAttribute="bottom" constant="20" symbolic="YES" id="0R2-Y8-s5e"/>
|
<constraint firstAttribute="bottom" secondItem="Pbz-wc-RXA" secondAttribute="bottom" constant="20" symbolic="YES" id="1zf-9m-dj9"/>
|
||||||
<constraint firstItem="Pbz-wc-RXA" firstAttribute="leading" secondItem="i8H-oP-Sif" secondAttribute="leading" id="4Vz-o1-zSY"/>
|
<constraint firstItem="Pbz-wc-RXA" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="85" id="7Sa-nY-Sp0"/>
|
||||||
<constraint firstItem="rzc-AK-4Vr" firstAttribute="leading" secondItem="TBF-BD-fSk" secondAttribute="leading" constant="16" id="Aws-ML-M7P"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="PZS-8W-dno" secondAttribute="trailing" constant="40" id="FWW-Rk-8oX"/>
|
||||||
<constraint firstItem="TBF-BD-fSk" firstAttribute="top" secondItem="i8H-oP-Sif" secondAttribute="bottom" constant="32" id="C0O-NO-8Te"/>
|
<constraint firstItem="TBF-BD-fSk" firstAttribute="top" secondItem="PZS-8W-dno" secondAttribute="bottom" constant="64" id="RMy-yp-T41"/>
|
||||||
<constraint firstItem="dq1-e8-fa6" firstAttribute="centerY" secondItem="i8H-oP-Sif" secondAttribute="centerY" id="Dsc-lq-HSw"/>
|
<constraint firstItem="PZS-8W-dno" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="69" id="Zr8-m0-a0L"/>
|
||||||
<constraint firstItem="rzc-AK-4Vr" firstAttribute="top" secondItem="TBF-BD-fSk" secondAttribute="bottom" constant="8" id="FZZ-y5-ycJ"/>
|
<constraint firstAttribute="trailing" secondItem="Pbz-wc-RXA" secondAttribute="trailing" constant="138" id="f8r-kX-5Cf"/>
|
||||||
<constraint firstItem="PZS-8W-dno" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="GYO-gT-cbH"/>
|
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="TBF-BD-fSk" secondAttribute="trailing" constant="40" id="sO9-ww-FzW"/>
|
||||||
<constraint firstItem="i8H-oP-Sif" firstAttribute="top" secondItem="PZS-8W-dno" secondAttribute="bottom" constant="8" id="Mvi-1G-Dhn"/>
|
<constraint firstItem="PZS-8W-dno" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="uzL-77-0e4"/>
|
||||||
<constraint firstItem="Pbz-wc-RXA" firstAttribute="top" secondItem="rzc-AK-4Vr" secondAttribute="bottom" constant="20" id="ZQc-Um-c3U"/>
|
<constraint firstItem="Pbz-wc-RXA" firstAttribute="top" secondItem="TBF-BD-fSk" secondAttribute="bottom" constant="52" id="vr9-90-hg3"/>
|
||||||
<constraint firstItem="i8H-oP-Sif" firstAttribute="leading" secondItem="PZS-8W-dno" secondAttribute="leading" constant="16" id="ael-zI-oHU"/>
|
<constraint firstItem="TBF-BD-fSk" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="69" id="yiZ-p7-IJl"/>
|
||||||
<constraint firstItem="TBF-BD-fSk" firstAttribute="leading" secondItem="PZS-8W-dno" secondAttribute="leading" id="cyH-w2-B1O"/>
|
|
||||||
<constraint firstItem="dq1-e8-fa6" firstAttribute="leading" secondItem="i8H-oP-Sif" secondAttribute="trailing" constant="8" id="dhO-Zz-g71"/>
|
|
||||||
<constraint firstItem="fZZ-im-9BI" firstAttribute="centerY" secondItem="rzc-AK-4Vr" secondAttribute="centerY" id="gzL-hH-eGN"/>
|
|
||||||
<constraint firstItem="Pbz-wc-RXA" firstAttribute="trailing" secondItem="i8H-oP-Sif" secondAttribute="trailing" id="ipc-wG-c2z"/>
|
|
||||||
<constraint firstItem="fZZ-im-9BI" firstAttribute="leading" secondItem="rzc-AK-4Vr" secondAttribute="trailing" constant="8" id="kZg-YA-eMU"/>
|
|
||||||
<constraint firstItem="i8H-oP-Sif" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="n4G-w8-dKr"/>
|
|
||||||
<constraint firstItem="i8H-oP-Sif" firstAttribute="width" secondItem="rzc-AK-4Vr" secondAttribute="width" id="xG0-RB-Iyt"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
<point key="canvasLocation" x="-186" y="-587"/>
|
<point key="canvasLocation" x="-200" y="-636"/>
|
||||||
</customView>
|
</customView>
|
||||||
<userDefaultsController representsSharedInstance="YES" id="BZm-iR-6oK"/>
|
<userDefaultsController representsSharedInstance="YES" id="BZm-iR-6oK"/>
|
||||||
</objects>
|
</objects>
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ final class Document: NSDocument {
|
|||||||
self.unsupportedMp4Brand = false
|
self.unsupportedMp4Brand = false
|
||||||
self.mp4 = MP42File()
|
self.mp4 = MP42File()
|
||||||
super.init()
|
super.init()
|
||||||
|
self.mp4.undo = undoManager
|
||||||
}
|
}
|
||||||
|
|
||||||
init(mp4: MP42File) {
|
init(mp4: MP42File) {
|
||||||
@@ -37,6 +38,7 @@ final class Document: NSDocument {
|
|||||||
} else {
|
} else {
|
||||||
updateChangeCount(.changeDone)
|
updateChangeCount(.changeDone)
|
||||||
}
|
}
|
||||||
|
self.mp4.undo = undoManager
|
||||||
}
|
}
|
||||||
|
|
||||||
override func makeWindowControllers() {
|
override func makeWindowControllers() {
|
||||||
@@ -60,6 +62,7 @@ final class Document: NSDocument {
|
|||||||
override func read(from url: URL, ofType typeName: String) throws {
|
override func read(from url: URL, ofType typeName: String) throws {
|
||||||
do {
|
do {
|
||||||
mp4 = try MP42File(url: url)
|
mp4 = try MP42File(url: url)
|
||||||
|
mp4.undo = undoManager
|
||||||
} catch {
|
} catch {
|
||||||
unsupportedMp4Brand = true
|
unsupportedMp4Brand = true
|
||||||
}
|
}
|
||||||
@@ -67,9 +70,11 @@ final class Document: NSDocument {
|
|||||||
|
|
||||||
override func revert(toContentsOf url: URL, ofType typeName: String) throws {
|
override func revert(toContentsOf url: URL, ofType typeName: String) throws {
|
||||||
mp4 = try MP42File(url: url)
|
mp4 = try MP42File(url: url)
|
||||||
|
mp4.undo = undoManager
|
||||||
|
|
||||||
if let docController = windowControllers.first as? DocumentWindowController {
|
if let docController = windowControllers.first as? DocumentWindowController {
|
||||||
docController.reloadData()
|
docController.reloadData()
|
||||||
|
undoManager?.removeAllActions()
|
||||||
}
|
}
|
||||||
|
|
||||||
updateChangeCount(.changeCleared)
|
updateChangeCount(.changeCleared)
|
||||||
@@ -124,6 +129,8 @@ final class Document: NSDocument {
|
|||||||
do {
|
do {
|
||||||
let reloadedFile = try MP42File(url: url)
|
let reloadedFile = try MP42File(url: url)
|
||||||
self.mp4 = reloadedFile
|
self.mp4 = reloadedFile
|
||||||
|
self.mp4.undo = self.undoManager
|
||||||
|
self.undoManager?.removeAllActions()
|
||||||
docController?.reloadData()
|
docController?.reloadData()
|
||||||
completionHandler(error)
|
completionHandler(error)
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
|||||||
if #available(macOS 26.0, *) {
|
if #available(macOS 26.0, *) {
|
||||||
item.showsIndicator = false
|
item.showsIndicator = false
|
||||||
item.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
|
item.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
|
||||||
} else if #available(macOS 26.0, *) {
|
} else if #available(macOS 11.0, *) {
|
||||||
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)
|
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)
|
||||||
} else {
|
} else {
|
||||||
item.image = NSImage(named:"NSActionTemplate")
|
item.image = NSImage(named:"NSActionTemplate")
|
||||||
@@ -149,7 +149,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@MainActor func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
@MainActor func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||||
return [.importTracks, .searchMetadata, .actions, .space, .deleteTracks, .flexibleSpace, .sendToQueue, .showQueue,]
|
return [.importTracks, .searchMetadata, .space, .actions, .space, .deleteTracks, .flexibleSpace, .sendToQueue, .showQueue,]
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainActor func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
@MainActor func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import MP42Foundation
|
import MP42Foundation
|
||||||
|
import UniformTypeIdentifiers
|
||||||
|
|
||||||
final class DocumentWindowController: NSWindowController, TracksViewControllerDelegate, MetadataSearchViewControllerDelegate, FileImportControllerDelegate, ProgressViewControllerDelegate, NSDraggingDestination, NSUserInterfaceValidations {
|
final class DocumentWindowController: NSWindowController, NSWindowDelegate, TracksViewControllerDelegate, MetadataSearchViewControllerDelegate, ChapterSearchControllerDelegate, FileImportControllerDelegate, ProgressViewControllerDelegate, NSDraggingDestination, NSUserInterfaceValidations {
|
||||||
|
|
||||||
private var doc: Document {
|
private var doc: Document {
|
||||||
return document as! Document
|
return document as! Document
|
||||||
@@ -50,9 +51,9 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
toolbar.allowsUserCustomization = true
|
toolbar.allowsUserCustomization = true
|
||||||
toolbar.autosavesConfiguration = true
|
toolbar.autosavesConfiguration = true
|
||||||
if #available(macOS 26, *) {
|
if #available(macOS 26, *) {
|
||||||
toolbar.displayMode = .iconAndLabel
|
|
||||||
} else {
|
|
||||||
toolbar.displayMode = .iconOnly
|
toolbar.displayMode = .iconOnly
|
||||||
|
} else {
|
||||||
|
toolbar.displayMode = .iconAndLabel
|
||||||
}
|
}
|
||||||
self.window?.toolbar = toolbar
|
self.window?.toolbar = toolbar
|
||||||
|
|
||||||
@@ -61,17 +62,32 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
|
|
||||||
if Prefs.rememberDocumentWindowSize {
|
if Prefs.rememberDocumentWindowSize {
|
||||||
window.setFrameAutosaveName("documentSave")
|
window.setFrameAutosaveName("documentSave")
|
||||||
window.setFrame(from: "documentSave")
|
window.setFrameUsingName("documentSave")
|
||||||
|
|
||||||
splitViewController.splitView.autosaveName = DocumentWindowController.splitViewResorationAutosaveName
|
splitViewController.splitView.autosaveName = DocumentWindowController.splitViewResorationAutosaveName
|
||||||
splitViewController.splitView.identifier = DocumentWindowController.splitViewResorationIdentifier
|
splitViewController.splitView.identifier = DocumentWindowController.splitViewResorationIdentifier
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
window.setContentSize(NSSize(width: 690, height: 510))
|
window.setContentSize(NSSize(width: 692, height: 600))
|
||||||
splitViewController.splitView.setPosition(160, ofDividerAt: 0)
|
splitViewController.splitView.setPosition(240, ofDividerAt: 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
didSelect(tracks: [])
|
didSelect(tracks: [])
|
||||||
|
|
||||||
|
let update: (Notification) -> Void = { [weak self] notification in
|
||||||
|
guard let s = self else { return }
|
||||||
|
s.reloadDataAfterAnUndo()
|
||||||
|
}
|
||||||
|
|
||||||
|
NotificationCenter.default.addObserver(forName: NSNotification.Name.NSUndoManagerDidUndoChange,
|
||||||
|
object: doc.undoManager,
|
||||||
|
queue: OperationQueue.main,
|
||||||
|
using: update)
|
||||||
|
|
||||||
|
NotificationCenter.default.addObserver(forName: NSNotification.Name.NSUndoManagerDidRedoChange,
|
||||||
|
object: doc.undoManager,
|
||||||
|
queue: OperationQueue.main,
|
||||||
|
using: update)
|
||||||
}
|
}
|
||||||
|
|
||||||
private static let splitViewResorationIdentifier = NSUserInterfaceItemIdentifier(rawValue: "splitViewSave")
|
private static let splitViewResorationIdentifier = NSUserInterfaceItemIdentifier(rawValue: "splitViewSave")
|
||||||
@@ -127,16 +143,20 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func clearDetailsViewControllers() {
|
private func clearDetailsViewControllers() {
|
||||||
saveTabIndex(metadataViewController)
|
saveTabIndexes()
|
||||||
metadataViewController = nil
|
metadataViewController = nil
|
||||||
saveTabIndex(videoViewController)
|
|
||||||
videoViewController = nil
|
videoViewController = nil
|
||||||
saveTabIndex(soundViewController)
|
|
||||||
soundViewController = nil
|
soundViewController = nil
|
||||||
chapterViewController = nil
|
chapterViewController = nil
|
||||||
multiViewController = nil
|
multiViewController = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private func saveTabIndexes() {
|
||||||
|
saveTabIndex(metadataViewController)
|
||||||
|
saveTabIndex(videoViewController)
|
||||||
|
saveTabIndex(soundViewController)
|
||||||
|
}
|
||||||
|
|
||||||
private func detailsViewController(_ tracks: [MP42Track]) -> PropertyView {
|
private func detailsViewController(_ tracks: [MP42Track]) -> PropertyView {
|
||||||
if tracks.count > 1 {
|
if tracks.count > 1 {
|
||||||
let controller = MultiSelectViewController(numberOfTracks: UInt(tracks.count))
|
let controller = MultiSelectViewController(numberOfTracks: UInt(tracks.count))
|
||||||
@@ -175,7 +195,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
return emptyViewController!
|
return emptyViewController!
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if metadataViewController == nil {
|
if let metadataViewController = metadataViewController {
|
||||||
|
metadataViewController.metadata = mp4.metadata
|
||||||
|
}
|
||||||
|
else {
|
||||||
metadataViewController = MovieViewController(mp4: mp4, metadata: mp4.metadata)
|
metadataViewController = MovieViewController(mp4: mp4, metadata: mp4.metadata)
|
||||||
}
|
}
|
||||||
return metadataViewController!
|
return metadataViewController!
|
||||||
@@ -188,12 +211,20 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
tracksViewController.mp4 = doc.mp4
|
tracksViewController.mp4 = doc.mp4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func reloadDataAfterAnUndo() {
|
||||||
|
let firstResponder = self.window?.firstResponder;
|
||||||
|
saveTabIndexes()
|
||||||
|
tracksViewController.reloadData()
|
||||||
|
if let firstResponder = firstResponder as? NSView, firstResponder.window != nil {
|
||||||
|
self.window?.makeFirstResponder(firstResponder)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// MARK: Tracks controller delegate
|
// MARK: Tracks controller delegate
|
||||||
|
|
||||||
func didSelect(tracks: [MP42Track]) {
|
func didSelect(tracks: [MP42Track]) {
|
||||||
let detailsItem = splitViewController.splitViewItems[1]
|
let detailsItem = splitViewController.splitViewItems[1]
|
||||||
if let detailsViewController = detailsItem.viewController.children.first {
|
if let detailsViewController = detailsItem.viewController.children.first {
|
||||||
doc.undoManager?.removeAllActions(withTarget: detailsViewController)
|
|
||||||
detailsViewController.view.removeFromSuperviewWithoutNeedingDisplay()
|
detailsViewController.view.removeFromSuperviewWithoutNeedingDisplay()
|
||||||
detailsItem.viewController.removeChild(at: 0)
|
detailsItem.viewController.removeChild(at: 0)
|
||||||
}
|
}
|
||||||
@@ -214,7 +245,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
if Prefs.organizeAlternateGroups { mp4.organizeAlternateGroups() }
|
if Prefs.organizeAlternateGroups { mp4.organizeAlternateGroups() }
|
||||||
if Prefs.inferMediaCharacteristics { mp4.inferMediaCharacteristics() }
|
if Prefs.inferMediaCharacteristics { mp4.inferMediaCharacteristics() }
|
||||||
|
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -227,6 +257,7 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
case #selector(selectFile(_:)),
|
case #selector(selectFile(_:)),
|
||||||
#selector(selectMetadataFile(_:)),
|
#selector(selectMetadataFile(_:)),
|
||||||
#selector(searchMetadata(_:)),
|
#selector(searchMetadata(_:)),
|
||||||
|
#selector(searchChapters(_:)),
|
||||||
#selector(addChaptersEvery(_:)),
|
#selector(addChaptersEvery(_:)),
|
||||||
#selector(iTunesFriendlyTrackGroups(_:)),
|
#selector(iTunesFriendlyTrackGroups(_:)),
|
||||||
#selector(clearTrackNames(_:)),
|
#selector(clearTrackNames(_:)),
|
||||||
@@ -320,8 +351,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
track.addChapter("Chapter 1", timestamp: 0)
|
track.addChapter("Chapter 1", timestamp: 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
|
tracksViewController.selectTracks([track])
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func iTunesFriendlyTrackGroups(_ sender: Any) {
|
@IBAction func iTunesFriendlyTrackGroups(_ sender: Any) {
|
||||||
@@ -329,7 +360,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
mp4.inferTracksLanguages()
|
mp4.inferTracksLanguages()
|
||||||
mp4.inferMediaCharacteristics()
|
mp4.inferMediaCharacteristics()
|
||||||
|
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,7 +368,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
track.name = ""
|
track.name = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -348,13 +377,11 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
track.name = track.prettyTrackName
|
track.name = track.prettyTrackName
|
||||||
}
|
}
|
||||||
|
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func fixAudioFallbacks(_ sender: Any) {
|
@IBAction func fixAudioFallbacks(_ sender: Any) {
|
||||||
mp4.setAutoFallback()
|
mp4.setAutoFallback()
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -403,9 +430,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
func didSelect(metadata: MetadataResult) {
|
func didSelect(metadata: MetadataResult) {
|
||||||
let map = metadata.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
let map = metadata.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||||
let keepEmptyKeys = MetadataPrefs.keepEmptyAnnotations
|
let keepEmptyKeys = MetadataPrefs.keepEmptyAnnotations
|
||||||
|
let overwriteExisting = MetadataPrefs.overwriteExistingAnnotations
|
||||||
|
|
||||||
let result = metadata.mappedMetadata(to: map, keepEmptyKeys: keepEmptyKeys)
|
let result = metadata.mappedMetadata(to: map, keepEmptyKeys: keepEmptyKeys)
|
||||||
mp4.metadata.merge(result)
|
mp4.metadata.merge(result, overwrite: overwriteExisting)
|
||||||
|
|
||||||
if let hdType = mp4.hdType {
|
if let hdType = mp4.hdType {
|
||||||
for item in mp4.metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyHDVideo) {
|
for item in mp4.metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyHDVideo) {
|
||||||
@@ -414,25 +442,46 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
mp4.metadata.addItem(MP42MetadataItem(identifier: MP42MetadataKeyHDVideo, value: NSNumber(value: hdType.rawValue),
|
mp4.metadata.addItem(MP42MetadataItem(identifier: MP42MetadataKeyHDVideo, value: NSNumber(value: hdType.rawValue),
|
||||||
dataType: .integer, extendedLanguageTag: nil))
|
dataType: .integer, extendedLanguageTag: nil))
|
||||||
}
|
}
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
metadataViewController?.metadata = mp4.metadata
|
metadataViewController?.metadata = mp4.metadata
|
||||||
|
tracksViewController.selectTracks([])
|
||||||
|
}
|
||||||
|
|
||||||
|
@IBAction func searchChapters(_ sender: Any?) {
|
||||||
|
let name = mp4.metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyName).first?.stringValue
|
||||||
|
let url = mp4.firstSourceURL ?? doc.fileURL
|
||||||
|
let title = (name?.isEmpty == false ? name : url?.lastPathComponent) ?? ""
|
||||||
|
let duration = UInt64(mp4.duration)
|
||||||
|
|
||||||
|
let controller = ChapterSearchController(delegate: self, title: title, duration: duration)
|
||||||
|
contentViewController?.presentAsSheet(controller)
|
||||||
|
}
|
||||||
|
|
||||||
|
func didSelect(chapters: [MP42TextSample]) {
|
||||||
|
let chapterTrack = MP42ChapterTrack()
|
||||||
|
for chapter in chapters {
|
||||||
|
chapterTrack.addChapter(chapter)
|
||||||
|
}
|
||||||
|
|
||||||
|
mp4.addTrack(chapterTrack)
|
||||||
|
tracksViewController.reloadData()
|
||||||
|
tracksViewController.selectTracks([chapterTrack])
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: File import
|
// MARK: File import
|
||||||
|
|
||||||
private func addChapters(fileURL: URL) {
|
private func addChapters(fileURL: URL) {
|
||||||
mp4.addTrack(MP42ChapterTrack(fromFile: fileURL))
|
let track = MP42ChapterTrack(fromFile: fileURL)
|
||||||
|
mp4.addTrack(track)
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
|
tracksViewController.selectTracks([track])
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateChapters(fileURL: URL) {
|
private func updateChapters(fileURL: URL) {
|
||||||
do {
|
do {
|
||||||
try mp4.chapters?.update(fromCSVFile: fileURL)
|
try mp4.chapters?.update(fromCSVFile: fileURL)
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
if let track = mp4.chapters {
|
if let track = mp4.chapters {
|
||||||
chapterViewController?.track = track
|
chapterViewController?.track = track
|
||||||
|
tracksViewController.selectTracks([track])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
@@ -447,13 +496,13 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
private func addMetadata(fileURL: URL) {
|
private func addMetadata(fileURL: URL) {
|
||||||
let ext = fileURL.pathExtension.lowercased()
|
let ext = fileURL.pathExtension.lowercased()
|
||||||
if ext == "xml" || ext == "nfo", let metadata = MP42Metadata(url: fileURL) {
|
if ext == "xml" || ext == "nfo", let metadata = MP42Metadata(url: fileURL) {
|
||||||
mp4.metadata.merge(metadata)
|
mp4.metadata.merge(metadata, overwrite: true)
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
metadataViewController?.metadata = mp4.metadata
|
metadataViewController?.metadata = mp4.metadata
|
||||||
|
tracksViewController.selectTracks([])
|
||||||
} else if let file = try? MP42File(url: fileURL) {
|
} else if let file = try? MP42File(url: fileURL) {
|
||||||
mp4.metadata.merge(file.metadata)
|
mp4.metadata.merge(file.metadata, overwrite: true)
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
metadataViewController?.metadata = mp4.metadata
|
metadataViewController?.metadata = mp4.metadata
|
||||||
|
tracksViewController.selectTracks([])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -463,7 +512,13 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
panel.allowsMultipleSelection = false
|
panel.allowsMultipleSelection = false
|
||||||
panel.canChooseFiles = true
|
panel.canChooseFiles = true
|
||||||
panel.canChooseDirectories = false
|
panel.canChooseDirectories = false
|
||||||
panel.allowedFileTypes = ["mp4", "m4v", "m4a", "xml", "nfo"]
|
if #available(macOS 12, *) {
|
||||||
|
panel.allowedContentTypes = [.mpeg4Movie, .mpeg4Audio,
|
||||||
|
.appleProtectedMPEG4Video,
|
||||||
|
.xml, UTType(filenameExtension: "nfo")!]
|
||||||
|
} else {
|
||||||
|
panel.allowedFileTypes = ["mp4", "m4v", "m4a", "xml", "nfo"]
|
||||||
|
}
|
||||||
|
|
||||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||||
if response == NSApplication.ModalResponse.OK, let url = panel.url {
|
if response == NSApplication.ModalResponse.OK, let url = panel.url {
|
||||||
@@ -474,13 +529,17 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
|
|
||||||
@IBAction func selectFile(_ sender: Any) {
|
@IBAction func selectFile(_ sender: Any) {
|
||||||
guard let windowForSheet = doc.windowForSheet else { return }
|
guard let windowForSheet = doc.windowForSheet else { return }
|
||||||
let supportedFileFormats = MP42FileImporter.supportedFileFormats() + ["txt", "csv"]
|
|
||||||
|
|
||||||
let panel = NSOpenPanel()
|
let panel = NSOpenPanel()
|
||||||
panel.allowsMultipleSelection = true
|
panel.allowsMultipleSelection = true
|
||||||
panel.canChooseFiles = true
|
panel.canChooseFiles = true
|
||||||
panel.canChooseDirectories = false
|
panel.canChooseDirectories = false
|
||||||
panel.allowedFileTypes = supportedFileFormats
|
|
||||||
|
if #available(macOS 11, *) {
|
||||||
|
panel.allowedContentTypes = MP42FileImporter.supportedContentTypes() + [.text, .commaSeparatedText]
|
||||||
|
} else {
|
||||||
|
panel.allowedFileTypes = MP42FileImporter.supportedFileFormats() + ["txt", "csv"]
|
||||||
|
}
|
||||||
|
|
||||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||||
if response == NSApplication.ModalResponse.OK {
|
if response == NSApplication.ModalResponse.OK {
|
||||||
@@ -540,8 +599,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
}
|
}
|
||||||
|
|
||||||
if tracks.isEmpty == false {
|
if tracks.isEmpty == false {
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
|
|
||||||
if Prefs.organizeAlternateGroups {
|
if Prefs.organizeAlternateGroups {
|
||||||
mp4.organizeAlternateGroups()
|
mp4.organizeAlternateGroups()
|
||||||
if Prefs.inferMediaCharacteristics {
|
if Prefs.inferMediaCharacteristics {
|
||||||
@@ -551,13 +608,17 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let metadata = metadata {
|
if let metadata, metadata.items.isEmpty == false {
|
||||||
mp4.metadata.merge(metadata)
|
mp4.metadata.merge(metadata, overwrite: true)
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
metadataViewController?.metadata = mp4.metadata
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tracksViewController.reloadData()
|
tracksViewController.reloadData()
|
||||||
|
|
||||||
|
if let metadata, metadata.items.isEmpty == false {
|
||||||
|
tracksViewController.selectTracks([])
|
||||||
|
} else if tracks.isEmpty == false {
|
||||||
|
tracksViewController.selectTracks(tracks)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Drag & drop
|
// MARK: Drag & drop
|
||||||
|
|||||||
@@ -455,6 +455,7 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
|||||||
case checkColumn?:
|
case checkColumn?:
|
||||||
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
|
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
|
||||||
cell?.checkboxButton?.state = settings.checked ? .on : .off
|
cell?.checkboxButton?.state = settings.checked ? .on : .off
|
||||||
|
cell?.checkboxButton?.isEnabled = settings.importable
|
||||||
return cell
|
return cell
|
||||||
|
|
||||||
case trackIdColumn?:
|
case trackIdColumn?:
|
||||||
|
|||||||
@@ -23,6 +23,84 @@ class GeneralPrefsViewController: NSViewController {
|
|||||||
return "GeneralPrefsViewController"
|
return "GeneralPrefsViewController"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MARK: Save As location popUp
|
||||||
|
|
||||||
|
@IBOutlet var saveLocationPopUp: NSPopUpButton!
|
||||||
|
|
||||||
|
private let customLocationTag = 2
|
||||||
|
|
||||||
|
override func viewDidLoad() {
|
||||||
|
super.viewDidLoad()
|
||||||
|
prepareSaveLocationPopUp()
|
||||||
|
}
|
||||||
|
|
||||||
|
private func menuItem(url: URL) -> NSMenuItem {
|
||||||
|
let icon = NSWorkspace.shared.icon(forFile: url.path)
|
||||||
|
icon.size = NSSize(width: 16, height: 16)
|
||||||
|
|
||||||
|
let values = try? url.resourceValues(forKeys: [.localizedNameKey])
|
||||||
|
let title = values?.localizedName ?? url.lastPathComponent
|
||||||
|
|
||||||
|
let item = NSMenuItem(title: title, action: #selector(setSaveLocation(_:)), keyEquivalent: "")
|
||||||
|
item.image = icon
|
||||||
|
item.target = self
|
||||||
|
item.representedObject = url
|
||||||
|
item.toolTip = url.path
|
||||||
|
item.tag = customLocationTag
|
||||||
|
return item
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Rebuilds the custom folder item, then selects the current location.
|
||||||
|
private func prepareSaveLocationPopUp() {
|
||||||
|
guard let menu = saveLocationPopUp.menu else { return }
|
||||||
|
|
||||||
|
if let item = menu.items.first(where: { $0.tag == customLocationTag }) {
|
||||||
|
menu.removeItem(item)
|
||||||
|
}
|
||||||
|
|
||||||
|
if let url = Prefs.saveAsCustomLocation {
|
||||||
|
menu.insertItem(NSMenuItem.separator(), at: 2)
|
||||||
|
menu.insertItem(menuItem(url: url), at: 3)
|
||||||
|
}
|
||||||
|
|
||||||
|
selectCurrentSaveLocation()
|
||||||
|
}
|
||||||
|
|
||||||
|
private func selectCurrentSaveLocation() {
|
||||||
|
let location = Prefs.saveAsLocation
|
||||||
|
|
||||||
|
if location == .custom && Prefs.saveAsCustomLocation == nil {
|
||||||
|
saveLocationPopUp.selectItem(withTag: SaveAsLocation.automatic.rawValue)
|
||||||
|
} else {
|
||||||
|
saveLocationPopUp.selectItem(withTag: location.rawValue)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@IBAction func setSaveLocation(_ sender: NSMenuItem) {
|
||||||
|
if let url = sender.representedObject as? URL {
|
||||||
|
Prefs.saveAsCustomLocation = url
|
||||||
|
Prefs.saveAsLocation = .custom
|
||||||
|
} else {
|
||||||
|
Prefs.saveAsLocation = SaveAsLocation(rawValue: sender.tag) ?? .automatic
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@IBAction func chooseSaveLocation(_ sender: Any) {
|
||||||
|
let panel = NSOpenPanel()
|
||||||
|
panel.allowsMultipleSelection = false
|
||||||
|
panel.canChooseFiles = false
|
||||||
|
panel.canChooseDirectories = true
|
||||||
|
panel.canCreateDirectories = true
|
||||||
|
|
||||||
|
panel.begin { response in
|
||||||
|
if response == .OK, let url = panel.url {
|
||||||
|
Prefs.saveAsCustomLocation = url
|
||||||
|
Prefs.saveAsLocation = .custom
|
||||||
|
}
|
||||||
|
self.prepareSaveLocationPopUp()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@IBAction func clearRecentSearches(_ sender: Any) {
|
@IBAction func clearRecentSearches(_ sender: Any) {
|
||||||
MetadataSearchController.clearRecentSearches()
|
MetadataSearchController.clearRecentSearches()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ extension MP42File {
|
|||||||
var hdType: TrackHDType? {
|
var hdType: TrackHDType? {
|
||||||
for track in tracks(withMediaType: kMP42MediaType_Video) as! [MP42VideoTrack] {
|
for track in tracks(withMediaType: kMP42MediaType_Video) as! [MP42VideoTrack] {
|
||||||
if (track.width > 1920 && track.height > 1088) {
|
if (track.width > 1920 && track.height > 1088) {
|
||||||
return nil // .hd4k 4k breaks AppleTV streaming
|
return Prefs.set4KHDVideoMetadata ? .hd4k : nil
|
||||||
} else if (track.width > 1280 || track.height > 720) && track.width <= 1920 && track.height <= 1088 {
|
} else if (track.width > 1280 || track.height > 720) && track.width <= 1920 && track.height <= 1088 {
|
||||||
return .hd1080p
|
return .hd1080p
|
||||||
} else if track.width >= 960 && track.height >= 720 || track.width >= 1280 {
|
} else if track.width >= 960 && track.height >= 720 || track.width >= 1280 {
|
||||||
@@ -91,6 +91,10 @@ extension MP42File {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func firstSourceDirectoryURL() -> URL? {
|
||||||
|
return tracks.compactMap { $0.url }.first?.deletingLastPathComponent()
|
||||||
|
}
|
||||||
|
|
||||||
func formattedFileName() -> String? {
|
func formattedFileName() -> String? {
|
||||||
guard let mediaKindValue = metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyMediaKind).first?.numberValue?.intValue,
|
guard let mediaKindValue = metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyMediaKind).first?.numberValue?.intValue,
|
||||||
let mediaKind = MediaKind(rawValue: mediaKindValue)
|
let mediaKind = MediaKind(rawValue: mediaKindValue)
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ private extension MetadataResult {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.remoteArtworks = [item.images.coverArt16X9, item.images.coverArt].compactMap { $0?.artwork(type: .poster) }
|
self.remoteArtworks = [item.images.coverArt16X9, item.images.coverArt].compactMap { $0?.artwork(type: .poster) }
|
||||||
|
self.remoteArtworks += [item.images.previewFrame].compactMap { $0?.artwork(type: .backdrop) }
|
||||||
self.remoteArtworks += [episode.seasonImages.coverArt16X9, episode.seasonImages.coverArt].compactMap { $0?.artwork(type: .season) }
|
self.remoteArtworks += [episode.seasonImages.coverArt16X9, episode.seasonImages.coverArt].compactMap { $0?.artwork(type: .season) }
|
||||||
self.remoteArtworks += [episode.images.previewFrame].compactMap { $0?.artwork(type: .episode) }
|
self.remoteArtworks += [episode.images.previewFrame].compactMap { $0?.artwork(type: .episode) }
|
||||||
}
|
}
|
||||||
@@ -163,9 +164,14 @@ public struct AppleTV: MetadataService {
|
|||||||
|
|
||||||
if let season = metadata[.season] as? Int {
|
if let season = metadata[.season] as? Int {
|
||||||
let index = metadata.remoteArtworks.count > 1 ? 1 : 0
|
let index = metadata.remoteArtworks.count > 1 ? 1 : 0
|
||||||
metadata.remoteArtworks.insert(contentsOf: searchSeasons(id: id, season: season, store: store), at: index)
|
let seasonArtworks = searchSeasons(id: id, season: season, store: store)
|
||||||
|
|
||||||
|
if let season16x9 = seasonArtworks.first(where: { $0.size == .rectangle } ) {
|
||||||
|
metadata.remoteArtworks.insert(season16x9, at: index)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
metadata.remoteArtworks.sortTopPicks(service: self.name)
|
||||||
return metadata
|
return metadata
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,7 +227,8 @@ public struct AppleTV: MetadataService {
|
|||||||
let urlString = "\(seasonsURL)\(id)/itunesSeasons?sf=\(store.storeCode)&locale=\(store.language2)\(options)"
|
let urlString = "\(seasonsURL)\(id)/itunesSeasons?sf=\(store.storeCode)&locale=\(store.language2)\(options)"
|
||||||
if let url = URL(string: urlString), let results = sendJSONRequest(url: url, type: Wrapper<Seasons>.self) {
|
if let url = URL(string: urlString), let results = sendJSONRequest(url: url, type: Wrapper<Seasons>.self) {
|
||||||
let filteredResults = results.data.seasons.values.joined().filter { $0.seasonNumber == season }
|
let filteredResults = results.data.seasons.values.joined().filter { $0.seasonNumber == season }
|
||||||
return filteredResults.compactMap { $0.images.coverArt16X9?.artwork(type: .season) }
|
return filteredResults.compactMap { $0.images.coverArt16X9?.artwork(type: .season) } +
|
||||||
|
filteredResults.compactMap { $0.images.coverArt?.artwork(type: .season) }
|
||||||
}
|
}
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
@@ -236,7 +243,7 @@ public struct AppleTV: MetadataService {
|
|||||||
let items = results.data.canvas?.shelves.first?.items
|
let items = results.data.canvas?.shelves.first?.items
|
||||||
.filter { $0.type == type.description }
|
.filter { $0.type == type.description }
|
||||||
|
|
||||||
if let result = items?.filter({ $0.title == normalizedTerm }).first {
|
if let result = items?.filter({ $0.title?.caseInsensitiveCompare(normalizedTerm) == .orderedSame }).first {
|
||||||
return result
|
return result
|
||||||
} else if let result = items?.filter({ $0.title?.minimumEditDistance(other: normalizedTerm) ?? Int.max < 8 }).first {
|
} else if let result = items?.filter({ $0.title?.minimumEditDistance(other: normalizedTerm) ?? Int.max < 8 }).first {
|
||||||
return result
|
return result
|
||||||
@@ -247,15 +254,29 @@ public struct AppleTV: MetadataService {
|
|||||||
|
|
||||||
if let filteredResult = filteredResult {
|
if let filteredResult = filteredResult {
|
||||||
|
|
||||||
if let artworks = filteredResult.images.coverArt16X9?.artwork(type: .poster) {
|
var artworksSet = Set<Artwork>()
|
||||||
|
|
||||||
if case let MediaType.tvShow(season) = type {
|
if let poster = filteredResult.images.coverArt16X9?.artwork(type: .poster) {
|
||||||
if let season = season {
|
artworksSet.insert(poster)
|
||||||
return [artworks] + searchSeasons(id: filteredResult.id, season: season, store: store)
|
}
|
||||||
|
|
||||||
|
if let poster = filteredResult.images.coverArt?.artwork(type: .poster) {
|
||||||
|
artworksSet.insert(poster)
|
||||||
|
}
|
||||||
|
|
||||||
|
if case let MediaType.tvShow(season) = type {
|
||||||
|
if let season = season {
|
||||||
|
let seasonArtworks = searchSeasons(id: filteredResult.id, season: season, store: store)
|
||||||
|
if let season16x9 = seasonArtworks.first(where: { $0.size == .rectangle } ) {
|
||||||
|
artworksSet.insert(season16x9)
|
||||||
|
}
|
||||||
|
if let seasonSquare = seasonArtworks.first(where: { $0.size == .square } ) {
|
||||||
|
artworksSet.insert(seasonSquare)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [artworks]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Array(artworksSet)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return []
|
return []
|
||||||
@@ -360,11 +381,11 @@ public struct AppleTV: MetadataService {
|
|||||||
get {
|
get {
|
||||||
switch size {
|
switch size {
|
||||||
case .square:
|
case .square:
|
||||||
return "800x800.jpg"
|
return "1600x1600.jpg"
|
||||||
case .rectangle:
|
case .rectangle:
|
||||||
return "800x450.jpg"
|
return "1920x1080.jpg"
|
||||||
default:
|
default:
|
||||||
return "600x900.jpg"
|
return "1200x1800.jpg"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,12 +10,16 @@ import MP42Foundation
|
|||||||
|
|
||||||
public enum LanguageType {
|
public enum LanguageType {
|
||||||
case ISO
|
case ISO
|
||||||
|
case ISO_639_2
|
||||||
case custom
|
case custom
|
||||||
|
|
||||||
public func displayName(language: String) -> String {
|
public func displayName(language: String) -> String {
|
||||||
switch self {
|
switch self {
|
||||||
case .ISO:
|
case .ISO:
|
||||||
return MP42Languages.defaultManager .localizedLang(forExtendedTag: language)
|
return MP42Languages.defaultManager.localizedLang(forExtendedTag: language)
|
||||||
|
case .ISO_639_2:
|
||||||
|
let extendedTag = MP42Languages.defaultManager.extendedTag(forISO_639_2: language)
|
||||||
|
return MP42Languages.defaultManager.localizedLang(forExtendedTag: extendedTag)
|
||||||
case .custom:
|
case .custom:
|
||||||
return language
|
return language
|
||||||
}
|
}
|
||||||
@@ -25,6 +29,20 @@ public enum LanguageType {
|
|||||||
switch self {
|
switch self {
|
||||||
case .ISO:
|
case .ISO:
|
||||||
return MP42Languages.defaultManager.extendedTag(forLocalizedLang: displayName)
|
return MP42Languages.defaultManager.extendedTag(forLocalizedLang: displayName)
|
||||||
|
case .ISO_639_2:
|
||||||
|
return MP42Languages.defaultManager.extendedTag(forLocalizedLang: displayName)
|
||||||
|
case .custom:
|
||||||
|
return displayName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public func tag(displayName: String) -> String {
|
||||||
|
switch self {
|
||||||
|
case .ISO:
|
||||||
|
return MP42Languages.defaultManager.extendedTag(forLocalizedLang: displayName)
|
||||||
|
case .ISO_639_2:
|
||||||
|
let extendedTag = MP42Languages.defaultManager.extendedTag(forLocalizedLang: displayName)
|
||||||
|
return MP42Languages.defaultManager.iso_639_2Code(forExtendedTag: extendedTag)
|
||||||
case .custom:
|
case .custom:
|
||||||
return displayName
|
return displayName
|
||||||
}
|
}
|
||||||
@@ -113,7 +131,7 @@ public enum MetadataSearch {
|
|||||||
|
|
||||||
extension MetadataSearch {
|
extension MetadataSearch {
|
||||||
|
|
||||||
public static var movieProviders: [String] { get { return [AppleTV().name, TheMovieDB().name, iTunesStore().name] } }
|
public static var movieProviders: [String] { get { return [AppleTV().name, TheMovieDB().name, TheTVDB().name, iTunesStore().name] } }
|
||||||
public static var tvProviders: [String] { get { return [AppleTV().name, TheMovieDB().name, TheTVDB().name, iTunesStore().name] } }
|
public static var tvProviders: [String] { get { return [AppleTV().name, TheMovieDB().name, TheTVDB().name, iTunesStore().name] } }
|
||||||
|
|
||||||
public static func service(name: String?) -> MetadataService {
|
public static func service(name: String?) -> MetadataService {
|
||||||
@@ -147,8 +165,8 @@ extension MetadataSearch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static func setDefaultLanguage(_ language: String, service: MetadataService, type: MetadataType) {
|
public static func setDefaultLanguage(_ language: String, service: MetadataService, type: MetadataType) {
|
||||||
let extendedLanguage = service.languageType.extendedTag(displayName: language)
|
let language = service.languageType.tag(displayName: language)
|
||||||
UserDefaults.standard.set(extendedLanguage, forKey: "SBMetadataPreference|\(type.description)|\(service.name)|Language")
|
UserDefaults.standard.set(language, forKey: "SBMetadataPreference|\(type.description)|\(service.name)|Language")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -113,6 +113,55 @@ public struct Artwork: Equatable, Hashable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extension Array where Element == Artwork {
|
||||||
|
|
||||||
|
func first(by type: ArtworkType, size: ArtworkSize, service: String) -> Artwork? {
|
||||||
|
if type == .backdrop || type == .episode {
|
||||||
|
let serviceArtwork = self.filter { $0.type == type && $0.service == service }.first
|
||||||
|
let artwork = self.filter { $0.type == type }.first
|
||||||
|
return serviceArtwork != nil ? serviceArtwork : artwork
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
let serviceArtwork = self.filter { $0.type == type && $0.size == size && $0.service == service }.first
|
||||||
|
let artwork = self.filter { $0.type == type && $0.size == size}.first
|
||||||
|
return serviceArtwork != nil ? serviceArtwork : artwork
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mutating func sortTopPicks(service: String) {
|
||||||
|
let poster = first(by: .poster, size: .standard, service: service)
|
||||||
|
let posterRect = first(by: .poster, size: .rectangle, service: AppleTV().name)
|
||||||
|
let posterSquare = first(by: .poster, size: .square, service: AppleTV().name)
|
||||||
|
let season = first(by: .season, size: .standard, service: service)
|
||||||
|
let seasonRect = first(by: .season, size: .rectangle, service: AppleTV().name)
|
||||||
|
let seasonSquare = first(by: .season, size: .square, service: AppleTV().name)
|
||||||
|
let backdrop = first(by: .backdrop, size: .standard, service: service)
|
||||||
|
let episode = first(by: .episode, size: .standard, service: service)
|
||||||
|
|
||||||
|
let topPicks = [poster, posterRect, posterSquare,
|
||||||
|
season, seasonRect, seasonSquare,
|
||||||
|
backdrop, episode]
|
||||||
|
|
||||||
|
for pick in topPicks {
|
||||||
|
if let pick, let index = firstIndex(of: pick) {
|
||||||
|
remove(at: index)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for pick in topPicks.reversed() {
|
||||||
|
if let pick {
|
||||||
|
insert(pick, at: 0)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func sortedTopPicks(service: String) -> [Self.Element] {
|
||||||
|
var sorted = self
|
||||||
|
sorted.sortTopPicks(service: service)
|
||||||
|
return sorted
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public enum MediaKind: Int {
|
public enum MediaKind: Int {
|
||||||
case tvShow = 10
|
case tvShow = 10
|
||||||
case movie = 9
|
case movie = 9
|
||||||
|
|||||||
@@ -111,16 +111,9 @@ public struct TheMovieDB: MetadataService {
|
|||||||
private func loadMovieArtworks(result: TMDBMovie) -> [Artwork] {
|
private func loadMovieArtworks(result: TMDBMovie) -> [Artwork] {
|
||||||
var artworks: [Artwork] = []
|
var artworks: [Artwork] = []
|
||||||
|
|
||||||
var iTunesImage = [Artwork](), appleTV = [Artwork]()
|
var appleTV = [Artwork]()
|
||||||
let group = DispatchGroup()
|
let group = DispatchGroup()
|
||||||
|
|
||||||
DispatchQueue.global().async(group: group) {
|
|
||||||
// add iTunes artwork
|
|
||||||
if let title = result.title, let iTunesMetadata = iTunesStore.quickiTunesSearch(movieName: title) {
|
|
||||||
iTunesImage = iTunesMetadata.remoteArtworks
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
DispatchQueue.global().async(group: group) {
|
DispatchQueue.global().async(group: group) {
|
||||||
if let title = result.title,
|
if let title = result.title,
|
||||||
let store = iTunesStore.Store(language: "USA (English)") {
|
let store = iTunesStore.Store(language: "USA (English)") {
|
||||||
@@ -130,7 +123,6 @@ public struct TheMovieDB: MetadataService {
|
|||||||
group.wait()
|
group.wait()
|
||||||
|
|
||||||
artworks.append(contentsOf: appleTV)
|
artworks.append(contentsOf: appleTV)
|
||||||
artworks.append(contentsOf: iTunesImage)
|
|
||||||
|
|
||||||
// Add TheMovieDB artworks
|
// Add TheMovieDB artworks
|
||||||
if let config = session.fetchConfiguration()?.images,
|
if let config = session.fetchConfiguration()?.images,
|
||||||
@@ -154,7 +146,7 @@ public struct TheMovieDB: MetadataService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return artworks
|
return artworks.sortedTopPicks(service: self.name)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func metadata(forResult result: TMDBMovie, language: String?) -> MetadataResult {
|
private func metadata(forResult result: TMDBMovie, language: String?) -> MetadataResult {
|
||||||
@@ -379,17 +371,8 @@ public struct TheMovieDB: MetadataService {
|
|||||||
|
|
||||||
artworks.insert(contentsOf: metadata.remoteArtworks, at: 0)
|
artworks.insert(contentsOf: metadata.remoteArtworks, at: 0)
|
||||||
|
|
||||||
var iTunesImage = [Artwork](), appleTV = [Artwork](), squareTVArt = [Artwork]()
|
var appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||||
let group = DispatchGroup()
|
let group = DispatchGroup()
|
||||||
DispatchQueue.global().async(group: group) {
|
|
||||||
// add iTunes artwork
|
|
||||||
if let name = metadata[.seriesName] as? String,
|
|
||||||
let iTunesMetadata = iTunesStore.quickiTunesSearch(tvSeriesName: name,
|
|
||||||
seasonNum: metadata[.season] as? Int,
|
|
||||||
episodeNum: metadata[.episodeNumber] as? Int) {
|
|
||||||
iTunesImage = iTunesMetadata.remoteArtworks
|
|
||||||
}
|
|
||||||
}
|
|
||||||
DispatchQueue.global().async(group: group) {
|
DispatchQueue.global().async(group: group) {
|
||||||
if let name = metadata[.seriesName] as? String,
|
if let name = metadata[.seriesName] as? String,
|
||||||
let season = metadata[.season] as? Int,
|
let season = metadata[.season] as? Int,
|
||||||
@@ -404,11 +387,10 @@ public struct TheMovieDB: MetadataService {
|
|||||||
}
|
}
|
||||||
group.wait()
|
group.wait()
|
||||||
|
|
||||||
artworks.insert(contentsOf: iTunesImage, at: 0)
|
|
||||||
artworks.insert(contentsOf: squareTVArt, at: 0)
|
artworks.insert(contentsOf: squareTVArt, at: 0)
|
||||||
artworks.insert(contentsOf: appleTV, at: 0)
|
artworks.insert(contentsOf: appleTV, at: 0)
|
||||||
|
|
||||||
metadata.remoteArtworks = artworks
|
metadata.remoteArtworks = artworks.sortedTopPicks(service: self.name)
|
||||||
|
|
||||||
return metadata
|
return metadata
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,11 +11,10 @@ import MP42Foundation
|
|||||||
public struct TheTVDB : MetadataService {
|
public struct TheTVDB : MetadataService {
|
||||||
|
|
||||||
private let session = TheTVDBService.sharedInstance
|
private let session = TheTVDBService.sharedInstance
|
||||||
private static let bannerPath = "https://thetvdb.com/banners/"
|
|
||||||
|
|
||||||
public var languageType: LanguageType {
|
public var languageType: LanguageType {
|
||||||
get {
|
get {
|
||||||
return .ISO
|
return .ISO_639_2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ public struct TheTVDB : MetadataService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public var defaultLanguage: String {
|
public var defaultLanguage: String {
|
||||||
return "en"
|
return "eng"
|
||||||
}
|
}
|
||||||
|
|
||||||
public var name: String {
|
public var name: String {
|
||||||
@@ -38,13 +37,8 @@ public struct TheTVDB : MetadataService {
|
|||||||
public func search(tvShow: String, language: String) -> [String] {
|
public func search(tvShow: String, language: String) -> [String] {
|
||||||
var results: Set<String> = Set()
|
var results: Set<String> = Set()
|
||||||
|
|
||||||
let series = session.fetch(series: tvShow, language: language)
|
let series = session.fetch(series: tvShow)
|
||||||
results.formUnion(series.compactMap { $0.seriesName } )
|
results.formUnion(series.compactMap { $0.translations?[language] ?? $0.name } )
|
||||||
|
|
||||||
if language != defaultLanguage {
|
|
||||||
let englishResults = search(tvShow: tvShow, language: defaultLanguage)
|
|
||||||
results.formUnion(englishResults)
|
|
||||||
}
|
|
||||||
|
|
||||||
if results.isEmpty {
|
if results.isEmpty {
|
||||||
return TheMovieDB().search(tvShow: tvShow, language: language)
|
return TheMovieDB().search(tvShow: tvShow, language: language)
|
||||||
@@ -55,31 +49,37 @@ public struct TheTVDB : MetadataService {
|
|||||||
|
|
||||||
// MARK: - TV Series ID search
|
// MARK: - TV Series ID search
|
||||||
|
|
||||||
private func match(series: TVDBSeriesSearchResult, name: String) -> Bool {
|
private func match(series: TVDBSearchResult, name: String, language: String) -> Bool {
|
||||||
if let name = series.seriesName, name.caseInsensitiveCompare(name) == .orderedSame {
|
if let seriesName = series.translations?[language] ?? series.name,
|
||||||
|
seriesName.caseInsensitiveCompare(name) == .orderedSame {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
for alias in series.aliases {
|
if let aliases = series.aliases {
|
||||||
if alias.caseInsensitiveCompare(name) == .orderedSame {
|
for alias in aliases {
|
||||||
return true
|
if alias.caseInsensitiveCompare(name) == .orderedSame {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
private func searchIDs(seriesName: String, language: String) -> [Int] {
|
private func searchIDs(seriesName: String, language: String) -> [String] {
|
||||||
let series = session.fetch(series: seriesName, language: language)
|
let series = session.fetch(series: seriesName)
|
||||||
let sorted = series.sorted { el1, el2 -> Bool in
|
let sorted = series.sorted { el1, el2 -> Bool in
|
||||||
return el1.seriesName?.caseInsensitiveCompare(seriesName) == .orderedSame ? true : false
|
let name = el1.translations?[language] ?? el1.name
|
||||||
|
let order = name?.caseInsensitiveCompare(seriesName)
|
||||||
|
return order == .orderedSame ? true : false
|
||||||
}
|
}
|
||||||
let filteredSeries = sorted.filter { $0.status.isEmpty == false && match(series: $0, name: seriesName) }.map { $0.id }
|
let filteredSeries = sorted.filter {
|
||||||
|
$0.status?.isEmpty == false && match(series: $0, name: seriesName, language: language)
|
||||||
|
}.map { $0.tvdb_id }
|
||||||
|
|
||||||
if filteredSeries.isEmpty == false {
|
if filteredSeries.isEmpty == false {
|
||||||
return filteredSeries
|
return filteredSeries
|
||||||
}
|
} else if let firstItemsID = series.first?.tvdb_id {
|
||||||
else if let firstItemsID = series.first?.id {
|
|
||||||
return [firstItemsID]
|
return [firstItemsID]
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -89,12 +89,27 @@ public struct TheTVDB : MetadataService {
|
|||||||
|
|
||||||
// MARK: - Helpers
|
// MARK: - Helpers
|
||||||
|
|
||||||
private func cleanList(actors: [TVDBActor]) -> String {
|
private func cleanList(characters: [TVDBCharacter], type: String) -> String {
|
||||||
return actors.map { $0.name } .reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
return characters.filter { $0.peopleType == type }
|
||||||
|
.map { $0.personName }
|
||||||
|
.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||||
}
|
}
|
||||||
|
|
||||||
private func cleanList(names: [String]) -> String {
|
private func cleanList(genres: [TVDBGenreBaseRecord]) -> String {
|
||||||
return names.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
return genres.map {$0.name }.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||||
|
}
|
||||||
|
|
||||||
|
private func cleanList(ratings: [TVDBContentRating], mediaKind: MediaKind) -> String? {
|
||||||
|
if let rating = ratings.filter({ $0.country == "usa" }).first {
|
||||||
|
return Ratings.shared.rating(countryCode: "USA", mediaKind: mediaKind, name: rating.name)?.iTunesCode
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
private func cleanList(companies: [TVDBCompany]) -> String {
|
||||||
|
return companies
|
||||||
|
.map { $0.name }
|
||||||
|
.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||||
}
|
}
|
||||||
|
|
||||||
private func areInIncreasingOrder(ep1: MetadataResult, ep2: MetadataResult) -> Bool {
|
private func areInIncreasingOrder(ep1: MetadataResult, ep2: MetadataResult) -> Bool {
|
||||||
@@ -112,37 +127,127 @@ public struct TheTVDB : MetadataService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func merge(episode: TVDBEpisode, info: TVDBSeriesInfo, actors: [TVDBActor]) -> MetadataResult {
|
fileprivate func cleanArtworks(_ records: [TVDBArtworBaseRecord]) -> [Artwork] {
|
||||||
|
var artworks: [Artwork] = []
|
||||||
|
let artworkTypes = session.fetchArtworkTypes()
|
||||||
|
|
||||||
|
for artwork in records {
|
||||||
|
let url = URL(string: artwork.image)
|
||||||
|
let thumbnailURL = URL(string: artwork.thumbnail)
|
||||||
|
|
||||||
|
var type: ArtworkType?
|
||||||
|
var size: ArtworkSize = .default
|
||||||
|
|
||||||
|
let artworkType = artworkTypes.first(where: { $0.id == artwork.type })
|
||||||
|
switch (artworkType?.name, artworkType?.recordType) {
|
||||||
|
case ("Poster", "movie"):
|
||||||
|
type = .poster
|
||||||
|
case ("Background", "movie"):
|
||||||
|
type = .backdrop
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (artworkType?.width ?? 1, artworkType?.height ?? 1) {
|
||||||
|
case (let width, let height) where width == height:
|
||||||
|
size = .square
|
||||||
|
case (let width, let height) where width >= height:
|
||||||
|
size = .rectangle
|
||||||
|
case (let width, let height) where height > width:
|
||||||
|
size = .standard
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
if let url, let thumbnailURL, let type {
|
||||||
|
let entry = Artwork(url: url,
|
||||||
|
thumbURL: thumbnailURL,
|
||||||
|
service: self.name,
|
||||||
|
type: type,
|
||||||
|
size: size)
|
||||||
|
artworks.append(entry)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return artworks
|
||||||
|
}
|
||||||
|
|
||||||
|
fileprivate func cleanArtworks(_ records: [TVDBArtworkExtendedRecord]) -> [Artwork] {
|
||||||
|
var artworks: [Artwork] = []
|
||||||
|
let artworkTypes = session.fetchArtworkTypes()
|
||||||
|
|
||||||
|
for artwork in records {
|
||||||
|
let url = URL(string: artwork.image)
|
||||||
|
let thumbnailURL = URL(string: artwork.thumbnail)
|
||||||
|
|
||||||
|
var type: ArtworkType?
|
||||||
|
var size: ArtworkSize = .default
|
||||||
|
|
||||||
|
let artworkType = artworkTypes.first(where: { $0.id == artwork.type })
|
||||||
|
switch (artworkType?.name, artworkType?.recordType) {
|
||||||
|
case ("Poster", "series"):
|
||||||
|
type = .poster
|
||||||
|
case ("Poster", "season"):
|
||||||
|
type = .season
|
||||||
|
case ("Background", "series"),
|
||||||
|
("Background", "season"):
|
||||||
|
type = .backdrop
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (artworkType?.width ?? 1, artworkType?.height ?? 1) {
|
||||||
|
case (let width, let height) where width == height:
|
||||||
|
size = .square
|
||||||
|
case (let width, let height) where width >= height:
|
||||||
|
size = .rectangle
|
||||||
|
case (let width, let height) where height > width:
|
||||||
|
size = .standard
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
|
|
||||||
|
if let url, let thumbnailURL, let type {
|
||||||
|
let entry = Artwork(url: url,
|
||||||
|
thumbURL: thumbnailURL,
|
||||||
|
service: self.name,
|
||||||
|
type: type,
|
||||||
|
size: size)
|
||||||
|
artworks.append(entry)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return artworks
|
||||||
|
}
|
||||||
|
|
||||||
|
private func merge(episode: TVDBEpisodeBaseRecord,
|
||||||
|
info: TVDBSeriesExtendedRecord,
|
||||||
|
translation: TVDBTranslation?,
|
||||||
|
episodeTranslation: TVDBTranslation?) -> MetadataResult {
|
||||||
let result = MetadataResult()
|
let result = MetadataResult()
|
||||||
|
|
||||||
result.mediaKind = .tvShow
|
result.mediaKind = .tvShow
|
||||||
|
|
||||||
// TV Show Info
|
// TV Show Info
|
||||||
result[.serviceContentID] = info.id
|
result[.serviceContentID] = info.id
|
||||||
result[.seriesName] = info.seriesName
|
result[.seriesName] = translation?.name ?? info.name
|
||||||
result[.seriesDescription] = info.overview?.trimmingWhitespacesAndNewlinews()
|
result[.seriesDescription] = (translation?.overview ?? info.overview)?.trimmingWhitespacesAndNewlinews()
|
||||||
result[.genre] = cleanList(names: info.genre)
|
result[.genre] = cleanList(genres: info.genres)
|
||||||
result[.network] = info.network
|
result[.network] = info.originalNetwork?.name
|
||||||
|
result[.rating] = cleanList(ratings: info.contentRatings, mediaKind: .tvShow)
|
||||||
|
result[.cast] = cleanList(characters: info.characters ?? [], type: "Actor")
|
||||||
|
|
||||||
// Episode Info
|
// Episode Info
|
||||||
result[.serviceEpisodeID] = episode.id
|
result[.serviceEpisodeID] = episode.id
|
||||||
result[.name] = episode.episodeName
|
result[.name] = episodeTranslation?.name ?? episode.name
|
||||||
result[.releaseDate] = episode.firstAired
|
result[.releaseDate] = episode.aired
|
||||||
result[.longDescription] = episode.overview?.trimmingWhitespacesAndNewlinews()
|
result[.longDescription] = (episodeTranslation?.overview ?? episode.overview)?.trimmingWhitespacesAndNewlinews()
|
||||||
|
result[.season] = episode.seasonNumber
|
||||||
|
result[.episodeID] = String(format: "%d%02d", episode.seasonNumber, episode.number)
|
||||||
|
result[.episodeNumber] = episode.number
|
||||||
|
result[.trackNumber] = episode.number
|
||||||
|
|
||||||
result[.season] = episode.airedSeason
|
result.remoteArtworks += cleanArtworks(info.artworks)
|
||||||
|
|
||||||
result[.episodeID] = String(format: "%d%02d", episode.airedSeason, episode.airedEpisodeNumber)
|
|
||||||
result[.episodeNumber] = episode.airedEpisodeNumber
|
|
||||||
result[.trackNumber] = episode.airedEpisodeNumber
|
|
||||||
|
|
||||||
// Rating
|
|
||||||
if let rating = info.rating, rating.count > 0 {
|
|
||||||
result[.rating] = Ratings.shared.rating(countryCode: "USA", mediaKind: .tvShow, name: rating)?.iTunesCode
|
|
||||||
}
|
|
||||||
|
|
||||||
// Actors
|
|
||||||
result[.cast] = cleanList(actors: actors)
|
|
||||||
|
|
||||||
// TheTVDB does not provide the following fields normally associated with TV shows in SBMetadataResult:
|
// TheTVDB does not provide the following fields normally associated with TV shows in SBMetadataResult:
|
||||||
// "Copyright", "Comments", "Producers", "Artist"
|
// "Copyright", "Comments", "Producers", "Artist"
|
||||||
@@ -150,14 +255,24 @@ public struct TheTVDB : MetadataService {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
private func loadEpisodes(info: TVDBSeriesInfo, actors: [TVDBActor], season: Int?, episode: Int?, language: String) -> [MetadataResult] {
|
private func loadEpisodes(info: TVDBSeriesExtendedRecord, seasonID: Int?, episodeID: Int?, language: String) -> [MetadataResult] {
|
||||||
let episodes = session.fetch(episodeForSeriesID: info.id, season: season, episode: episode, language: language)
|
let translation = session.fetch(seriesTranslation: String(info.id), language: language)
|
||||||
let filteredEpisodes = episodes.filter {
|
|
||||||
(season != nil ? $0.airedSeason == season : true) &&
|
|
||||||
(episode != nil ? $0.airedEpisodeNumber == episode : true)
|
|
||||||
}
|
|
||||||
|
|
||||||
return filteredEpisodes.map { merge(episode: $0, info: info, actors: actors) }
|
if let seasonID, let episodeID,
|
||||||
|
let episode = session.fetch(episodesForSeriesID: info.id, season: seasonID, episode: episodeID).first,
|
||||||
|
let episodeTranslation = session.fetch(episodesTranslation: episode.id, language: language) {
|
||||||
|
return [merge(episode: episode, info: info, translation: translation, episodeTranslation: episodeTranslation)]
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
let episodes = session.fetch(translatedEpisodesForSeriesID: info.id, season: seasonID, episode: episodeID, language: language)
|
||||||
|
|
||||||
|
let filteredEpisodes = episodes.filter {
|
||||||
|
(seasonID != nil ? $0.seasonNumber == seasonID : true) &&
|
||||||
|
(episodeID != nil ? $0.number == episodeID : true)
|
||||||
|
}
|
||||||
|
|
||||||
|
return filteredEpisodes.map { merge(episode: $0, info: info, translation: translation, episodeTranslation: nil ) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Nil values check
|
// MARK: - Nil values check
|
||||||
@@ -213,8 +328,8 @@ public struct TheTVDB : MetadataService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func merge(info: TVDBSeriesInfo, results: [MetadataResult]) {
|
private func merge(info: TVDBSeriesExtendedRecord, results: [MetadataResult]) {
|
||||||
let name = info.seriesName
|
let name = info.name
|
||||||
for result in results {
|
for result in results {
|
||||||
result[.seriesName] = name
|
result[.seriesName] = name
|
||||||
}
|
}
|
||||||
@@ -229,66 +344,34 @@ public struct TheTVDB : MetadataService {
|
|||||||
// MARK: - TV Search
|
// MARK: - TV Search
|
||||||
|
|
||||||
public func search(tvShow: String, language: String, season: Int?, episode: Int?) -> [MetadataResult] {
|
public func search(tvShow: String, language: String, season: Int?, episode: Int?) -> [MetadataResult] {
|
||||||
let seriesIDs: [Int] = {
|
let seriesIDs: [String] = self.searchIDs(seriesName: tvShow, language: language)
|
||||||
let result = self.searchIDs(seriesName: tvShow, language: language)
|
|
||||||
if result.isEmpty {
|
|
||||||
let enResults = self.searchIDs(seriesName: tvShow, language: defaultLanguage)
|
|
||||||
if enResults.isEmpty {
|
|
||||||
let tmdb = TheMovieDB()
|
|
||||||
let tvShowsTMDB = tmdb.search(tvShow: tvShow, language: language)
|
|
||||||
if let tvShowTMDB = tvShowsTMDB.first {
|
|
||||||
return self.searchIDs(seriesName: tvShowTMDB, language: language)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return enResults
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}()
|
|
||||||
|
|
||||||
var results: [MetadataResult] = []
|
|
||||||
|
|
||||||
for id in seriesIDs {
|
for id in seriesIDs {
|
||||||
guard let info: TVDBSeriesInfo = {
|
if let info = session.fetch(seriesInfo: id) {
|
||||||
let result = session.fetch(seriesInfo: id, language: language)
|
let availableLanguage = info.overviewTranslations.first(where: { $0 == language }) ??
|
||||||
return result != nil ? result : session.fetch(seriesInfo: id, language: defaultLanguage)
|
info.overviewTranslations.first(where: { $0 == defaultLanguage }) ??
|
||||||
}()
|
info.overviewTranslations.first ?? defaultLanguage
|
||||||
else { continue }
|
|
||||||
let actors = session.fetch(actors: id, language: language)
|
|
||||||
let episodes = loadEpisodes(info: info, actors: actors, season: season, episode: episode, language: language)
|
|
||||||
|
|
||||||
let nilValues = checkMissingValues(results: episodes)
|
let episodes = loadEpisodes(info: info, seasonID: season, episodeID: episode, language: availableLanguage)
|
||||||
|
|
||||||
if language != defaultLanguage {
|
let nilValues = checkMissingValues(results: episodes)
|
||||||
if nilValues.contains(.seriesInfo),
|
|
||||||
let enInfo = session.fetch(seriesInfo: id, language: defaultLanguage) {
|
if language != defaultLanguage {
|
||||||
merge(info: enInfo, results: episodes)
|
if nilValues.contains(.episodesInfo) {
|
||||||
|
let enResults = loadEpisodes(info: info, seasonID: season, episodeID: episode, language: defaultLanguage)
|
||||||
|
merge(enResults: enResults, results: episodes)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if nilValues.contains(.episodesInfo) {
|
return episodes.sorted(by: areInIncreasingOrder)
|
||||||
let enResults = loadEpisodes(info: info, actors: actors, season: season, episode: episode, language: defaultLanguage)
|
|
||||||
merge(enResults: enResults, results: episodes)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
results.append(contentsOf: episodes.sorted(by: areInIncreasingOrder))
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return results
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Additional metadata
|
// MARK: - Additional metadata
|
||||||
|
|
||||||
private func loadiTunesArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
|
||||||
guard let name = metadata[.seriesName] as? String,
|
|
||||||
let seasonNum = metadata[.season] as? Int,
|
|
||||||
let episodeNum = metadata[.episodeNumber] as? Int,
|
|
||||||
let result = iTunesStore.quickiTunesSearch(tvSeriesName: name, seasonNum: seasonNum, episodeNum: episodeNum)
|
|
||||||
else { return [] }
|
|
||||||
|
|
||||||
return result.remoteArtworks
|
|
||||||
}
|
|
||||||
|
|
||||||
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
||||||
guard let tvShow = metadata[.seriesName] as? String,
|
guard let tvShow = metadata[.seriesName] as? String,
|
||||||
let seasonNum = metadata[.season] as? Int,
|
let seasonNum = metadata[.season] as? Int,
|
||||||
@@ -306,45 +389,16 @@ public struct TheTVDB : MetadataService {
|
|||||||
return AppleTV().searchArtwork(term: name, store: store, type: .tvShow(season: season))
|
return AppleTV().searchArtwork(term: name, store: store, type: .tvShow(season: season))
|
||||||
}
|
}
|
||||||
|
|
||||||
private func loadTVArtwork(seriesID: Int, type: ArtworkType, season: String, language: String) -> [Artwork] {
|
|
||||||
var artworks: [Artwork] = []
|
|
||||||
let images: [TVDBImage] = {
|
|
||||||
var result = session.fetch(images: seriesID, type: type, language: language)
|
|
||||||
if result.count == 0 || language != defaultLanguage {
|
|
||||||
result.append(contentsOf: session.fetch(images: seriesID, type: type, language: defaultLanguage))
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}()
|
|
||||||
|
|
||||||
for image in images {
|
|
||||||
guard let fileURL = URL(string: TheTVDB.bannerPath + image.fileName),
|
|
||||||
let thumbURL = URL(string: TheTVDB.bannerPath + image.fileName.replacingOccurrences(of: ".jpg", with: "_t.jpg"))
|
|
||||||
else { continue }
|
|
||||||
|
|
||||||
var selected = true
|
|
||||||
|
|
||||||
if type == .season, let subKey = image.subKey, subKey != season {
|
|
||||||
selected = false
|
|
||||||
}
|
|
||||||
|
|
||||||
if selected {
|
|
||||||
artworks.append(Artwork(url: fileURL, thumbURL: image.thumbnail.isEmpty ? fileURL : thumbURL, service: self.name, type: type, size: .standard))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return artworks
|
|
||||||
}
|
|
||||||
|
|
||||||
public func loadTVMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
public func loadTVMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||||
guard let id = metadata[.serviceEpisodeID] as? Int else { return metadata }
|
guard let id = metadata[.serviceEpisodeID] as? Int else { return metadata }
|
||||||
guard let seriesId = metadata[.serviceContentID] as? Int else { return metadata }
|
|
||||||
|
|
||||||
var artworks: [Artwork] = []
|
var artworks: [Artwork] = []
|
||||||
|
|
||||||
if let info = session.fetch(episodeInfo: id, language: language) {
|
if let info = session.fetch(episodeInfo: id, language: language) {
|
||||||
metadata[.director] = cleanList(names: info.directors)
|
metadata[.director] = cleanList(characters: info.characters ?? [], type: "Director")
|
||||||
metadata[.screenwriters] = cleanList(names: info.writers)
|
metadata[.screenwriters] = cleanList(characters: info.characters ?? [], type: "Writer")
|
||||||
|
|
||||||
let guests = cleanList(names: info.guestStars)
|
let guests = cleanList(characters: info.characters ?? [], type: "Guest Star")
|
||||||
if let actors = metadata[.cast] as? String {
|
if let actors = metadata[.cast] as? String {
|
||||||
if actors.count > 0 && guests.count > 0 {
|
if actors.count > 0 && guests.count > 0 {
|
||||||
metadata[.cast] = actors + ", " + guests
|
metadata[.cast] = actors + ", " + guests
|
||||||
@@ -353,51 +407,91 @@ public struct TheTVDB : MetadataService {
|
|||||||
metadata[.cast] = guests
|
metadata[.cast] = guests
|
||||||
}
|
}
|
||||||
|
|
||||||
if let filename = info.filename, let url = URL(string: TheTVDB.bannerPath + filename) {
|
if let path = info.image, let url = URL(string: path) {
|
||||||
artworks.append(Artwork(url: url, thumbURL: url, service: self.name, type: .episode, size: .rectangle))
|
artworks.append(Artwork(url: url, thumbURL: url, service: self.name, type: .episode, size: .rectangle))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get additionals images
|
// Get additionals images
|
||||||
if let season = metadata[.season] as? Int {
|
if ((metadata[.season] as? Int) != nil) {
|
||||||
var iTunesImage = [Artwork](), appleTV = [Artwork](), squareTVArt = [Artwork](), seasonImages = [Artwork](), posterImages = [Artwork]()
|
var appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||||
let group = DispatchGroup()
|
let group = DispatchGroup()
|
||||||
DispatchQueue.global().async(group: group) {
|
|
||||||
iTunesImage = self.loadiTunesArtwork(metadata)
|
|
||||||
}
|
|
||||||
DispatchQueue.global().async(group: group) {
|
DispatchQueue.global().async(group: group) {
|
||||||
squareTVArt = self.loadSquareTVArtwork(metadata)
|
squareTVArt = self.loadSquareTVArtwork(metadata)
|
||||||
}
|
}
|
||||||
DispatchQueue.global().async(group: group) {
|
DispatchQueue.global().async(group: group) {
|
||||||
appleTV = self.loadAppleTVArtwork(metadata)
|
appleTV = self.loadAppleTVArtwork(metadata)
|
||||||
}
|
}
|
||||||
DispatchQueue.global().async(group: group) {
|
|
||||||
seasonImages = self.loadTVArtwork(seriesID: seriesId, type: .season, season: String(season), language: language)
|
|
||||||
}
|
|
||||||
DispatchQueue.global().async(group: group) {
|
|
||||||
posterImages = self.loadTVArtwork(seriesID: seriesId, type: .poster, season: String(season), language: language)
|
|
||||||
}
|
|
||||||
group.wait()
|
group.wait()
|
||||||
|
|
||||||
artworks.insert(contentsOf: iTunesImage, at: 0)
|
|
||||||
artworks.insert(contentsOf: squareTVArt, at: 0)
|
artworks.insert(contentsOf: squareTVArt, at: 0)
|
||||||
artworks.insert(contentsOf: appleTV, at: 0)
|
artworks.insert(contentsOf: appleTV, at: 0)
|
||||||
artworks.append(contentsOf: seasonImages)
|
|
||||||
artworks.append(contentsOf: posterImages)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
metadata.remoteArtworks = artworks
|
metadata.remoteArtworks.insert(contentsOf: artworks, at: 0)
|
||||||
|
metadata.remoteArtworks.sortTopPicks(service: self.name)
|
||||||
|
|
||||||
return metadata
|
return metadata
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Unimplemented movie search
|
// MARK: - Movie search
|
||||||
|
|
||||||
|
private func metadata(forMoviePartialResult result: TVDBSearchResult, language: String?) -> MetadataResult {
|
||||||
|
let metadata = MetadataResult()
|
||||||
|
|
||||||
|
metadata.mediaKind = .movie
|
||||||
|
|
||||||
|
metadata[.serviceContentID] = result.tvdb_id
|
||||||
|
metadata[.name] = result.translations?[language ?? defaultLanguage] ?? result.name
|
||||||
|
metadata[.releaseDate] = result.first_air_time
|
||||||
|
metadata[.longDescription] = (result.overviews?[language ?? defaultLanguage] ?? result.overview)?.trimmingWhitespacesAndNewlinews()
|
||||||
|
metadata[.studio] = result.studios?.first
|
||||||
|
|
||||||
|
return metadata
|
||||||
|
}
|
||||||
|
|
||||||
public func search(movie: String, language: String) -> [MetadataResult] {
|
public func search(movie: String, language: String) -> [MetadataResult] {
|
||||||
return []
|
let results = session.fetch(movie: movie)
|
||||||
|
return results.map { metadata(forMoviePartialResult: $0, language: language) }
|
||||||
}
|
}
|
||||||
|
|
||||||
public func loadMovieMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
public func loadMovieMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||||
|
guard let movieID = metadata[.serviceContentID] as? String,
|
||||||
|
let name = metadata[.name] as? String,
|
||||||
|
let info = session.fetch(movieInfo: movieID)
|
||||||
|
else { return metadata }
|
||||||
|
|
||||||
|
metadata[.releaseDate] = info.first_release?.date
|
||||||
|
metadata[.rating] = cleanList(ratings: info.contentRatings ?? [], mediaKind: .movie)
|
||||||
|
metadata[.genre] = cleanList(genres: info.genres)
|
||||||
|
metadata[.studio] = cleanList(companies: info.companies?.studio ?? [])
|
||||||
|
metadata[.cast] = cleanList(characters: info.characters ?? [], type: "Actor")
|
||||||
|
metadata[.director] = cleanList(characters: info.characters ?? [], type: "Director")
|
||||||
|
metadata[.screenwriters] = cleanList(characters: info.characters ?? [], type: "Writer")
|
||||||
|
metadata[.producers] = cleanList(characters: info.characters ?? [], type: "Producer")
|
||||||
|
metadata[.executiveProducer] = cleanList(characters: info.characters ?? [], type: "Executive Producer")
|
||||||
|
metadata[.composer] = cleanList(characters: info.characters ?? [], type: "Original Music Composer")
|
||||||
|
|
||||||
|
metadata[.serviceContentID] = info.id
|
||||||
|
|
||||||
|
var artworks: [Artwork] = []
|
||||||
|
artworks += cleanArtworks(info.artworks)
|
||||||
|
|
||||||
|
var appleTV = [Artwork]()
|
||||||
|
let group = DispatchGroup()
|
||||||
|
let queue = DispatchQueue.global()
|
||||||
|
|
||||||
|
queue.async(group: group) {
|
||||||
|
if let store = iTunesStore.Store(language: "USA (English)") {
|
||||||
|
appleTV = AppleTV().searchArtwork(term: name, store: store, type: .movie)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
group.wait()
|
||||||
|
|
||||||
|
artworks.insert(contentsOf: appleTV, at: 0)
|
||||||
|
|
||||||
|
metadata.remoteArtworks = artworks.sortedTopPicks(service: self.name)
|
||||||
|
|
||||||
return metadata
|
return metadata
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,117 +8,377 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
import MP42Foundation
|
import MP42Foundation
|
||||||
|
|
||||||
public struct TVDBSeriesSearchResult : Codable {
|
struct TVDBLanguage : Codable {
|
||||||
public let aliases: [String]
|
let id: String
|
||||||
public let banner: String?
|
let name: String
|
||||||
public let firstAired: String?
|
let nativeName: String
|
||||||
public let id: Int
|
let shortCode: String?
|
||||||
public let imdbId: String?
|
|
||||||
public let network: String?
|
|
||||||
public let overview: String?
|
|
||||||
public let seriesName: String?
|
|
||||||
public let status: String
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct TVDBSeriesInfo : Codable {
|
public struct TVDBAlias : Codable {
|
||||||
public let added: String?
|
public let language: String
|
||||||
public let airsDayOfWeek: String?
|
|
||||||
public let airsTime: String?
|
|
||||||
public let firstAired: String?
|
|
||||||
|
|
||||||
public let aliases: [String]
|
|
||||||
public let banner: String?
|
|
||||||
public let genre: [String]
|
|
||||||
|
|
||||||
public let id: Int
|
|
||||||
public let imdbId: String?
|
|
||||||
|
|
||||||
public let lastUpdated: Int?
|
|
||||||
|
|
||||||
public let network: String?
|
|
||||||
public let networkId: String?
|
|
||||||
|
|
||||||
public let rating: String?
|
|
||||||
public let runtime: String?
|
|
||||||
|
|
||||||
public let seriesId: String
|
|
||||||
public let seriesName: String
|
|
||||||
public let overview: String?
|
|
||||||
|
|
||||||
//public let siteRating: Double?
|
|
||||||
//public let siteRatingCount: Double?
|
|
||||||
|
|
||||||
//public let status: String?
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct TVDBActor : Codable {
|
|
||||||
public let id: Int
|
|
||||||
public let name: String
|
public let name: String
|
||||||
//public let role: String?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct TVDBRatingInfo : Codable {
|
public class TVDBArtworkType : Codable {
|
||||||
public let average: Double
|
public let id: Int64
|
||||||
public let count: Int
|
public let name: String
|
||||||
|
public let imageFormat: String
|
||||||
|
public let width: Int64
|
||||||
|
public let height: Int64
|
||||||
|
public let thumbHeight: Int64
|
||||||
|
public let thumbWidth: Int64
|
||||||
|
public let recordType: String
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct TVDBImage : Codable {
|
public class TVDBArtworkStatus : Codable {
|
||||||
public let fileName: String
|
let id: Int64
|
||||||
public let keyType: String
|
let name: String?
|
||||||
public let ratingsInfo: TVDBRatingInfo?
|
}
|
||||||
public let resolution: String?
|
|
||||||
public let subKey: String?
|
public class TVDBArtworBaseRecord : Codable {
|
||||||
|
public let height: Int64
|
||||||
|
public let id: Int64
|
||||||
|
public let image: String
|
||||||
|
public let includesText: Bool
|
||||||
|
public let language: String?
|
||||||
|
public let score: Double?
|
||||||
public let thumbnail: String
|
public let thumbnail: String
|
||||||
|
public let type: Int64
|
||||||
|
public let width: Int64
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct TVDBEpisode : Codable {
|
public class TVDBArtworkExtendedRecord : Codable {
|
||||||
|
public let episodeId: Int?
|
||||||
|
public let height: Int64
|
||||||
|
public let id: Int64
|
||||||
|
public let image: String
|
||||||
|
public let includesText: Bool
|
||||||
|
public let language: String?
|
||||||
|
public let movieId: Int?
|
||||||
|
public let networkId: Int?
|
||||||
|
public let peopleId: Int?
|
||||||
|
public let score: Double
|
||||||
|
public let seasonId: Int?
|
||||||
|
public let seriesId: Int?
|
||||||
|
public let seriesPeopleId: Int?
|
||||||
|
public let status: TVDBArtworkStatus
|
||||||
|
// public let tagOptions: TVDBTagOptions
|
||||||
|
public let thumbnail: String
|
||||||
|
public let thumbnailHeight: Int64
|
||||||
|
public let thumbnailWidth: Int64
|
||||||
|
public let type: Int64
|
||||||
|
public let updatedAt: Int64
|
||||||
|
}
|
||||||
|
|
||||||
|
public class TVDBGenreBaseRecord : Codable {
|
||||||
|
public let id: Int64
|
||||||
|
public let name: String
|
||||||
|
public let slug: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBCharacter : Codable {
|
||||||
|
public let aliases: [TVDBAlias]?
|
||||||
|
// public let episode: TVDBRecordInfo
|
||||||
|
public let episodeId: Int?
|
||||||
|
public let id: Int
|
||||||
|
public let image: String?
|
||||||
|
public let isFeatured: Bool?
|
||||||
|
public let movieId: Int?
|
||||||
|
public let name: String?
|
||||||
|
public let nameTranslations: [String]?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
|
public let peopleId: Int
|
||||||
|
public let personImgURL: String?
|
||||||
|
public let peopleType: String
|
||||||
|
public let seriesId: Int?
|
||||||
|
// public let series: TVDBRecordInfo
|
||||||
|
public let sort: Int
|
||||||
|
// public let tagOptions: TVDBTagOptions
|
||||||
|
public let type: Int
|
||||||
|
public let url: String
|
||||||
|
public let personName: String
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBParentCompany : Codable {
|
||||||
|
public let id: Int?
|
||||||
|
public let name: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBCompany : Codable {
|
||||||
|
public let activeDate: String?
|
||||||
|
public let aliases: [TVDBAlias]?
|
||||||
|
public let country: String?
|
||||||
|
public let id: Int64
|
||||||
|
public let inactiveDate: String?
|
||||||
|
public let name: String
|
||||||
|
public let nameTranslations: [String]?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
|
public let primaryCompanyType: Int64?
|
||||||
|
public let slug: String?
|
||||||
|
public let parentCompany: TVDBParentCompany?
|
||||||
|
// public let tagOptions: TVDBTagOptions
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBCompanies : Codable {
|
||||||
|
public let studio: [TVDBCompany]?
|
||||||
|
public let network: [TVDBCompany]?
|
||||||
|
public let production: [TVDBCompany]?
|
||||||
|
public let distributor: [TVDBCompany]?
|
||||||
|
public let special_effects: [TVDBCompany]?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBStudioBaseRecord : Codable {
|
||||||
|
public let id: Int64
|
||||||
|
public let name: String
|
||||||
|
public let parentStudio: Int?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBContentRating : Codable {
|
||||||
|
public let id: Int64
|
||||||
|
public let name: String
|
||||||
|
public let description: String
|
||||||
|
public let country: String
|
||||||
|
public let contentType: String
|
||||||
|
public let order: Int
|
||||||
|
public let fullName: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBRemoteId : Codable {
|
||||||
|
public let id: String
|
||||||
|
public let type: Int64
|
||||||
|
public let sourceName: String
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBTranslation : Codable {
|
||||||
|
public let aliases: [String]?
|
||||||
|
public let isAlias: Bool?
|
||||||
|
public let isPrimary: Bool?
|
||||||
|
public let language: String
|
||||||
|
public let name: String?
|
||||||
|
public let overview: String?
|
||||||
|
public let tagline: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBTranslationExtended : Codable {
|
||||||
|
public let nameTranslations: [TVDBTranslation]?
|
||||||
|
public let overviewTranslations: [TVDBTranslation]?
|
||||||
|
public let alias: [String]?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBRelease : Codable {
|
||||||
|
public let country: String
|
||||||
|
public let date: String
|
||||||
|
public let detail: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public class TVDBStatus : Codable {
|
||||||
|
public let id: Int64?
|
||||||
|
public let keepUpdated: Bool
|
||||||
|
public let name: String
|
||||||
|
public let recordType: String
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBSearchResult : Codable {
|
||||||
|
public let aliases: [String]?
|
||||||
|
public let companies: [String]?
|
||||||
|
public let companyType: String?
|
||||||
|
public let country: String?
|
||||||
|
public let directory: String?
|
||||||
|
public let first_air_time: String?
|
||||||
|
public let genres: [String]?
|
||||||
|
public let id: String
|
||||||
|
public let image_url: String?
|
||||||
|
public let name: String?
|
||||||
|
public let is_official: Bool?
|
||||||
|
public let name_translated: String?
|
||||||
|
public let network: String?
|
||||||
|
public let objectID: String?
|
||||||
|
public let officialList: String?
|
||||||
|
public let overview: String?
|
||||||
|
public let overviews: Dictionary<String, String>?
|
||||||
|
public let overview_translated: [String]?
|
||||||
|
public let poster: String?
|
||||||
|
public let posters: [String]?
|
||||||
|
public let primary_language: String?
|
||||||
|
public let status: String?
|
||||||
|
public let slug: String?
|
||||||
|
public let studios: [String]?
|
||||||
|
public let title: String?
|
||||||
|
public let thumbnail: String?
|
||||||
|
public let translations: Dictionary<String, String>?
|
||||||
|
public let translationsWithLang: [String]?
|
||||||
|
public let tvdb_id: String
|
||||||
|
public let type: String?
|
||||||
|
public let year: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBMovieExtendedRecord : Codable {
|
||||||
|
public let aliases: [TVDBAlias]?
|
||||||
|
public let artworks: [TVDBArtworBaseRecord]
|
||||||
|
public let audioLanguages: [String]?
|
||||||
|
// public let awards: [TVDBAwardBaseRecord]
|
||||||
|
public let boxOffice: String?
|
||||||
|
public let boxOfficeUS: String?
|
||||||
|
public let budget: String?
|
||||||
|
public let characters: [TVDBCharacter]?
|
||||||
|
public let companies: TVDBCompanies?
|
||||||
|
public let contentRatings: [TVDBContentRating]?
|
||||||
|
public let first_release: TVDBRelease?
|
||||||
|
public let genres: [TVDBGenreBaseRecord]
|
||||||
|
public let id: Int64
|
||||||
|
public let image: String?
|
||||||
|
// public let inspirations: [TVDBInspiration]?
|
||||||
|
public let lastUpdated: String
|
||||||
|
// public let lists: TVDBList
|
||||||
|
public let name: String
|
||||||
|
public let nameTranslations: [String]
|
||||||
|
public let originalCountry: String?
|
||||||
|
public let originalLanguage: String?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
|
// public let production_countries: [TVDBProductionCountry]?
|
||||||
|
public let releases: [TVDBRelease]?
|
||||||
|
public let remoteIds: [TVDBRemoteId]
|
||||||
|
public let runtime: Int?
|
||||||
|
public let score: Double?
|
||||||
|
public let slug: String?
|
||||||
|
public let spoken_languages: [String]?
|
||||||
|
public let studios: [TVDBStudioBaseRecord]?
|
||||||
|
public let subtitleLanguages: [String]?
|
||||||
|
// public let tagOptions: [TVDBTagOption]
|
||||||
|
// public let trailers: [TVDBTrailer]
|
||||||
|
public let translations: TVDBTranslationExtended?
|
||||||
|
public let year: String
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBEpisodeBaseRecord : Codable {
|
||||||
public let absoluteNumber: Double?
|
public let absoluteNumber: Double?
|
||||||
public let airedEpisodeNumber: Int
|
public let aired: String?
|
||||||
public let airedSeason: Int
|
public let airsBeforeEpisode: Int?
|
||||||
|
public let airsBeforeSeason: Int?
|
||||||
//public let dvdEpisodeNumber: Double?
|
public let finaleType: String?
|
||||||
//public let dvdSeason: Double?
|
|
||||||
|
|
||||||
public let episodeName: String?
|
|
||||||
public let firstAired: String?
|
|
||||||
|
|
||||||
public let id: Int
|
public let id: Int
|
||||||
|
public let image: String?
|
||||||
|
public let imageType: Int?
|
||||||
|
public let isMovie: Int
|
||||||
|
public let lastUpdated: String
|
||||||
|
public let name: String?
|
||||||
|
public let nameTranslations: [String]?
|
||||||
|
public let number: Int
|
||||||
public let overview: String?
|
public let overview: String?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
|
public let runtime: Int?
|
||||||
|
public let seasonNumber: Int
|
||||||
|
// public let seasons: []?
|
||||||
|
public let seriesId: Int?
|
||||||
|
public let year: String?
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct TVDBEpisodeInfo : Codable {
|
public struct TVDBEpisodeExtendedRecord : Codable {
|
||||||
public let absoluteNumber: Int?
|
public let aired: String?
|
||||||
public let airedEpisodeNumber: Int?
|
public let airsAfterSeason: Int?
|
||||||
public let airedSeason: Int?
|
public let airsBeforeEpisode: Int?
|
||||||
|
public let airsBeforeSeason: Int?
|
||||||
public let directors: [String]
|
// public let awards: [TVDBAwardBaseRecord]
|
||||||
|
public let characters: [TVDBCharacter]?
|
||||||
//public let dvdEpisodeNumber: Double?
|
public let companies: [TVDBCompany]?
|
||||||
//public let dvdSeason: Double?
|
public let contentRatings: [TVDBContentRating]
|
||||||
|
public let finaleType: String?
|
||||||
public let episodeName: String?
|
public let id: Int64
|
||||||
public let filename: String?
|
public let image: String?
|
||||||
public let firstAired: String?
|
public let imageType: Int?
|
||||||
|
public let isMovie: Int64
|
||||||
public let guestStars: [String]
|
public let lastUpdated: String
|
||||||
|
public let linkedMovie: Int?
|
||||||
public let id: Int
|
public let name: String
|
||||||
|
public let nameTranslations: [String]
|
||||||
|
public let networks: [TVDBCompany]?
|
||||||
|
// public let nominations: [TVDBAwardNomineeBaseRecorde]
|
||||||
|
public let number: Int
|
||||||
public let overview: String?
|
public let overview: String?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
public let writers: [String]
|
public let productionCode: String?
|
||||||
|
public let remoteIds: [TVDBRemoteId]
|
||||||
|
public let runtime: Int?
|
||||||
|
public let seasonNumber: Int
|
||||||
|
// public let season: []
|
||||||
|
public let seriesId: Int64
|
||||||
|
public let studios: [TVDBCompany]?
|
||||||
|
// public let tagOptions: [TVDBTagOption]
|
||||||
|
// public let trailers: [TVDBTrailer]
|
||||||
|
public let translations: TVDBTranslationExtended?
|
||||||
|
public let year: String
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension ArtworkType {
|
public struct TVDBSeriesBaseRecord : Codable {
|
||||||
var theTVDBName: String {
|
public let aliases: [TVDBAlias]?
|
||||||
switch self {
|
public let averageRuntime: Int?
|
||||||
case .poster:
|
public let defaultSeasonType: Int64?
|
||||||
return "poster"
|
public let episodes: [TVDBEpisodeBaseRecord]?
|
||||||
case .season:
|
public let firstAired: String?
|
||||||
return "season"
|
public let id: Int
|
||||||
default:
|
public let image: String
|
||||||
return "poster"
|
public let isOrderRandomized: Bool
|
||||||
}
|
public let lastAired: String
|
||||||
}
|
public let lastUpdated: String
|
||||||
|
public let name: String
|
||||||
|
public let nameTranslations: [String]
|
||||||
|
public let nextAired: String
|
||||||
|
public let originalCountry: String
|
||||||
|
public let originalLanguage: String
|
||||||
|
public let overview: String?
|
||||||
|
public let overviewTranslations: [String]?
|
||||||
|
public let score: Int?
|
||||||
|
public let slug: String?
|
||||||
|
// public let status: Status
|
||||||
|
public let year: String?
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBSeriesEpisodes : Codable {
|
||||||
|
public let series: TVDBSeriesBaseRecord
|
||||||
|
public let episodes: [TVDBEpisodeBaseRecord]
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct TVDBSeriesExtendedRecord : Codable {
|
||||||
|
public let abbreviation: String?
|
||||||
|
// public let airsDays: TVDBSeriesAirsDays
|
||||||
|
public let aliases: [TVDBAlias]?
|
||||||
|
public let artworks: [TVDBArtworkExtendedRecord]
|
||||||
|
public let averageRuntime: Int?
|
||||||
|
public let characters: [TVDBCharacter]?
|
||||||
|
public let contentRatings: [TVDBContentRating]
|
||||||
|
public let country: String?
|
||||||
|
public let defaultSeasonType: Int64?
|
||||||
|
public let episodes: [TVDBEpisodeBaseRecord]?
|
||||||
|
public let firstAired: String?
|
||||||
|
// public let lists: TVDBList
|
||||||
|
public let genres: [TVDBGenreBaseRecord]
|
||||||
|
public let id: Int
|
||||||
|
public let image: String?
|
||||||
|
public let isOrderRandomized: Bool
|
||||||
|
public let lastAired: String
|
||||||
|
public let lastUpdated: String
|
||||||
|
public let name: String
|
||||||
|
public let nameTranslations: [String]
|
||||||
|
public let companies: [TVDBCompany]?
|
||||||
|
public let nextAired: String
|
||||||
|
public let originalCountry: String
|
||||||
|
public let originalLanguage: String
|
||||||
|
public let originalNetwork: TVDBCompany?
|
||||||
|
public let overview: String?
|
||||||
|
public let latestNetwork: TVDBCompany?
|
||||||
|
public let overviewTranslations: [String]
|
||||||
|
public let remoteIds: [TVDBRemoteId]
|
||||||
|
public let score: Double
|
||||||
|
// public let seasons: [TVDBSeasonBaseRecord]
|
||||||
|
// public let seasons: [TVDBSeasonType]
|
||||||
|
public let status: TVDBStatus
|
||||||
|
public let slug: String
|
||||||
|
// public let status: Status
|
||||||
|
// public let tags: [TVDBTagOptions]
|
||||||
|
// public let trailers: [TVDBTrailer]
|
||||||
|
public let translations: TVDBTranslationExtended?
|
||||||
|
public let year: String
|
||||||
}
|
}
|
||||||
|
|
||||||
final public class TheTVDBService {
|
final public class TheTVDBService {
|
||||||
@@ -128,40 +388,26 @@ final public class TheTVDBService {
|
|||||||
private let queue: DispatchQueue
|
private let queue: DispatchQueue
|
||||||
private let tokenQueue: DispatchQueue
|
private let tokenQueue: DispatchQueue
|
||||||
|
|
||||||
private let basePath = "https://api.thetvdb.com/"
|
private static let apiKey = "7bba6aca-a2c7-42d1-9c34-ed84bb44dfc6"
|
||||||
|
private static let basePath = "https://api4.thetvdb.com/v4/"
|
||||||
|
|
||||||
private struct Languages {
|
private var savedLanguages: [String]
|
||||||
let data: [String]
|
|
||||||
let timestamp: TimeInterval
|
|
||||||
}
|
|
||||||
|
|
||||||
private var savedLanguages: Languages?
|
|
||||||
|
|
||||||
public var languages: [String] {
|
public var languages: [String] {
|
||||||
get {
|
get {
|
||||||
return ["en",
|
return queue.sync {
|
||||||
"sv",
|
let now = Date.timeIntervalSinceReferenceDate
|
||||||
"no",
|
let timestamp = UserDefaults.standard.double(forKey: "SBTheTVBDv4LanguagesArrayTimestamp")
|
||||||
"da",
|
if let languagesArray = UserDefaults.standard.object(forKey: "SBTheTVBDv4LanguagesArray") as? [String], languagesArray.isEmpty == false,
|
||||||
"fi",
|
timestamp + 60 * 60 * 24 * 30 > Date.timeIntervalSinceReferenceDate {
|
||||||
"nl",
|
savedLanguages = languagesArray
|
||||||
"de",
|
} else {
|
||||||
"it",
|
savedLanguages = fetchLanguages()
|
||||||
"es",
|
UserDefaults.standard.set(savedLanguages, forKey: "SBTheTVBDv4LanguagesArray")
|
||||||
"fr",
|
UserDefaults.standard.set(now, forKey: "SBTheTVBDv4LanguagesArrayTimestamp")
|
||||||
"pl",
|
}
|
||||||
"hu",
|
return savedLanguages
|
||||||
"el",
|
}
|
||||||
"tr",
|
|
||||||
"ru",
|
|
||||||
"he",
|
|
||||||
"ja",
|
|
||||||
"pt",
|
|
||||||
"zh",
|
|
||||||
"cs",
|
|
||||||
"sl",
|
|
||||||
"hr",
|
|
||||||
"ko"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,6 +416,9 @@ final public class TheTVDBService {
|
|||||||
let timestamp: TimeInterval
|
let timestamp: TimeInterval
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static let tokenKey = "SBTheTVBDv4Token"
|
||||||
|
private static let tokenTimestampKey = "SBTheTVBDv4TokenTimestamp"
|
||||||
|
|
||||||
private var savedToken: Token?
|
private var savedToken: Token?
|
||||||
|
|
||||||
private var token: Token? {
|
private var token: Token? {
|
||||||
@@ -179,8 +428,8 @@ final public class TheTVDBService {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
else if let result = login() {
|
else if let result = login() {
|
||||||
UserDefaults.standard.set(result.key, forKey: "SBTheTVBDToken")
|
UserDefaults.standard.set(result.key, forKey: TheTVDBService.tokenKey)
|
||||||
UserDefaults.standard.set(result.timestamp, forKey: "SBTheTVBDTokenTimestamp")
|
UserDefaults.standard.set(result.timestamp, forKey: TheTVDBService.tokenTimestampKey)
|
||||||
savedToken = result
|
savedToken = result
|
||||||
return result
|
return result
|
||||||
} else {
|
} else {
|
||||||
@@ -193,26 +442,29 @@ final public class TheTVDBService {
|
|||||||
private init() {
|
private init() {
|
||||||
queue = DispatchQueue(label: "org.subler.TheTVDBQueue")
|
queue = DispatchQueue(label: "org.subler.TheTVDBQueue")
|
||||||
tokenQueue = DispatchQueue(label: "org.subler.TheTVDBTokenQueue")
|
tokenQueue = DispatchQueue(label: "org.subler.TheTVDBTokenQueue")
|
||||||
|
savedLanguages = []
|
||||||
|
|
||||||
if let languagesArray = UserDefaults.standard.object(forKey: "SBTheTVBDLanguagesArray") as? [String] {
|
if let tokenKey = UserDefaults.standard.string(forKey: TheTVDBService.tokenKey) {
|
||||||
let timestamp = UserDefaults.standard.double(forKey: "SBTheTVBDLanguagesArrayTimestamp")
|
let timestamp = UserDefaults.standard.double(forKey: TheTVDBService.tokenTimestampKey)
|
||||||
if timestamp + 60 * 60 * 24 * 30 > Date.timeIntervalSinceReferenceDate {
|
|
||||||
savedLanguages = Languages(data: languagesArray, timestamp: timestamp)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if let tokenKey = UserDefaults.standard.string(forKey: "SBTheTVBDToken") {
|
|
||||||
let timestamp = UserDefaults.standard.double(forKey: "SBTheTVBDTokenTimestamp")
|
|
||||||
if timestamp + 60 * 60 * 4 > Date.timeIntervalSinceReferenceDate {
|
if timestamp + 60 * 60 * 4 > Date.timeIntervalSinceReferenceDate {
|
||||||
savedToken = Token(key: tokenKey, timestamp: timestamp)
|
savedToken = Token(key: tokenKey, timestamp: timestamp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private struct Links : Codable {
|
||||||
|
let next: String?
|
||||||
|
let page_size: Int
|
||||||
|
let prev: String?
|
||||||
|
let total_items: Int
|
||||||
|
}
|
||||||
|
|
||||||
private struct Wrapper<T> : Codable where T : Codable {
|
private struct Wrapper<T> : Codable where T : Codable {
|
||||||
let data: T
|
let data: T
|
||||||
|
let links: Links?
|
||||||
|
let status: String
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Login
|
// MARK: - Login
|
||||||
|
|
||||||
private func login() -> Token? {
|
private func login() -> Token? {
|
||||||
@@ -224,119 +476,188 @@ final public class TheTVDBService {
|
|||||||
let token: String
|
let token: String
|
||||||
}
|
}
|
||||||
|
|
||||||
guard let apikey = try? JSONEncoder().encode(ApiKey(apikey: "3498815BE9484A62")) else { return nil }
|
guard let apikey = try? JSONEncoder().encode(ApiKey(apikey: TheTVDBService.apiKey)) else { return nil }
|
||||||
guard let url = URL(string: "https://api.thetvdb.com/login") else { return nil }
|
guard let url = URL(string: TheTVDBService.basePath + "login") else { return nil }
|
||||||
|
|
||||||
let header = ["Content-Type" : "application/json",
|
let header = ["Content-Type" : "application/json"]
|
||||||
"Accept" : "application/vnd.thetvdb.v3"]
|
|
||||||
|
|
||||||
guard let response = URLSession.data(from: url,
|
guard let response = URLSession.data(from: url,
|
||||||
httpMethod: "POST",
|
httpMethod: "POST",
|
||||||
httpBody:apikey,
|
httpBody:apikey,
|
||||||
header: header) else { return nil }
|
header: header) else { return nil }
|
||||||
|
|
||||||
guard let responseToken = try? JSONDecoder().decode(TokenWrapper.self, from: response) else { return nil }
|
do {
|
||||||
return Token(key: responseToken.token, timestamp: Date.timeIntervalSinceReferenceDate)
|
let responseToken = try JSONDecoder().decode(Wrapper<TokenWrapper>.self, from: response)
|
||||||
|
return Token(key: responseToken.data.token, timestamp: Date.timeIntervalSinceReferenceDate)
|
||||||
|
} catch {
|
||||||
|
print("\(error)")
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Languages
|
// MARK: - Languages
|
||||||
|
|
||||||
private func fetchLanguages() -> Languages? {
|
private func fetchLanguages() -> [String] {
|
||||||
struct Language: Codable {
|
|
||||||
let abbreviation: String
|
guard let url = URL(string: "\(TheTVDBService.basePath)languages"),
|
||||||
let englishName: String
|
let result = sendJSONRequest(url: url, type: Wrapper<[TVDBLanguage]>.self)
|
||||||
let id: Int
|
else { return [] }
|
||||||
let name: String
|
|
||||||
|
return result.data.map { $0.id }
|
||||||
|
}
|
||||||
|
|
||||||
|
private var artworkTypes: [TVDBArtworkType]?
|
||||||
|
|
||||||
|
public func fetchArtworkTypes() -> [TVDBArtworkType] {
|
||||||
|
if let artworkTypes {
|
||||||
|
return artworkTypes
|
||||||
|
} else {
|
||||||
|
guard let url = URL(string: "\(TheTVDBService.basePath)artwork/types"),
|
||||||
|
let result = sendJSONRequest(url: url, type: Wrapper<[TVDBArtworkType]>.self)
|
||||||
|
else { return [] }
|
||||||
|
|
||||||
|
artworkTypes = result.data
|
||||||
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
guard let url = URL(string: "\(basePath)languages"),
|
|
||||||
let result = sendJSONRequest(url: url, language: "en", type: Wrapper<[Language]>.self)
|
|
||||||
else { return nil }
|
|
||||||
|
|
||||||
let langManager = MP42Languages.defaultManager
|
|
||||||
return Languages(data: result.data.map { langManager.extendedTag(forISO_639_1:$0.abbreviation) }, timestamp: Date.timeIntervalSinceReferenceDate)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Data request
|
// MARK: - Data request
|
||||||
|
|
||||||
private func sendRequest(url: URL, language: String) -> Data? {
|
private func sendRequest(url: URL) -> Data? {
|
||||||
guard let token = self.token else { return nil }
|
guard let token = self.token else { return nil }
|
||||||
|
|
||||||
let header = ["Authorization": "Bearer \(token.key)",
|
let header = ["Authorization": "Bearer \(token.key)",
|
||||||
"Content-Type" : "application/json",
|
"accept" : "application/json"]
|
||||||
"Accept" : "application/vnd.thetvdb.v3",
|
|
||||||
"Accept-Language" : language]
|
|
||||||
|
|
||||||
return URLSession.data(from: url, header: header)
|
return URLSession.data(from: url, header: header)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func sendJSONRequest<T>(url: URL, language: String, type: T.Type) -> T? where T : Decodable {
|
private func sendJSONRequest<T>(url: URL, type: T.Type) -> T? where T : Decodable {
|
||||||
guard let data = sendRequest(url: url, language: language),
|
guard let data = sendRequest(url: url) else { return nil }
|
||||||
let result = try? JSONDecoder().decode(type, from: data)
|
|
||||||
else { return nil }
|
|
||||||
|
|
||||||
return result
|
// let response = String(data: data, encoding: .utf8)
|
||||||
|
// if let response {
|
||||||
|
// print(response)
|
||||||
|
// }
|
||||||
|
|
||||||
|
do {
|
||||||
|
return try JSONDecoder().decode(type, from: data)
|
||||||
|
} catch {
|
||||||
|
print(error)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Service calls
|
// MARK: - Service calls
|
||||||
|
|
||||||
public func fetch(series: String, language: String) -> [TVDBSeriesSearchResult] {
|
|
||||||
// Remove + because it breaks search
|
|
||||||
let encodedName = series.replacingOccurrences(of: "+", with: "").replacingOccurrences(of: "*", with: "-").urlEncoded()
|
|
||||||
|
|
||||||
guard let url = URL(string: "\(basePath)search/series?name=\(encodedName)"),
|
public func fetch(movie: String) -> [TVDBSearchResult] {
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBSeriesSearchResult]>.self)
|
// Remove + because it breaks search
|
||||||
|
let encodedName = movie.replacingOccurrences(of: "+", with: "").replacingOccurrences(of: "*", with: "-").urlEncoded()
|
||||||
|
|
||||||
|
guard let url = URL(string: "\(TheTVDBService.basePath)search?query=\(encodedName)&type=movie"),
|
||||||
|
let result = sendJSONRequest(url: url, type: Wrapper<[TVDBSearchResult]>.self)
|
||||||
else { return [] }
|
else { return [] }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
public func fetch(seriesInfo seriesID: Int, language: String) -> TVDBSeriesInfo? {
|
public func fetch(movieInfo movieID: String) -> TVDBMovieExtendedRecord? {
|
||||||
guard let url = URL(string: "\(basePath)series/\(seriesID)"),
|
guard let url = URL(string: "\(TheTVDBService.basePath)movies/\(movieID)/extended"),
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<TVDBSeriesInfo>.self)
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBMovieExtendedRecord>.self)
|
||||||
else { return nil }
|
else { return nil }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
public func fetch(actors seriesID: Int, language: String) -> [TVDBActor] {
|
public func fetch(movieTranslation movieID: String, language: String) -> TVDBTranslation? {
|
||||||
guard let url = URL(string: "\(basePath)series/\(seriesID)/actors"),
|
guard let url = URL(string: "\(TheTVDBService.basePath)movies/\(movieID)/translations/\(language)"),
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBActor]>.self)
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBTranslation>.self)
|
||||||
|
else { return nil }
|
||||||
|
|
||||||
|
return result.data
|
||||||
|
}
|
||||||
|
|
||||||
|
public func fetch(series: String) -> [TVDBSearchResult] {
|
||||||
|
// Remove + because it breaks search
|
||||||
|
let encodedName = series.replacingOccurrences(of: "+", with: "").replacingOccurrences(of: "*", with: "-").urlEncoded()
|
||||||
|
|
||||||
|
guard let url = URL(string: "\(TheTVDBService.basePath)search?query=\(encodedName)&type=series"),
|
||||||
|
let result = sendJSONRequest(url: url, type: Wrapper<[TVDBSearchResult]>.self)
|
||||||
else { return [] }
|
else { return [] }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
public func fetch(images seriesID: Int, type: ArtworkType, language: String) -> [TVDBImage] {
|
public func fetch(seriesInfo seriesID: String) -> TVDBSeriesExtendedRecord? {
|
||||||
guard let url = URL(string: "\(basePath)series/\(seriesID)/images/query?keyType=\(type.theTVDBName)"),
|
guard let url = URL(string: "\(TheTVDBService.basePath)series/\(seriesID)/extended"),
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBImage]>.self)
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBSeriesExtendedRecord>.self)
|
||||||
else { return [] }
|
else { return nil }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
private func episodesURL(seriesID: Int, season: Int?, episode: Int?) -> URL? {
|
public func fetch(seriesTranslation seriesID: String, language: String) -> TVDBTranslation? {
|
||||||
|
guard let url = URL(string: "\(TheTVDBService.basePath)series/\(seriesID)/translations/\(language)"),
|
||||||
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBTranslation>.self)
|
||||||
|
else { return nil }
|
||||||
|
|
||||||
|
return result.data
|
||||||
|
}
|
||||||
|
|
||||||
|
private func episodesURL(seriesID: Int, season: Int?, episode: Int?, page: UInt) -> URL? {
|
||||||
switch (season, episode) {
|
switch (season, episode) {
|
||||||
case let (season?, episode?):
|
case let (season?, episode?):
|
||||||
return URL(string: "\(basePath)series/\(seriesID)/episodes/query?airedSeason=\(season)&airedEpisode=\(episode)")
|
return URL(string:
|
||||||
|
"\(TheTVDBService.basePath)series/\(seriesID)/episodes/default?page=\(page)&season=\(season)&episodeNumber=\(episode)")
|
||||||
case let (season?, _):
|
case let (season?, _):
|
||||||
return URL(string: "\(basePath)series/\(seriesID)/episodes/query?airedSeason=\(season)")
|
return URL(string:
|
||||||
|
"\(TheTVDBService.basePath)series/\(seriesID)/episodes/default?page=\(page)&season=\(season)")
|
||||||
default:
|
default:
|
||||||
return URL(string: "\(basePath)series/\(seriesID)/episodes")
|
return URL(string:
|
||||||
|
"\(TheTVDBService.basePath)series/\(seriesID)/episodes/default?page=\(page)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public func fetch(episodeForSeriesID seriesID: Int, season: Int?, episode: Int?, language: String) -> [TVDBEpisode] {
|
public func fetch(episodesForSeriesID seriesID: Int, season: Int?, episode: Int?) -> [TVDBEpisodeBaseRecord] {
|
||||||
guard let url = episodesURL(seriesID: seriesID, season: season, episode: episode),
|
guard let url = episodesURL(seriesID: seriesID, season: season, episode: episode, page: 0),
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBEpisode]>.self)
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBSeriesEpisodes>.self)
|
||||||
else { return [] }
|
else { return [] }
|
||||||
|
|
||||||
|
return result.data.episodes
|
||||||
|
}
|
||||||
|
|
||||||
|
public func fetch(translatedEpisodesForSeriesID seriesID: Int, season: Int?, episode: Int?, language: String) -> [TVDBEpisodeBaseRecord] {
|
||||||
|
var episodes: [TVDBEpisodeBaseRecord] = Array()
|
||||||
|
var url = URL(string: "\(TheTVDBService.basePath)series/\(seriesID)/episodes/default/\(language)?page=0")
|
||||||
|
|
||||||
|
while let requestURL = url {
|
||||||
|
let result = sendJSONRequest(url: requestURL, type: Wrapper<TVDBSeriesBaseRecord>.self)
|
||||||
|
|
||||||
|
episodes += result?.data.episodes ?? []
|
||||||
|
|
||||||
|
if let next = result?.links?.next {
|
||||||
|
url = URL(string: next)
|
||||||
|
} else {
|
||||||
|
url = nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return episodes
|
||||||
|
}
|
||||||
|
|
||||||
|
public func fetch(episodeInfo episodeID: Int, language: String) -> TVDBEpisodeExtendedRecord? {
|
||||||
|
guard let url = URL(string: "\(TheTVDBService.basePath)episodes/\(episodeID)/extended"),
|
||||||
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBEpisodeExtendedRecord>.self)
|
||||||
|
else { return nil }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
}
|
}
|
||||||
|
|
||||||
public func fetch(episodeInfo episodeID: Int, language: String) -> TVDBEpisodeInfo? {
|
public func fetch(episodesTranslation episodeID: Int, language: String) -> TVDBTranslation? {
|
||||||
guard let url = URL(string: "\(basePath)episodes/\(episodeID)"),
|
guard let url = URL(string: "\(TheTVDBService.basePath)episodes/\(episodeID)/translations/\(language)"),
|
||||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<TVDBEpisodeInfo>.self)
|
let result = sendJSONRequest(url: url, type: Wrapper<TVDBTranslation>.self)
|
||||||
else { return nil }
|
else { return nil }
|
||||||
|
|
||||||
return result.data
|
return result.data
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
|||||||
}
|
}
|
||||||
else if tvSeriesName.stringValue.count > 3 {
|
else if tvSeriesName.stringValue.count > 3 {
|
||||||
if let task = nameSearchTask { task.cancel() }
|
if let task = nameSearchTask { task.cancel() }
|
||||||
let language = tvShowService.languageType.extendedTag(displayName: tvLanguage.titleOfSelectedItem ?? "en")
|
let language = tvShowService.languageType.tag(displayName: tvLanguage.titleOfSelectedItem ?? "en")
|
||||||
|
|
||||||
tvSeriesNameSearchArray = [NSLocalizedString("Searching…", comment: "")]
|
tvSeriesNameSearchArray = [NSLocalizedString("Searching…", comment: "")]
|
||||||
|
|
||||||
@@ -243,7 +243,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
|||||||
|
|
||||||
private func searchMovie() {
|
private func searchMovie() {
|
||||||
let title = movieName.stringValue
|
let title = movieName.stringValue
|
||||||
let language = movieService.languageType.extendedTag(displayName: movieLanguage.titleOfSelectedItem ?? "en")
|
let language = movieService.languageType.tag(displayName: movieLanguage.titleOfSelectedItem ?? "en")
|
||||||
let searcher = MetadataSearch.movieSeach(service: movieService, movie: title, language: language)
|
let searcher = MetadataSearch.movieSeach(service: movieService, movie: title, language: language)
|
||||||
let task = searcher.search(completionHandler: { self.searchDone(search: searcher, results: $0) }).runAsync()
|
let task = searcher.search(completionHandler: { self.searchDone(search: searcher, results: $0) }).runAsync()
|
||||||
state = .searching(search: searcher, task: task)
|
state = .searching(search: searcher, task: task)
|
||||||
@@ -251,7 +251,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
|||||||
|
|
||||||
private func searchTVShow() {
|
private func searchTVShow() {
|
||||||
let title = tvSeriesName.stringValue
|
let title = tvSeriesName.stringValue
|
||||||
let language = tvShowService.languageType.extendedTag(displayName: tvLanguage.titleOfSelectedItem ?? "en")
|
let language = tvShowService.languageType.tag(displayName: tvLanguage.titleOfSelectedItem ?? "en")
|
||||||
let season = Int(tvSeasonNum.stringValue)
|
let season = Int(tvSeasonNum.stringValue)
|
||||||
let episode = Int(tvEpisodeNum.stringValue)
|
let episode = Int(tvEpisodeNum.stringValue)
|
||||||
let searcher = MetadataSearch.tvSearch(service: tvShowService, tvShow: title, season: season, episode: episode, language: language)
|
let searcher = MetadataSearch.tvSearch(service: tvShowService, tvShow: title, season: season, episode: episode, language: language)
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
@@ -14,9 +14,9 @@
|
|||||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||||
<view wantsLayer="YES" id="HYk-Hf-rvN">
|
<view wantsLayer="YES" id="HYk-Hf-rvN">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="540" height="520"/>
|
<rect key="frame" x="0.0" y="0.0" width="590" height="520"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<point key="canvasLocation" x="220" y="74"/>
|
<point key="canvasLocation" x="327" y="14"/>
|
||||||
</view>
|
</view>
|
||||||
</objects>
|
</objects>
|
||||||
</document>
|
</document>
|
||||||
@@ -37,7 +37,6 @@ final class OffsetViewController: NSViewController {
|
|||||||
@IBAction func setOffset(_ sender: Any) {
|
@IBAction func setOffset(_ sender: Any) {
|
||||||
if track.startOffset != offsetField.doubleValue {
|
if track.startOffset != offsetField.doubleValue {
|
||||||
track.startOffset = offsetField.doubleValue
|
track.startOffset = offsetField.doubleValue
|
||||||
doc.updateChangeCount(.changeDone)
|
|
||||||
}
|
}
|
||||||
presentingViewController?.dismiss(self)
|
presentingViewController?.dismiss(self)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -124,7 +124,11 @@ final class OptionsViewController: NSViewController, NSUserInterfaceValidations
|
|||||||
private func menuItem(url: URL) -> NSMenuItem {
|
private func menuItem(url: URL) -> NSMenuItem {
|
||||||
let icon = NSWorkspace.shared.icon(forFile: url.path)
|
let icon = NSWorkspace.shared.icon(forFile: url.path)
|
||||||
icon.size = NSSize(width: 16, height: 16)
|
icon.size = NSSize(width: 16, height: 16)
|
||||||
let item = NSMenuItem(title: url.lastPathComponent, action: #selector(destination(_:)), keyEquivalent: "")
|
|
||||||
|
let values = try? url.resourceValues(forKeys: [.localizedNameKey])
|
||||||
|
let title = values?.localizedName ?? url.lastPathComponent
|
||||||
|
|
||||||
|
let item = NSMenuItem(title: title, action: #selector(destination(_:)), keyEquivalent: "")
|
||||||
item.image = icon
|
item.image = icon
|
||||||
item.target = self
|
item.target = self
|
||||||
item.representedObject = url
|
item.representedObject = url
|
||||||
|
|||||||
@@ -0,0 +1,64 @@
|
|||||||
|
//
|
||||||
|
// PasteboardItem.swift
|
||||||
|
// Subler
|
||||||
|
//
|
||||||
|
// Created by Damiano Galassi on 22/09/2026.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Cocoa
|
||||||
|
|
||||||
|
extension NSPasteboard.PasteboardType {
|
||||||
|
static let tableViewIndex = NSPasteboard.PasteboardType("org.subler.tableViewIndex")
|
||||||
|
}
|
||||||
|
|
||||||
|
class PasteboardItem: NSObject, NSPasteboardWriting {
|
||||||
|
let index: Int
|
||||||
|
let type: NSPasteboard.PasteboardType
|
||||||
|
|
||||||
|
init(index: Int, type: NSPasteboard.PasteboardType) {
|
||||||
|
self.index = index
|
||||||
|
self.type = type
|
||||||
|
}
|
||||||
|
|
||||||
|
func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
|
||||||
|
return [type]
|
||||||
|
}
|
||||||
|
|
||||||
|
func pasteboardPropertyList(forType type: NSPasteboard.PasteboardType) -> Any? {
|
||||||
|
switch type {
|
||||||
|
case self.type:
|
||||||
|
return index
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension NSPasteboardItem {
|
||||||
|
func integer(forType type: NSPasteboard.PasteboardType) -> Int? {
|
||||||
|
guard let data = data(forType: type) else { return nil }
|
||||||
|
let plist = try? PropertyListSerialization.propertyList(
|
||||||
|
from: data,
|
||||||
|
options: .mutableContainers,
|
||||||
|
format: nil)
|
||||||
|
return plist as? Int
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extension Array {
|
||||||
|
mutating func move(from start: Index, to end: Index) {
|
||||||
|
guard (0..<count) ~= start, (0...count) ~= end else { return }
|
||||||
|
if start == end { return }
|
||||||
|
let targetIndex = start < end ? end - 1 : end
|
||||||
|
insert(remove(at: start), at: targetIndex)
|
||||||
|
}
|
||||||
|
|
||||||
|
mutating func move(with indexes: IndexSet, to toIndex: Index) {
|
||||||
|
let movingData = indexes.map{ self[$0] }
|
||||||
|
let targetIndex = toIndex - indexes.filter{ $0 < toIndex }.count
|
||||||
|
for (i, e) in indexes.enumerated() {
|
||||||
|
remove(at: e - i)
|
||||||
|
}
|
||||||
|
insert(contentsOf: movingData, at: targetIndex)
|
||||||
|
}
|
||||||
|
}
|
||||||
+52
-12
@@ -26,11 +26,6 @@ struct Stored<T> : Registable {
|
|||||||
let key: String
|
let key: String
|
||||||
let defaultValue: T
|
let defaultValue: T
|
||||||
|
|
||||||
init(key: String, defaultValue: T) {
|
|
||||||
self.key = key
|
|
||||||
self.defaultValue = defaultValue
|
|
||||||
}
|
|
||||||
|
|
||||||
var wrappedValue: T {
|
var wrappedValue: T {
|
||||||
get { ud.object(forKey: key) as? T ?? defaultValue }
|
get { ud.object(forKey: key) as? T ?? defaultValue }
|
||||||
set { ud.set(newValue, forKey: key) }
|
set { ud.set(newValue, forKey: key) }
|
||||||
@@ -41,16 +36,41 @@ struct Stored<T> : Registable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@propertyWrapper
|
||||||
|
struct StoredEnum<T: RawRepresentable> : Registable {
|
||||||
|
let key: String
|
||||||
|
let defaultValue: T
|
||||||
|
|
||||||
|
var wrappedValue: T {
|
||||||
|
get { T(rawValue: (ud.object(forKey: key) as? T.RawValue) ?? defaultValue.rawValue) ?? defaultValue }
|
||||||
|
set { ud.set(newValue.rawValue, forKey: key) }
|
||||||
|
}
|
||||||
|
|
||||||
|
func register(in dictionary: inout [String :Any]) {
|
||||||
|
dictionary[key] = defaultValue.rawValue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@propertyWrapper
|
||||||
|
struct StoredURL : Registable {
|
||||||
|
let key: String
|
||||||
|
let defaultValue: URL?
|
||||||
|
|
||||||
|
var wrappedValue: URL? {
|
||||||
|
get { ud.url(forKey: key) ?? defaultValue }
|
||||||
|
set { ud.set(newValue, forKey: key) }
|
||||||
|
}
|
||||||
|
|
||||||
|
func register(in dictionary: inout [String :Any]) {
|
||||||
|
dictionary[key] = defaultValue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@propertyWrapper
|
@propertyWrapper
|
||||||
struct StoredCodable<T: Codable> : Registable {
|
struct StoredCodable<T: Codable> : Registable {
|
||||||
let key: String
|
let key: String
|
||||||
let defaultValue: T
|
let defaultValue: T
|
||||||
|
|
||||||
init(key: String, defaultValue: T) {
|
|
||||||
self.key = key
|
|
||||||
self.defaultValue = defaultValue
|
|
||||||
}
|
|
||||||
|
|
||||||
var wrappedValue: T {
|
var wrappedValue: T {
|
||||||
get {
|
get {
|
||||||
guard let data = ud.data(forKey: key) else { return defaultValue }
|
guard let data = ud.data(forKey: key) else { return defaultValue }
|
||||||
@@ -70,6 +90,12 @@ struct StoredCodable<T: Codable> : Registable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum SaveAsLocation: Int {
|
||||||
|
case automatic = 0
|
||||||
|
case sameAsFile = 1
|
||||||
|
case custom = 2
|
||||||
|
}
|
||||||
|
|
||||||
enum Prefs {
|
enum Prefs {
|
||||||
|
|
||||||
static func register() {
|
static func register() {
|
||||||
@@ -78,7 +104,7 @@ enum Prefs {
|
|||||||
_audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts,
|
_audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts,
|
||||||
_audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition,
|
_audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition,
|
||||||
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1,
|
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1,
|
||||||
_logFormat])
|
_logFormat, _saveAsLocation, _set4KHDVideoMetadata])
|
||||||
}
|
}
|
||||||
|
|
||||||
@Stored(key: "NSApplicationCrashOnException", defaultValue: true)
|
@Stored(key: "NSApplicationCrashOnException", defaultValue: true)
|
||||||
@@ -150,6 +176,9 @@ enum Prefs {
|
|||||||
@Stored(key: "SBForceHvc1", defaultValue: true)
|
@Stored(key: "SBForceHvc1", defaultValue: true)
|
||||||
static var forceHvc1: Bool
|
static var forceHvc1: Bool
|
||||||
|
|
||||||
|
@Stored(key: "SBSet4KHDVideoMetadata", defaultValue: false)
|
||||||
|
static var set4KHDVideoMetadata: Bool
|
||||||
|
|
||||||
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
|
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
|
||||||
static var artworkSelectorZoomLevel: Float
|
static var artworkSelectorZoomLevel: Float
|
||||||
|
|
||||||
@@ -161,6 +190,13 @@ enum Prefs {
|
|||||||
|
|
||||||
@Stored(key: "SBLogFormat", defaultValue: 0)
|
@Stored(key: "SBLogFormat", defaultValue: 0)
|
||||||
static var logFormat: Int // 0 = Time Only, 1 = Date and Time
|
static var logFormat: Int // 0 = Time Only, 1 = Date and Time
|
||||||
|
|
||||||
|
@StoredEnum(key: "SBSaveAsLocationMode", defaultValue: .automatic)
|
||||||
|
static var saveAsLocation: SaveAsLocation
|
||||||
|
|
||||||
|
/// The folder used when saveAsLocation is set to custom.
|
||||||
|
@StoredURL(key: "SBSaveAsCustomLocation", defaultValue: nil)
|
||||||
|
static var saveAsCustomLocation: URL?
|
||||||
}
|
}
|
||||||
|
|
||||||
enum MetadataPrefs {
|
enum MetadataPrefs {
|
||||||
@@ -170,7 +206,8 @@ enum MetadataPrefs {
|
|||||||
_movieImporter, _movieiTunesStoreLanguage,
|
_movieImporter, _movieiTunesStoreLanguage,
|
||||||
_tvShowImporter, _tvShowiTunesStoreLanguage,
|
_tvShowImporter, _tvShowiTunesStoreLanguage,
|
||||||
_tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
|
_tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
|
||||||
_keepEmptyAnnotations, _keepImportedFilesMetadata])
|
_keepEmptyAnnotations, _overwriteExistingAnnotations,
|
||||||
|
_keepImportedFilesMetadata])
|
||||||
}
|
}
|
||||||
|
|
||||||
@StoredCodable(key: "SBMovieFormatTokens", defaultValue: [Token(text: "{Name}")])
|
@StoredCodable(key: "SBMovieFormatTokens", defaultValue: [Token(text: "{Name}")])
|
||||||
@@ -219,6 +256,9 @@ enum MetadataPrefs {
|
|||||||
@Stored(key: "SBMetadataKeepEmptyAnnotations", defaultValue: false)
|
@Stored(key: "SBMetadataKeepEmptyAnnotations", defaultValue: false)
|
||||||
static var keepEmptyAnnotations: Bool
|
static var keepEmptyAnnotations: Bool
|
||||||
|
|
||||||
|
@Stored(key: "SBMetadataOverwriteExistingAnnotations", defaultValue: true)
|
||||||
|
static var overwriteExistingAnnotations: Bool
|
||||||
|
|
||||||
@Stored(key: "SBFileImporterImportMetadata", defaultValue: false)
|
@Stored(key: "SBFileImporterImportMetadata", defaultValue: false)
|
||||||
static var keepImportedFilesMetadata: Bool
|
static var keepImportedFilesMetadata: Bool
|
||||||
}
|
}
|
||||||
@@ -117,12 +117,12 @@ final class PresetManager {
|
|||||||
let resourceValues = try fileURL.resourceValues(forKeys: [.isDirectoryKey])
|
let resourceValues = try fileURL.resourceValues(forKeys: [.isDirectoryKey])
|
||||||
if resourceValues.isDirectory == false, let version = version(of: fileURL) {
|
if resourceValues.isDirectory == false, let version = version(of: fileURL) {
|
||||||
let data = try Data(contentsOf: fileURL)
|
let data = try Data(contentsOf: fileURL)
|
||||||
let unarchiver = NSKeyedUnarchiver(forReadingWith: data)
|
if let unarchiver = try? NSKeyedUnarchiver(forReadingFrom: data) {
|
||||||
unarchiver.requiresSecureCoding = true
|
defer { unarchiver.finishDecoding() }
|
||||||
defer { unarchiver.finishDecoding() }
|
|
||||||
|
|
||||||
if version == 2, let preset = try? unarchiver.decodeTopLevelObject(of: [MetadataPreset.self], forKey: NSKeyedArchiveRootObjectKey) as? MetadataPreset {
|
if version == 2, let preset = try? unarchiver.decodeTopLevelObject(of: [MetadataPreset.self], forKey: NSKeyedArchiveRootObjectKey) as? MetadataPreset {
|
||||||
return preset
|
return preset
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw LoadError.unsupportedFile
|
throw LoadError.unsupportedFile
|
||||||
@@ -148,13 +148,11 @@ final class PresetManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func save(preset: Preset) throws {
|
private func save(preset: Preset) throws {
|
||||||
let data = NSMutableData()
|
let archiver = NSKeyedArchiver(requiringSecureCoding: true)
|
||||||
let archiver = NSKeyedArchiver(forWritingWith: data)
|
|
||||||
archiver.requiresSecureCoding = true
|
|
||||||
archiver.encode(preset, forKey: NSKeyedArchiveRootObjectKey)
|
archiver.encode(preset, forKey: NSKeyedArchiveRootObjectKey)
|
||||||
archiver.finishEncoding()
|
archiver.finishEncoding()
|
||||||
|
|
||||||
try data.write(to: preset.fileURL, options: [.atomic])
|
try archiver.encodedData.write(to: preset.fileURL, options: [.atomic])
|
||||||
preset.changed = false
|
preset.changed = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -159,7 +159,10 @@ class PresetPrefsViewController: NSViewController, SectionsTableViewDataSource,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
let count = presetManager.metadataPresets.count + presetManager.queuePresets.count
|
||||||
|
if let index = rowIndexes.last, index < count {
|
||||||
|
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func editPreset(_ sender: NSView) {
|
@IBAction func editPreset(_ sender: NSView) {
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
<customObject id="-2" userLabel="File's Owner" customClass="ChapterViewController" customModule="Subler" customModuleProvider="target">
|
<customObject id="-2" userLabel="File's Owner" customClass="ChapterViewController" customModule="Subler" customModuleProvider="target">
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="actions" destination="IvH-Ff-dyN" id="EiR-xB-dq9"/>
|
||||||
<outlet property="removeChapter" destination="31" id="faJ-CI-g36"/>
|
<outlet property="removeChapter" destination="31" id="faJ-CI-g36"/>
|
||||||
<outlet property="tabView" destination="10" id="CC8-n9-JPu"/>
|
<outlet property="tabView" destination="10" id="CC8-n9-JPu"/>
|
||||||
<outlet property="tableView" destination="22" id="7Za-v5-yKx"/>
|
<outlet property="tableView" destination="22" id="7Za-v5-yKx"/>
|
||||||
@@ -30,13 +31,13 @@
|
|||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
|
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
|
||||||
<rect key="frame" x="17" y="40" width="719" height="191"/>
|
<rect key="frame" x="17" y="44" width="719" height="187"/>
|
||||||
<clipView key="contentView" id="gfP-N5-8Ji">
|
<clipView key="contentView" id="gfP-N5-8Ji">
|
||||||
<rect key="frame" x="1" y="1" width="717" height="189"/>
|
<rect key="frame" x="1" y="1" width="717" height="185"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnSelection="YES" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="717" height="172"/>
|
<rect key="frame" x="0.0" y="0.0" width="717" height="168"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<size key="intercellSpacing" width="3" height="2"/>
|
<size key="intercellSpacing" width="3" height="2"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
@@ -383,7 +384,7 @@
|
|||||||
</tableHeaderView>
|
</tableHeaderView>
|
||||||
</scrollView>
|
</scrollView>
|
||||||
<button toolTip="Add chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="42">
|
<button toolTip="Add chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="42">
|
||||||
<rect key="frame" x="11" y="9" width="36" height="27"/>
|
<rect key="frame" x="17" y="16" width="32" height="20"/>
|
||||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
|
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="smallSystem"/>
|
<font key="font" metaFont="smallSystem"/>
|
||||||
@@ -393,7 +394,7 @@
|
|||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
|
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
|
||||||
<rect key="frame" x="70" y="12" width="45" height="22"/>
|
<rect key="frame" x="90" y="16" width="53" height="20"/>
|
||||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
|
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="controlContent" size="11"/>
|
<font key="font" metaFont="controlContent" size="11"/>
|
||||||
@@ -413,7 +414,7 @@
|
|||||||
</popUpButtonCell>
|
</popUpButtonCell>
|
||||||
</popUpButton>
|
</popUpButton>
|
||||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
||||||
<rect key="frame" x="36" y="9" width="36" height="27"/>
|
<rect key="frame" x="50" y="16" width="32" height="20"/>
|
||||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
|
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="smallSystem"/>
|
<font key="font" metaFont="smallSystem"/>
|
||||||
|
|||||||
@@ -8,16 +8,21 @@
|
|||||||
import Cocoa
|
import Cocoa
|
||||||
import MP42Foundation
|
import MP42Foundation
|
||||||
|
|
||||||
final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTableViewDelegate {
|
final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTableViewDelegate, ExpandedTableViewDelegate {
|
||||||
|
|
||||||
var track: MP42ChapterTrack {
|
var track: MP42ChapterTrack {
|
||||||
didSet {
|
didSet {
|
||||||
|
let indexes = tableView.selectedRowIndexes
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
|
if let last = indexes.last, last < track.chapters.count {
|
||||||
|
tableView.selectRowIndexes(indexes, byExtendingSelection: false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBOutlet var tableView: ExpandedTableView!
|
@IBOutlet var tableView: ExpandedTableView!
|
||||||
@IBOutlet var removeChapter: NSButton!
|
@IBOutlet var removeChapter: NSButton!
|
||||||
|
@IBOutlet var actions: NSPopUpButton!
|
||||||
|
|
||||||
override var nibName: NSNib.Name? {
|
override var nibName: NSNib.Name? {
|
||||||
return "ChapterView"
|
return "ChapterView"
|
||||||
@@ -36,6 +41,10 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
|||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
tableView.defaultEditingColumn = 1
|
tableView.defaultEditingColumn = 1
|
||||||
tableView.doubleAction = #selector(doubleClickAction(_:))
|
tableView.doubleAction = #selector(doubleClickAction(_:))
|
||||||
|
|
||||||
|
if #available(macOS 26, *) {
|
||||||
|
actions.menu?.items.first?.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Table View
|
// MARK: Table View
|
||||||
@@ -77,7 +86,6 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
|||||||
track.setTitle(sender.stringValue, forChapter: chapter)
|
track.setTitle(sender.stringValue, forChapter: chapter)
|
||||||
|
|
||||||
tableView.reloadData(forRowIndexes: IndexSet(integer: row), columnIndexes: IndexSet(integer: 1))
|
tableView.reloadData(forRowIndexes: IndexSet(integer: row), columnIndexes: IndexSet(integer: 1))
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,7 +97,6 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
|||||||
track.setTimestamp(timestamp, forChapter: chapter)
|
track.setTimestamp(timestamp, forChapter: chapter)
|
||||||
|
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -99,30 +106,29 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Actions
|
func deleteSelection(in tableview: NSTableView) {
|
||||||
|
let indexes = tableView.selectedRowIndexes
|
||||||
private func updateChangeCount() {
|
if indexes.isEmpty == false {
|
||||||
view.window?.windowController?.document?.updateChangeCount(NSDocument.ChangeType.changeDone)
|
track.removeChapters(at: indexes)
|
||||||
}
|
|
||||||
|
|
||||||
@IBAction func removeChapter(_ sender: Any) {
|
|
||||||
let currentIndex = tableView.selectedRow
|
|
||||||
if currentIndex < track.chapterCount() {
|
|
||||||
track.removeChapter(at: UInt(currentIndex))
|
|
||||||
|
|
||||||
let indexes = IndexSet(integer: currentIndex)
|
|
||||||
tableView.removeRows(at: indexes, withAnimation: NSTableView.AnimationOptions.slideUp)
|
tableView.removeRows(at: indexes, withAnimation: NSTableView.AnimationOptions.slideUp)
|
||||||
tableView.selectRowIndexes(indexes, byExtendingSelection: false)
|
if let index = indexes.first, index < track.chapters.count {
|
||||||
|
tableView.selectRowIndexes(IndexSet(integer: index), byExtendingSelection: false)
|
||||||
updateChangeCount()
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func addChapter(_ sender: Any) {
|
// MARK: Actions
|
||||||
track.addChapter("Chapter", timestamp: 0)
|
|
||||||
|
|
||||||
tableView.reloadData()
|
@IBAction func removeChapter(_ sender: Any) {
|
||||||
updateChangeCount()
|
deleteSelection(in: tableView)
|
||||||
|
}
|
||||||
|
|
||||||
|
@IBAction func addChapter(_ sender: Any) {
|
||||||
|
let index = track.addChapter("Chapter", timestamp: 0)
|
||||||
|
let indexSet = IndexSet(integer: Int(index))
|
||||||
|
tableView.insertRows(at: indexSet, withAnimation: .slideDown)
|
||||||
|
tableView.selectRowIndexes(indexSet, byExtendingSelection: false)
|
||||||
|
view.window?.makeFirstResponder(tableView)
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func renameChapters(_ sender: Any) {
|
@IBAction func renameChapters(_ sender: Any) {
|
||||||
@@ -131,7 +137,6 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
|||||||
track.setTitle(title, forChapter: chapter)
|
track.setTitle(title, forChapter: chapter)
|
||||||
}
|
}
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -176,7 +176,5 @@ final class MediaTagsController: NSViewController, NSTableViewDataSource, NSTabl
|
|||||||
private func updateTrack() {
|
private func updateTrack() {
|
||||||
let updatedTags = tags.filter { $0.state }.map { $0.value }
|
let updatedTags = tags.filter { $0.state }.map { $0.value }
|
||||||
track.mediaCharacteristicTags = Set(updatedTags)
|
track.mediaCharacteristicTags = Set(updatedTags)
|
||||||
|
|
||||||
view.window?.windowController?.document?.updateChangeCount(.changeDone)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,13 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
|
|
||||||
var metadata: MP42Metadata {
|
var metadata: MP42Metadata {
|
||||||
didSet {
|
didSet {
|
||||||
|
let metadataIndexes = self.metadataTableView.selectedRowIndexes
|
||||||
|
// let artworkIndexes = self.artworksView.selectionIndexPaths;
|
||||||
reloadData()
|
reloadData()
|
||||||
|
if let last = metadataIndexes.last, last < tags.count {
|
||||||
|
self.metadataTableView.selectRowIndexes(metadataIndexes, byExtendingSelection: false)
|
||||||
|
}
|
||||||
|
// self.artworksView.selectItems(at: artworkIndexes, scrollPosition: .top)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -116,6 +122,10 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if #available(macOS 26, *) {
|
||||||
|
setsPopUp.menu?.items.first?.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
|
||||||
|
}
|
||||||
|
|
||||||
columnWidth = column.width
|
columnWidth = column.width
|
||||||
|
|
||||||
metadataTableView.defaultEditingColumn = 1
|
metadataTableView.defaultEditingColumn = 1
|
||||||
@@ -148,7 +158,11 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
metadataTableView.reloadData()
|
metadataTableView.reloadData()
|
||||||
updateArtworksArray()
|
updateArtworksArray()
|
||||||
artworksView.reloadData()
|
artworksView.reloadData()
|
||||||
view.undoManager?.removeAllActions(withTarget: self)
|
updateUI()
|
||||||
|
}
|
||||||
|
|
||||||
|
private func updateUI() {
|
||||||
|
removeTagButton.isEnabled = self.metadataTableView.selectedRow != -1
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Metadata
|
// MARK: Metadata
|
||||||
@@ -176,17 +190,6 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
metadata.addItem(item)
|
metadata.addItem(item)
|
||||||
rowHeights[item.identifier] = nil
|
rowHeights[item.identifier] = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.remove(metadataItems: items)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Insert", comment: "Undo tag insert."))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateMetadataArray()
|
updateMetadataArray()
|
||||||
metadataTableView.reloadData()
|
metadataTableView.reloadData()
|
||||||
}
|
}
|
||||||
@@ -195,38 +198,19 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
for item in items {
|
for item in items {
|
||||||
metadata.removeItem(item)
|
metadata.removeItem(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.add(metadataItems: items)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Delete", comment: "Undo tag delete."))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateMetadataArray()
|
updateMetadataArray()
|
||||||
|
let index = metadataTableView.selectedRowIndexes.first ?? 0
|
||||||
metadataTableView.reloadData()
|
metadataTableView.reloadData()
|
||||||
|
if index < tags.count {
|
||||||
|
metadataTableView.selectRowIndexes(IndexSet(integer: index), byExtendingSelection: false)
|
||||||
|
}
|
||||||
|
updateUI()
|
||||||
}
|
}
|
||||||
|
|
||||||
private func replace(metadataItem item: MP42MetadataItem, withItem newItem: MP42MetadataItem) {
|
private func replace(metadataItem item: MP42MetadataItem, withItem newItem: MP42MetadataItem) {
|
||||||
metadata.removeItem(item)
|
metadata.removeItem(item)
|
||||||
metadata.addItem(newItem)
|
metadata.addItem(newItem)
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.replace(metadataItem: newItem, withItem: item)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Editing", comment: "Undo tag editing."))
|
|
||||||
view.window?.windowController?.document?.updateChangeCount(.changeDone)
|
|
||||||
} else {
|
|
||||||
view.window?.windowController?.document?.updateChangeCount(.changeUndone)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateMetadataArray()
|
updateMetadataArray()
|
||||||
|
|
||||||
NSAnimationContext.beginGrouping()
|
NSAnimationContext.beginGrouping()
|
||||||
@@ -830,8 +814,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
}
|
}
|
||||||
|
|
||||||
func tableViewSelectionDidChange(_ notification: Notification) {
|
func tableViewSelectionDidChange(_ notification: Notification) {
|
||||||
let enabled = metadataTableView.selectedRow != -1 ? true : false
|
updateUI()
|
||||||
removeTagButton.isEnabled = enabled
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: Artworks
|
// MARK: Artworks
|
||||||
@@ -842,34 +825,12 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
|
|
||||||
private func add(metadataArtworks items: [MP42MetadataItem]) {
|
private func add(metadataArtworks items: [MP42MetadataItem]) {
|
||||||
metadata.addItems(items)
|
metadata.addItems(items)
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.remove(metadataArtworks: items)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Insert", comment: "Undo cover art insert."))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateArtworksArray()
|
updateArtworksArray()
|
||||||
artworksView.reloadData()
|
artworksView.reloadData()
|
||||||
}
|
}
|
||||||
|
|
||||||
private func remove(metadataArtworks items: [MP42MetadataItem]) {
|
private func remove(metadataArtworks items: [MP42MetadataItem]) {
|
||||||
metadata.removeItems(items)
|
metadata.removeItems(items)
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.add(metadataArtworks: items)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Delete", comment: "Undo cover art delete"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateArtworksArray()
|
updateArtworksArray()
|
||||||
artworksView.reloadData()
|
artworksView.reloadData()
|
||||||
updateSelection()
|
updateSelection()
|
||||||
@@ -878,17 +839,6 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
private func replace(metadataArtworks items: [MP42MetadataItem], withItems newItems: [MP42MetadataItem]) {
|
private func replace(metadataArtworks items: [MP42MetadataItem], withItems newItems: [MP42MetadataItem]) {
|
||||||
metadata.removeItems(items)
|
metadata.removeItems(items)
|
||||||
metadata.addItems(newItems)
|
metadata.addItems(newItems)
|
||||||
|
|
||||||
if let undo = view.undoManager {
|
|
||||||
undo.registerUndo(withTarget: self) { (target) in
|
|
||||||
target.replace(metadataArtworks: newItems, withItems: items)
|
|
||||||
}
|
|
||||||
|
|
||||||
if undo.isUndoing == false {
|
|
||||||
undo.setActionName(NSLocalizedString("Move", comment: "Undo cover art delete"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateArtworksArray()
|
updateArtworksArray()
|
||||||
artworksView.reloadData()
|
artworksView.reloadData()
|
||||||
updateSelection()
|
updateSelection()
|
||||||
@@ -901,9 +851,18 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
private func add(artworks: [Any], toIndexPath: IndexPath) -> Bool {
|
private func add(artworks: [Any], toIndexPath: IndexPath) -> Bool {
|
||||||
let items = artworks.compactMap { (artwork: Any) -> MP42Image? in
|
let items = artworks.compactMap { (artwork: Any) -> MP42Image? in
|
||||||
if let url = artwork as? URL {
|
if let url = artwork as? URL {
|
||||||
let value = try? url.resourceValues(forKeys: [URLResourceKey.typeIdentifierKey])
|
var isJpeg = false
|
||||||
|
if #available(macOS 11, *) {
|
||||||
|
let value = try? url.resourceValues(forKeys: [URLResourceKey.contentTypeKey])
|
||||||
|
isJpeg = value?.contentType?.conforms(to: .jpeg) ?? false
|
||||||
|
} else {
|
||||||
|
let value = try? url.resourceValues(forKeys: [URLResourceKey.typeIdentifierKey])
|
||||||
|
if let type = value?.typeIdentifier, UTTypeConformsTo(type as CFString, "public.jpeg" as CFString) {
|
||||||
|
isJpeg = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if let type = value?.typeIdentifier, UTTypeConformsTo(type as CFString, "public.jpeg" as CFString), let data = try? Data(contentsOf: url) {
|
if isJpeg, let data = try? Data(contentsOf: url) {
|
||||||
return MP42Image(data: data, type: MP42_ART_JPEG)
|
return MP42Image(data: data, type: MP42_ART_JPEG)
|
||||||
} else if let image = NSImage(contentsOf: url) {
|
} else if let image = NSImage(contentsOf: url) {
|
||||||
return MP42Image(image: image)
|
return MP42Image(image: image)
|
||||||
@@ -932,7 +891,11 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
panel.allowsMultipleSelection = true
|
panel.allowsMultipleSelection = true
|
||||||
panel.canChooseFiles = true
|
panel.canChooseFiles = true
|
||||||
panel.canChooseDirectories = false
|
panel.canChooseDirectories = false
|
||||||
panel.allowedFileTypes = ["public.image"]
|
if #available(macOS 11, *) {
|
||||||
|
panel.allowedContentTypes = [.image]
|
||||||
|
} else {
|
||||||
|
panel.allowedFileTypes = ["public.image"]
|
||||||
|
}
|
||||||
|
|
||||||
guard let window = view.window else { return }
|
guard let window = view.window else { return }
|
||||||
|
|
||||||
@@ -994,14 +957,11 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
func filePromiseProvider(_ filePromiseProvider: NSFilePromiseProvider, writePromiseTo url: URL, completionHandler: @escaping (Error?) -> Void) {
|
func filePromiseProvider(_ filePromiseProvider: NSFilePromiseProvider, writePromiseTo url: URL, completionHandler: @escaping (Error?) -> Void) {
|
||||||
if let userInfo = filePromiseProvider.userInfo as? [String: AnyObject] {
|
if let userInfo = filePromiseProvider.userInfo as? [String: AnyObject] {
|
||||||
do {
|
do {
|
||||||
if let indexPathData = userInfo[FilePromiseProvider.UserInfoKeys.indexPathKey] as? Data {
|
if let indexPathData = userInfo[FilePromiseProvider.UserInfoKeys.indexPathKey] as? Data,
|
||||||
if let indexPath = try NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(indexPathData) as? IndexPath {
|
let indexPath = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [NSIndexPath.classForCoder()], from: indexPathData) as? IndexPath,
|
||||||
let item = artworks[indexPath.last!]
|
let image = artworks[indexPath.last!].imageValue {
|
||||||
if let image = item.imageValue {
|
try image.data?.write(to: url)
|
||||||
try image.data?.write(to: url)
|
completionHandler(nil)
|
||||||
completionHandler(nil)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
fatalError("failed to unarchive indexPath from promise provider.")
|
fatalError("failed to unarchive indexPath from promise provider.")
|
||||||
@@ -1114,7 +1074,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
if let pasteboardItem = draggingItem.item as? NSPasteboardItem {
|
if let pasteboardItem = draggingItem.item as? NSPasteboardItem {
|
||||||
do {
|
do {
|
||||||
if let indexPathData = pasteboardItem.data(forType: .artworkDragType),
|
if let indexPathData = pasteboardItem.data(forType: .artworkDragType),
|
||||||
let itemIndexPath = try NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(indexPathData) as? IndexPath {
|
let itemIndexPath = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [NSIndexPath.classForCoder()], from:indexPathData) as? IndexPath {
|
||||||
indexes.insert(itemIndexPath)
|
indexes.insert(itemIndexPath)
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
@@ -1246,7 +1206,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
for pasteboardItem in items {
|
for pasteboardItem in items {
|
||||||
do {
|
do {
|
||||||
if let indexPathData = pasteboardItem.data(forType: .artworkDragType),
|
if let indexPathData = pasteboardItem.data(forType: .artworkDragType),
|
||||||
let itemIndexPath = try NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(indexPathData) as? IndexPath {
|
let itemIndexPath = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [NSIndexPath.classForCoder()], from:indexPathData) as? IndexPath {
|
||||||
indexes.insert(itemIndexPath)
|
indexes.insert(itemIndexPath)
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
@@ -1319,4 +1279,9 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func collectionViewCut(in collectionView: NSCollectionView) {
|
||||||
|
collectionViewCopy(in: collectionView)
|
||||||
|
collectionViewDelete(in: collectionView)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -118,15 +118,10 @@ final class SoundViewController : PropertyView {
|
|||||||
|
|
||||||
// MARK: Actions
|
// MARK: Actions
|
||||||
|
|
||||||
private func updateChangeCount() {
|
|
||||||
view.window?.windowController?.document?.updateChangeCount(NSDocument.ChangeType.changeDone)
|
|
||||||
}
|
|
||||||
|
|
||||||
@IBAction func setTrackVolume(_ sender: NSSlider) {
|
@IBAction func setTrackVolume(_ sender: NSSlider) {
|
||||||
let value = sender.floatValue / 100
|
let value = sender.floatValue / 100
|
||||||
if value != track.volume {
|
if value != track.volume {
|
||||||
track.volume = value
|
track.volume = value
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,12 +129,10 @@ final class SoundViewController : PropertyView {
|
|||||||
if let newFallbackTrack = sender.representedObject as? MP42AudioTrack {
|
if let newFallbackTrack = sender.representedObject as? MP42AudioTrack {
|
||||||
if newFallbackTrack != track.fallbackTrack {
|
if newFallbackTrack != track.fallbackTrack {
|
||||||
track.fallbackTrack = newFallbackTrack
|
track.fallbackTrack = newFallbackTrack
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
track.fallbackTrack = nil
|
track.fallbackTrack = nil
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,12 +140,10 @@ final class SoundViewController : PropertyView {
|
|||||||
if let newFollowsTrack = sender.representedObject as? MP42SubtitleTrack {
|
if let newFollowsTrack = sender.representedObject as? MP42SubtitleTrack {
|
||||||
if newFollowsTrack != track.followsTrack {
|
if newFollowsTrack != track.followsTrack {
|
||||||
track.followsTrack = newFollowsTrack
|
track.followsTrack = newFollowsTrack
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
track.followsTrack = nil
|
track.followsTrack = nil
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -160,7 +151,6 @@ final class SoundViewController : PropertyView {
|
|||||||
if let group = sender.selectedItem?.tag {
|
if let group = sender.selectedItem?.tag {
|
||||||
if track.alternateGroup != group {
|
if track.alternateGroup != group {
|
||||||
track.alternateGroup = UInt64(group)
|
track.alternateGroup = UInt64(group)
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -254,10 +254,6 @@ final class VideoViewController: PropertyView {
|
|||||||
|
|
||||||
// MARK: Actions
|
// MARK: Actions
|
||||||
|
|
||||||
private func updateChangeCount() {
|
|
||||||
view.window?.windowController?.document?.updateChangeCount(NSDocument.ChangeType.changeDone)
|
|
||||||
}
|
|
||||||
|
|
||||||
@IBAction func setSize(_ sender: NSTextField) {
|
@IBAction func setSize(_ sender: NSTextField) {
|
||||||
if sender == trackWidth {
|
if sender == trackWidth {
|
||||||
let value = trackWidth.floatValue
|
let value = trackWidth.floatValue
|
||||||
@@ -267,13 +263,11 @@ final class VideoViewController: PropertyView {
|
|||||||
trackHeight.floatValue = track.trackHeight
|
trackHeight.floatValue = track.trackHeight
|
||||||
}
|
}
|
||||||
track.trackWidth = value
|
track.trackWidth = value
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
} else if sender == trackHeight {
|
} else if sender == trackHeight {
|
||||||
let value = trackHeight.floatValue
|
let value = trackHeight.floatValue
|
||||||
if track.trackHeight != value {
|
if track.trackHeight != value {
|
||||||
track.trackHeight = value
|
track.trackHeight = value
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
} else if sender == offsetX {
|
} else if sender == offsetX {
|
||||||
let value = CGFloat(offsetX.integerValue)
|
let value = CGFloat(offsetX.integerValue)
|
||||||
@@ -281,7 +275,6 @@ final class VideoViewController: PropertyView {
|
|||||||
var transform = track.transform
|
var transform = track.transform
|
||||||
transform.tx = value
|
transform.tx = value
|
||||||
track.transform = transform
|
track.transform = transform
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
} else if sender == offsetY {
|
} else if sender == offsetY {
|
||||||
let value = CGFloat(offsetY.integerValue)
|
let value = CGFloat(offsetY.integerValue)
|
||||||
@@ -289,7 +282,6 @@ final class VideoViewController: PropertyView {
|
|||||||
var transform = track.transform
|
var transform = track.transform
|
||||||
transform.ty = value
|
transform.ty = value
|
||||||
track.transform = transform
|
track.transform = transform
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -299,14 +291,12 @@ final class VideoViewController: PropertyView {
|
|||||||
let value = UInt64(hSpacing.integerValue)
|
let value = UInt64(hSpacing.integerValue)
|
||||||
if track.hSpacing != value {
|
if track.hSpacing != value {
|
||||||
track.hSpacing = value
|
track.hSpacing = value
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if sender == vSpacing {
|
else if sender == vSpacing {
|
||||||
let value = UInt64(vSpacing.intValue)
|
let value = UInt64(vSpacing.intValue)
|
||||||
if track.vSpacing != value {
|
if track.vSpacing != value {
|
||||||
track.vSpacing = value
|
track.vSpacing = value
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -346,7 +336,6 @@ final class VideoViewController: PropertyView {
|
|||||||
track.colorPrimaries = colorTag.0
|
track.colorPrimaries = colorTag.0
|
||||||
track.transferCharacteristics = colorTag.1
|
track.transferCharacteristics = colorTag.1
|
||||||
track.matrixCoefficients = colorTag.2
|
track.matrixCoefficients = colorTag.2
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -370,7 +359,6 @@ final class VideoViewController: PropertyView {
|
|||||||
default:
|
default:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func setForcedSubtitles(_ sender: NSPopUpButton) {
|
@IBAction func setForcedSubtitles(_ sender: NSPopUpButton) {
|
||||||
@@ -391,7 +379,6 @@ final class VideoViewController: PropertyView {
|
|||||||
if track.someSamplesAreForced != value.0 || track.allSamplesAreForced != value.1 {
|
if track.someSamplesAreForced != value.0 || track.allSamplesAreForced != value.1 {
|
||||||
track.someSamplesAreForced = value.0
|
track.someSamplesAreForced = value.0
|
||||||
track.allSamplesAreForced = value.1
|
track.allSamplesAreForced = value.1
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -401,12 +388,10 @@ final class VideoViewController: PropertyView {
|
|||||||
if let newForcedTrack = sender.representedObject as? MP42SubtitleTrack {
|
if let newForcedTrack = sender.representedObject as? MP42SubtitleTrack {
|
||||||
if newForcedTrack != track.forcedTrack {
|
if newForcedTrack != track.forcedTrack {
|
||||||
track.forcedTrack = newForcedTrack
|
track.forcedTrack = newForcedTrack
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
track.forcedTrack = nil
|
track.forcedTrack = nil
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -415,7 +400,6 @@ final class VideoViewController: PropertyView {
|
|||||||
if let group = sender.selectedItem?.tag {
|
if let group = sender.selectedItem?.tag {
|
||||||
if track.alternateGroup != group {
|
if track.alternateGroup != group {
|
||||||
track.alternateGroup = UInt64(group)
|
track.alternateGroup = UInt64(group)
|
||||||
updateChangeCount()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,40 +2,40 @@
|
|||||||
"4p7-7v-cUB.title" = "Guardar";
|
"4p7-7v-cUB.title" = "Guardar";
|
||||||
|
|
||||||
/* Class = "NSTabViewItem"; label = "Metadata"; ObjectID = "11"; */
|
/* Class = "NSTabViewItem"; label = "Metadata"; ObjectID = "11"; */
|
||||||
"11.label" = "Metadatos";
|
"11.label" = "Etiquetas";
|
||||||
|
|
||||||
/* Class = "NSTabViewItem"; label = "Artwork"; ObjectID = "15"; */
|
/* Class = "NSTabViewItem"; label = "Artwork"; ObjectID = "15"; */
|
||||||
"15.label" = "Ilustración";
|
"15.label" = "Ilustración";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
"30.ibExternalAccessibilityDescription" = "Agregar propiedad";
|
"30.ibExternalAccessibilityDescription" = "Agregar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
"30.ibShadowedToolTip" = "Agregar propiedad";
|
"30.ibShadowedToolTip" = "Agregar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
"53.ibExternalAccessibilityDescription" = "Eliminar propiedad";
|
"53.ibExternalAccessibilityDescription" = "Eliminar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
"53.ibShadowedToolTip" = "Eliminar propiedad";
|
"53.ibShadowedToolTip" = "Eliminar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
||||||
"179.ibExternalAccessibilityDescription" = "Preset";
|
"179.ibExternalAccessibilityDescription" = "Preset";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "aiW-0y-PWH"; */
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "aiW-0y-PWH"; */
|
||||||
"aiW-0y-PWH.title" = "Mantener propiedades existentes";
|
"aiW-0y-PWH.title" = "Mantener etiquetas existentes";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "doa-uZ-CNr"; */
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "doa-uZ-CNr"; */
|
||||||
"doa-uZ-CNr.title" = "Mantener ilustraciones existentes";
|
"doa-uZ-CNr.title" = "Mantener ilustraciones existentes";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
"j7q-XE-YXB.headerCell.title" = "Propiedad";
|
"j7q-XE-YXB.headerCell.title" = "Etiqueta";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
"os0-Yb-exW.headerCell.title" = "Valor";
|
"os0-Yb-exW.headerCell.title" = "Valor";
|
||||||
|
|
||||||
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Metadatos";
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Etiquetas";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "sNX-Z3-AtD"; */
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "sNX-Z3-AtD"; */
|
||||||
"sNX-Z3-AtD.title" = "Cancelar";
|
"sNX-Z3-AtD.title" = "Cancelar";
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
"Fye-Hi-zqu.title" = "Grupo alternativo:";
|
"Fye-Hi-zqu.title" = "Grupo alternativo:";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "You should only change the video profile if you want to load the file onto one of the devices listed and have been unable to do so. However, if the video file uses advanced features of the codec, then the file may still be unplayable on the device."; ObjectID = "gcL-yf-yxF"; */
|
/* Class = "NSTextFieldCell"; title = "You should only change the video profile if you want to load the file onto one of the devices listed and have been unable to do so. However, if the video file uses advanced features of the codec, then the file may still be unplayable on the device."; ObjectID = "gcL-yf-yxF"; */
|
||||||
"gcL-yf-yxF.title" = "Debes cambiar el perfil de vídeo solo si quieres reproducir el archivo en uno de los dispositivos de la lista y no lo has logrado. Sin embargo, si el archivo de vídeo utiliza características avanzadas del códec, es posible que aún no puedas reproducirlo en el dispositivo.";
|
"gcL-yf-yxF.title" = "Debes cambiar el perfil de video solo si quieres reproducir el archivo en uno de los dispositivos de la lista y no lo has logrado. Sin embargo, si el archivo de video utiliza características avanzadas del códec, es posible que aún no puedas reproducirlo en el dispositivo.";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "GfY-OY-SWL"; */
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "GfY-OY-SWL"; */
|
||||||
"GfY-OY-SWL.title" = "x";
|
"GfY-OY-SWL.title" = "x";
|
||||||
@@ -76,6 +76,9 @@
|
|||||||
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
||||||
"ILN-KP-l0z.title" = "x";
|
"ILN-KP-l0z.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "IPT-C2 (9-16-15)"; ObjectID = "J66-Ah-thQ"; */
|
||||||
|
"J66-Ah-thQ.title" = "IPT-C2 (9-16-15)";
|
||||||
|
|
||||||
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
||||||
"KOg-FR-dr6.title" = "No";
|
"KOg-FR-dr6.title" = "No";
|
||||||
|
|
||||||
@@ -107,7 +110,10 @@
|
|||||||
"nr0-Jc-cUj.title" = "Mantener relación de aspecto";
|
"nr0-Jc-cUj.title" = "Mantener relación de aspecto";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
|
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
|
||||||
"nrd-22-FZl.title" = "Perfil/Nivel del vídeo H.264:";
|
"nrd-22-FZl.title" = "Perfil/Nivel del video H.264:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Undefined (2-2-2)"; ObjectID = "Pxl-vS-IAs"; */
|
||||||
|
"Pxl-vS-IAs.title" = "No definido (2-2-2)";
|
||||||
|
|
||||||
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
|
||||||
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "Numerador de relación de aspecto";
|
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "Numerador de relación de aspecto";
|
||||||
|
|||||||
@@ -76,6 +76,9 @@
|
|||||||
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
||||||
"ILN-KP-l0z.title" = "x";
|
"ILN-KP-l0z.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "IPT-C2 (9-16-15)"; ObjectID = "J66-Ah-thQ"; */
|
||||||
|
"J66-Ah-thQ.title" = "IPT-C2 (9-16-15)";
|
||||||
|
|
||||||
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
||||||
"KOg-FR-dr6.title" = "No";
|
"KOg-FR-dr6.title" = "No";
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/* Class = "NSTabViewItem"; label = "Chapters"; ObjectID = "11"; */
|
||||||
|
"11.label" = "Capítulos";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Chapters"; ObjectID = "22"; */
|
||||||
|
"22.ibExternalAccessibilityDescription" = "Capítulos";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Time"; ObjectID = "24"; */
|
||||||
|
"24.headerCell.title" = "Tempo";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Title"; ObjectID = "25"; */
|
||||||
|
"25.headerCell.title" = "Título";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Delete selected chapter"; ObjectID = "31"; */
|
||||||
|
"31.ibShadowedToolTip" = "Remover Capítulo Selecionado";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Add chapter"; ObjectID = "42"; */
|
||||||
|
"42.ibShadowedToolTip" = "Adicionar Capítulo";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rename every chapter"; ObjectID = "SOg-Lz-v5L"; */
|
||||||
|
"SOg-Lz-v5L.title" = "Renomear Capítulos";
|
||||||
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/* Class = "NSButtonCell"; title = "Save"; ObjectID = "4p7-7v-cUB"; */
|
||||||
|
"4p7-7v-cUB.title" = "Salvar";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Metadata"; ObjectID = "11"; */
|
||||||
|
"11.label" = "Tags";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Artwork"; ObjectID = "15"; */
|
||||||
|
"15.label" = "Capa";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibExternalAccessibilityDescription" = "Adicionar Tag";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibShadowedToolTip" = "Adicionar Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibExternalAccessibilityDescription" = "Remover Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibShadowedToolTip" = "Remover Tag";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
||||||
|
"179.ibExternalAccessibilityDescription" = "Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "aiW-0y-PWH"; */
|
||||||
|
"aiW-0y-PWH.title" = "Manter Tags Existentes";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "doa-uZ-CNr"; */
|
||||||
|
"doa-uZ-CNr.title" = "Manter Capas Existentes";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
|
"j7q-XE-YXB.headerCell.title" = "Tag";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
|
"os0-Yb-exW.headerCell.title" = "Valor";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Tags";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "sNX-Z3-AtD"; */
|
||||||
|
"sNX-Z3-AtD.title" = "Cancelar";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "ZqF-j8-NeN"; */
|
||||||
|
"ZqF-j8-NeN.title" = "Nome:";
|
||||||
|
|
||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "ZRj-hi-qeJ"; */
|
||||||
|
"ZRj-hi-qeJ.title" = "Janela";
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "%lu tracks selected"; ObjectID = "Mo5-ii-LsO"; */
|
||||||
|
"Mo5-ii-LsO.title" = "%lu faixas selecionadas";
|
||||||
|
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/* Class = "NSMenuItem"; title = "3"; ObjectID = "1xu-y0-sPc"; */
|
||||||
|
"1xu-y0-sPc.title" = "3";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "+ 0 db"; ObjectID = "5af-rM-3Vd"; */
|
||||||
|
"5af-rM-3Vd.title" = "+ 0 db";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "+6 db"; ObjectID = "5ZH-ms-h3O"; */
|
||||||
|
"5ZH-ms-h3O.title" = "+6 db";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Sound Settings"; ObjectID = "6"; */
|
||||||
|
"6.label" = "Configurações de som";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Fallback:"; ObjectID = "8KY-0L-cm1"; */
|
||||||
|
"8KY-0L-cm1.title" = "Alternativa:";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Media Characteristics"; ObjectID = "22R-da-Q3B"; */
|
||||||
|
"22R-da-Q3B.label" = "Características da mídia";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Alternate Group:"; ObjectID = "CTV-P7-IaD"; */
|
||||||
|
"CTV-P7-IaD.title" = "Grupo Alternativo:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Subtitles:"; ObjectID = "dbp-55-tUy"; */
|
||||||
|
"dbp-55-tUy.title" = "Legendas:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "-∞ db"; ObjectID = "dCR-ej-bsH"; */
|
||||||
|
"dCR-ej-bsH.title" = "-∞ db";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "4"; ObjectID = "e5A-Zf-BwW"; */
|
||||||
|
"e5A-Zf-BwW.title" = "4";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "5"; ObjectID = "F8Z-GJ-QaV"; */
|
||||||
|
"F8Z-GJ-QaV.title" = "5";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "1"; ObjectID = "mXc-eW-usD"; */
|
||||||
|
"mXc-eW-usD.title" = "1";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "QBa-Jt-TO2"; */
|
||||||
|
"QBa-Jt-TO2.title" = "Nenhum";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Qdb-gu-B3h"; */
|
||||||
|
"Qdb-gu-B3h.title" = "Nenhum";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "6"; ObjectID = "RPZ-ZF-Pvg"; */
|
||||||
|
"RPZ-ZF-Pvg.title" = "6";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "2"; ObjectID = "xjR-b6-VG2"; */
|
||||||
|
"xjR-b6-VG2.title" = "2";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Volume:"; ObjectID = "Z5x-Oq-P8Z"; */
|
||||||
|
"Z5x-Oq-P8Z.title" = "Volume:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Zgh-b7-8aY"; */
|
||||||
|
"Zgh-b7-8aY.title" = "Nenhum";
|
||||||
|
|
||||||
@@ -0,0 +1,162 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Scaled Size:"; ObjectID = "1O9-J3-Plk"; */
|
||||||
|
"1O9-J3-Plk.title" = "Tamanho Escalado:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "3"; ObjectID = "3D2-8h-I0N"; */
|
||||||
|
"3D2-8h-I0N.title" = "3";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Visual Settings"; ObjectID = "6"; */
|
||||||
|
"6.label" = "Configurações Visuais";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "6I1-7O-uon"; */
|
||||||
|
"6I1-7O-uon.title" = "pixels";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Implicit"; ObjectID = "6PY-Np-Y3s"; */
|
||||||
|
"6PY-Np-Y3s.title" = "Implícito";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "7as-HC-onR"; */
|
||||||
|
"7as-HC-onR.title" = "pixels";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "7Ug-k7-d7I"; */
|
||||||
|
"7Ug-k7-d7I.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2020 (9-1-9)"; ObjectID = "8V9-Sh-Mnu"; */
|
||||||
|
"8V9-Sh-Mnu.title" = "Rec. 2020 (9-1-9)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Baseline @ 2.1 (iPod classic, iPod nano)"; ObjectID = "8y5-eT-wSx"; */
|
||||||
|
"8y5-eT-wSx.title" = "Baseline @ 2.1 (iPod classic, iPod nano)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "2"; ObjectID = "a5f-nN-J1C"; */
|
||||||
|
"a5f-nN-J1C.title" = "2";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "4"; ObjectID = "B3w-wZ-pOJ"; */
|
||||||
|
"B3w-wZ-pOJ.title" = "4";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 709 (1-1-1)"; ObjectID = "bc1-gr-6m9"; */
|
||||||
|
"bc1-gr-6m9.title" = "Rec. 709 (1-1-1)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Main @ 3.1 (iPhone, iPod touch, iPad, tv)"; ObjectID = "bMn-03-nc8"; */
|
||||||
|
"bMn-03-nc8.title" = "Main @ 3.1 (iPhone, iPod touch, iPad, tv)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Color Space:"; ObjectID = "BZv-h3-OMk"; */
|
||||||
|
"BZv-h3-OMk.title" = "Espaço de Cores:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2100 PQ (9-16-9)"; ObjectID = "d2S-Qf-ltk"; */
|
||||||
|
"d2S-Qf-ltk.title" = "Rec. 2100 PQ (9-16-9)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "5"; ObjectID = "Ejg-9c-E4w"; */
|
||||||
|
"Ejg-9c-E4w.title" = "5";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "EQ0-oQ-E9J"; */
|
||||||
|
"EQ0-oQ-E9J.title" = "pixels";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "P3-D65 (12-17-6)"; ObjectID = "fNy-M4-iaz"; */
|
||||||
|
"fNy-M4-iaz.title" = "P3-D65 (12-17-6)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Alternate Group:"; ObjectID = "Fye-Hi-zqu"; */
|
||||||
|
"Fye-Hi-zqu.title" = "Grupo Alternativo:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "You should only change the video profile if you want to load the file onto one of the devices listed and have been unable to do so. However, if the video file uses advanced features of the codec, then the file may still be unplayable on the device."; ObjectID = "gcL-yf-yxF"; */
|
||||||
|
"gcL-yf-yxF.title" = "Você só deve alterar o perfil de vídeo se quiser carregar o arquivo em um dos dispositivos listados e não puder fazê-lo. No entanto, se o arquivo de vídeo usar recursos avançados do codec, o arquivo ainda pode não ser reproduzido no dispositivo.";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "GfY-OY-SWL"; */
|
||||||
|
"GfY-OY-SWL.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Forced:"; ObjectID = "gMo-yz-dz5"; */
|
||||||
|
"gMo-yz-dz5.title" = "Forçado:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "H3I-ix-0Ay"; */
|
||||||
|
"H3I-ix-0Ay.title" = "Nenhuma";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Some Samples Are Forced"; ObjectID = "i0h-ag-Pc5"; */
|
||||||
|
"i0h-ag-Pc5.title" = "Algumas amostras são forçadas";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Denominator"; ObjectID = "ifV-jn-Kjv"; */
|
||||||
|
"ifV-jn-Kjv.ibExternalAccessibilityDescription" = "Denominador de proporção";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
||||||
|
"ILN-KP-l0z.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "IPT-C2 (9-16-15)"; ObjectID = "J66-Ah-thQ"; */
|
||||||
|
"J66-Ah-thQ.title" = "IPT-C2 (9-16-15)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
||||||
|
"KOg-FR-dr6.title" = "Não";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "sRGB (1-13-1)"; ObjectID = "l0E-aL-LGd"; */
|
||||||
|
"l0E-aL-LGd.title" = "sRGB (1-13-1)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2100 HLG (9-18-9)"; ObjectID = "lAn-vv-Amd"; */
|
||||||
|
"lAn-vv-Amd.title" = "Rec. 2100 HLG (9-18-9)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "lgq-Fj-LB5"; */
|
||||||
|
"lgq-Fj-LB5.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "All Samples Are Forced"; ObjectID = "MLa-b8-424"; */
|
||||||
|
"MLa-b8-424.title" = "Todas as amostras são forçadas";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "High @ 3.1"; ObjectID = "Mre-1h-VoX"; */
|
||||||
|
"Mre-1h-VoX.title" = "High @ 3.1";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Height"; ObjectID = "n9M-HO-S4Z"; */
|
||||||
|
"n9M-HO-S4Z.ibExternalAccessibilityDescription" = "Altura do Tamanho Escalado";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Current profile: unknown"; ObjectID = "NIA-f8-VWx"; */
|
||||||
|
"NIA-f8-VWx.title" = "Perfil atual: desconhecido";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Forced track:"; ObjectID = "NPR-jz-Ile"; */
|
||||||
|
"NPR-jz-Ile.title" = "Faixa Forçada:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Preserve Aspect Ratio"; ObjectID = "nr0-Jc-cUj"; */
|
||||||
|
"nr0-Jc-cUj.title" = "Preservar a proporção";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
|
||||||
|
"nrd-22-FZl.title" = "Perfil/Nível de Vídeo H.264:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Undefined (2-2-2)"; ObjectID = "Pxl-vS-IAs"; */
|
||||||
|
"Pxl-vS-IAs.title" = "Indefinido (2-2-2)";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
|
||||||
|
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "Numerador de proporção";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Aspect Ratio:"; ObjectID = "Q8w-0e-NRr"; */
|
||||||
|
"Q8w-0e-NRr.title" = "Proporção:";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Offset X"; ObjectID = "qFL-0W-Ye6"; */
|
||||||
|
"qFL-0W-Ye6.ibExternalAccessibilityDescription" = "Deslocamento X";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Width"; ObjectID = "r90-c5-7PH"; */
|
||||||
|
"r90-c5-7PH.ibExternalAccessibilityDescription" = "Largura do tamanho escalado";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "1"; ObjectID = "S4p-0Y-kRW"; */
|
||||||
|
"S4p-0Y-kRW.title" = "1";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Normal Size:"; ObjectID = "soD-gL-b4G"; */
|
||||||
|
"soD-gL-b4G.title" = "Dimensões:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "6"; ObjectID = "sqU-tK-Ekm"; */
|
||||||
|
"sqU-tK-Ekm.title" = "6";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Offset:"; ObjectID = "ubI-H1-utj"; */
|
||||||
|
"ubI-H1-utj.title" = "Deslocamento:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "vVg-S9-JUk"; */
|
||||||
|
"vVg-S9-JUk.title" = "Nenhum";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Offset Y"; ObjectID = "wlV-Oh-ui5"; */
|
||||||
|
"wlV-Oh-ui5.ibExternalAccessibilityDescription" = "Deslocamento Y";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 601 (5-1-6)"; ObjectID = "X7B-de-Yur"; */
|
||||||
|
"X7B-de-Yur.title" = "Rec. 601 (5-1-6)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "High @ 4.1"; ObjectID = "Xeg-lb-cfA"; */
|
||||||
|
"Xeg-lb-cfA.title" = "High @ 4.1";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 601 (6-1-6)"; ObjectID = "XQd-tC-sVM"; */
|
||||||
|
"XQd-tC-sVM.title" = "Rec. 601 (6-1-6)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "P3-DCI (11-17-6)"; ObjectID = "z4V-UV-xor"; */
|
||||||
|
"z4V-UV-xor.title" = "P3-DCI (11-17-6)";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Media Characteristics"; ObjectID = "ZZa-lk-8Uv"; */
|
||||||
|
"ZZa-lk-8Uv.label" = "Características da mídia";
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/* Class = "NSTabViewItem"; label = "Chapters"; ObjectID = "11"; */
|
||||||
|
"11.label" = "章节";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Chapters"; ObjectID = "22"; */
|
||||||
|
"22.ibExternalAccessibilityDescription" = "章节";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Time"; ObjectID = "24"; */
|
||||||
|
"24.headerCell.title" = "时间";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Title"; ObjectID = "25"; */
|
||||||
|
"25.headerCell.title" = "标题";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Delete selected chapter"; ObjectID = "31"; */
|
||||||
|
"31.ibShadowedToolTip" = "删除所选章节";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Add chapter"; ObjectID = "42"; */
|
||||||
|
"42.ibShadowedToolTip" = "添加章节";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rename every chapter"; ObjectID = "SOg-Lz-v5L"; */
|
||||||
|
"SOg-Lz-v5L.title" = "重命名所有章节";
|
||||||
|
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
/* Class = "NSButtonCell"; title = "Save"; ObjectID = "4p7-7v-cUB"; */
|
||||||
|
"4p7-7v-cUB.title" = "存储";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Metadata"; ObjectID = "11"; */
|
||||||
|
"11.label" = "元数据";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Artwork"; ObjectID = "15"; */
|
||||||
|
"15.label" = "插图";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibExternalAccessibilityDescription" = "添加元数据条目";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibShadowedToolTip" = "添加一个新的元数据条目";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibExternalAccessibilityDescription" = "移除所选项";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibShadowedToolTip" = "移除所选项";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
||||||
|
"179.ibExternalAccessibilityDescription" = "预设";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "aiW-0y-PWH"; */
|
||||||
|
"aiW-0y-PWH.title" = "保留现有注释";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "doa-uZ-CNr"; */
|
||||||
|
"doa-uZ-CNr.title" = "保留现有插图";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
|
"j7q-XE-YXB.headerCell.title" = "注释";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
|
"os0-Yb-exW.headerCell.title" = "值";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "元数据";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "sNX-Z3-AtD"; */
|
||||||
|
"sNX-Z3-AtD.title" = "取消";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "ZqF-j8-NeN"; */
|
||||||
|
"ZqF-j8-NeN.title" = "名称:";
|
||||||
|
|
||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "ZRj-hi-qeJ"; */
|
||||||
|
"ZRj-hi-qeJ.title" = "窗口";
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "%lu tracks selected"; ObjectID = "Mo5-ii-LsO"; */
|
||||||
|
"Mo5-ii-LsO.title" = "已选中 %lu 个轨道";
|
||||||
|
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/* Class = "NSMenuItem"; title = "3"; ObjectID = "1xu-y0-sPc"; */
|
||||||
|
"1xu-y0-sPc.title" = "3";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "+ 0 db"; ObjectID = "5af-rM-3Vd"; */
|
||||||
|
"5af-rM-3Vd.title" = "+0 db";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "+6 db"; ObjectID = "5ZH-ms-h3O"; */
|
||||||
|
"5ZH-ms-h3O.title" = "+6 db";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Sound Settings"; ObjectID = "6"; */
|
||||||
|
"6.label" = "声音设置";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Fallback:"; ObjectID = "8KY-0L-cm1"; */
|
||||||
|
"8KY-0L-cm1.title" = "回退:";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Media Characteristics"; ObjectID = "22R-da-Q3B"; */
|
||||||
|
"22R-da-Q3B.label" = "媒体特征";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Alternate Group:"; ObjectID = "CTV-P7-IaD"; */
|
||||||
|
"CTV-P7-IaD.title" = "轨道分组:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Subtitles:"; ObjectID = "dbp-55-tUy"; */
|
||||||
|
"dbp-55-tUy.title" = "字幕:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "-∞ db"; ObjectID = "dCR-ej-bsH"; */
|
||||||
|
"dCR-ej-bsH.title" = "-∞ db";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "4"; ObjectID = "e5A-Zf-BwW"; */
|
||||||
|
"e5A-Zf-BwW.title" = "4";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "5"; ObjectID = "F8Z-GJ-QaV"; */
|
||||||
|
"F8Z-GJ-QaV.title" = "5";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "1"; ObjectID = "mXc-eW-usD"; */
|
||||||
|
"mXc-eW-usD.title" = "1";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "QBa-Jt-TO2"; */
|
||||||
|
"QBa-Jt-TO2.title" = "无";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Qdb-gu-B3h"; */
|
||||||
|
"Qdb-gu-B3h.title" = "无";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "6"; ObjectID = "RPZ-ZF-Pvg"; */
|
||||||
|
"RPZ-ZF-Pvg.title" = "6";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "2"; ObjectID = "xjR-b6-VG2"; */
|
||||||
|
"xjR-b6-VG2.title" = "2";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Volume:"; ObjectID = "Z5x-Oq-P8Z"; */
|
||||||
|
"Z5x-Oq-P8Z.title" = "音量:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Zgh-b7-8aY"; */
|
||||||
|
"Zgh-b7-8aY.title" = "无";
|
||||||
|
|
||||||
@@ -0,0 +1,156 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Scaled Size:"; ObjectID = "1O9-J3-Plk"; */
|
||||||
|
"1O9-J3-Plk.title" = "缩放尺寸:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "3"; ObjectID = "3D2-8h-I0N"; */
|
||||||
|
"3D2-8h-I0N.title" = "3";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Visual Settings"; ObjectID = "6"; */
|
||||||
|
"6.label" = "视觉设置";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "6I1-7O-uon"; */
|
||||||
|
"6I1-7O-uon.title" = "像素";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Implicit"; ObjectID = "6PY-Np-Y3s"; */
|
||||||
|
"6PY-Np-Y3s.title" = "缺省";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "7as-HC-onR"; */
|
||||||
|
"7as-HC-onR.title" = "像素";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "7Ug-k7-d7I"; */
|
||||||
|
"7Ug-k7-d7I.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2020 (9-1-9)"; ObjectID = "8V9-Sh-Mnu"; */
|
||||||
|
"8V9-Sh-Mnu.title" = "Rec. 2020 (9-1-9)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Baseline @ 2.1 (iPod classic, iPod nano)"; ObjectID = "8y5-eT-wSx"; */
|
||||||
|
"8y5-eT-wSx.title" = "Baseline @ 2.1 (iPod classic, iPod nano)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "2"; ObjectID = "a5f-nN-J1C"; */
|
||||||
|
"a5f-nN-J1C.title" = "2";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "4"; ObjectID = "B3w-wZ-pOJ"; */
|
||||||
|
"B3w-wZ-pOJ.title" = "4";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 709 (1-1-1)"; ObjectID = "bc1-gr-6m9"; */
|
||||||
|
"bc1-gr-6m9.title" = "Rec. 709 (1-1-1)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Main @ 3.1 (iPhone, iPod touch, iPad, tv)"; ObjectID = "bMn-03-nc8"; */
|
||||||
|
"bMn-03-nc8.title" = "Main @ 3.1 (iPhone, iPod touch, iPad, tv)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Color Space:"; ObjectID = "BZv-h3-OMk"; */
|
||||||
|
"BZv-h3-OMk.title" = "色域:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2100 PQ (9-16-9)"; ObjectID = "d2S-Qf-ltk"; */
|
||||||
|
"d2S-Qf-ltk.title" = "Rec. 2100 PQ (9-16-9)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "5"; ObjectID = "Ejg-9c-E4w"; */
|
||||||
|
"Ejg-9c-E4w.title" = "5";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "EQ0-oQ-E9J"; */
|
||||||
|
"EQ0-oQ-E9J.title" = "像素";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "P3-D65 (12-17-6)"; ObjectID = "fNy-M4-iaz"; */
|
||||||
|
"fNy-M4-iaz.title" = "P3-D65 (12-17-6)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Alternate Group:"; ObjectID = "Fye-Hi-zqu"; */
|
||||||
|
"Fye-Hi-zqu.title" = "轨道分组:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "You should only change the video profile if you want to load the file onto one of the devices listed and have been unable to do so. However, if the video file uses advanced features of the codec, then the file may still be unplayable on the device."; ObjectID = "gcL-yf-yxF"; */
|
||||||
|
"gcL-yf-yxF.title" = "仅当您要将文件加载到列出的设备之一且无法加载时,才应更改视频配置文件。但是,如果视频文件使用编解码器的高级功能,则该文件可能仍无法在设备上播放。";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "GfY-OY-SWL"; */
|
||||||
|
"GfY-OY-SWL.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Forced:"; ObjectID = "gMo-yz-dz5"; */
|
||||||
|
"gMo-yz-dz5.title" = "强制:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "H3I-ix-0Ay"; */
|
||||||
|
"H3I-ix-0Ay.title" = "无";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Some Samples Are Forced"; ObjectID = "i0h-ag-Pc5"; */
|
||||||
|
"i0h-ag-Pc5.title" = "强制部分样本";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Denominator"; ObjectID = "ifV-jn-Kjv"; */
|
||||||
|
"ifV-jn-Kjv.ibExternalAccessibilityDescription" = "横纵比分母";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "ILN-KP-l0z"; */
|
||||||
|
"ILN-KP-l0z.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "No"; ObjectID = "KOg-FR-dr6"; */
|
||||||
|
"KOg-FR-dr6.title" = "否";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "sRGB (1-13-1)"; ObjectID = "l0E-aL-LGd"; */
|
||||||
|
"l0E-aL-LGd.title" = "sRGB (1-13-1)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 2100 HLG (9-18-9)"; ObjectID = "lAn-vv-Amd"; */
|
||||||
|
"lAn-vv-Amd.title" = "Rec. 2100 HLG (9-18-9)";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "x"; ObjectID = "lgq-Fj-LB5"; */
|
||||||
|
"lgq-Fj-LB5.title" = "x";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "All Samples Are Forced"; ObjectID = "MLa-b8-424"; */
|
||||||
|
"MLa-b8-424.title" = "强制全部样本";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "High @ 3.1"; ObjectID = "Mre-1h-VoX"; */
|
||||||
|
"Mre-1h-VoX.title" = "High @ 3.1";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Height"; ObjectID = "n9M-HO-S4Z"; */
|
||||||
|
"n9M-HO-S4Z.ibExternalAccessibilityDescription" = "缩放尺寸高";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Current profile: unknown"; ObjectID = "NIA-f8-VWx"; */
|
||||||
|
"NIA-f8-VWx.title" = "当前配置文件:未知";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Forced track:"; ObjectID = "NPR-jz-Ile"; */
|
||||||
|
"NPR-jz-Ile.title" = "强制轨道:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Preserve Aspect Ratio"; ObjectID = "nr0-Jc-cUj"; */
|
||||||
|
"nr0-Jc-cUj.title" = "保留横纵比";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
|
||||||
|
"nrd-22-FZl.title" = "H.264 视频 Profile/Level:";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
|
||||||
|
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "横纵比分子";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Aspect Ratio:"; ObjectID = "Q8w-0e-NRr"; */
|
||||||
|
"Q8w-0e-NRr.title" = "横纵比:";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Offset X"; ObjectID = "qFL-0W-Ye6"; */
|
||||||
|
"qFL-0W-Ye6.ibExternalAccessibilityDescription" = "偏移 X";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Width"; ObjectID = "r90-c5-7PH"; */
|
||||||
|
"r90-c5-7PH.ibExternalAccessibilityDescription" = "缩放尺寸宽";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "1"; ObjectID = "S4p-0Y-kRW"; */
|
||||||
|
"S4p-0Y-kRW.title" = "1";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Normal Size:"; ObjectID = "soD-gL-b4G"; */
|
||||||
|
"soD-gL-b4G.title" = "正常尺寸:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "6"; ObjectID = "sqU-tK-Ekm"; */
|
||||||
|
"sqU-tK-Ekm.title" = "6";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Offset:"; ObjectID = "ubI-H1-utj"; */
|
||||||
|
"ubI-H1-utj.title" = "偏移:";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "None"; ObjectID = "vVg-S9-JUk"; */
|
||||||
|
"vVg-S9-JUk.title" = "无";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Offset Y"; ObjectID = "wlV-Oh-ui5"; */
|
||||||
|
"wlV-Oh-ui5.ibExternalAccessibilityDescription" = "偏移 Y";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 601 (5-1-6)"; ObjectID = "X7B-de-Yur"; */
|
||||||
|
"X7B-de-Yur.title" = "Rec. 601 (5-1-6)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "High @ 4.1"; ObjectID = "Xeg-lb-cfA"; */
|
||||||
|
"Xeg-lb-cfA.title" = "High @ 4.1";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Rec. 601 (6-1-6)"; ObjectID = "XQd-tC-sVM"; */
|
||||||
|
"XQd-tC-sVM.title" = "Rec. 601 (6-1-6)";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "P3-DCI (11-17-6)"; ObjectID = "z4V-UV-xor"; */
|
||||||
|
"z4V-UV-xor.title" = "P3-DCI (11-17-6)";
|
||||||
|
|
||||||
|
/* Class = "NSTabViewItem"; label = "Media Characteristics"; ObjectID = "ZZa-lk-8Uv"; */
|
||||||
|
"ZZa-lk-8Uv.label" = "媒体特征";
|
||||||
|
|
||||||
+4
-6
@@ -46,8 +46,7 @@ final class Queue {
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
let data = try Data(contentsOf: url)
|
let data = try Data(contentsOf: url)
|
||||||
let unarchiver = NSKeyedUnarchiver(forReadingWith: data)
|
let unarchiver = try NSKeyedUnarchiver(forReadingFrom: data)
|
||||||
unarchiver.requiresSecureCoding = true
|
|
||||||
if let decodedItems = try unarchiver.decodeTopLevelObject(of: [NSArray.classForCoder(), NSMutableArray.classForCoder(), QueueItem.classForCoder()], forKey: NSKeyedArchiveRootObjectKey) as? [QueueItem] {
|
if let decodedItems = try unarchiver.decodeTopLevelObject(of: [NSArray.classForCoder(), NSMutableArray.classForCoder(), QueueItem.classForCoder()], forKey: NSKeyedArchiveRootObjectKey) as? [QueueItem] {
|
||||||
items = decodedItems
|
items = decodedItems
|
||||||
} else {
|
} else {
|
||||||
@@ -55,6 +54,7 @@ final class Queue {
|
|||||||
}
|
}
|
||||||
unarchiver.finishDecoding()
|
unarchiver.finishDecoding()
|
||||||
} catch {
|
} catch {
|
||||||
|
self.logger.writeError(toLog: error)
|
||||||
items = []
|
items = []
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,13 +63,11 @@ final class Queue {
|
|||||||
|
|
||||||
func saveToDisk() throws {
|
func saveToDisk() throws {
|
||||||
arrayQueue.sync {
|
arrayQueue.sync {
|
||||||
let data = NSMutableData()
|
let archiver = NSKeyedArchiver(requiringSecureCoding: true)
|
||||||
let archiver = NSKeyedArchiver(forWritingWith: data)
|
|
||||||
archiver.requiresSecureCoding = true
|
|
||||||
archiver.encode(items, forKey: NSKeyedArchiveRootObjectKey)
|
archiver.encode(items, forKey: NSKeyedArchiveRootObjectKey)
|
||||||
archiver.finishEncoding()
|
archiver.finishEncoding()
|
||||||
|
|
||||||
data.write(to: url, atomically: true)
|
try? archiver.encodedData.write(to: url, options: [.atomic])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -176,23 +176,6 @@ class QueueSetAction : NSObject, QueueActionProtocol {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extension Array where Element == Artwork {
|
|
||||||
|
|
||||||
func filter(by type: ArtworkType, size: ArtworkSize, service: String) -> Artwork? {
|
|
||||||
if type == .backdrop || type == .episode {
|
|
||||||
let serviceArtwork = self.filter { $0.type == type && $0.service == service }.first
|
|
||||||
let artwork = self.filter { $0.type == type }.first
|
|
||||||
return serviceArtwork != nil ? serviceArtwork : artwork
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
let serviceArtwork = self.filter { $0.type == type && $0.size == size && $0.service == service }.first
|
|
||||||
let artwork = self.filter { $0.type == type && $0.size == size}.first
|
|
||||||
return serviceArtwork != nil ? serviceArtwork : artwork
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// An action that fetches metadata online.
|
/// An action that fetches metadata online.
|
||||||
class QueueMetadataAction : NSObject, QueueActionProtocol {
|
class QueueMetadataAction : NSObject, QueueActionProtocol {
|
||||||
|
|
||||||
@@ -263,13 +246,13 @@ class QueueMetadataAction : NSObject, QueueActionProtocol {
|
|||||||
let artwork: Artwork? = {
|
let artwork: Artwork? = {
|
||||||
let provider = terms.isMovie ? self.movieProvider : self.tvShowProvider
|
let provider = terms.isMovie ? self.movieProvider : self.tvShowProvider
|
||||||
let type = terms.isMovie && preferredArtwork.isMovieType == false ? .poster : preferredArtwork
|
let type = terms.isMovie && preferredArtwork.isMovieType == false ? .poster : preferredArtwork
|
||||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: provider) {
|
if let artwork = artworks.first(by: type, size: preferredArtworkSize, service: provider) {
|
||||||
return artwork
|
return artwork
|
||||||
}
|
}
|
||||||
else if let artwork = artworks.filter(by: .season, size: preferredArtworkSize, service: provider) {
|
else if let artwork = artworks.first(by: .season, size: preferredArtworkSize, service: provider) {
|
||||||
return artwork
|
return artwork
|
||||||
}
|
}
|
||||||
else if let artwork = artworks.filter(by: .poster, size: .standard, service: provider) {
|
else if let artwork = artworks.first(by: .poster, size: .standard, service: provider) {
|
||||||
return artwork
|
return artwork
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -301,7 +284,7 @@ class QueueMetadataAction : NSObject, QueueActionProtocol {
|
|||||||
extendedLanguageTag: nil))
|
extendedLanguageTag: nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
file.metadata.merge(metadata)
|
file.metadata.merge(metadata, overwrite: true)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+101
-47
@@ -6,9 +6,10 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
|
import UserNotifications
|
||||||
import MP42Foundation
|
import MP42Foundation
|
||||||
|
|
||||||
final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDelegate, ItemViewDelegate, NSTableViewDataSource, NSTableViewDelegate, ExpandedTableViewDelegate, NSUserInterfaceValidations {
|
final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDelegate, ItemViewDelegate, NSTableViewDataSource, NSTableViewDelegate, ExpandedTableViewDelegate, UNUserNotificationCenterDelegate, NSUserInterfaceValidations {
|
||||||
|
|
||||||
static let shared = QueueController()
|
static let shared = QueueController()
|
||||||
|
|
||||||
@@ -16,13 +17,17 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
private let prefs = QueuePreferences()
|
private let prefs = QueuePreferences()
|
||||||
private var popover: NSPopover?
|
private var popover: NSPopover?
|
||||||
private var itemPopover: NSPopover?
|
private var itemPopover: NSPopover?
|
||||||
private var windowController: OptionsViewController?
|
|
||||||
private let toolbarDelegate = QueueToolbarDelegate()
|
private let toolbarDelegate = QueueToolbarDelegate()
|
||||||
|
|
||||||
private let tablePasteboardType = NSPasteboard.PasteboardType("SublerQueueTableViewDataType")
|
|
||||||
private lazy var docImg: NSImage = {
|
private lazy var docImg: NSImage = {
|
||||||
// Load a generic movie icon to display in the table view
|
// Load a generic movie icon to display in the table view
|
||||||
let img = NSWorkspace.shared.icon(forFileType: "mov")
|
let img = {
|
||||||
|
if #available(macOS 12, *) {
|
||||||
|
return NSWorkspace.shared.icon(for: .quickTimeMovie)
|
||||||
|
} else {
|
||||||
|
return NSWorkspace.shared.icon(forFileType: "mov")
|
||||||
|
}
|
||||||
|
}()
|
||||||
img.size = NSSize(width: 16, height: 16)
|
img.size = NSSize(width: 16, height: 16)
|
||||||
return img
|
return img
|
||||||
}()
|
}()
|
||||||
@@ -38,7 +43,6 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
private init() {
|
private init() {
|
||||||
popover = nil
|
popover = nil
|
||||||
itemPopover = nil
|
itemPopover = nil
|
||||||
windowController = nil
|
|
||||||
if let url = prefs.queueURL {
|
if let url = prefs.queueURL {
|
||||||
queue = Queue(url: url)
|
queue = Queue(url: url)
|
||||||
} else {
|
} else {
|
||||||
@@ -68,15 +72,21 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
toolbar.allowsUserCustomization = true
|
toolbar.allowsUserCustomization = true
|
||||||
toolbar.autosavesConfiguration = true
|
toolbar.autosavesConfiguration = true
|
||||||
if #available(macOS 26, *) {
|
if #available(macOS 26, *) {
|
||||||
toolbar.displayMode = .iconAndLabel
|
|
||||||
} else {
|
|
||||||
toolbar.displayMode = .iconOnly
|
toolbar.displayMode = .iconOnly
|
||||||
|
} else {
|
||||||
|
toolbar.displayMode = .iconAndLabel
|
||||||
}
|
}
|
||||||
self.window?.toolbar = toolbar
|
self.window?.toolbar = toolbar
|
||||||
|
|
||||||
table.registerForDraggedTypes([NSPasteboard.PasteboardType.fileURL, tablePasteboardType])
|
table.registerForDraggedTypes([NSPasteboard.PasteboardType.fileURL, .tableViewIndex])
|
||||||
progressBar.isHidden = true
|
progressBar.isHidden = true
|
||||||
|
|
||||||
|
if #available(macOS 11, *) {
|
||||||
|
let center = UNUserNotificationCenter.current()
|
||||||
|
center.delegate = self
|
||||||
|
center.requestAuthorization(options: [.sound, .alert], completionHandler: {_,_ in })
|
||||||
|
}
|
||||||
|
|
||||||
let main = OperationQueue.main
|
let main = OperationQueue.main
|
||||||
let nc = NotificationCenter.default
|
let nc = NotificationCenter.default
|
||||||
|
|
||||||
@@ -110,18 +120,36 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
self.updateUI()
|
self.updateUI()
|
||||||
|
|
||||||
if self.prefs.showDoneNotification, let info = note.userInfo {
|
if self.prefs.showDoneNotification, let info = note.userInfo {
|
||||||
let notification = NSUserNotification()
|
let title = NSLocalizedString("Queue Done", comment: "")
|
||||||
notification.title = NSLocalizedString("Queue Done", comment: "")
|
let informativeText = {
|
||||||
|
if let failedCount = info["FailedCount"] as? UInt, failedCount > 0,
|
||||||
|
let completedCount = info["CompletedCount"] as? UInt {
|
||||||
|
return "Completed: \(completedCount); Failed: \(failedCount)"
|
||||||
|
}
|
||||||
|
else if let completedCount = info["CompletedCount"] as? UInt {
|
||||||
|
return "Completed: \(completedCount)"
|
||||||
|
} else {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
if let failedCount = info["FailedCount"] as? UInt, failedCount > 0,
|
if #available(macOS 11, *) {
|
||||||
let completedCount = info["CompletedCount"] as? UInt {
|
let notification = UNMutableNotificationContent()
|
||||||
notification.informativeText = "Completed: \(completedCount); Failed: \(failedCount)"
|
notification.title = title
|
||||||
|
notification.body = informativeText
|
||||||
|
notification.sound = UNNotificationSound.default
|
||||||
|
|
||||||
|
let request = UNNotificationRequest(identifier: UUID().uuidString,
|
||||||
|
content: notification,
|
||||||
|
trigger: nil)
|
||||||
|
UNUserNotificationCenter.current().add(request) { _ in }
|
||||||
|
} else {
|
||||||
|
let notification = NSUserNotification()
|
||||||
|
notification.title = title
|
||||||
|
notification.informativeText = informativeText
|
||||||
|
notification.soundName = NSUserNotificationDefaultSoundName
|
||||||
|
NSUserNotificationCenter.default.deliver(notification)
|
||||||
}
|
}
|
||||||
else if let completedCount = info["CompletedCount"] as? UInt {
|
|
||||||
notification.informativeText = "Completed: \(completedCount)"
|
|
||||||
}
|
|
||||||
notification.soundName = NSUserNotificationDefaultSoundName
|
|
||||||
NSUserNotificationCenter.default.deliver(notification)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for script in self.scripts {
|
for script in self.scripts {
|
||||||
@@ -187,6 +215,13 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//MARK: Notification delegate
|
||||||
|
|
||||||
|
@available(macOS 10.14, *)
|
||||||
|
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
|
||||||
|
completionHandler([.sound])
|
||||||
|
}
|
||||||
|
|
||||||
//MARK: Queue
|
//MARK: Queue
|
||||||
|
|
||||||
func saveToDisk() throws {
|
func saveToDisk() throws {
|
||||||
@@ -244,9 +279,18 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
private func destination(for url: URL) -> URL {
|
private func destination(for url: URL) -> URL {
|
||||||
let value = try? url.resourceValues(forKeys: [URLResourceKey.typeIdentifierKey])
|
let value = try? url.resourceValues(forKeys: [URLResourceKey.typeIdentifierKey])
|
||||||
|
|
||||||
|
var isMpeg4 = false
|
||||||
|
if #available(macOS 11, *) {
|
||||||
|
isMpeg4 = value?.contentType?.conforms(to: .mpeg4Movie) ?? false
|
||||||
|
} else {
|
||||||
|
if let type = value?.typeIdentifier, UTTypeConformsTo(type as CFString, "public.mpeg-4" as CFString) {
|
||||||
|
isMpeg4 = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if let destination = prefs.destination {
|
if let destination = prefs.destination {
|
||||||
return destination.appendingPathComponent(url.lastPathComponent).deletingPathExtension().appendingPathExtension(prefs.fileType)
|
return destination.appendingPathComponent(url.lastPathComponent).deletingPathExtension().appendingPathExtension(prefs.fileType)
|
||||||
} else if let type = value?.typeIdentifier, UTTypeConformsTo(type as CFString, "public.mpeg-4" as CFString) {
|
} else if isMpeg4 {
|
||||||
return url
|
return url
|
||||||
} else {
|
} else {
|
||||||
return url.deletingPathExtension().appendingPathExtension(prefs.fileType)
|
return url.deletingPathExtension().appendingPathExtension(prefs.fileType)
|
||||||
@@ -411,7 +455,9 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
}
|
}
|
||||||
|
|
||||||
table.removeRows(at: indexes, withAnimation: .slideUp)
|
table.removeRows(at: indexes, withAnimation: .slideUp)
|
||||||
table.selectRowIndexes(IndexSet(integer: indexes.first!), byExtendingSelection: false)
|
if let index = indexes.first, index < queue.count {
|
||||||
|
table.selectRowIndexes(IndexSet(integer: index), byExtendingSelection: false)
|
||||||
|
}
|
||||||
|
|
||||||
table.endUpdates()
|
table.endUpdates()
|
||||||
updateState()
|
updateState()
|
||||||
@@ -570,10 +616,6 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func windowWillClose(_ notification: Notification) {
|
|
||||||
windowController = nil
|
|
||||||
}
|
|
||||||
|
|
||||||
//MARK: UI
|
//MARK: UI
|
||||||
|
|
||||||
/// Updates the count on the app dock icon.
|
/// Updates the count on the app dock icon.
|
||||||
@@ -683,7 +725,12 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
panel.allowsMultipleSelection = true
|
panel.allowsMultipleSelection = true
|
||||||
panel.canChooseFiles = true
|
panel.canChooseFiles = true
|
||||||
panel.canChooseDirectories = true
|
panel.canChooseDirectories = true
|
||||||
panel.allowedFileTypes = MP42FileImporter.supportedFileFormats()
|
|
||||||
|
if #available(macOS 11, *) {
|
||||||
|
panel.allowedContentTypes = MP42FileImporter.supportedContentTypes()
|
||||||
|
} else {
|
||||||
|
panel.allowedFileTypes = MP42FileImporter.supportedFileFormats()
|
||||||
|
}
|
||||||
|
|
||||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||||
if response == NSApplication.ModalResponse.OK {
|
if response == NSApplication.ModalResponse.OK {
|
||||||
@@ -771,41 +818,48 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
|
|
||||||
//MARK: Drag & Drop
|
//MARK: Drag & Drop
|
||||||
|
|
||||||
func tableView(_ tableView: NSTableView, writeRowsWith rowIndexes: IndexSet, to pboard: NSPasteboard) -> Bool {
|
func tableView(_ tableView: NSTableView,
|
||||||
let data = try? NSKeyedArchiver.archivedData(withRootObject: rowIndexes, requiringSecureCoding: true)
|
pasteboardWriterForRow row: Int) -> (any NSPasteboardWriting)? {
|
||||||
pboard.declareTypes([tablePasteboardType], owner: self)
|
let item = PasteboardItem(index: row, type: .tableViewIndex)
|
||||||
pboard.setData(data, forType: tablePasteboardType)
|
return item
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func tableView(_ tableView: NSTableView, validateDrop info: NSDraggingInfo, proposedRow row: Int, proposedDropOperation dropOperation: NSTableView.DropOperation) -> NSDragOperation {
|
func tableView(_ tableView: NSTableView,
|
||||||
if info.draggingSource == nil {
|
validateDrop info: NSDraggingInfo,
|
||||||
tableView.setDropRow(row, dropOperation: .above)
|
proposedRow row: Int,
|
||||||
|
proposedDropOperation dropOperation: NSTableView.DropOperation) -> NSDragOperation {
|
||||||
|
guard dropOperation == .above else { return [] }
|
||||||
|
|
||||||
|
if let source = info.draggingSource as? NSTableView,
|
||||||
|
tableView == source
|
||||||
|
{
|
||||||
|
return .move
|
||||||
|
} else if info.draggingSource == nil {
|
||||||
return .copy
|
return .copy
|
||||||
} else if let source = info.draggingSource as? NSTableView, tableView == source && dropOperation == .above {
|
|
||||||
return .every
|
|
||||||
} else {
|
} else {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func tableView(_ tableView: NSTableView, acceptDrop info: NSDraggingInfo, row: Int, dropOperation: NSTableView.DropOperation) -> Bool {
|
func tableView(_ tableView: NSTableView,
|
||||||
let pboard = info.draggingPasteboard
|
acceptDrop info: NSDraggingInfo,
|
||||||
|
row: Int,
|
||||||
if let source = info.draggingSource as? NSTableView, source == tableView, let rowData = pboard.data(forType: tablePasteboardType), let rowIndexes = NSKeyedUnarchiver.unarchiveObject(with: rowData) as? IndexSet {
|
dropOperation: NSTableView.DropOperation) -> Bool {
|
||||||
|
guard let pasteboardItems = info.draggingPasteboard.pasteboardItems
|
||||||
|
else { return false }
|
||||||
|
|
||||||
|
if let source = info.draggingSource as? NSTableView,
|
||||||
|
source == tableView
|
||||||
|
{
|
||||||
|
let rowIndexes = IndexSet(pasteboardItems.compactMap { $0.integer(forType: .tableViewIndex) })
|
||||||
let items = queue.items(at: rowIndexes)
|
let items = queue.items(at: rowIndexes)
|
||||||
move(items: items, at: row)
|
move(items: items, at: row)
|
||||||
return true
|
return true
|
||||||
|
} else if info.draggingPasteboard.types?.contains(NSPasteboard.PasteboardType.fileURL) ?? false {
|
||||||
} else {
|
if let items = info.draggingPasteboard.readObjects(forClasses: [NSURL.classForCoder()], options: [:]) as? [URL] {
|
||||||
|
insert(contentOf: items, at: row)
|
||||||
if pboard.types?.contains(NSPasteboard.PasteboardType.fileURL) ?? false {
|
|
||||||
if let items = pboard.readObjects(forClasses: [NSURL.classForCoder()], options: [:]) as? [URL] {
|
|
||||||
insert(contentOf: items, at: row)
|
|
||||||
}
|
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
|
|||||||
+13
-6
@@ -262,7 +262,7 @@ import MP42Foundation
|
|||||||
let importer = try MP42FileImporter(url: fileURL)
|
let importer = try MP42FileImporter(url: fileURL)
|
||||||
let activeTracks = importer.tracks.filter { isTrackMuxable($0.format) || trackNeedConversion($0.format) }
|
let activeTracks = importer.tracks.filter { isTrackMuxable($0.format) || trackNeedConversion($0.format) }
|
||||||
|
|
||||||
mp4.metadata.merge(importer.metadata)
|
mp4.metadata.merge(importer.metadata, overwrite: true)
|
||||||
|
|
||||||
for track in activeTracks {
|
for track in activeTracks {
|
||||||
|
|
||||||
@@ -415,8 +415,8 @@ import MP42Foundation
|
|||||||
|
|
||||||
statusInternal = QueueItem.Status(rawValue: Int(aDecoder.decodeInt32(forKey: "SBQueueItemStatus"))) ?? .failed
|
statusInternal = QueueItem.Status(rawValue: Int(aDecoder.decodeInt32(forKey: "SBQueueItemStatus"))) ?? .failed
|
||||||
mp4File = aDecoder.decodeObject(of: [MP42File.classForCoder()], forKey: "SBQueueItemMp4File") as? MP42File
|
mp4File = aDecoder.decodeObject(of: [MP42File.classForCoder()], forKey: "SBQueueItemMp4File") as? MP42File
|
||||||
uniqueID = aDecoder.decodeObject(of: [NSString.classForCoder()], forKey: "SBQueueItemID") as! String
|
uniqueID = aDecoder.decodeObject(of: [NSString.classForCoder()], forKey: "SBQueueItemID") as? String ?? UUID().uuidString
|
||||||
attributes = aDecoder.decodeObject(of: [NSDictionary.classForCoder(), NSString.classForCoder(), NSNumber.classForCoder()], forKey: "SBQueueItemAttributes") as! [String : Any]
|
attributes = aDecoder.decodeObject(of: [NSDictionary.classForCoder(), NSString.classForCoder(), NSNumber.classForCoder()], forKey: "SBQueueItemAttributes") as? [String : Any] ?? [:]
|
||||||
|
|
||||||
#if SB_SANDBOX
|
#if SB_SANDBOX
|
||||||
if var bookmark = aDecoder.decodeObject(of: [NSData.classForCoder()], forKey: "SBQueueItemFileURLBookmark") as? Data {
|
if var bookmark = aDecoder.decodeObject(of: [NSData.classForCoder()], forKey: "SBQueueItemFileURLBookmark") as? Data {
|
||||||
@@ -449,8 +449,14 @@ import MP42Foundation
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
fileURL = aDecoder.decodeObject(of: [NSURL.classForCoder()], forKey: "SBQueueItemFileURL") as! URL
|
if let fileURL = aDecoder.decodeObject(of: [NSURL.classForCoder()], forKey: "SBQueueItemFileURL") as? URL,
|
||||||
destURLInternal = aDecoder.decodeObject(of: [NSURL.classForCoder()], forKey: "SBQueueItemDestURL") as! URL
|
let destURLInternal = aDecoder.decodeObject(of: [NSURL.classForCoder()], forKey: "SBQueueItemDestURL") as? URL {
|
||||||
|
self.fileURL = fileURL
|
||||||
|
self.destURLInternal = destURLInternal
|
||||||
|
} else {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
actionsInternal = aDecoder.decodeObject(of: [NSArray.classForCoder(), QueueSetAction.classForCoder(),
|
actionsInternal = aDecoder.decodeObject(of: [NSArray.classForCoder(), QueueSetAction.classForCoder(),
|
||||||
@@ -460,7 +466,8 @@ import MP42Foundation
|
|||||||
QueueRenameChaptersAction.classForCoder(),
|
QueueRenameChaptersAction.classForCoder(),
|
||||||
QueueOrganizeGroupsAction.classForCoder(), QueueColorSpaceAction.classForCoder(),
|
QueueOrganizeGroupsAction.classForCoder(), QueueColorSpaceAction.classForCoder(),
|
||||||
QueueSetOutputFilenameAction.classForCoder(), QueueClearExistingMetadataAction.classForCoder(),
|
QueueSetOutputFilenameAction.classForCoder(), QueueClearExistingMetadataAction.classForCoder(),
|
||||||
QueueOptimizeAction.classForCoder(), QueueSendToiTunesAction.classForCoder()], forKey: "SBQueueItemActions") as! [QueueActionProtocol]
|
QueueOptimizeAction.classForCoder(), QueueSendToiTunesAction.classForCoder(),
|
||||||
|
QueueChangeAudioLanguageAction.classForCoder(), QueueChangeSubtitleLanguageAction.classForCoder()], forKey: "SBQueueItemActions") as? [QueueActionProtocol] ?? []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,15 +28,11 @@ class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
|
|||||||
target: target,
|
target: target,
|
||||||
action: #selector(QueueController.open(_:)))
|
action: #selector(QueueController.open(_:)))
|
||||||
} else if itemIdentifier == .queueSettings {
|
} else if itemIdentifier == .queueSettings {
|
||||||
var symbolName = "ellipsis.circle"
|
|
||||||
if #available(macOS 26.0, *) {
|
|
||||||
symbolName = "ellipsis"
|
|
||||||
}
|
|
||||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||||
label: NSLocalizedString("Settings", comment: "Toolbar"),
|
label: NSLocalizedString("Settings", comment: "Toolbar"),
|
||||||
toolTip: NSLocalizedString("Show/Hide settings", comment: "Toolbar"),
|
toolTip: NSLocalizedString("Show/Hide settings", comment: "Toolbar"),
|
||||||
image: "NSActionTemplate",
|
image: "NSActionTemplate",
|
||||||
symbolName: symbolName,
|
symbolName: "gear",
|
||||||
target: target,
|
target: target,
|
||||||
action: #selector(QueueController.toggleOptions(_:)))
|
action: #selector(QueueController.toggleOptions(_:)))
|
||||||
} else if itemIdentifier == .queueStartStop {
|
} else if itemIdentifier == .queueStartStop {
|
||||||
|
|||||||
@@ -43,10 +43,28 @@ final class SaveOptions: NSViewController {
|
|||||||
let types = doc.writableTypes(for: .saveAsOperation)
|
let types = doc.writableTypes(for: .saveAsOperation)
|
||||||
|
|
||||||
fileFormat.removeAllItems()
|
fileFormat.removeAllItems()
|
||||||
|
|
||||||
for type in types {
|
for type in types {
|
||||||
let name = UTTypeCopyDescription(type as CFString)?.takeRetainedValue() as String? ?? type
|
if #available(macOS 11, *) {
|
||||||
fileFormat.addItem(withTitle: name)
|
let name = UTType(type)?.localizedDescription ?? type
|
||||||
|
fileFormat.addItem(withTitle: name)
|
||||||
|
} else {
|
||||||
|
let name = UTTypeCopyDescription(type as CFString)?.takeRetainedValue() as String? ?? type
|
||||||
|
fileFormat.addItem(withTitle: name)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The folder the save panel should open at, or nil to leave it
|
||||||
|
/// at the last folder used.
|
||||||
|
private func preferredDirectory(for doc: Document) -> URL? {
|
||||||
|
switch Prefs.saveAsLocation {
|
||||||
|
case .automatic:
|
||||||
|
return nil
|
||||||
|
case .sameAsFile:
|
||||||
|
return doc.fileURL?.deletingLastPathComponent() ?? doc.mp4.firstSourceDirectoryURL()
|
||||||
|
case .custom:
|
||||||
|
return Prefs.saveAsCustomLocation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,6 +83,10 @@ final class SaveOptions: NSViewController {
|
|||||||
savePanel?.nameFieldStringValue = filename
|
savePanel?.nameFieldStringValue = filename
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let url = preferredDirectory(for: doc) {
|
||||||
|
savePanel?.directoryURL = url
|
||||||
|
}
|
||||||
|
|
||||||
setFileType(filenameExtension: fileType)
|
setFileType(filenameExtension: fileType)
|
||||||
|
|
||||||
_64bit_data.state = Prefs.mp464bitOffset ? .on : .off
|
_64bit_data.state = Prefs.mp464bitOffset ? .on : .off
|
||||||
|
|||||||
+15
-20
@@ -118,9 +118,8 @@ class SBFetchMetadataScriptCommand: NSScriptCommand, ScriptCommandDocumentTarget
|
|||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
if let metadata = metadata {
|
if let metadata = metadata {
|
||||||
// Apply the metadata to the file
|
// Apply the metadata to the file
|
||||||
mp4File.metadata.merge(metadata)
|
mp4File.metadata.merge(metadata, overwrite: true)
|
||||||
sublerDoc.updateChangeCount(.changeDone)
|
|
||||||
|
|
||||||
// Trigger UI refresh by calling reloadData on the window controller
|
// Trigger UI refresh by calling reloadData on the window controller
|
||||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||||
windowController.reloadData()
|
windowController.reloadData()
|
||||||
@@ -165,9 +164,9 @@ class SBFetchMetadataScriptCommand: NSScriptCommand, ScriptCommandDocumentTarget
|
|||||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||||
let artwork: Artwork? = {
|
let artwork: Artwork? = {
|
||||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
|
if let artwork = artworks.first(by: type, size: preferredArtworkSize, service: movieService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
|
} else if let artwork = artworks.first(by: .poster, size: .standard, service: movieService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else {
|
} else {
|
||||||
return artworks.first
|
return artworks.first
|
||||||
@@ -207,11 +206,11 @@ class SBFetchMetadataScriptCommand: NSScriptCommand, ScriptCommandDocumentTarget
|
|||||||
|
|
||||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||||
let artwork: Artwork? = {
|
let artwork: Artwork? = {
|
||||||
if let artwork = artworks.filter(by: preferredArtwork, size: preferredArtworkSize, service: tvShowService.name) {
|
if let artwork = artworks.first(by: preferredArtwork, size: preferredArtworkSize, service: tvShowService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else if let artwork = artworks.filter(by: .season, size: preferredArtworkSize, service: tvShowService.name) {
|
} else if let artwork = artworks.first(by: .season, size: preferredArtworkSize, service: tvShowService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
|
} else if let artwork = artworks.first(by: .poster, size: .standard, service: tvShowService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else {
|
} else {
|
||||||
return artworks.first
|
return artworks.first
|
||||||
@@ -386,8 +385,7 @@ class SBSaveAsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
|||||||
|
|
||||||
// Update the document's file URL and mark as saved
|
// Update the document's file URL and mark as saved
|
||||||
sublerDoc.fileURL = destinationURL
|
sublerDoc.fileURL = destinationURL
|
||||||
sublerDoc.updateChangeCount(.changeCleared)
|
|
||||||
|
|
||||||
// End progress reporting and refresh the UI
|
// End progress reporting and refresh the UI
|
||||||
windowController.endProgressReporting()
|
windowController.endProgressReporting()
|
||||||
windowController.reloadData()
|
windowController.reloadData()
|
||||||
@@ -396,8 +394,7 @@ class SBSaveAsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
|||||||
} else {
|
} else {
|
||||||
// Update the document's file URL and mark as saved
|
// Update the document's file URL and mark as saved
|
||||||
sublerDoc.fileURL = destinationURL
|
sublerDoc.fileURL = destinationURL
|
||||||
sublerDoc.updateChangeCount(.changeCleared)
|
|
||||||
|
|
||||||
// End progress reporting and refresh the UI
|
// End progress reporting and refresh the UI
|
||||||
windowController.endProgressReporting()
|
windowController.endProgressReporting()
|
||||||
windowController.reloadData()
|
windowController.reloadData()
|
||||||
@@ -783,9 +780,9 @@ class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDo
|
|||||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||||
let artwork: Artwork? = {
|
let artwork: Artwork? = {
|
||||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
|
if let artwork = artworks.first(by: type, size: preferredArtworkSize, service: movieService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
|
} else if let artwork = artworks.first(by: .poster, size: .standard, service: movieService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else {
|
} else {
|
||||||
return artworks.first
|
return artworks.first
|
||||||
@@ -806,8 +803,7 @@ class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDo
|
|||||||
// Apply the metadata
|
// Apply the metadata
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
if let sublerDoc = self.targetedDocument() {
|
if let sublerDoc = self.targetedDocument() {
|
||||||
sublerDoc.mp4.metadata.merge(mappedMetadata)
|
sublerDoc.mp4.metadata.merge(mappedMetadata, overwrite: true)
|
||||||
sublerDoc.updateChangeCount(.changeDone)
|
|
||||||
completion(true)
|
completion(true)
|
||||||
} else {
|
} else {
|
||||||
completion(false)
|
completion(false)
|
||||||
@@ -833,9 +829,9 @@ class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDo
|
|||||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||||
let artwork: Artwork? = {
|
let artwork: Artwork? = {
|
||||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: tvShowService.name) {
|
if let artwork = artworks.first(by: type, size: preferredArtworkSize, service: tvShowService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
|
} else if let artwork = artworks.first(by: .poster, size: .standard, service: tvShowService.name) {
|
||||||
return artwork
|
return artwork
|
||||||
} else {
|
} else {
|
||||||
return artworks.first
|
return artworks.first
|
||||||
@@ -856,8 +852,7 @@ class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDo
|
|||||||
// Apply the metadata
|
// Apply the metadata
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
if let sublerDoc = self.targetedDocument() {
|
if let sublerDoc = self.targetedDocument() {
|
||||||
sublerDoc.mp4.metadata.merge(mappedMetadata)
|
sublerDoc.mp4.metadata.merge(mappedMetadata, overwrite: true)
|
||||||
sublerDoc.updateChangeCount(.changeDone)
|
|
||||||
completion(true)
|
completion(true)
|
||||||
} else {
|
} else {
|
||||||
completion(false)
|
completion(false)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ final class TokenFieldCell : NSTokenFieldCell {
|
|||||||
set (newBackgroundStyle) {
|
set (newBackgroundStyle) {
|
||||||
super.backgroundStyle = newBackgroundStyle
|
super.backgroundStyle = newBackgroundStyle
|
||||||
if newBackgroundStyle == NSView.BackgroundStyle.emphasized {
|
if newBackgroundStyle == NSView.BackgroundStyle.emphasized {
|
||||||
textColor = NSColor.controlHighlightColor
|
textColor = NSColor.highlightColor
|
||||||
} else {
|
} else {
|
||||||
textColor = NSColor.controlTextColor
|
textColor = NSColor.controlTextColor
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,14 +23,13 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
didSet {
|
didSet {
|
||||||
let selectedIndexes = tracksTable.selectedRowIndexes
|
let selectedIndexes = tracksTable.selectedRowIndexes
|
||||||
reloadData()
|
reloadData()
|
||||||
if let max = selectedIndexes.max(), mp4.tracks.count >= max {
|
if let last = selectedIndexes.last, last <= mp4.tracks.count {
|
||||||
tracksTable.selectRowIndexes(selectedIndexes, byExtendingSelection: false)
|
tracksTable.selectRowIndexes(selectedIndexes, byExtendingSelection: false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBOutlet var tracksTable: ExpandedTableView!
|
@IBOutlet var tracksTable: ExpandedTableView!
|
||||||
private let pasteboardType = NSPasteboard.PasteboardType(rawValue: "SublerTableViewDataType")
|
|
||||||
|
|
||||||
private static let languagesMenu: NSMenu = {
|
private static let languagesMenu: NSMenu = {
|
||||||
let menu = NSMenu()
|
let menu = NSMenu()
|
||||||
@@ -50,7 +49,7 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
super.viewDidLoad()
|
super.viewDidLoad()
|
||||||
|
|
||||||
tracksTable.registerForDraggedTypes([pasteboardType])
|
tracksTable.registerForDraggedTypes([.tableViewIndex])
|
||||||
tracksTable.doubleAction = #selector(doubleClickAction)
|
tracksTable.doubleAction = #selector(doubleClickAction)
|
||||||
tracksTable.scrollRowToVisible(0)
|
tracksTable.scrollRowToVisible(0)
|
||||||
}
|
}
|
||||||
@@ -67,10 +66,28 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
}
|
}
|
||||||
|
|
||||||
func reloadData() {
|
func reloadData() {
|
||||||
|
let indexes = tracksTable.selectedRowIndexes
|
||||||
tracksTable.reloadData()
|
tracksTable.reloadData()
|
||||||
|
if let last = indexes.last, last <= mp4.tracks.count {
|
||||||
|
tracksTable.selectRowIndexes(indexes, byExtendingSelection: false)
|
||||||
|
}
|
||||||
delegate?.didSelect(tracks: selectedTracks)
|
delegate?.didSelect(tracks: selectedTracks)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func selectTracks(_ tracks: [MP42Track]) {
|
||||||
|
var indexes = IndexSet()
|
||||||
|
for track in tracks {
|
||||||
|
if let trackIndex = mp4.tracks.firstIndex(of: track) {
|
||||||
|
indexes.insert(trackIndex + 1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if indexes.isEmpty && tracksTable.selectedRow == 0 {
|
||||||
|
indexes.insert(0)
|
||||||
|
}
|
||||||
|
tracksTable.selectRowIndexes(indexes, byExtendingSelection: false)
|
||||||
|
}
|
||||||
|
|
||||||
var selectedTracks: [MP42Track] {
|
var selectedTracks: [MP42Track] {
|
||||||
return tracksTable != nil ? tracksTable.selectedRowIndexes.compactMap { track(at: $0) } : []
|
return tracksTable != nil ? tracksTable.selectedRowIndexes.compactMap { track(at: $0) } : []
|
||||||
}
|
}
|
||||||
@@ -101,7 +118,6 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
let row = tracksTable.row(for: sender)
|
let row = tracksTable.row(for: sender)
|
||||||
if let track = track(at: row) {
|
if let track = track(at: row) {
|
||||||
track.isEnabled = sender.state == NSControl.StateValue.on ? true : false
|
track.isEnabled = sender.state == NSControl.StateValue.on ? true : false
|
||||||
document.updateChangeCount(.changeDone)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,7 +125,6 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
let row = tracksTable.row(for: sender)
|
let row = tracksTable.row(for: sender)
|
||||||
if let track = track(at: row), track.name != sender.stringValue {
|
if let track = track(at: row), track.name != sender.stringValue {
|
||||||
track.name = sender.stringValue
|
track.name = sender.stringValue
|
||||||
document.updateChangeCount(.changeDone)
|
|
||||||
let column = tracksTable.column(for: sender)
|
let column = tracksTable.column(for: sender)
|
||||||
tracksTable.reloadData(forRowIndexes: IndexSet(integer: row), columnIndexes: IndexSet(integer: column))
|
tracksTable.reloadData(forRowIndexes: IndexSet(integer: row), columnIndexes: IndexSet(integer: column))
|
||||||
}
|
}
|
||||||
@@ -128,7 +143,6 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
|
|
||||||
if let track = track(at: row), track.language != language {
|
if let track = track(at: row), track.language != language {
|
||||||
track.language = language ?? "und"
|
track.language = language ?? "und"
|
||||||
document.updateChangeCount(.changeDone)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -245,32 +259,30 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
// MARK: Drag & drop
|
// MARK: Drag & drop
|
||||||
|
|
||||||
func tableView(_ tableView: NSTableView,
|
func tableView(_ tableView: NSTableView,
|
||||||
writeRowsWith rowIndexes: IndexSet,
|
pasteboardWriterForRow row: Int) -> (any NSPasteboardWriting)? {
|
||||||
to pboard: NSPasteboard) -> Bool {
|
if let track = track(at: row), track.isMuxed == false {
|
||||||
guard let firstRow = rowIndexes.first,
|
return PasteboardItem(index: row, type: .tableViewIndex)
|
||||||
let track = track(at: firstRow), track.isMuxed == false
|
} else {
|
||||||
else { return false }
|
return nil
|
||||||
|
}
|
||||||
let data = try? NSKeyedArchiver.archivedData(withRootObject: rowIndexes, requiringSecureCoding: true)
|
|
||||||
pboard.declareTypes([pasteboardType], owner: self)
|
|
||||||
pboard.setData(data, forType: pasteboardType)
|
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func tableView(_ tableView: NSTableView,
|
func tableView(_ tableView: NSTableView,
|
||||||
validateDrop info: NSDraggingInfo,
|
validateDrop info: NSDraggingInfo,
|
||||||
proposedRow row: Int,
|
proposedRow row: Int,
|
||||||
proposedDropOperation: NSTableView.DropOperation) -> NSDragOperation {
|
proposedDropOperation dropOperation: NSTableView.DropOperation) -> NSDragOperation {
|
||||||
let count = mp4.tracks.count + 1
|
guard dropOperation == .above else { return [] }
|
||||||
|
|
||||||
if proposedDropOperation == .above {
|
guard let source = info.draggingSource as? NSTableView,
|
||||||
if row < count && row != 0, let track = track(at: row), track.isMuxed == false {
|
tableView == source else { return [] }
|
||||||
return .every
|
|
||||||
}
|
let count = mp4.tracks.count + 1
|
||||||
else if row == count {
|
if row < count && row != 0, let track = track(at: row), track.isMuxed == false {
|
||||||
return .every
|
return .move
|
||||||
}
|
} else if row == count {
|
||||||
|
return .move
|
||||||
}
|
}
|
||||||
|
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -278,12 +290,15 @@ final class TracksViewController: NSViewController, NSTableViewDataSource, NSTab
|
|||||||
acceptDrop info: NSDraggingInfo,
|
acceptDrop info: NSDraggingInfo,
|
||||||
row: Int,
|
row: Int,
|
||||||
dropOperation: NSTableView.DropOperation) -> Bool {
|
dropOperation: NSTableView.DropOperation) -> Bool {
|
||||||
let data: Data = info.draggingPasteboard.data(forType: pasteboardType)!
|
guard let pasteboardItems = info.draggingPasteboard.pasteboardItems
|
||||||
if let rowIndexes: IndexSet = NSKeyedUnarchiver.unarchiveObject(with: data) as? IndexSet, rowIndexes.isEmpty == false {
|
else { return false }
|
||||||
|
|
||||||
|
if let source = info.draggingSource as? NSTableView,
|
||||||
|
source == tableView
|
||||||
|
{
|
||||||
|
let rowIndexes = IndexSet(pasteboardItems.compactMap { $0.integer(forType: .tableViewIndex) })
|
||||||
let tracks = mp4.tracks.enumerated().filter { rowIndexes.contains($0.offset + 1)} .map { $0.element }
|
let tracks = mp4.tracks.enumerated().filter { rowIndexes.contains($0.offset + 1)} .map { $0.element }
|
||||||
mp4.moveTracks(tracks, to: UInt(row - 1))
|
mp4.moveTracks(tracks, to: UInt(row - 1))
|
||||||
|
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
+13
-3
@@ -17,12 +17,22 @@ func automationConsent(bundleIdentifier: String, promptIfNeeded: Bool) -> Privac
|
|||||||
var result: PrivacyConsentState = .denied
|
var result: PrivacyConsentState = .denied
|
||||||
if #available(macOS 10.14, *) {
|
if #available(macOS 10.14, *) {
|
||||||
bundleIdentifier.withCString { (identifier) in
|
bundleIdentifier.withCString { (identifier) in
|
||||||
var addressDesc = AEAddressDesc()
|
let workspace = NSWorkspace.shared
|
||||||
|
|
||||||
|
// if #available(macOS 12, *) {
|
||||||
|
// // Make sure the target is running, if not the consent alert will not be shown.
|
||||||
|
// if let url = workspace.urlsForApplications(withBundleIdentifier: bundleIdentifier).first {
|
||||||
|
// let configuration = NSWorkspace.OpenConfiguration()
|
||||||
|
// workspace.openApplication(at: url, configuration: configuration) {_,_ in
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
// Mare sure the target is running, if not the consent alert will not be shown.
|
// Mare sure the target is running, if not the consent alert will not be shown.
|
||||||
NSWorkspace.shared.launchApplication(withBundleIdentifier: bundleIdentifier, options: [],
|
workspace.launchApplication(withBundleIdentifier: bundleIdentifier, options: [],
|
||||||
additionalEventParamDescriptor: nil, launchIdentifier: nil)
|
additionalEventParamDescriptor: nil, launchIdentifier: nil)
|
||||||
|
|
||||||
|
var addressDesc = AEAddressDesc()
|
||||||
let createDescResult = AECreateDesc(typeApplicationBundleID, identifier, strlen(identifier), &addressDesc)
|
let createDescResult = AECreateDesc(typeApplicationBundleID, identifier, strlen(identifier), &addressDesc)
|
||||||
if createDescResult == noErr {
|
if createDescResult == noErr {
|
||||||
let appleScriptPermission = AEDeterminePermissionToAutomateTarget(&addressDesc, typeWildCard, typeWildCard, promptIfNeeded)
|
let appleScriptPermission = AEDeterminePermissionToAutomateTarget(&addressDesc, typeWildCard, typeWildCard, promptIfNeeded)
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
/* Class = "NSTableColumn"; headerCell.title = "Annotations"; ObjectID = "6um-Rw-luk"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Annotations"; ObjectID = "6um-Rw-luk"; */
|
||||||
"6um-Rw-luk.headerCell.title" = "Propiedad";
|
"6um-Rw-luk.headerCell.title" = "Etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
||||||
"7Ek-lI-5Lo.title" = "Mantener propiedades vacías";
|
"7Ek-lI-5Lo.title" = "Mantener etiquetas vacías";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
||||||
"Aj4-bk-6RK.headerCell.title" = "Valor";
|
"Aj4-bk-6RK.headerCell.title" = "Valor";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
||||||
"cUW-9F-EvO.title" = "Asigna metadatos de proveedores a las propiedades MP4.";
|
"cUW-9F-EvO.title" = "Asigna metadatos de proveedores a las etiquetas MP4.";
|
||||||
|
|
||||||
/* Class = "CocoaBindingsConnection"; ibShadowedIsNilPlaceholder = "Null"; ObjectID = "dgq-hT-1Vg"; */
|
/* Class = "CocoaBindingsConnection"; ibShadowedIsNilPlaceholder = "Null"; ObjectID = "dgq-hT-1Vg"; */
|
||||||
"dgq-hT-1Vg.ibShadowedIsNilPlaceholder" = "Nulo";
|
"dgq-hT-1Vg.ibShadowedIsNilPlaceholder" = "Nulo";
|
||||||
@@ -17,20 +17,20 @@
|
|||||||
"gwa-XG-q0L.headerCell.title" = "Tipo";
|
"gwa-XG-q0L.headerCell.title" = "Tipo";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add annotation"; ObjectID = "Jdh-Cj-6ef"; */
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add annotation"; ObjectID = "Jdh-Cj-6ef"; */
|
||||||
"Jdh-Cj-6ef.ibShadowedToolTip" = "Agregar propiedad";
|
"Jdh-Cj-6ef.ibShadowedToolTip" = "Agregar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Restore Defaults"; ObjectID = "nBh-jv-KDG"; */
|
/* Class = "NSButtonCell"; title = "Restore Defaults"; ObjectID = "nBh-jv-KDG"; */
|
||||||
"nBh-jv-KDG.title" = "Restablecer valores predeterminados";
|
"nBh-jv-KDG.title" = "Restablecer valores predeterminados";
|
||||||
|
|
||||||
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata type"; ObjectID = "nXW-oy-rtu"; */
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata type"; ObjectID = "nXW-oy-rtu"; */
|
||||||
"nXW-oy-rtu.ibExternalAccessibilityDescription" = "Tipo de metadatos";
|
"nXW-oy-rtu.ibExternalAccessibilityDescription" = "Tipo de contenido";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "Available values:"; ObjectID = "OYx-Dd-YIf"; */
|
/* Class = "NSTextFieldCell"; title = "Available values:"; ObjectID = "OYx-Dd-YIf"; */
|
||||||
"OYx-Dd-YIf.title" = "Valores disponibles:";
|
"OYx-Dd-YIf.title" = "Valores disponibles:";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "sd5-qb-K5v"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "sd5-qb-K5v"; */
|
||||||
"sd5-qb-K5v.ibShadowedToolTip" = "Eliminar propiedad";
|
"sd5-qb-K5v.ibShadowedToolTip" = "Eliminar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
||||||
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "Asignación de metadatos";
|
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "Etiquetas";
|
||||||
|
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "0nh-AI-EEk"; */
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "0nh-AI-EEk"; */
|
||||||
"0nh-AI-EEk.title" = "Mantener propiedades existentes";
|
"0nh-AI-EEk.title" = "Mantener etiquetas existentes";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "2ur-nu-rZh"; */
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "2ur-nu-rZh"; */
|
||||||
"2ur-nu-rZh.title" = "Mantener ilustraciones existentes";
|
"2ur-nu-rZh.title" = "Mantener ilustraciones existentes";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
"30.ibExternalAccessibilityDescription" = "Agregar propiedad";
|
"30.ibExternalAccessibilityDescription" = "Agregar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
"30.ibShadowedToolTip" = "Agregar propiedad";
|
"30.ibShadowedToolTip" = "Agregar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
"53.ibExternalAccessibilityDescription" = "Eliminar propiedad";
|
"53.ibExternalAccessibilityDescription" = "Eliminar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
"53.ibShadowedToolTip" = "Eliminar propiedad";
|
"53.ibShadowedToolTip" = "Eliminar etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
|
||||||
"87e-za-hJV.ibShadowedToolTip" = "Cerrar";
|
"87e-za-hJV.ibShadowedToolTip" = "Cerrar";
|
||||||
@@ -50,16 +50,16 @@
|
|||||||
"CHk-xu-U9f.title" = "Mantener ilustraciones existentes";
|
"CHk-xu-U9f.title" = "Mantener ilustraciones existentes";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
"j7q-XE-YXB.headerCell.title" = "Propiedad";
|
"j7q-XE-YXB.headerCell.title" = "Etiqueta";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "KxJ-Zr-uiZ"; */
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "KxJ-Zr-uiZ"; */
|
||||||
"KxJ-Zr-uiZ.title" = "Mantener propiedades existentes";
|
"KxJ-Zr-uiZ.title" = "Mantener etiquetas existentes";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
"os0-Yb-exW.headerCell.title" = "Valor";
|
"os0-Yb-exW.headerCell.title" = "Valor";
|
||||||
|
|
||||||
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Metadatos";
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Etiquetas";
|
||||||
|
|
||||||
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Preset Title"; ObjectID = "RvM-No-Mwg"; */
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Preset Title"; ObjectID = "RvM-No-Mwg"; */
|
||||||
"RvM-No-Mwg.ibExternalAccessibilityDescription" = "Título del preset";
|
"RvM-No-Mwg.ibExternalAccessibilityDescription" = "Título del preset";
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/* Class = "NSButton"; ibShadowedToolTip = "Note: don't use this option if you are not sure of what it is doing, it's not needed in almost every case.\nEnable 64bit timescale and duration support. Normally, it's only needed if a track will be longer than 10 hours."; ObjectID = "3CX-Vp-T0h"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Note: don't use this option if you are not sure of what it is doing, it's not needed in almost every case.\nEnable 64bit timescale and duration support. Normally, it's only needed if a track will be longer than 10 hours."; ObjectID = "3CX-Vp-T0h"; */
|
||||||
"3CX-Vp-T0h.ibShadowedToolTip" = "Nota: no uses esta opción si no sabes bien lo que estás haciendo, no es necesaria en la mayoría de los casos.\nHabilita la escala de tiempo de 64 bits y el soporte de duración. Normalmente, solo es necesario si una pista dura más de 10 horas.";
|
"3CX-Vp-T0h.ibShadowedToolTip" = "Nota: no uses esta opción si no sabes bien lo que estás haciendo, no es necesaria en la mayoría de los casos.\nHabilita el soporte de escala de tiempo y duración de 64 bits. Normalmente, solo es necesario si una pista dura más de 10 horas.";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "64 bits chunk offset"; ObjectID = "14x-xv-HKI"; */
|
/* Class = "NSButtonCell"; title = "64 bits chunk offset"; ObjectID = "14x-xv-HKI"; */
|
||||||
"14x-xv-HKI.title" = "Desplazamiento de bloque de 64 bits";
|
"14x-xv-HKI.title" = "Desplazamiento de fragmentos de 64 bits";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "Options:"; ObjectID = "BXP-AU-x3T"; */
|
/* Class = "NSTextFieldCell"; title = "Options:"; ObjectID = "BXP-AU-x3T"; */
|
||||||
"BXP-AU-x3T.title" = "Opciones:";
|
"BXP-AU-x3T.title" = "Opciones:";
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"caN-zU-chS.title" = "Formato de archivo:";
|
"caN-zU-chS.title" = "Formato de archivo:";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "64 bits times"; ObjectID = "DCI-a5-K73"; */
|
/* Class = "NSButtonCell"; title = "64 bits times"; ObjectID = "DCI-a5-K73"; */
|
||||||
"DCI-a5-K73.title" = "Duración de 64 bits";
|
"DCI-a5-K73.title" = "Tiempos de 64 bits";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Needed for mp4 larger than 4GB."; ObjectID = "emp-1S-F7H"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Needed for mp4 larger than 4GB."; ObjectID = "emp-1S-F7H"; */
|
||||||
"emp-1S-F7H.ibShadowedToolTip" = "Necesario para mp4 de más de 4 GB";
|
"emp-1S-F7H.ibShadowedToolTip" = "Necesario para mp4 de más de 4 GB";
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
"Bpi-e7-pHx.ibExternalAccessibilityDescription" = "Pistas";
|
"Bpi-e7-pHx.ibExternalAccessibilityDescription" = "Pistas";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Enabled"; ObjectID = "JD5-tO-uQc"; */
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Enabled"; ObjectID = "JD5-tO-uQc"; */
|
||||||
"JD5-tO-uQc.ibExternalAccessibilityDescription" = "Activado";
|
"JD5-tO-uQc.ibExternalAccessibilityDescription" = "Habilitado";
|
||||||
|
|
||||||
/* Class = "NSButton"; ibShadowedToolTip = "Enable or disable the track"; ObjectID = "JD5-tO-uQc"; */
|
/* Class = "NSButton"; ibShadowedToolTip = "Enable or disable the track"; ObjectID = "JD5-tO-uQc"; */
|
||||||
"JD5-tO-uQc.ibShadowedToolTip" = "Activar o desactivar pista";
|
"JD5-tO-uQc.ibShadowedToolTip" = "Habilitar o deshabilitar pista";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "00:00:00"; ObjectID = "LAW-aU-7Ie"; */
|
/* Class = "NSTextFieldCell"; title = "00:00:00"; ObjectID = "LAW-aU-7Ie"; */
|
||||||
"LAW-aU-7Ie.title" = "00:00:00";
|
"LAW-aU-7Ie.title" = "00:00:00";
|
||||||
@@ -23,11 +23,11 @@
|
|||||||
"qGd-Uo-RvP.headerCell.title" = "Idioma";
|
"qGd-Uo-RvP.headerCell.title" = "Idioma";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "sB1-FL-VRd"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "sB1-FL-VRd"; */
|
||||||
"sB1-FL-VRd.headerCell.title" = "Id";
|
"sB1-FL-VRd.headerCell.title" = "ID";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Format"; ObjectID = "vmh-dT-zIv"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Format"; ObjectID = "vmh-dT-zIv"; */
|
||||||
"vmh-dT-zIv.headerCell.title" = "Formato";
|
"vmh-dT-zIv.headerCell.title" = "Formato";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Enabled"; ObjectID = "Znw-bQ-tsE"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Enabled"; ObjectID = "Znw-bQ-tsE"; */
|
||||||
"Znw-bQ-tsE.headerCell.title" = "Activado";
|
"Znw-bQ-tsE.headerCell.title" = "Habilitado";
|
||||||
|
|
||||||
@@ -4,9 +4,15 @@
|
|||||||
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
||||||
"7Ek-lI-5Lo.title" = "Mantieni le annotazioni vuote";
|
"7Ek-lI-5Lo.title" = "Mantieni le annotazioni vuote";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Overwrite existing annotations"; ObjectID = "7KC-Up-hGn"; */
|
||||||
|
"7KC-Up-hGn.title" = "Sovrascrivi le annotazioni esistenti";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
||||||
"Aj4-bk-6RK.headerCell.title" = "Valore";
|
"Aj4-bk-6RK.headerCell.title" = "Valore";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "4K metadata may cause streaming issues with some Apple TV and iTunes configurations"; ObjectID = "cEs-iS-fwI"; */
|
||||||
|
"cEs-iS-fwI.ibShadowedToolTip" = "Il metadata 4K può causare problemi di trasmissione con certe configurazioni di Apple TV e iTunes";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
||||||
"cUW-9F-EvO.title" = "Associa i metadati dei fornitori alle annotazioni MP4";
|
"cUW-9F-EvO.title" = "Associa i metadati dei fornitori alle annotazioni MP4";
|
||||||
|
|
||||||
@@ -31,3 +37,6 @@
|
|||||||
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
||||||
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "Mappa metadata";
|
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "Mappa metadata";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Autodetect 4K HD Video Metadata"; ObjectID = "vyR-ib-B9Q"; */
|
||||||
|
"vyR-ib-B9Q.title" = "Rileva metadata 4K Video HD";
|
||||||
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/* Class = "NSTextFieldCell"; title = "Set the format to create a custom filename in the Save As… panel and in the queue."; ObjectID = "hE3-zH-XFE"; */
|
/* Class = "NSTextFieldCell"; title = "Set the format to create a custom filename in the Save As… panel and in the queue."; ObjectID = "hE3-zH-XFE"; */
|
||||||
"hE3-zH-XFE.title" = "Imposta il formato per creare un nome del file personalizzato nel pannello \"Salva col nome…\" and nella coda.";
|
"hE3-zH-XFE.title" = "Imposta il formato per creare un nome del file personalizzato nel pannello \\\"Salva col nome…\\\" and nella coda.";
|
||||||
|
|
||||||
/* Class = "NSButtonCell"; title = "Set filename of TV Shows to:"; ObjectID = "kQC-bu-0by"; */
|
/* Class = "NSButtonCell"; title = "Set filename of TV Shows to:"; ObjectID = "kQC-bu-0by"; */
|
||||||
"kQC-bu-0by.title" = "Imposta il nome del file delle Serie TV a:";
|
"kQC-bu-0by.title" = "Imposta il nome del file delle Serie TV a:";
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "s5f-yH-26m"; */
|
||||||
|
"s5f-yH-26m.title" = "Janela";
|
||||||
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotations"; ObjectID = "6um-Rw-luk"; */
|
||||||
|
"6um-Rw-luk.headerCell.title" = "Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
||||||
|
"7Ek-lI-5Lo.title" = "Manter tags vazias";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
||||||
|
"Aj4-bk-6RK.headerCell.title" = "Valor";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
||||||
|
"cUW-9F-EvO.title" = "Atribui metadados de fornecedores às tags MP4.";
|
||||||
|
|
||||||
|
/* Class = "CocoaBindingsConnection"; ibShadowedIsNilPlaceholder = "Null"; ObjectID = "dgq-hT-1Vg"; */
|
||||||
|
"dgq-hT-1Vg.ibShadowedIsNilPlaceholder" = "Nulo";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Type"; ObjectID = "gwa-XG-q0L"; */
|
||||||
|
"gwa-XG-q0L.headerCell.title" = "Tipo";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add annotation"; ObjectID = "Jdh-Cj-6ef"; */
|
||||||
|
"Jdh-Cj-6ef.ibShadowedToolTip" = "Adicionar tag";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Restore Defaults"; ObjectID = "nBh-jv-KDG"; */
|
||||||
|
"nBh-jv-KDG.title" = "Restabelecer padrões";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata type"; ObjectID = "nXW-oy-rtu"; */
|
||||||
|
"nXW-oy-rtu.ibExternalAccessibilityDescription" = "Tipo de conteúdo";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Available values:"; ObjectID = "OYx-Dd-YIf"; */
|
||||||
|
"OYx-Dd-YIf.title" = "Valores disponíveis:";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "sd5-qb-K5v"; */
|
||||||
|
"sd5-qb-K5v.ibShadowedToolTip" = "Remover Tag";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
||||||
|
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "Tags";
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Language data files"; ObjectID = "7YG-8f-1AH"; */
|
||||||
|
"7YG-8f-1AH.headerCell.title" = "Arquivos de dados de idioma";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Get"; ObjectID = "DIS-cU-NvL"; */
|
||||||
|
"DIS-cU-NvL.title" = "Obter";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Language specific OCR data files can improve the optical character recognition results."; ObjectID = "LFI-zD-ohi"; */
|
||||||
|
"LFI-zD-ohi.title" = "Os arquivos de dados OCR específicos do idioma podem melhorar os resultados do reconhecimento óptico de caracteres.";
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Offset:"; ObjectID = "1MN-KJ-v23"; */
|
||||||
|
"1MN-KJ-v23.title" = "Deslocamento:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "ms"; ObjectID = "nxC-E2-XnZ"; */
|
||||||
|
"nxC-E2-XnZ.title" = "ms";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "Ypd-2w-xig"; */
|
||||||
|
"Ypd-2w-xig.title" = "Cancelar";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "OK"; ObjectID = "zRv-hv-PCL"; */
|
||||||
|
"zRv-hv-PCL.title" = "OK";
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Set the format to create a custom filename in the Save As… panel and in the queue."; ObjectID = "hE3-zH-XFE"; */
|
||||||
|
"hE3-zH-XFE.title" = "Defina um formato de nome para os arquivos a serem salvos a partir do painel 'Salvar como...' e na Fila.";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Set filename of TV Shows to:"; ObjectID = "kQC-bu-0by"; */
|
||||||
|
"kQC-bu-0by.title" = "Formato de nome de arquivo para Programas de TV:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Set filename of Movies to:"; ObjectID = "wci-gO-GWT"; */
|
||||||
|
"wci-gO-GWT.title" = "Formato de nome de arquivo para Filmes:";
|
||||||
|
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "0nh-AI-EEk"; */
|
||||||
|
"0nh-AI-EEk.title" = "Manter tags existentes";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "2ur-nu-rZh"; */
|
||||||
|
"2ur-nu-rZh.title" = "Manter Capas Existentes";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibExternalAccessibilityDescription" = "Adicionar tag";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibShadowedToolTip" = "Adicionar tag";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibExternalAccessibilityDescription" = "Remover Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibShadowedToolTip" = "Remover Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
|
||||||
|
"87e-za-hJV.ibShadowedToolTip" = "Fechar";
|
||||||
|
|
||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "167"; */
|
||||||
|
"167.title" = "Janela";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "174"; */
|
||||||
|
"174.title" = "Nome:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Save"; ObjectID = "177"; */
|
||||||
|
"177.title" = "Salvar";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "178"; */
|
||||||
|
"178.title" = "Cancelar";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
||||||
|
"179.ibExternalAccessibilityDescription" = "Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Add an artwork"; ObjectID = "223"; */
|
||||||
|
"223.ibShadowedToolTip" = "Adicionar Capa";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected artwork"; ObjectID = "226"; */
|
||||||
|
"226.ibShadowedToolTip" = "Remover Capa Selecionada";
|
||||||
|
|
||||||
|
/* Class = "NSSlider"; ibShadowedToolTip = "Change artworks view zoom"; ObjectID = "235"; */
|
||||||
|
"235.ibShadowedToolTip" = "Alterar o Tamanho de Visualização da Capa";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Title"; ObjectID = "CD8-S4-C35"; */
|
||||||
|
"CD8-S4-C35.title" = "Título";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "CHk-xu-U9f"; */
|
||||||
|
"CHk-xu-U9f.title" = "Manter Capas Existentes";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
|
"j7q-XE-YXB.headerCell.title" = "Tag";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "KxJ-Zr-uiZ"; */
|
||||||
|
"KxJ-Zr-uiZ.title" = "Manter tags existentes";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
|
"os0-Yb-exW.headerCell.title" = "Valor";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "Tags";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Preset Title"; ObjectID = "RvM-No-Mwg"; */
|
||||||
|
"RvM-No-Mwg.ibExternalAccessibilityDescription" = "Título do Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "OK"; ObjectID = "xfY-4F-IAd"; */
|
||||||
|
"xfY-4F-IAd.title" = "Fechar";
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Edit selected set"; ObjectID = "C1d-lu-T7S"; */
|
||||||
|
"C1d-lu-T7S.ibShadowedToolTip" = "Editar Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected set"; ObjectID = "gBf-6T-hQv"; */
|
||||||
|
"gBf-6T-hQv.ibShadowedToolTip" = "Remover Preset";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "iRF-P7-a3Q"; */
|
||||||
|
"iRF-P7-a3Q.ibExternalAccessibilityDescription" = "Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected set"; ObjectID = "SIg-lA-6FA"; */
|
||||||
|
"SIg-lA-6FA.ibShadowedToolTip" = "Remover Preset";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Edit"; ObjectID = "W45-Bf-XCJ"; */
|
||||||
|
"W45-Bf-XCJ.title" = "Editar";
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Saving…"; ObjectID = "1QY-aq-f1i"; */
|
||||||
|
"1QY-aq-f1i.title" = "Salvando…";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "13i-3e-aOA"; */
|
||||||
|
"13i-3e-aOA.title" = "Cancelar";
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Note: don't use this option if you are not sure of what it is doing, it's not needed in almost every case.\nEnable 64bit timescale and duration support. Normally, it's only needed if a track will be longer than 10 hours."; ObjectID = "3CX-Vp-T0h"; */
|
||||||
|
"3CX-Vp-T0h.ibShadowedToolTip" = "Nota: não use esta opção se você não tiver certeza do que ela está fazendo, não é necessária em quase todos os casos.\nAtiva o suporte de escala de tempo e duração de 64 bits. Normalmente, só é necessário se uma faixa tiver mais de 10 horas.";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "64 bits chunk offset"; ObjectID = "14x-xv-HKI"; */
|
||||||
|
"14x-xv-HKI.title" = "Deslocamento de fragmentos de 64 bits";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Options:"; ObjectID = "BXP-AU-x3T"; */
|
||||||
|
"BXP-AU-x3T.title" = "Opções:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "File Format:"; ObjectID = "caN-zU-chS"; */
|
||||||
|
"caN-zU-chS.title" = "Formato de arquivo:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "64 bits times"; ObjectID = "DCI-a5-K73"; */
|
||||||
|
"DCI-a5-K73.title" = "Tempos de 64 bits";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Needed for mp4 larger than 4GB."; ObjectID = "emp-1S-F7H"; */
|
||||||
|
"emp-1S-F7H.ibShadowedToolTip" = "Necessário para mp4 maior que 4GB";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Optimize"; ObjectID = "OZC-sc-82O"; */
|
||||||
|
"OZC-sc-82O.title" = "Otimizar";
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Duration"; ObjectID = "0dC-Ux-mUt"; */
|
||||||
|
"0dC-Ux-mUt.headerCell.title" = "Duração";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Name"; ObjectID = "3zj-cH-wWV"; */
|
||||||
|
"3zj-cH-wWV.headerCell.title" = "Nome";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Tracks"; ObjectID = "Bpi-e7-pHx"; */
|
||||||
|
"Bpi-e7-pHx.ibExternalAccessibilityDescription" = "Faixas";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Enabled"; ObjectID = "JD5-tO-uQc"; */
|
||||||
|
"JD5-tO-uQc.ibExternalAccessibilityDescription" = "Ativado";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Enable or disable the track"; ObjectID = "JD5-tO-uQc"; */
|
||||||
|
"JD5-tO-uQc.ibShadowedToolTip" = "Ativar ou Desativar a Faixa";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "00:00:00"; ObjectID = "LAW-aU-7Ie"; */
|
||||||
|
"LAW-aU-7Ie.title" = "00:00:00";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Text"; ObjectID = "LgC-JT-Lsx"; */
|
||||||
|
"LgC-JT-Lsx.title" = "Texto";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Language"; ObjectID = "qGd-Uo-RvP"; */
|
||||||
|
"qGd-Uo-RvP.headerCell.title" = "Idioma";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "sB1-FL-VRd"; */
|
||||||
|
"sB1-FL-VRd.headerCell.title" = "ID";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Format"; ObjectID = "vmh-dT-zIv"; */
|
||||||
|
"vmh-dT-zIv.headerCell.title" = "Formato";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Enabled"; ObjectID = "Znw-bQ-tsE"; */
|
||||||
|
"Znw-bQ-tsE.headerCell.title" = "Ativado";
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "s5f-yH-26m"; */
|
||||||
|
"s5f-yH-26m.title" = "窗口";
|
||||||
|
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotations"; ObjectID = "6um-Rw-luk"; */
|
||||||
|
"6um-Rw-luk.headerCell.title" = "注释";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep empty annotations"; ObjectID = "7Ek-lI-5Lo"; */
|
||||||
|
"7Ek-lI-5Lo.title" = "保留空白注释";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "Aj4-bk-6RK"; */
|
||||||
|
"Aj4-bk-6RK.headerCell.title" = "值";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Map the providers' metadata to the MP4 annotations"; ObjectID = "cUW-9F-EvO"; */
|
||||||
|
"cUW-9F-EvO.title" = "将获取的元数据映射到 mp4 注释";
|
||||||
|
|
||||||
|
/* Class = "CocoaBindingsConnection"; ibShadowedIsNilPlaceholder = "Null"; ObjectID = "dgq-hT-1Vg"; */
|
||||||
|
"dgq-hT-1Vg.ibShadowedIsNilPlaceholder" = "无";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Type"; ObjectID = "gwa-XG-q0L"; */
|
||||||
|
"gwa-XG-q0L.headerCell.title" = "类型";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add annotation"; ObjectID = "Jdh-Cj-6ef"; */
|
||||||
|
"Jdh-Cj-6ef.ibShadowedToolTip" = "添加注释条目";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Restore Defaults"; ObjectID = "nBh-jv-KDG"; */
|
||||||
|
"nBh-jv-KDG.title" = "恢复默认";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata type"; ObjectID = "nXW-oy-rtu"; */
|
||||||
|
"nXW-oy-rtu.ibExternalAccessibilityDescription" = "元数据类型";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Available values:"; ObjectID = "OYx-Dd-YIf"; */
|
||||||
|
"OYx-Dd-YIf.title" = "可用值:";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "sd5-qb-K5v"; */
|
||||||
|
"sd5-qb-K5v.ibShadowedToolTip" = "移除所选项";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata map"; ObjectID = "Tid-Rc-Ljr"; */
|
||||||
|
"Tid-Rc-Ljr.ibExternalAccessibilityDescription" = "元数据映射";
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Language data files"; ObjectID = "7YG-8f-1AH"; */
|
||||||
|
"7YG-8f-1AH.headerCell.title" = "语言支持文件";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Get"; ObjectID = "DIS-cU-NvL"; */
|
||||||
|
"DIS-cU-NvL.title" = "获取";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Language specific OCR data files can improve the optical character recognition results."; ObjectID = "LFI-zD-ohi"; */
|
||||||
|
"LFI-zD-ohi.title" = "特定语言的 OCR 支持文件可以改善光学文字识别的结果";
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Offset:"; ObjectID = "1MN-KJ-v23"; */
|
||||||
|
"1MN-KJ-v23.title" = "偏移:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "ms"; ObjectID = "nxC-E2-XnZ"; */
|
||||||
|
"nxC-E2-XnZ.title" = "毫秒";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "Ypd-2w-xig"; */
|
||||||
|
"Ypd-2w-xig.title" = "取消";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "OK"; ObjectID = "zRv-hv-PCL"; */
|
||||||
|
"zRv-hv-PCL.title" = "确定";
|
||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Set the format to create a custom filename in the Save As… panel and in the queue."; ObjectID = "hE3-zH-XFE"; */
|
||||||
|
"hE3-zH-XFE.title" = "在“另存为…”面板和队列中设置格式以创建自定义文件名。";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Set filename of TV Shows to:"; ObjectID = "kQC-bu-0by"; */
|
||||||
|
"kQC-bu-0by.title" = "将电视节目文件名设置为:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Set filename of Movies to:"; ObjectID = "wci-gO-GWT"; */
|
||||||
|
"wci-gO-GWT.title" = "将电影文件名设置为:";
|
||||||
|
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "0nh-AI-EEk"; */
|
||||||
|
"0nh-AI-EEk.title" = "保留现有注释";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "2ur-nu-rZh"; */
|
||||||
|
"2ur-nu-rZh.title" = "保留现有插图";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Add metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibExternalAccessibilityDescription" = "添加元数据条目";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibShadowedToolTip = "Add a new metadata item"; ObjectID = "30"; */
|
||||||
|
"30.ibShadowedToolTip" = "添加一个新的元数据条目";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibExternalAccessibilityDescription" = "移除所选项";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected item"; ObjectID = "53"; */
|
||||||
|
"53.ibShadowedToolTip" = "移除所选项";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
|
||||||
|
"87e-za-hJV.ibShadowedToolTip" = "忽略";
|
||||||
|
|
||||||
|
/* Class = "NSWindow"; title = "Window"; ObjectID = "167"; */
|
||||||
|
"167.title" = "窗口";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "174"; */
|
||||||
|
"174.title" = "名称:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Save"; ObjectID = "177"; */
|
||||||
|
"177.title" = "存储";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "178"; */
|
||||||
|
"178.title" = "取消";
|
||||||
|
|
||||||
|
/* Class = "NSPopUpButton"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "179"; */
|
||||||
|
"179.ibExternalAccessibilityDescription" = "预设";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Add an artwork"; ObjectID = "223"; */
|
||||||
|
"223.ibShadowedToolTip" = "添加插图";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected artwork"; ObjectID = "226"; */
|
||||||
|
"226.ibShadowedToolTip" = "移除所选插图";
|
||||||
|
|
||||||
|
/* Class = "NSSlider"; ibShadowedToolTip = "Change artworks view zoom"; ObjectID = "235"; */
|
||||||
|
"235.ibShadowedToolTip" = "改变插图视图缩放";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Title"; ObjectID = "CD8-S4-C35"; */
|
||||||
|
"CD8-S4-C35.title" = "标题";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing artworks"; ObjectID = "CHk-xu-U9f"; */
|
||||||
|
"CHk-xu-U9f.title" = "保留现有插图";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Annotation"; ObjectID = "j7q-XE-YXB"; */
|
||||||
|
"j7q-XE-YXB.headerCell.title" = "注释";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Keep existing annotations"; ObjectID = "KxJ-Zr-uiZ"; */
|
||||||
|
"KxJ-Zr-uiZ.title" = "保留现有注释";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Value"; ObjectID = "os0-Yb-exW"; */
|
||||||
|
"os0-Yb-exW.headerCell.title" = "值";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Metadata"; ObjectID = "qg5-r0-E4V"; */
|
||||||
|
"qg5-r0-E4V.ibExternalAccessibilityDescription" = "元数据";
|
||||||
|
|
||||||
|
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Preset Title"; ObjectID = "RvM-No-Mwg"; */
|
||||||
|
"RvM-No-Mwg.ibExternalAccessibilityDescription" = "预设标题";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "OK"; ObjectID = "xfY-4F-IAd"; */
|
||||||
|
"xfY-4F-IAd.title" = "确定";
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Edit selected set"; ObjectID = "C1d-lu-T7S"; */
|
||||||
|
"C1d-lu-T7S.ibShadowedToolTip" = "编辑所选预设";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected set"; ObjectID = "gBf-6T-hQv"; */
|
||||||
|
"gBf-6T-hQv.ibShadowedToolTip" = "移除所选预设";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Sets"; ObjectID = "iRF-P7-a3Q"; */
|
||||||
|
"iRF-P7-a3Q.ibExternalAccessibilityDescription" = "预设";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Remove selected set"; ObjectID = "SIg-lA-6FA"; */
|
||||||
|
"SIg-lA-6FA.ibShadowedToolTip" = "移除所选预设";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Edit"; ObjectID = "W45-Bf-XCJ"; */
|
||||||
|
"W45-Bf-XCJ.title" = "编辑";
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* Class = "NSTextFieldCell"; title = "Saving…"; ObjectID = "1QY-aq-f1i"; */
|
||||||
|
"1QY-aq-f1i.title" = "正在存储…";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "13i-3e-aOA"; */
|
||||||
|
"13i-3e-aOA.title" = "取消";
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Note: don't use this option if you are not sure of what it is doing, it's not needed in almost every case.\nEnable 64bit timescale and duration support. Normally, it's only needed if a track will be longer than 10 hours."; ObjectID = "3CX-Vp-T0h"; */
|
||||||
|
"3CX-Vp-T0h.ibShadowedToolTip" = "注意:如果不确定该选项的作用,请不要使用此选项,几乎在每种情况下都不需要使用此选项。\n启用64位时标和持续时间支持:通常,仅当时长超过10小时才需要。";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "64 bits chunk offset"; ObjectID = "14x-xv-HKI"; */
|
||||||
|
"14x-xv-HKI.title" = "64位块偏移";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Options:"; ObjectID = "BXP-AU-x3T"; */
|
||||||
|
"BXP-AU-x3T.title" = "选项:";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "File Format:"; ObjectID = "caN-zU-chS"; */
|
||||||
|
"caN-zU-chS.title" = "文件格式:";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "64 bits times"; ObjectID = "DCI-a5-K73"; */
|
||||||
|
"DCI-a5-K73.title" = "64位时间";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Needed for mp4 larger than 4GB."; ObjectID = "emp-1S-F7H"; */
|
||||||
|
"emp-1S-F7H.ibShadowedToolTip" = "当 mp4 文件超过 4GB 时需要此项";
|
||||||
|
|
||||||
|
/* Class = "NSButtonCell"; title = "Optimize"; ObjectID = "OZC-sc-82O"; */
|
||||||
|
"OZC-sc-82O.title" = "优化";
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Duration"; ObjectID = "0dC-Ux-mUt"; */
|
||||||
|
"0dC-Ux-mUt.headerCell.title" = "持续时间";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Name"; ObjectID = "3zj-cH-wWV"; */
|
||||||
|
"3zj-cH-wWV.headerCell.title" = "名称";
|
||||||
|
|
||||||
|
/* Class = "NSTableView"; ibExternalAccessibilityDescription = "Tracks"; ObjectID = "Bpi-e7-pHx"; */
|
||||||
|
"Bpi-e7-pHx.ibExternalAccessibilityDescription" = "轨道";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibExternalAccessibilityDescription = "Enabled"; ObjectID = "JD5-tO-uQc"; */
|
||||||
|
"JD5-tO-uQc.ibExternalAccessibilityDescription" = "已启用";
|
||||||
|
|
||||||
|
/* Class = "NSButton"; ibShadowedToolTip = "Enable or disable the track"; ObjectID = "JD5-tO-uQc"; */
|
||||||
|
"JD5-tO-uQc.ibShadowedToolTip" = "启用/禁用轨道";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "00:00:00"; ObjectID = "LAW-aU-7Ie"; */
|
||||||
|
"LAW-aU-7Ie.title" = "00:00:00";
|
||||||
|
|
||||||
|
/* Class = "NSTextFieldCell"; title = "Text"; ObjectID = "LgC-JT-Lsx"; */
|
||||||
|
"LgC-JT-Lsx.title" = "文本";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Language"; ObjectID = "qGd-Uo-RvP"; */
|
||||||
|
"qGd-Uo-RvP.headerCell.title" = "语言";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "sB1-FL-VRd"; */
|
||||||
|
"sB1-FL-VRd.headerCell.title" = "ID";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Format"; ObjectID = "vmh-dT-zIv"; */
|
||||||
|
"vmh-dT-zIv.headerCell.title" = "格式";
|
||||||
|
|
||||||
|
/* Class = "NSTableColumn"; headerCell.title = "Enabled"; ObjectID = "Znw-bQ-tsE"; */
|
||||||
|
"Znw-bQ-tsE.headerCell.title" = "已启用";
|
||||||
|
|
||||||
+4
-2
@@ -142,7 +142,7 @@
|
|||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>${EXECUTABLE_NAME}</string>
|
<string>${EXECUTABLE_NAME}</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>$(MARKETING_VERSION), Copyright 2025 Damiano Galassi</string>
|
<string>$(MARKETING_VERSION), Copyright © 2026 Damiano Galassi</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
<key>NSAppleScriptEnabled</key>
|
<key>NSAppleScriptEnabled</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>Copyright © 2009-2025, Damiano Galassi</string>
|
<string>Copyright © 2009-2026, Damiano Galassi</string>
|
||||||
<key>NSMainNibFile</key>
|
<key>NSMainNibFile</key>
|
||||||
<string>MainMenu</string>
|
<string>MainMenu</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
@@ -177,6 +177,8 @@
|
|||||||
<string>https://subler.org/appcast/appcast.xml</string>
|
<string>https://subler.org/appcast/appcast.xml</string>
|
||||||
<key>SUPublicEDKey</key>
|
<key>SUPublicEDKey</key>
|
||||||
<string>9M0JrgMq+5MrpLqTu7lT+ffThP8dRp78OQNTklwK/WE=</string>
|
<string>9M0JrgMq+5MrpLqTu7lT+ffThP8dRp78OQNTklwK/WE=</string>
|
||||||
|
<key>NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac</key>
|
||||||
|
<true/>
|
||||||
<key>UTImportedTypeDeclarations</key>
|
<key>UTImportedTypeDeclarations</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
|
|||||||
+1
-1
Submodule MP42Foundation updated: c63253903d...4648f9d585.
+47
-5
@@ -1,18 +1,60 @@
|
|||||||
# Subler News
|
# Subler News
|
||||||
|
|
||||||
|
## Subler 1.9.5
|
||||||
|
|
||||||
|
- Expanded undo/redo support
|
||||||
|
- Improved artworks order in the artwork selector
|
||||||
|
- Improved specials (season 0) lookup from file names [brettpynn]
|
||||||
|
- Improved TVDB tv shows name search
|
||||||
|
- Added an option to set the 4k HD Video tag when needed [brettpynn]
|
||||||
|
- Fixed a crash that happened if a queue item contained a "Set language" action
|
||||||
|
- Minor UI improvements and bug fixes
|
||||||
|
|
||||||
|
|
||||||
|
## Subler 1.9.4
|
||||||
|
|
||||||
|
- Added an option to select a default "Save as" location [mindprint]
|
||||||
|
- Fixed manually added JPEG artworks being saved as PNG
|
||||||
|
- Fixed mismatching track languages when two different languages are defined for the same track [brettpynn]
|
||||||
|
- Fixed some minor UI issues
|
||||||
|
- Updated localizations
|
||||||
|
|
||||||
|
|
||||||
|
## Subler 1.9.3
|
||||||
|
|
||||||
|
- Improved TVDB scraper
|
||||||
|
- Added a setting to the Metadata preferences to not override the existing metadata
|
||||||
|
- Minor UI improvements and bug fixes
|
||||||
|
- Updated localizations
|
||||||
|
|
||||||
|
|
||||||
|
## Subler 1.9.2
|
||||||
|
|
||||||
|
- Updated the TVDB scraper to use the v4 API
|
||||||
|
- AppleTV artworks are retrieved at higher resolution
|
||||||
|
- Fixed the cut command to make it work on artworks
|
||||||
|
|
||||||
|
|
||||||
|
## Subler 1.9.1
|
||||||
|
|
||||||
|
- Fixed the queue AppleScript dictionary
|
||||||
|
- Added a work around for a macOS 26 issue that could cause a crash when editing the file name and metadata token fields in the preferences
|
||||||
|
|
||||||
|
|
||||||
## Subler 1.9.0
|
## Subler 1.9.0
|
||||||
|
|
||||||
- Updated UI for macOS 26
|
- Updated UI for macOS 26
|
||||||
- Preserves extended language tags from Matroska files
|
- Preserves extended language tags from Matroska files
|
||||||
- Fixed the services ids in the metadata map
|
- Fixed the services ids in the metadata map
|
||||||
|
|
||||||
|
|
||||||
## Subler 1.8.9
|
## Subler 1.8.9
|
||||||
|
|
||||||
- Expanded the AppleScript dictionary [Mock1]
|
- Expanded the AppleScript dictionary [Mock1]
|
||||||
- Added additional keyboard shortcuts [Mock1]
|
- Added additional keyboard shortcuts [Mock1]
|
||||||
- Added support for unofficial metadata often used for Audiobooks
|
- Added support for unofficial metadata often used for Audiobooks
|
||||||
- Make it possible to use the services ids in the metadata map
|
- Make it possible to use the services ids in the metadata map
|
||||||
- Fixed the "Insert a chaper at the beginning" menu item action
|
- Fixed the "Insert a chapter at the beginning" menu item action
|
||||||
- Fixed Swedish Ratings
|
- Fixed Swedish Ratings
|
||||||
- Fixed the "None" artwork option in the Queue
|
- Fixed the "None" artwork option in the Queue
|
||||||
|
|
||||||
@@ -117,7 +159,7 @@
|
|||||||
## Subler 1.6.11
|
## Subler 1.6.11
|
||||||
|
|
||||||
* Fixed an issue in the Matroska importer that could cause wrong tracks durations.
|
* Fixed an issue in the Matroska importer that could cause wrong tracks durations.
|
||||||
* Added HLG and more colorspaces to the video property view.
|
* Added HLG and more color spaces to the video property view.
|
||||||
|
|
||||||
|
|
||||||
## Subler 1.6.10
|
## Subler 1.6.10
|
||||||
@@ -140,7 +182,7 @@
|
|||||||
## Subler 1.6.7
|
## Subler 1.6.7
|
||||||
|
|
||||||
* Improves AppleTV TV Shows seasons matching.
|
* Improves AppleTV TV Shows seasons matching.
|
||||||
* Fixes a regression that prevented Atmos tracks from being properly signaled.
|
* Fixes a regression that prevented Atmos tracks from being properly signalled.
|
||||||
* Adds Chinese localization.
|
* Adds Chinese localization.
|
||||||
|
|
||||||
|
|
||||||
@@ -158,7 +200,7 @@
|
|||||||
|
|
||||||
## Subler 1.6.4
|
## Subler 1.6.4
|
||||||
|
|
||||||
* Fixes an issue that prevented uncheking tracks in the import sheet.
|
* Fixes an issue that prevented unchecking tracks in the import sheet.
|
||||||
* Fixes an issue that prevented the parsing of some metadata.
|
* Fixes an issue that prevented the parsing of some metadata.
|
||||||
* Improves Srt export. Subtitles tracks with edit lists are properly exported.
|
* Improves Srt export. Subtitles tracks with edit lists are properly exported.
|
||||||
* Improved VobSub OCR subtitles timing.
|
* Improved VobSub OCR subtitles timing.
|
||||||
@@ -390,7 +432,7 @@
|
|||||||
|
|
||||||
* Restored 10.9 compatibility.
|
* Restored 10.9 compatibility.
|
||||||
* Fixed a crash when importing some mov files.
|
* Fixed a crash when importing some mov files.
|
||||||
* Fixed the subtitles "forced" option, it was not saved propertly in some cases.
|
* Fixed the subtitles "forced" option, it was not saved properly in some cases.
|
||||||
|
|
||||||
|
|
||||||
## Subler 1.3.7 (2017-9-19)
|
## Subler 1.3.7 (2017-9-19)
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,6 +3,7 @@
|
|||||||
{"storeCode": 143460, "country3": "AUS", "country2": "AU", "language2": "EN", "language": "English", "season": "season", "country": "Australia", "cast": "Cast", "director": "Director", "producer": "Producers", "screenwriter": "Screenwriter", "studio": "Studio", "copyright": "Copyright"},
|
{"storeCode": 143460, "country3": "AUS", "country2": "AU", "language2": "EN", "language": "English", "season": "season", "country": "Australia", "cast": "Cast", "director": "Director", "producer": "Producers", "screenwriter": "Screenwriter", "studio": "Studio", "copyright": "Copyright"},
|
||||||
{"storeCode": 143446, "country3": "BEL", "country2": "BE", "language2": "NL", "language": "Nederlands", "season": "season", "country": "België", "cast": "Cast", "director": "Regisseur", "producer": "Producenten", "screenwriter": "Scenarioschrijver", "studio": "Studio", "copyright": "Copyright"},
|
{"storeCode": 143446, "country3": "BEL", "country2": "BE", "language2": "NL", "language": "Nederlands", "season": "season", "country": "België", "cast": "Cast", "director": "Regisseur", "producer": "Producenten", "screenwriter": "Scenarioschrijver", "studio": "Studio", "copyright": "Copyright"},
|
||||||
{"storeCode": 143446, "country3": "BEL", "country2": "BE", "language2": "FR", "language": "Français", "season": "saison", "country": "Belgique", "cast": "Cast", "director": "Réalisateur", "producer": "Producteurs", "screenwriter": "Scénariste", "studio": "Studio", "copyright": "Copyright"},
|
{"storeCode": 143446, "country3": "BEL", "country2": "BE", "language2": "FR", "language": "Français", "season": "saison", "country": "Belgique", "cast": "Cast", "director": "Réalisateur", "producer": "Producteurs", "screenwriter": "Scénariste", "studio": "Studio", "copyright": "Copyright"},
|
||||||
|
{"storeCode": 143513, "country3": "PRY", "country2": "PY", "language2": "ES", "language": "Español", "season": "Temporada", "country": "Paraguay", "cast": "Reparto", "director": "Dirección", "producer": "Producción", "screenwriter": "Guion", "studio": "Estudio", "copyright": "Copyright"},
|
||||||
{"storeCode": 143503, "country3": "BRA", "country2": "BR", "language2": "PT", "language": "Português", "season": "season", "country": "Brasil", "cast": "Elenco", "director": "Diretor", "producer": "Produtores", "screenwriter": "Roteirista", "studio": "Estúdio", "copyright": "Direitos autorais"},
|
{"storeCode": 143503, "country3": "BRA", "country2": "BR", "language2": "PT", "language": "Português", "season": "season", "country": "Brasil", "cast": "Elenco", "director": "Diretor", "producer": "Produtores", "screenwriter": "Roteirista", "studio": "Estúdio", "copyright": "Direitos autorais"},
|
||||||
{"storeCode": 143505, "country3": "ARG", "country2": "AR", "language2": "ES", "language": "Español", "season": "season", "country": "Argentina", "cast": "Reparto", "director": "Director", "producer": "Productores", "screenwriter": "Guionista", "studio": "Estudio", "copyright": "Copyright"},
|
{"storeCode": 143505, "country3": "ARG", "country2": "AR", "language2": "ES", "language": "Español", "season": "season", "country": "Argentina", "cast": "Reparto", "director": "Director", "producer": "Productores", "screenwriter": "Guionista", "studio": "Estudio", "copyright": "Copyright"},
|
||||||
{"storeCode": 143455, "country3": "CAN", "country2": "CA", "language2": "EN", "language": "English", "season": "season", "country": "Canada", "cast": "Cast", "director": "Director", "producer": "Producers", "screenwriter": "Screenwriter", "studio": "Studio", "copyright": "Copyright"},
|
{"storeCode": 143455, "country3": "CAN", "country2": "CA", "language2": "EN", "language": "English", "season": "season", "country": "Canada", "cast": "Cast", "director": "Director", "producer": "Producers", "screenwriter": "Screenwriter", "studio": "Studio", "copyright": "Copyright"},
|
||||||
+6
-5
@@ -4,11 +4,6 @@
|
|||||||
|
|
||||||
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
|
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
|
||||||
|
|
||||||
<class-extension extends="application" description="Queue's top level scripting object.">
|
|
||||||
<element type="queue item" access="r" description="The queue items">
|
|
||||||
<cocoa key="queueItems"/>
|
|
||||||
</element>
|
|
||||||
</class-extension>
|
|
||||||
|
|
||||||
<suite name="Subler Automation Suite" code="Subl" description="Automation functions for Subler.">
|
<suite name="Subler Automation Suite" code="Subl" description="Automation functions for Subler.">
|
||||||
|
|
||||||
@@ -196,6 +191,12 @@
|
|||||||
</property>
|
</property>
|
||||||
|
|
||||||
</class>
|
</class>
|
||||||
|
|
||||||
|
<class-extension extends="application" description="Queue's top level scripting object.">
|
||||||
|
<element type="queue item" access="r" description="The queue items">
|
||||||
|
<cocoa key="queueItems"/>
|
||||||
|
</element>
|
||||||
|
</class-extension>
|
||||||
|
|
||||||
</suite>
|
</suite>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
@@ -66,7 +66,6 @@
|
|||||||
A97C3AA5204F18C90007AD38 /* TokenCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97C3AA4204F18C90007AD38 /* TokenCellView.swift */; };
|
A97C3AA5204F18C90007AD38 /* TokenCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97C3AA4204F18C90007AD38 /* TokenCellView.swift */; };
|
||||||
A97D99DA22A0240C001FA3A7 /* OCRManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97D99D922A0240C001FA3A7 /* OCRManager.swift */; };
|
A97D99DA22A0240C001FA3A7 /* OCRManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97D99D922A0240C001FA3A7 /* OCRManager.swift */; };
|
||||||
A97FA41E23E9837000EE5833 /* Ratings.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97FA41D23E9837000EE5833 /* Ratings.swift */; };
|
A97FA41E23E9837000EE5833 /* Ratings.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97FA41D23E9837000EE5833 /* Ratings.swift */; };
|
||||||
A97FA42223E9877900EE5833 /* Ratings.json in Resources */ = {isa = PBXBuildFile; fileRef = A97FA42123E9877900EE5833 /* Ratings.json */; };
|
|
||||||
A97FBE3C21FC7F1C00F1FD35 /* QueueController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97FBE3B21FC7F1C00F1FD35 /* QueueController.swift */; };
|
A97FBE3C21FC7F1C00F1FD35 /* QueueController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A97FBE3B21FC7F1C00F1FD35 /* QueueController.swift */; };
|
||||||
A983E80B22365B5400221BAE /* MovieViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A983E80A22365B5400221BAE /* MovieViewController.swift */; };
|
A983E80B22365B5400221BAE /* MovieViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A983E80A22365B5400221BAE /* MovieViewController.swift */; };
|
||||||
A98542D720D197D300EB9803 /* ArtworkSelector.xib in Resources */ = {isa = PBXBuildFile; fileRef = A98542D520D197D300EB9803 /* ArtworkSelector.xib */; };
|
A98542D720D197D300EB9803 /* ArtworkSelector.xib in Resources */ = {isa = PBXBuildFile; fileRef = A98542D520D197D300EB9803 /* ArtworkSelector.xib */; };
|
||||||
@@ -114,11 +113,14 @@
|
|||||||
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */; };
|
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */; };
|
||||||
A9C31E642029A82200CEF474 /* AdvancedPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C31E622029A82200CEF474 /* AdvancedPrefsViewController.xib */; };
|
A9C31E642029A82200CEF474 /* AdvancedPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C31E622029A82200CEF474 /* AdvancedPrefsViewController.xib */; };
|
||||||
A9C3E44A205C07F4004DE24E /* OptionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C3E449205C07F4004DE24E /* OptionsViewController.swift */; };
|
A9C3E44A205C07F4004DE24E /* OptionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C3E449205C07F4004DE24E /* OptionsViewController.swift */; };
|
||||||
|
A9C4989C306BC624009F332A /* PasteboardItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C4989B306BC624009F332A /* PasteboardItem.swift */; };
|
||||||
|
A9C498C4306BC6B9009F332A /* Ratings.json in Resources */ = {isa = PBXBuildFile; fileRef = A9C498C2306BC6B9009F332A /* Ratings.json */; };
|
||||||
|
A9C498C5306BC6B9009F332A /* Alpha2.json in Resources */ = {isa = PBXBuildFile; fileRef = A9C498C0306BC6B9009F332A /* Alpha2.json */; };
|
||||||
|
A9C498C6306BC6B9009F332A /* iTunesStores.json in Resources */ = {isa = PBXBuildFile; fileRef = A9C498C1306BC6B9009F332A /* iTunesStores.json */; };
|
||||||
|
A9C498C7306BC6B9009F332A /* Storefronts.json in Resources */ = {isa = PBXBuildFile; fileRef = A9C498C3306BC6B9009F332A /* Storefronts.json */; };
|
||||||
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */; };
|
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */; };
|
||||||
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C5FA7219FA2FEC0051F3FF /* SBActivityWindow.xib */; };
|
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C5FA7219FA2FEC0051F3FF /* SBActivityWindow.xib */; };
|
||||||
A9C73536206B8F9900794673 /* QueuePreferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C73535206B8F9900794673 /* QueuePreferences.swift */; };
|
A9C73536206B8F9900794673 /* QueuePreferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C73535206B8F9900794673 /* QueuePreferences.swift */; };
|
||||||
A9CB19022D10415D0074DC9F /* Storefronts.json in Resources */ = {isa = PBXBuildFile; fileRef = A9CB19012D10415D0074DC9F /* Storefronts.json */; };
|
|
||||||
A9CB19052D10417D0074DC9F /* Alpha2.json in Resources */ = {isa = PBXBuildFile; fileRef = A9CB19042D10417D0074DC9F /* Alpha2.json */; };
|
|
||||||
A9CBAB1E1F29C083001C26B3 /* MetadataImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */; };
|
A9CBAB1E1F29C083001C26B3 /* MetadataImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */; };
|
||||||
A9D4B8671C05BD04007845C4 /* SBChapterSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9D4B8651C05BD04007845C4 /* SBChapterSearch.xib */; };
|
A9D4B8671C05BD04007845C4 /* SBChapterSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9D4B8651C05BD04007845C4 /* SBChapterSearch.xib */; };
|
||||||
A9D64527202CA92400BA172B /* SaveOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9D64525202CA92400BA172B /* SaveOptions.swift */; };
|
A9D64527202CA92400BA172B /* SaveOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9D64525202CA92400BA172B /* SaveOptions.swift */; };
|
||||||
@@ -141,7 +143,6 @@
|
|||||||
A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9ED7B21180067A2008FD3A8 /* IOKit.framework */; };
|
A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9ED7B21180067A2008FD3A8 /* IOKit.framework */; };
|
||||||
A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */; };
|
A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */; };
|
||||||
CD71FEA612F1B62600F0A98D /* MetadataSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD71FEA412F1B62600F0A98D /* MetadataSearch.xib */; };
|
CD71FEA612F1B62600F0A98D /* MetadataSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD71FEA412F1B62600F0A98D /* MetadataSearch.xib */; };
|
||||||
CDE8E452174CBBD4009410B5 /* iTunesStores.json in Resources */ = {isa = PBXBuildFile; fileRef = CDE8E451174CBBD4009410B5 /* iTunesStores.json */; };
|
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
@@ -276,6 +277,66 @@
|
|||||||
A93105361F9758EC00605146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/FileImportController.xib; sourceTree = "<group>"; };
|
A93105361F9758EC00605146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/FileImportController.xib; sourceTree = "<group>"; };
|
||||||
A932C9F2205C268A004E52FE /* QueueScriptCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueScriptCommand.swift; path = Classes/QueueScriptCommand.swift; sourceTree = "<group>"; };
|
A932C9F2205C268A004E52FE /* QueueScriptCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueScriptCommand.swift; path = Classes/QueueScriptCommand.swift; sourceTree = "<group>"; };
|
||||||
A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MP42FileAdditions.swift; path = Classes/MP42FileAdditions.swift; sourceTree = "<group>"; };
|
A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MP42FileAdditions.swift; path = Classes/MP42FileAdditions.swift; sourceTree = "<group>"; };
|
||||||
|
A939EEE33062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/PropertyView/pt-BR.lproj/ChapterView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE43062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/PropertyView/pt-BR.lproj/MovieView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE53062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/PropertyView/pt-BR.lproj/MultiSelectView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE63062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/PropertyView/pt-BR.lproj/SoundView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE73062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/PropertyView/pt-BR.lproj/VideoView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE83062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/DocumentWindowController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEE93062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/MetadataPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEEA3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/OCRPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEEB3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/OffsetViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEEC3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/OutputPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEED3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "Classes/pt-BR.lproj/PresetEditorViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEEE3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/PresetPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEEF3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/ProgressViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF03062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/SaveOptions.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF13062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/TracksViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF23062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/AdvancedPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF33062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/ArtworkSelector.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF43062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/FileImportController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF53062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/GeneralPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF63062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF73062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF83062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/MainMenu.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEF93062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/MediaTagsController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFA3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/MetadataSearch.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFB3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/PrefsWindowController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFC3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Queue.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFD3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/QueueItem.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFE3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/QueueOptions.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EEFF3062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/SBActivityWindow.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF003062F87300E830A4 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/SBChapterSearch.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF023062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/PropertyView/zh-CN.lproj/ChapterView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF033062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/PropertyView/zh-CN.lproj/MovieView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF043062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/PropertyView/zh-CN.lproj/MultiSelectView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF053062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/PropertyView/zh-CN.lproj/SoundView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF063062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/PropertyView/zh-CN.lproj/VideoView.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF073062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/DocumentWindowController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF083062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/MetadataPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF093062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/OCRPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0A3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/OffsetViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0B3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/OutputPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0C3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Classes/zh-CN.lproj/PresetEditorViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0D3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/PresetPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0E3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/ProgressViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF0F3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/SaveOptions.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF103062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/TracksViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF113062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/AdvancedPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF123062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/ArtworkSelector.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF133062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/FileImportController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF143062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/GeneralPrefsViewController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF153062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF163062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF173062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/MainMenu.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF183062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/MediaTagsController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF193062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/MetadataSearch.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1A3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/PrefsWindowController.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1B3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/Queue.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1C3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/QueueItem.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1D3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/QueueOptions.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1E3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/SBActivityWindow.strings"; sourceTree = "<group>"; };
|
||||||
|
A939EF1F3062F8D400E830A4 /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "zh-CN.lproj/SBChapterSearch.strings"; sourceTree = "<group>"; };
|
||||||
A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterResult.swift; path = Classes/MetadataImporters/ChapterResult.swift; sourceTree = "<group>"; };
|
A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterResult.swift; path = Classes/MetadataImporters/ChapterResult.swift; sourceTree = "<group>"; };
|
||||||
A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterDB.swift; path = Classes/MetadataImporters/ChapterDB.swift; sourceTree = "<group>"; };
|
A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterDB.swift; path = Classes/MetadataImporters/ChapterDB.swift; sourceTree = "<group>"; };
|
||||||
A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PresetPrefsViewController.swift; path = Classes/PresetPrefsViewController.swift; sourceTree = "<group>"; };
|
A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PresetPrefsViewController.swift; path = Classes/PresetPrefsViewController.swift; sourceTree = "<group>"; };
|
||||||
@@ -335,7 +396,6 @@
|
|||||||
A97C3AA4204F18C90007AD38 /* TokenCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokenCellView.swift; path = Classes/TokenCellView.swift; sourceTree = "<group>"; };
|
A97C3AA4204F18C90007AD38 /* TokenCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokenCellView.swift; path = Classes/TokenCellView.swift; sourceTree = "<group>"; };
|
||||||
A97D99D922A0240C001FA3A7 /* OCRManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OCRManager.swift; path = Classes/OCRManager.swift; sourceTree = "<group>"; };
|
A97D99D922A0240C001FA3A7 /* OCRManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OCRManager.swift; path = Classes/OCRManager.swift; sourceTree = "<group>"; };
|
||||||
A97FA41D23E9837000EE5833 /* Ratings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Ratings.swift; path = Classes/MetadataImporters/Ratings.swift; sourceTree = "<group>"; };
|
A97FA41D23E9837000EE5833 /* Ratings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Ratings.swift; path = Classes/MetadataImporters/Ratings.swift; sourceTree = "<group>"; };
|
||||||
A97FA42123E9877900EE5833 /* Ratings.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = Ratings.json; sourceTree = "<group>"; };
|
|
||||||
A97FBE3B21FC7F1C00F1FD35 /* QueueController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueController.swift; path = Classes/QueueController.swift; sourceTree = "<group>"; };
|
A97FBE3B21FC7F1C00F1FD35 /* QueueController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueController.swift; path = Classes/QueueController.swift; sourceTree = "<group>"; };
|
||||||
A983E80A22365B5400221BAE /* MovieViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MovieViewController.swift; path = Classes/PropertyView/MovieViewController.swift; sourceTree = "<group>"; };
|
A983E80A22365B5400221BAE /* MovieViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MovieViewController.swift; path = Classes/PropertyView/MovieViewController.swift; sourceTree = "<group>"; };
|
||||||
A98542D620D197D300EB9803 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ArtworkSelector.xib; sourceTree = "<group>"; };
|
A98542D620D197D300EB9803 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ArtworkSelector.xib; sourceTree = "<group>"; };
|
||||||
@@ -396,10 +456,13 @@
|
|||||||
A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AdvancedPrefsViewController.swift; path = Classes/AdvancedPrefsViewController.swift; sourceTree = "<group>"; };
|
A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AdvancedPrefsViewController.swift; path = Classes/AdvancedPrefsViewController.swift; sourceTree = "<group>"; };
|
||||||
A9C31E632029A82200CEF474 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/AdvancedPrefsViewController.xib; sourceTree = "<group>"; };
|
A9C31E632029A82200CEF474 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/AdvancedPrefsViewController.xib; sourceTree = "<group>"; };
|
||||||
A9C3E449205C07F4004DE24E /* OptionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OptionsViewController.swift; path = Classes/OptionsViewController.swift; sourceTree = "<group>"; };
|
A9C3E449205C07F4004DE24E /* OptionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OptionsViewController.swift; path = Classes/OptionsViewController.swift; sourceTree = "<group>"; };
|
||||||
|
A9C4989B306BC624009F332A /* PasteboardItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PasteboardItem.swift; path = Classes/PasteboardItem.swift; sourceTree = "<group>"; };
|
||||||
|
A9C498C0306BC6B9009F332A /* Alpha2.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = Alpha2.json; path = Resources/Alpha2.json; sourceTree = "<group>"; };
|
||||||
|
A9C498C1306BC6B9009F332A /* iTunesStores.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = iTunesStores.json; path = Resources/iTunesStores.json; sourceTree = "<group>"; };
|
||||||
|
A9C498C2306BC6B9009F332A /* Ratings.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = Ratings.json; path = Resources/Ratings.json; sourceTree = "<group>"; };
|
||||||
|
A9C498C3306BC6B9009F332A /* Storefronts.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = Storefronts.json; path = Resources/Storefronts.json; sourceTree = "<group>"; };
|
||||||
A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScriptCommand.swift; path = Classes/ScriptCommand.swift; sourceTree = "<group>"; };
|
A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScriptCommand.swift; path = Classes/ScriptCommand.swift; sourceTree = "<group>"; };
|
||||||
A9C73535206B8F9900794673 /* QueuePreferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueuePreferences.swift; path = Classes/QueuePreferences.swift; sourceTree = "<group>"; };
|
A9C73535206B8F9900794673 /* QueuePreferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueuePreferences.swift; path = Classes/QueuePreferences.swift; sourceTree = "<group>"; };
|
||||||
A9CB19012D10415D0074DC9F /* Storefronts.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Storefronts.json; sourceTree = "<group>"; };
|
|
||||||
A9CB19042D10417D0074DC9F /* Alpha2.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Alpha2.json; sourceTree = "<group>"; };
|
|
||||||
A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataImporter.swift; path = Classes/MetadataImporters/MetadataImporter.swift; sourceTree = "<group>"; };
|
A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataImporter.swift; path = Classes/MetadataImporters/MetadataImporter.swift; sourceTree = "<group>"; };
|
||||||
A9D64525202CA92400BA172B /* SaveOptions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SaveOptions.swift; path = Classes/SaveOptions.swift; sourceTree = "<group>"; };
|
A9D64525202CA92400BA172B /* SaveOptions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SaveOptions.swift; path = Classes/SaveOptions.swift; sourceTree = "<group>"; };
|
||||||
A9D8CA812E798CBD007C7B59 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
|
A9D8CA812E798CBD007C7B59 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
|
||||||
@@ -450,7 +513,6 @@
|
|||||||
A9F5820B1DCC861F005F3E92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
A9F5820B1DCC861F005F3E92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||||
A9F680A61FD06E0200018371 /* OutputPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OutputPrefsViewController.swift; path = Classes/OutputPrefsViewController.swift; sourceTree = "<group>"; };
|
A9F680A61FD06E0200018371 /* OutputPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OutputPrefsViewController.swift; path = Classes/OutputPrefsViewController.swift; sourceTree = "<group>"; };
|
||||||
A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDBService.swift; path = Classes/MetadataImporters/TheTVDBService.swift; sourceTree = "<group>"; };
|
A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDBService.swift; path = Classes/MetadataImporters/TheTVDBService.swift; sourceTree = "<group>"; };
|
||||||
CDE8E451174CBBD4009410B5 /* iTunesStores.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = iTunesStores.json; sourceTree = "<group>"; };
|
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
@@ -527,6 +589,7 @@
|
|||||||
A9A77C4D1F306FA70018023B /* AttributedStyles.swift */,
|
A9A77C4D1F306FA70018023B /* AttributedStyles.swift */,
|
||||||
A956CE681F99E93D00093992 /* ButtonToolbarItem.swift */,
|
A956CE681F99E93D00093992 /* ButtonToolbarItem.swift */,
|
||||||
A9E385772C316FBE000A050D /* CollectionView.swift */,
|
A9E385772C316FBE000A050D /* CollectionView.swift */,
|
||||||
|
A9C4989B306BC624009F332A /* PasteboardItem.swift */,
|
||||||
A9E3857B2C317010000A050D /* FilePromiseProvider.swift */,
|
A9E3857B2C317010000A050D /* FilePromiseProvider.swift */,
|
||||||
);
|
);
|
||||||
name = "Other Sources";
|
name = "Other Sources";
|
||||||
@@ -541,10 +604,10 @@
|
|||||||
2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
|
2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
|
||||||
089C165FFE840EACC02AAC07 /* InfoPlist.strings */,
|
089C165FFE840EACC02AAC07 /* InfoPlist.strings */,
|
||||||
8D15AC360486D014006FF6A4 /* Info.plist */,
|
8D15AC360486D014006FF6A4 /* Info.plist */,
|
||||||
CDE8E451174CBBD4009410B5 /* iTunesStores.json */,
|
A9C498C0306BC6B9009F332A /* Alpha2.json */,
|
||||||
A9CB19012D10415D0074DC9F /* Storefronts.json */,
|
A9C498C1306BC6B9009F332A /* iTunesStores.json */,
|
||||||
A9CB19042D10417D0074DC9F /* Alpha2.json */,
|
A9C498C2306BC6B9009F332A /* Ratings.json */,
|
||||||
A97FA42123E9877900EE5833 /* Ratings.json */,
|
A9C498C3306BC6B9009F332A /* Storefronts.json */,
|
||||||
A94A6A581ED1C5CA00049F7D /* ParseFilename */,
|
A94A6A581ED1C5CA00049F7D /* ParseFilename */,
|
||||||
);
|
);
|
||||||
name = Resources;
|
name = Resources;
|
||||||
@@ -767,7 +830,7 @@
|
|||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
BuildIndependentTargetsInParallel = YES;
|
BuildIndependentTargetsInParallel = YES;
|
||||||
LastUpgradeCheck = 2600;
|
LastUpgradeCheck = 2700;
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
8D15AC270486D014006FF6A4 = {
|
8D15AC270486D014006FF6A4 = {
|
||||||
LastSwiftMigration = 1020;
|
LastSwiftMigration = 1020;
|
||||||
@@ -794,6 +857,8 @@
|
|||||||
"zh-Hans",
|
"zh-Hans",
|
||||||
fr,
|
fr,
|
||||||
"es-419",
|
"es-419",
|
||||||
|
"pt-BR",
|
||||||
|
"zh-CN",
|
||||||
);
|
);
|
||||||
mainGroup = 2A37F4AAFDCFA73011CA2CEA /* MP4Sub */;
|
mainGroup = 2A37F4AAFDCFA73011CA2CEA /* MP4Sub */;
|
||||||
packageReferences = (
|
packageReferences = (
|
||||||
@@ -836,7 +901,6 @@
|
|||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */,
|
A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */,
|
||||||
A9CB19022D10415D0074DC9F /* Storefronts.json in Resources */,
|
|
||||||
A9AB486617F0AEFD000AA72E /* MovieView.xib in Resources */,
|
A9AB486617F0AEFD000AA72E /* MovieView.xib in Resources */,
|
||||||
A9C31E5D2029A79000CEF474 /* GeneralPrefsViewController.xib in Resources */,
|
A9C31E5D2029A79000CEF474 /* GeneralPrefsViewController.xib in Resources */,
|
||||||
A98542DD20D1A7E500EB9803 /* ArtworkSelectorViewItem.xib in Resources */,
|
A98542DD20D1A7E500EB9803 /* ArtworkSelectorViewItem.xib in Resources */,
|
||||||
@@ -867,12 +931,13 @@
|
|||||||
A98542D720D197D300EB9803 /* ArtworkSelector.xib in Resources */,
|
A98542D720D197D300EB9803 /* ArtworkSelector.xib in Resources */,
|
||||||
A9ECA0602029A13800D5F30C /* OffsetViewController.xib in Resources */,
|
A9ECA0602029A13800D5F30C /* OffsetViewController.xib in Resources */,
|
||||||
A9ACF03222A2BCF200AD5B12 /* OCRPrefsViewController.xib in Resources */,
|
A9ACF03222A2BCF200AD5B12 /* OCRPrefsViewController.xib in Resources */,
|
||||||
A9CB19052D10417D0074DC9F /* Alpha2.json in Resources */,
|
|
||||||
A97FA42223E9877900EE5833 /* Ratings.json in Resources */,
|
|
||||||
A961476713F568210068F161 /* Queue.xib in Resources */,
|
A961476713F568210068F161 /* Queue.xib in Resources */,
|
||||||
|
A9C498C4306BC6B9009F332A /* Ratings.json in Resources */,
|
||||||
|
A9C498C5306BC6B9009F332A /* Alpha2.json in Resources */,
|
||||||
|
A9C498C6306BC6B9009F332A /* iTunesStores.json in Resources */,
|
||||||
|
A9C498C7306BC6B9009F332A /* Storefronts.json in Resources */,
|
||||||
A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */,
|
A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */,
|
||||||
A9ECA0572029A10B00D5F30C /* DocumentWindowController.xib in Resources */,
|
A9ECA0572029A10B00D5F30C /* DocumentWindowController.xib in Resources */,
|
||||||
CDE8E452174CBBD4009410B5 /* iTunesStores.json in Resources */,
|
|
||||||
A924A51E1D4B9E93008301A7 /* MetadataPrefsViewController.xib in Resources */,
|
A924A51E1D4B9E93008301A7 /* MetadataPrefsViewController.xib in Resources */,
|
||||||
A92BBABE1F5584EA007EA182 /* PresetEditorViewController.xib in Resources */,
|
A92BBABE1F5584EA007EA182 /* PresetEditorViewController.xib in Resources */,
|
||||||
A90CD5C51FD177280070A067 /* OutputPrefsViewController.xib in Resources */,
|
A90CD5C51FD177280070A067 /* OutputPrefsViewController.xib in Resources */,
|
||||||
@@ -945,6 +1010,7 @@
|
|||||||
A98D44102036F661005CB092 /* AppDelegate.swift in Sources */,
|
A98D44102036F661005CB092 /* AppDelegate.swift in Sources */,
|
||||||
A9C31E572029A75F00CEF474 /* GeneralPrefsViewController.swift in Sources */,
|
A9C31E572029A75F00CEF474 /* GeneralPrefsViewController.swift in Sources */,
|
||||||
A9AE26C01F3B66470041A57D /* SquaredTVArt.swift in Sources */,
|
A9AE26C01F3B66470041A57D /* SquaredTVArt.swift in Sources */,
|
||||||
|
A9C4989C306BC624009F332A /* PasteboardItem.swift in Sources */,
|
||||||
A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */,
|
A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */,
|
||||||
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */,
|
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */,
|
||||||
A99B7FD82D53764F0027BCB5 /* AppleTVv3.swift in Sources */,
|
A99B7FD82D53764F0027BCB5 /* AppleTVv3.swift in Sources */,
|
||||||
@@ -997,6 +1063,8 @@
|
|||||||
A9E059B02529DCA9000E0E9A /* zh-Hans */,
|
A9E059B02529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146863278D8EFB00860468 /* fr */,
|
A9146863278D8EFB00860468 /* fr */,
|
||||||
A96FE3ED2C355A3D009B3AFC /* es-419 */,
|
A96FE3ED2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF63062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF153062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = InfoPlist.strings;
|
name = InfoPlist.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1009,6 +1077,8 @@
|
|||||||
A9E059B92529DCA9000E0E9A /* zh-Hans */,
|
A9E059B92529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914684B278D8EFB00860468 /* fr */,
|
A914684B278D8EFB00860468 /* fr */,
|
||||||
A96FE3D52C355A3D009B3AFC /* es-419 */,
|
A96FE3D52C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF83062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF173062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MainMenu.xib;
|
name = MainMenu.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1030,6 +1100,8 @@
|
|||||||
A9E059BA2529DCA9000E0E9A /* zh-Hans */,
|
A9E059BA2529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146860278D8EFB00860468 /* fr */,
|
A9146860278D8EFB00860468 /* fr */,
|
||||||
A96FE3EA2C355A3D009B3AFC /* es-419 */,
|
A96FE3EA2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE53062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF043062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MultiSelectView.xib;
|
name = MultiSelectView.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1042,6 +1114,8 @@
|
|||||||
A9E059C82529DCAA000E0E9A /* zh-Hans */,
|
A9E059C82529DCAA000E0E9A /* zh-Hans */,
|
||||||
A914685A278D8EFB00860468 /* fr */,
|
A914685A278D8EFB00860468 /* fr */,
|
||||||
A96FE3E42C355A3D009B3AFC /* es-419 */,
|
A96FE3E42C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEEE3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0D3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = PresetPrefsViewController.xib;
|
name = PresetPrefsViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1055,6 +1129,8 @@
|
|||||||
A9E059BF2529DCAA000E0E9A /* zh-Hans */,
|
A9E059BF2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A914684E278D8EFB00860468 /* fr */,
|
A914684E278D8EFB00860468 /* fr */,
|
||||||
A96FE3D82C355A3D009B3AFC /* es-419 */,
|
A96FE3D82C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFB3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1A3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = PrefsWindowController.xib;
|
name = PrefsWindowController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1076,6 +1152,8 @@
|
|||||||
A9E059CB2529DCAA000E0E9A /* zh-Hans */,
|
A9E059CB2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146858278D8EFB00860468 /* fr */,
|
A9146858278D8EFB00860468 /* fr */,
|
||||||
A96FE3E22C355A3D009B3AFC /* es-419 */,
|
A96FE3E22C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEEC3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0B3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = OutputPrefsViewController.xib;
|
name = OutputPrefsViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1089,6 +1167,8 @@
|
|||||||
A9E059CD2529DCAA000E0E9A /* zh-Hans */,
|
A9E059CD2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146855278D8EFB00860468 /* fr */,
|
A9146855278D8EFB00860468 /* fr */,
|
||||||
A96FE3DF2C355A3D009B3AFC /* es-419 */,
|
A96FE3DF2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE93062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF083062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MetadataPrefsViewController.xib;
|
name = MetadataPrefsViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1102,6 +1182,8 @@
|
|||||||
A9E059C12529DCAA000E0E9A /* zh-Hans */,
|
A9E059C12529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146859278D8EFB00860468 /* fr */,
|
A9146859278D8EFB00860468 /* fr */,
|
||||||
A96FE3E32C355A3D009B3AFC /* es-419 */,
|
A96FE3E32C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEED3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0C3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = PresetEditorViewController.xib;
|
name = PresetEditorViewController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1114,6 +1196,8 @@
|
|||||||
A9E059C22529DCAA000E0E9A /* zh-Hans */,
|
A9E059C22529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146849278D8EFB00860468 /* fr */,
|
A9146849278D8EFB00860468 /* fr */,
|
||||||
A96FE3D32C355A3D009B3AFC /* es-419 */,
|
A96FE3D32C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF43062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF133062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = FileImportController.xib;
|
name = FileImportController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1126,6 +1210,8 @@
|
|||||||
A9E059C92529DCAA000E0E9A /* zh-Hans */,
|
A9E059C92529DCAA000E0E9A /* zh-Hans */,
|
||||||
A914684F278D8EFB00860468 /* fr */,
|
A914684F278D8EFB00860468 /* fr */,
|
||||||
A96FE3D92C355A3D009B3AFC /* es-419 */,
|
A96FE3D92C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFC3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1B3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = Queue.xib;
|
name = Queue.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1138,6 +1224,8 @@
|
|||||||
A9E059B82529DCA9000E0E9A /* zh-Hans */,
|
A9E059B82529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146848278D8EFB00860468 /* fr */,
|
A9146848278D8EFB00860468 /* fr */,
|
||||||
A96FE3D22C355A3D009B3AFC /* es-419 */,
|
A96FE3D22C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF33062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF123062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = ArtworkSelector.xib;
|
name = ArtworkSelector.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1150,6 +1238,8 @@
|
|||||||
A9E059C62529DCAA000E0E9A /* zh-Hans */,
|
A9E059C62529DCAA000E0E9A /* zh-Hans */,
|
||||||
A914684C278D8EFB00860468 /* fr */,
|
A914684C278D8EFB00860468 /* fr */,
|
||||||
A96FE3D62C355A3D009B3AFC /* es-419 */,
|
A96FE3D62C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF93062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF183062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MediaTagsController.xib;
|
name = MediaTagsController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1162,6 +1252,8 @@
|
|||||||
A9E059B52529DCA9000E0E9A /* zh-Hans */,
|
A9E059B52529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914685C278D8EFB00860468 /* fr */,
|
A914685C278D8EFB00860468 /* fr */,
|
||||||
A96FE3E62C355A3D009B3AFC /* es-419 */,
|
A96FE3E62C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF03062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0F3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = SaveOptions.xib;
|
name = SaveOptions.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1175,6 +1267,8 @@
|
|||||||
A9E059C72529DCAA000E0E9A /* zh-Hans */,
|
A9E059C72529DCAA000E0E9A /* zh-Hans */,
|
||||||
A914685B278D8EFB00860468 /* fr */,
|
A914685B278D8EFB00860468 /* fr */,
|
||||||
A96FE3E52C355A3D009B3AFC /* es-419 */,
|
A96FE3E52C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEEF3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0E3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = ProgressViewController.xib;
|
name = ProgressViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1188,6 +1282,8 @@
|
|||||||
A9E059BC2529DCA9000E0E9A /* zh-Hans */,
|
A9E059BC2529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914685E278D8EFB00860468 /* fr */,
|
A914685E278D8EFB00860468 /* fr */,
|
||||||
A96FE3E82C355A3D009B3AFC /* es-419 */,
|
A96FE3E82C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE33062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF023062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = ChapterView.xib;
|
name = ChapterView.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1209,6 +1305,8 @@
|
|||||||
A9E059B62529DCA9000E0E9A /* zh-Hans */,
|
A9E059B62529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914685F278D8EFB00860468 /* fr */,
|
A914685F278D8EFB00860468 /* fr */,
|
||||||
A96FE3E92C355A3D009B3AFC /* es-419 */,
|
A96FE3E92C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE43062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF033062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MovieView.xib;
|
name = MovieView.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1221,6 +1319,8 @@
|
|||||||
A9E059C42529DCAA000E0E9A /* zh-Hans */,
|
A9E059C42529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146861278D8EFB00860468 /* fr */,
|
A9146861278D8EFB00860468 /* fr */,
|
||||||
A96FE3EB2C355A3D009B3AFC /* es-419 */,
|
A96FE3EB2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE63062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF053062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = SoundView.xib;
|
name = SoundView.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1233,6 +1333,8 @@
|
|||||||
A9E059C32529DCAA000E0E9A /* zh-Hans */,
|
A9E059C32529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146862278D8EFB00860468 /* fr */,
|
A9146862278D8EFB00860468 /* fr */,
|
||||||
A96FE3EC2C355A3D009B3AFC /* es-419 */,
|
A96FE3EC2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE73062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF063062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = VideoView.xib;
|
name = VideoView.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1245,6 +1347,8 @@
|
|||||||
A9E059BB2529DCA9000E0E9A /* zh-Hans */,
|
A9E059BB2529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146856278D8EFB00860468 /* fr */,
|
A9146856278D8EFB00860468 /* fr */,
|
||||||
A96FE3E02C355A3D009B3AFC /* es-419 */,
|
A96FE3E02C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEEA3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF093062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = OCRPrefsViewController.xib;
|
name = OCRPrefsViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1257,6 +1361,8 @@
|
|||||||
A9E059B12529DCA9000E0E9A /* zh-Hans */,
|
A9E059B12529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146864278D8EFB00860468 /* fr */,
|
A9146864278D8EFB00860468 /* fr */,
|
||||||
A96FE3EE2C355A3D009B3AFC /* es-419 */,
|
A96FE3EE2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF73062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF163062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = Localizable.strings;
|
name = Localizable.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1269,6 +1375,8 @@
|
|||||||
A9E059CA2529DCAA000E0E9A /* zh-Hans */,
|
A9E059CA2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146850278D8EFB00860468 /* fr */,
|
A9146850278D8EFB00860468 /* fr */,
|
||||||
A96FE3DA2C355A3D009B3AFC /* es-419 */,
|
A96FE3DA2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFD3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1C3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = QueueItem.xib;
|
name = QueueItem.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1281,6 +1389,8 @@
|
|||||||
A9E059B42529DCA9000E0E9A /* zh-Hans */,
|
A9E059B42529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914684A278D8EFB00860468 /* fr */,
|
A914684A278D8EFB00860468 /* fr */,
|
||||||
A96FE3D42C355A3D009B3AFC /* es-419 */,
|
A96FE3D42C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF53062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF143062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = GeneralPrefsViewController.xib;
|
name = GeneralPrefsViewController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1293,6 +1403,8 @@
|
|||||||
A9E059C02529DCAA000E0E9A /* zh-Hans */,
|
A9E059C02529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146847278D8EFB00860468 /* fr */,
|
A9146847278D8EFB00860468 /* fr */,
|
||||||
A96FE3D12C355A3D009B3AFC /* es-419 */,
|
A96FE3D12C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF23062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF113062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = AdvancedPrefsViewController.xib;
|
name = AdvancedPrefsViewController.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1305,6 +1417,8 @@
|
|||||||
A9E059BD2529DCAA000E0E9A /* zh-Hans */,
|
A9E059BD2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146852278D8EFB00860468 /* fr */,
|
A9146852278D8EFB00860468 /* fr */,
|
||||||
A96FE3DC2C355A3D009B3AFC /* es-419 */,
|
A96FE3DC2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFF3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1E3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = SBActivityWindow.xib;
|
name = SBActivityWindow.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1317,6 +1431,8 @@
|
|||||||
A9E059B22529DCA9000E0E9A /* zh-Hans */,
|
A9E059B22529DCA9000E0E9A /* zh-Hans */,
|
||||||
A9146853278D8EFB00860468 /* fr */,
|
A9146853278D8EFB00860468 /* fr */,
|
||||||
A96FE3DD2C355A3D009B3AFC /* es-419 */,
|
A96FE3DD2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EF003062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1F3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = SBChapterSearch.xib;
|
name = SBChapterSearch.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1329,6 +1445,8 @@
|
|||||||
A9E059CC2529DCAA000E0E9A /* zh-Hans */,
|
A9E059CC2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146854278D8EFB00860468 /* fr */,
|
A9146854278D8EFB00860468 /* fr */,
|
||||||
A96FE3DE2C355A3D009B3AFC /* es-419 */,
|
A96FE3DE2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEE83062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF073062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = DocumentWindowController.xib;
|
name = DocumentWindowController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1342,6 +1460,8 @@
|
|||||||
A9E059B72529DCA9000E0E9A /* zh-Hans */,
|
A9E059B72529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914685D278D8EFB00860468 /* fr */,
|
A914685D278D8EFB00860468 /* fr */,
|
||||||
A96FE3E72C355A3D009B3AFC /* es-419 */,
|
A96FE3E72C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEF13062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF103062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = TracksViewController.xib;
|
name = TracksViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1364,6 +1484,8 @@
|
|||||||
A9E059C52529DCAA000E0E9A /* zh-Hans */,
|
A9E059C52529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146857278D8EFB00860468 /* fr */,
|
A9146857278D8EFB00860468 /* fr */,
|
||||||
A96FE3E12C355A3D009B3AFC /* es-419 */,
|
A96FE3E12C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEEB3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF0A3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = OffsetViewController.xib;
|
name = OffsetViewController.xib;
|
||||||
path = Classes;
|
path = Classes;
|
||||||
@@ -1377,6 +1499,8 @@
|
|||||||
A9E059BE2529DCAA000E0E9A /* zh-Hans */,
|
A9E059BE2529DCAA000E0E9A /* zh-Hans */,
|
||||||
A9146851278D8EFB00860468 /* fr */,
|
A9146851278D8EFB00860468 /* fr */,
|
||||||
A96FE3DB2C355A3D009B3AFC /* es-419 */,
|
A96FE3DB2C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFE3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF1D3062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = QueueOptions.xib;
|
name = QueueOptions.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1389,6 +1513,8 @@
|
|||||||
A9E059B32529DCA9000E0E9A /* zh-Hans */,
|
A9E059B32529DCA9000E0E9A /* zh-Hans */,
|
||||||
A914684D278D8EFB00860468 /* fr */,
|
A914684D278D8EFB00860468 /* fr */,
|
||||||
A96FE3D72C355A3D009B3AFC /* es-419 */,
|
A96FE3D72C355A3D009B3AFC /* es-419 */,
|
||||||
|
A939EEFA3062F87300E830A4 /* pt-BR */,
|
||||||
|
A939EF193062F8D400E830A4 /* zh-CN */,
|
||||||
);
|
);
|
||||||
name = MetadataSearch.xib;
|
name = MetadataSearch.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1411,8 +1537,9 @@
|
|||||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
CURRENT_PROJECT_VERSION = 1.9.0;
|
CURRENT_PROJECT_VERSION = 1.9.5;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
DEVELOPMENT_TEAM = "";
|
DEVELOPMENT_TEAM = "";
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
@@ -1430,7 +1557,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.9.0;
|
MARKETING_VERSION = 1.9.5;
|
||||||
OTHER_CFLAGS = "";
|
OTHER_CFLAGS = "";
|
||||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||||
OTHER_SWIFT_FLAGS = "";
|
OTHER_SWIFT_FLAGS = "";
|
||||||
@@ -1456,8 +1583,9 @@
|
|||||||
CODE_SIGN_IDENTITY = "Mac Developer";
|
CODE_SIGN_IDENTITY = "Mac Developer";
|
||||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1.9.0;
|
CURRENT_PROJECT_VERSION = 1.9.5;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DEVELOPMENT_TEAM = "";
|
DEVELOPMENT_TEAM = "";
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
@@ -1474,7 +1602,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 1.9.0;
|
MARKETING_VERSION = 1.9.5;
|
||||||
OTHER_CFLAGS = "";
|
OTHER_CFLAGS = "";
|
||||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||||
OTHER_SWIFT_FLAGS = "";
|
OTHER_SWIFT_FLAGS = "";
|
||||||
@@ -1691,7 +1819,7 @@
|
|||||||
repositoryURL = "https://github.com/sparkle-project/Sparkle";
|
repositoryURL = "https://github.com/sparkle-project/Sparkle";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 2.8.0;
|
version = 2.9.6;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
/* End XCRemoteSwiftPackageReference section */
|
/* End XCRemoteSwiftPackageReference section */
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ sub new {
|
|||||||
|
|
||||||
# Cosmetics
|
# Cosmetics
|
||||||
for my $key (qw(dvd season episode endep part)) {
|
for my $key (qw(dvd season episode endep part)) {
|
||||||
$self->{$key} =~ s/^0+// if defined $self->{$key};
|
$self->{$key} =~ s/^0+(?=\d)// if defined $self->{$key};
|
||||||
}
|
}
|
||||||
$self->{endep} = undef if $self->{endep} == $self->{episode};
|
$self->{endep} = undef if $self->{endep} == $self->{episode};
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"104.title" = "Audio AC-3 a AAC";
|
"104.title" = "Audio AC-3 a AAC";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "Downmix audio to:"; ObjectID = "114"; */
|
/* Class = "NSTextFieldCell"; title = "Downmix audio to:"; ObjectID = "114"; */
|
||||||
"114.title" = "Audio Downmix a:";
|
"114.title" = "Canales de salida:";
|
||||||
|
|
||||||
/* Class = "NSMenuItem"; title = "Multi-Channel"; ObjectID = "118"; */
|
/* Class = "NSMenuItem"; title = "Multi-Channel"; ObjectID = "118"; */
|
||||||
"118.title" = "Multicanal";
|
"118.title" = "Multicanal";
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
"2LD-y7-Ko1.title" = "0";
|
"2LD-y7-Ko1.title" = "0";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "a2Q-90-iMO"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Id"; ObjectID = "a2Q-90-iMO"; */
|
||||||
"a2Q-90-iMO.headerCell.title" = "Id";
|
"a2Q-90-iMO.headerCell.title" = "ID";
|
||||||
|
|
||||||
/* Class = "NSMenuItem"; title = "Check only tracks with the same language"; ObjectID = "D3Y-pV-hxZ"; */
|
/* Class = "NSMenuItem"; title = "Check only tracks with the same language"; ObjectID = "D3Y-pV-hxZ"; */
|
||||||
"D3Y-pV-hxZ.title" = "Verificar solo pistas con el mismo idioma";
|
"D3Y-pV-hxZ.title" = "Habilitar solo pistas con el mismo idioma";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Language"; ObjectID = "dyL-5A-jbn"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Language"; ObjectID = "dyL-5A-jbn"; */
|
||||||
"dyL-5A-jbn.headerCell.title" = "Idioma";
|
"dyL-5A-jbn.headerCell.title" = "Idioma";
|
||||||
@@ -28,8 +28,11 @@
|
|||||||
/* Class = "NSTextFieldCell"; title = "Lang"; ObjectID = "KM9-Op-UNe"; */
|
/* Class = "NSTextFieldCell"; title = "Lang"; ObjectID = "KM9-Op-UNe"; */
|
||||||
"KM9-Op-UNe.title" = "Lang";
|
"KM9-Op-UNe.title" = "Lang";
|
||||||
|
|
||||||
|
/* Class = "NSMenuItem"; title = "Check only selected tracks"; ObjectID = "KMR-fY-lFl"; */
|
||||||
|
"KMR-fY-lFl.title" = "Habilitar solo las pistas seleccionadas";
|
||||||
|
|
||||||
/* Class = "NSTextFieldCell"; title = "id"; ObjectID = "Nrs-BO-n8T"; */
|
/* Class = "NSTextFieldCell"; title = "id"; ObjectID = "Nrs-BO-n8T"; */
|
||||||
"Nrs-BO-n8T.title" = "id";
|
"Nrs-BO-n8T.title" = "ID";
|
||||||
|
|
||||||
/* Class = "NSTableColumn"; headerCell.title = "Name"; ObjectID = "oS0-t5-87P"; */
|
/* Class = "NSTableColumn"; headerCell.title = "Name"; ObjectID = "oS0-t5-87P"; */
|
||||||
"oS0-t5-87P.headerCell.title" = "Nombre";
|
"oS0-t5-87P.headerCell.title" = "Nombre";
|
||||||
|
|||||||
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user