Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
5de48ff7c9 | ||
|
|
9fb9665b36 | ||
|
|
e352888937 | ||
|
|
56a424ca7e | ||
|
|
6e9be6c89e | ||
|
|
a50ba3910e | ||
|
|
f8388175d8 | ||
|
|
1fe4d225bf | ||
|
|
eaa28f9efd | ||
|
|
770e15d1a5 | ||
|
|
2f1bb0a51c | ||
|
|
21682cd1a4 | ||
|
|
cda042d5e8 | ||
|
|
81d3c565e8 | ||
|
|
b152c18e2f | ||
|
|
c0d36f5767 | ||
|
|
72a7288834 | ||
|
|
0b35d88f8d | ||
|
|
dfc2e86ec3 | ||
|
|
d6b72cafce | ||
|
|
aa350a876b | ||
|
|
c2ad5130df | ||
|
|
23aaff4933 | ||
|
|
3b62db369f | ||
|
|
40b32a8cca | ||
|
|
df8facbcbe | ||
|
|
3a3d2cdf8d | ||
|
|
dcc8281d20 | ||
|
|
a029d2bf23 | ||
|
|
91cf78c0cc | ||
|
|
2e34a3affd | ||
|
|
e016c5fc60 | ||
|
|
f270e3dca7 | ||
|
|
d78b320322 | ||
|
|
80e561d88c | ||
|
|
210cb96196 | ||
|
|
56c7f01d07 | ||
|
|
04eab36031 | ||
|
|
d88285ece2 | ||
|
|
20a8714974 | ||
|
|
13f1f301e3 | ||
|
|
5890c9abe2 | ||
|
|
2a1d8b08e1 | ||
|
|
971adb6342 | ||
|
|
87837a0f5e | ||
|
|
a4e4b6027d | ||
|
|
bf012927b4 | ||
|
|
3f5c5e7459 | ||
|
|
1fd17a5cd0 | ||
|
|
5965ce4836 | ||
|
|
d9f2681bba | ||
|
|
c256d87e50 |
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="848px" viewBox="0 0 60 848" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Film Strip</title>
|
||||
<g id="Film-Strip" stroke="none" fill="none" fill-rule="evenodd" stroke-width="1">
|
||||
<g id="Film-Strip-Right" fill="#FFFFFF">
|
||||
<rect id="Rectangle" fill-rule="nonzero" x="0" y="297" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle" fill-rule="nonzero" x="0" y="198" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle" fill-rule="nonzero" x="0" y="99" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle" fill-rule="nonzero" x="0" y="0" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle" fill-rule="nonzero" x="0" y="792" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle-Copy" fill-rule="nonzero" x="0" y="396" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle-Copy-2" fill-rule="nonzero" x="0" y="495" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle-Copy-3" fill-rule="nonzero" x="0" y="594" width="60" height="56" rx="8"></rect>
|
||||
<rect id="Rectangle-Copy-4" fill-rule="nonzero" x="0" y="693" width="60" height="56" rx="8"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 556 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 323 KiB |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="573px" height="420px" viewBox="0 0 573 420" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Rectangle</title>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect id="Rectangle" fill="#D8D8D8" x="0" y="0" width="573" height="420" rx="45"></rect>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 412 B |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"fill" : {
|
||||
"linear-gradient" : [
|
||||
"extended-gray:0.37375,1.00000",
|
||||
"extended-gray:0.06807,1.00000"
|
||||
]
|
||||
},
|
||||
"groups" : [
|
||||
{
|
||||
"layers" : [
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : "none"
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : "none"
|
||||
}
|
||||
],
|
||||
"glass" : true,
|
||||
"image-name" : "Pen.png",
|
||||
"name" : "Pen",
|
||||
"position" : {
|
||||
"scale" : 0.54,
|
||||
"translation-in-points" : [
|
||||
276,
|
||||
-56
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"opacity" : 0.94,
|
||||
"shadow" : {
|
||||
"kind" : "neutral",
|
||||
"opacity" : 0.2
|
||||
},
|
||||
"specular" : false,
|
||||
"translucency" : {
|
||||
"enabled" : false,
|
||||
"value" : 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"blur-material" : 0.5,
|
||||
"layers" : [
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : {
|
||||
"solid" : "extended-gray:1.00000,1.00000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : {
|
||||
"solid" : "extended-gray:0.75000,1.00000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"glass" : true,
|
||||
"image-name" : "Path.png",
|
||||
"name" : "Path",
|
||||
"position" : {
|
||||
"scale" : 1.9,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
290
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"lighting" : "individual",
|
||||
"opacity" : 0.9,
|
||||
"shadow" : {
|
||||
"kind" : "neutral",
|
||||
"opacity" : 1
|
||||
},
|
||||
"specular" : true,
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.05
|
||||
}
|
||||
},
|
||||
{
|
||||
"blend-mode" : "normal",
|
||||
"blur-material" : null,
|
||||
"hidden" : false,
|
||||
"layers" : [
|
||||
{
|
||||
"fill" : {
|
||||
"automatic-gradient" : "extended-gray:0.50000,1.00000"
|
||||
},
|
||||
"hidden" : false,
|
||||
"image-name" : "Rectangle.svg",
|
||||
"name" : "Rectangle",
|
||||
"position" : {
|
||||
"scale" : 1.22,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
-590
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"blend-mode" : "normal",
|
||||
"hidden" : false,
|
||||
"image-name" : "bars 2.png",
|
||||
"name" : "bars 2",
|
||||
"opacity-specializations" : [
|
||||
{
|
||||
"value" : 0.86
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : 0.8
|
||||
},
|
||||
{
|
||||
"appearance" : "tinted",
|
||||
"value" : 0.86
|
||||
}
|
||||
],
|
||||
"position" : {
|
||||
"scale" : 1.22,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"fill" : "automatic",
|
||||
"hidden" : false,
|
||||
"image-name" : "IMG_2689.png",
|
||||
"name" : "IMG_2689",
|
||||
"opacity" : 1,
|
||||
"position" : {
|
||||
"scale" : 1.22,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"fill" : {
|
||||
"automatic-gradient" : "extended-gray:0.25000,1.00000"
|
||||
},
|
||||
"hidden" : false,
|
||||
"image-name" : "Rectangle.svg",
|
||||
"name" : "Rectangle",
|
||||
"position" : {
|
||||
"scale" : 1.22,
|
||||
"translation-in-points" : [
|
||||
0,
|
||||
590
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"opacity" : 1,
|
||||
"shadow" : {
|
||||
"kind" : "layer-color",
|
||||
"opacity" : 1
|
||||
},
|
||||
"specular" : true,
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"blend-mode" : "normal",
|
||||
"blur-material" : null,
|
||||
"layers" : [
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : {
|
||||
"linear-gradient" : [
|
||||
"extended-gray:1.00000,1.00000",
|
||||
"extended-gray:0.85000,1.00000"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : {
|
||||
"solid" : "extended-gray:0.75000,1.00000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"glass" : true,
|
||||
"image-name" : "Film Strip.svg",
|
||||
"name" : "Film Strip",
|
||||
"position" : {
|
||||
"scale" : 1.4,
|
||||
"translation-in-points" : [
|
||||
-428,
|
||||
68
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"fill-specializations" : [
|
||||
{
|
||||
"value" : {
|
||||
"linear-gradient" : [
|
||||
"extended-gray:1.00000,1.00000",
|
||||
"extended-gray:0.85000,1.00000"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"appearance" : "dark",
|
||||
"value" : {
|
||||
"solid" : "extended-gray:0.75000,1.00000"
|
||||
}
|
||||
}
|
||||
],
|
||||
"glass" : true,
|
||||
"hidden" : false,
|
||||
"image-name" : "Film Strip.svg",
|
||||
"name" : "Film Strip",
|
||||
"position" : {
|
||||
"scale" : 1.4,
|
||||
"translation-in-points" : [
|
||||
428,
|
||||
68
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"lighting" : "individual",
|
||||
"opacity" : 0.9,
|
||||
"shadow" : {
|
||||
"kind" : "layer-color",
|
||||
"opacity" : 0.2
|
||||
},
|
||||
"specular" : true,
|
||||
"translucency" : {
|
||||
"enabled" : true,
|
||||
"value" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"supported-platforms" : {
|
||||
"squares" : "shared"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16085" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16085"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -24,14 +24,14 @@
|
||||
</declaredKeys>
|
||||
</userDefaultsController>
|
||||
<customView id="94" userLabel="Advanced View">
|
||||
<rect key="frame" x="0.0" y="0.0" width="610" height="321"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="610" height="329"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="W4x-d1-Fk8">
|
||||
<rect key="frame" x="115" y="-1" width="381" height="322"/>
|
||||
<rect key="frame" x="112" y="-1" width="387" height="330"/>
|
||||
<subviews>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="101">
|
||||
<rect key="frame" x="18" y="232" width="133" height="16"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="101">
|
||||
<rect key="frame" x="18" y="236" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Convert:" id="102">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -39,10 +39,10 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rmU-Gb-jzF">
|
||||
<rect key="frame" x="172" y="183" width="137" height="25"/>
|
||||
<rect key="frame" x="171" y="184" width="138" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" title="Discard DTS" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="2Ad-Fs-Zpj" id="bVg-GU-Gs9">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="rX2-PN-Ebm">
|
||||
<items>
|
||||
<menuItem title="Discard DTS" state="on" id="2Ad-Fs-Zpj">
|
||||
@@ -59,7 +59,7 @@
|
||||
<binding destination="123" name="selectedTag" keyPath="values.SBAudioDtsOptions" id="QpV-8Q-2cz"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="189">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="189">
|
||||
<rect key="frame" x="18" y="76" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Bitrate (per channel):" id="190">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -68,7 +68,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="3fA-qQ-VvX">
|
||||
<rect key="frame" x="155" y="285" width="162" height="18"/>
|
||||
<rect key="frame" x="155" y="293" width="166" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Keep groups organized" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Yld-Or-7Hu">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -77,8 +77,8 @@
|
||||
<binding destination="3" name="value" keyPath="values.SBOrganizeAlternateGroups" id="dwA-nR-J68"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Z2f-U9-9ZT">
|
||||
<rect key="frame" x="18" y="19" width="133" height="16"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Z2f-U9-9ZT">
|
||||
<rect key="frame" x="18" y="20" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="HEVC:" id="XpG-OO-ZNT">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -86,7 +86,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="99">
|
||||
<rect key="frame" x="155" y="164" width="136" height="18"/>
|
||||
<rect key="frame" x="155" y="165" width="140" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="AC-3 audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="104">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -95,15 +95,15 @@
|
||||
<binding destination="3" name="value" keyPath="values.SBAudioConvertAC3" id="112"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="113">
|
||||
<rect key="frame" x="18" y="107" width="133" height="16"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="113">
|
||||
<rect key="frame" x="18" y="105" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Downmix audio to:" id="114">
|
||||
<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" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="201">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="201">
|
||||
<rect key="frame" x="222" y="76" width="34" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="kbps" id="202">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -112,10 +112,10 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="115">
|
||||
<rect key="frame" x="155" y="101" width="144" height="25"/>
|
||||
<rect key="frame" x="154" y="99" width="145" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" title="Dolby Pro Logic II" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="121" id="116">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="117">
|
||||
<items>
|
||||
<menuItem title="Dolby Pro Logic II" state="on" tag="1" id="121"/>
|
||||
@@ -132,7 +132,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hjZ-wQ-Sbb">
|
||||
<rect key="frame" x="155" y="231" width="119" height="18"/>
|
||||
<rect key="frame" x="155" y="235" width="123" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="VobSub to Tx3g" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="wgy-N5-9cB">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -142,7 +142,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="olE-Dy-uJm">
|
||||
<rect key="frame" x="155" y="210" width="136" height="18"/>
|
||||
<rect key="frame" x="155" y="212" width="140" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="DTS audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="ZcC-1D-D4s">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -151,8 +151,8 @@
|
||||
<binding destination="3" name="value" keyPath="values.SBAudioConvertDts" id="zGa-cq-MgW"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Pud-GM-vyU">
|
||||
<rect key="frame" x="18" y="47" width="133" height="16"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Pud-GM-vyU">
|
||||
<rect key="frame" x="18" y="48" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="DRC:" id="kde-QJ-Sl9">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -160,13 +160,10 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ETf-LE-57P">
|
||||
<rect key="frame" x="154" y="41" width="65" height="25"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="fZU-8d-Ua1"/>
|
||||
</constraints>
|
||||
<rect key="frame" x="153" y="41" width="67" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" title="0" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="aHL-pt-Ze0" id="sRN-fQ-JQy">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="v6x-m2-JTe">
|
||||
<items>
|
||||
<menuItem title="0" state="on" id="aHL-pt-Ze0"/>
|
||||
@@ -177,13 +174,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="fZU-8d-Ua1"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="Pud-GM-vyU" id="I13-DW-46I"/>
|
||||
<binding destination="123" name="selectedTag" keyPath="values.SBAudioDRC" id="ozi-Zd-fSY"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="hgg-QV-i0I">
|
||||
<rect key="frame" x="18" y="286" width="133" height="16"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="hgg-QV-i0I">
|
||||
<rect key="frame" x="18" y="294" width="133" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Groups:" id="agM-jg-8mH">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -191,7 +191,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="QpA-Yd-jpF">
|
||||
<rect key="frame" x="155" y="265" width="183" height="18"/>
|
||||
<rect key="frame" x="155" y="271" width="187" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Infer media characteristics" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="86R-Dj-j6Y">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -202,13 +202,10 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191">
|
||||
<rect key="frame" x="155" y="70" width="65" height="25"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="gDw-hn-dbd"/>
|
||||
</constraints>
|
||||
<rect key="frame" x="154" y="69" width="67" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" title="64" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="64" imageScaling="proportionallyDown" inset="2" selectedItem="194" id="192">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="193">
|
||||
<items>
|
||||
<menuItem title="64" state="on" tag="64" id="194"/>
|
||||
@@ -226,13 +223,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="gDw-hn-dbd"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="189" id="hSG-o4-8UE"/>
|
||||
<binding destination="123" name="selectedTag" keyPath="values.SBAudioBitrate" id="205"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="edJ-A5-eyf">
|
||||
<rect key="frame" x="172" y="143" width="88" height="18"/>
|
||||
<rect key="frame" x="172" y="142" width="92" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Keep AC-3" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Zgy-z5-6UG">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -243,7 +243,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="fTk-UL-aoX">
|
||||
<rect key="frame" x="155" y="18" width="208" height="18"/>
|
||||
<rect key="frame" x="155" y="19" width="212" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Force QuickTime Compatibility" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="bBF-Bs-9N7">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -106,7 +106,7 @@ Gw
|
||||
<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"/>
|
||||
</progressIndicator>
|
||||
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
|
||||
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
|
||||
<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">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -135,7 +135,7 @@ Gw
|
||||
<constraint firstItem="c0O-We-pZd" firstAttribute="trailing" secondItem="fMj-Ew-Qej" secondAttribute="trailing" id="yFF-Hd-SSn"/>
|
||||
<constraint firstItem="AYL-Jp-agY" firstAttribute="centerY" secondItem="NEi-uU-Lh7" secondAttribute="centerY" id="zvc-Fx-gsf"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="72.5" y="129.5"/>
|
||||
<point key="canvasLocation" x="239" y="56"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -43,7 +43,7 @@
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
<point key="canvasLocation" x="139" y="146"/>
|
||||
<point key="canvasLocation" x="-538" y="123"/>
|
||||
</menu>
|
||||
<view id="XhE-7o-ek3">
|
||||
<rect key="frame" x="0.0" y="0.0" width="683" height="283"/>
|
||||
@@ -110,7 +110,7 @@
|
||||
<rect key="frame" x="24" y="1" width="30" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AhE-Ui-y7O">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AhE-Ui-y7O">
|
||||
<rect key="frame" x="0.0" y="0.0" width="30" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="id" id="Nrs-BO-n8T">
|
||||
@@ -142,7 +142,7 @@
|
||||
<rect key="frame" x="56.5" y="1" width="180" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZL5-qi-Bb2">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZL5-qi-Bb2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="180" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="jCv-4h-sH5">
|
||||
@@ -174,7 +174,7 @@
|
||||
<rect key="frame" x="239.5" y="1" width="93" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ePb-gF-Yh9">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ePb-gF-Yh9">
|
||||
<rect key="frame" x="0.0" y="0.0" width="93" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="0" id="2LD-y7-Ko1">
|
||||
@@ -206,7 +206,7 @@
|
||||
<rect key="frame" x="335.5" y="1" width="87" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YPV-wk-baT">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YPV-wk-baT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="87" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Lang" usesSingleLineMode="YES" id="KM9-Op-UNe">
|
||||
@@ -238,7 +238,7 @@
|
||||
<rect key="frame" x="426" y="1" width="84" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HOa-Ac-L7m">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HOa-Ac-L7m">
|
||||
<rect key="frame" x="0.0" y="0.0" width="84" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Info" usesSingleLineMode="YES" id="JH3-2P-Na2">
|
||||
@@ -273,7 +273,7 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="bevel" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" imageScaling="proportionallyDown" inset="2" id="FNV-pf-MUt">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="i8l-4s-h93"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
@@ -309,7 +309,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ej1-kj-x1L">
|
||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ej1-kj-x1L">
|
||||
<rect key="frame" x="17" y="247" width="94" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Select tracks:" id="1JV-df-zeq">
|
||||
<font key="font" metaFont="systemBold"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16085" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16085"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -21,33 +21,34 @@
|
||||
<string>windowSize</string>
|
||||
<string>rememberWindowSize</string>
|
||||
<string>chaptersPreviewTrack</string>
|
||||
<string>SBLogFormat</string>
|
||||
</declaredKeys>
|
||||
</userDefaultsController>
|
||||
<customView id="76">
|
||||
<rect key="frame" x="0.0" y="0.0" width="660" height="299"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="660" height="328"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="dxI-5Q-gDD">
|
||||
<rect key="frame" x="136" y="0.0" width="389" height="299"/>
|
||||
<rect key="frame" x="133" y="0.0" width="394" height="328"/>
|
||||
<subviews>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
||||
<rect key="frame" x="147" y="139" width="57" height="14"/>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
||||
<rect key="frame" x="147" y="156" width="57" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Beginning" id="3Vs-qA-7Z6">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
||||
<rect key="frame" x="129" y="95" width="165" height="14"/>
|
||||
<textField verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
||||
<rect key="frame" x="129" y="110" width="165" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="133">
|
||||
<rect key="frame" x="125" y="44" width="188" height="32"/>
|
||||
<rect key="frame" x="124" y="43" width="182" height="32"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -57,7 +58,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="80">
|
||||
<rect key="frame" x="129" y="204" width="117" height="18"/>
|
||||
<rect key="frame" x="129" y="229" width="121" height="18"/>
|
||||
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -71,15 +72,15 @@
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
|
||||
<rect key="frame" x="18" y="54" width="107" height="16"/>
|
||||
<rect key="frame" x="18" y="53" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140">
|
||||
<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>
|
||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="82">
|
||||
<rect key="frame" x="129" y="180" width="232" height="18"/>
|
||||
<button verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="82">
|
||||
<rect key="frame" x="129" y="203" width="236" height="18"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -92,8 +93,8 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</button>
|
||||
<slider verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
|
||||
<rect key="frame" x="147" y="152" width="214" height="24"/>
|
||||
<slider verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
|
||||
<rect key="frame" x="147" y="170" width="220" height="28"/>
|
||||
<sliderCell key="cell" state="on" alignment="left" maxValue="1" doubleValue="0.5" tickMarkPosition="below" numberOfTickMarks="7" sliderType="linear" id="iKX-dX-4IV"/>
|
||||
<connections>
|
||||
<binding destination="3" name="value" keyPath="values.SBChaptersPreviewPosition" id="JtQ-lM-MNU"/>
|
||||
@@ -101,7 +102,7 @@
|
||||
</connections>
|
||||
</slider>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
|
||||
<rect key="frame" x="18" y="115" width="107" height="16"/>
|
||||
<rect key="frame" x="18" y="129" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Show ratings for:" id="207">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -109,7 +110,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="136">
|
||||
<rect key="frame" x="125" y="13" width="188" height="32"/>
|
||||
<rect key="frame" x="124" y="13" width="182" height="32"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -119,7 +120,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
|
||||
<rect key="frame" x="18" y="181" width="107" height="16"/>
|
||||
<rect key="frame" x="18" y="204" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Chapters:" id="85">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -127,7 +128,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="B5v-6Q-3Qa">
|
||||
<rect key="frame" x="129" y="242" width="242" height="18"/>
|
||||
<rect key="frame" x="129" y="269" width="246" height="18"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -137,7 +138,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
||||
<rect key="frame" x="18" y="263" width="107" height="16"/>
|
||||
<rect key="frame" x="18" y="292" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="At Launch:" id="89">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -145,7 +146,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
|
||||
<rect key="frame" x="337" y="139" width="24" height="14"/>
|
||||
<rect key="frame" x="343" y="156" width="24" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="End" id="He0-rl-DBi">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -153,15 +154,31 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="78">
|
||||
<rect key="frame" x="18" y="205" width="107" height="16"/>
|
||||
<rect key="frame" x="18" y="230" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Window:" id="88">
|
||||
<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="logFormatPopup">
|
||||
<rect key="frame" x="128" y="78" width="167" height="25"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="logFormatMenu"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="160" id="uY6-hv-UcE"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="logFormatLabel" id="logFormatAccessibility"/>
|
||||
<binding destination="-2" name="content" keyPath="logFormatOptions" id="logFormatContentBinding"/>
|
||||
<binding destination="3" name="selectedTag" keyPath="values.SBLogFormat" previousBinding="logFormatContentBinding" id="logFormatBinding"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="79">
|
||||
<rect key="frame" x="129" y="262" width="126" height="18"/>
|
||||
<rect key="frame" x="129" y="291" width="130" height="18"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -170,16 +187,16 @@
|
||||
<binding destination="3" name="value" keyPath="values.SBShowOpenPanelAtLaunch" id="T36-sT-wu3"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="236">
|
||||
<rect key="frame" x="129" y="108" width="185" height="25"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="mhj-Zx-MME"/>
|
||||
</constraints>
|
||||
<popUpButton verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="236">
|
||||
<rect key="frame" x="128" y="122" width="187" height="25"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="238"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="2hc-oc-YJo"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="206" id="SzO-00-e3U"/>
|
||||
<action selector="updateRatingsCountry:" target="-2" id="242"/>
|
||||
@@ -188,78 +205,90 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
|
||||
<rect key="frame" x="232" y="139" width="44" height="14"/>
|
||||
<rect key="frame" x="235" y="156" width="44" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Middle" id="2o1-dB-mt1">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatLabel">
|
||||
<rect key="frame" x="18" y="85" width="107" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Log Format:" id="logFormatLabelCell">
|
||||
<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>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="236" secondAttribute="trailing" constant="20" symbolic="YES" id="1oW-ke-hqe"/>
|
||||
<constraint firstItem="tVb-Qq-sU7" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="27C-Ly-Tkt"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="82" secondAttribute="trailing" constant="20" symbolic="YES" id="3hd-ph-Nok"/>
|
||||
<constraint firstItem="136" firstAttribute="leading" secondItem="133" secondAttribute="leading" id="4f8-7e-F9H"/>
|
||||
<constraint firstItem="236" firstAttribute="firstBaseline" secondItem="206" secondAttribute="firstBaseline" id="5Vz-H5-wjk"/>
|
||||
<constraint firstItem="tVb-Qq-sU7" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="mNP-6I-gV4" secondAttribute="trailing" constant="8" symbolic="YES" id="7eN-Xm-Z9h"/>
|
||||
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="7kk-gt-dXa"/>
|
||||
<constraint firstItem="78" firstAttribute="leading" secondItem="77" secondAttribute="leading" id="8JN-XP-DsB"/>
|
||||
<constraint firstItem="139" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="98n-sk-tTI"/>
|
||||
<constraint firstItem="mNP-6I-gV4" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="A3z-Gk-hqC"/>
|
||||
<constraint firstItem="79" firstAttribute="leading" secondItem="77" secondAttribute="trailing" constant="8" id="AmK-53-V7H"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" constant="20" symbolic="YES" id="BUH-t3-FKl"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="79" secondAttribute="trailing" constant="20" symbolic="YES" id="C2B-fq-5vM"/>
|
||||
<constraint firstItem="81" firstAttribute="leading" secondItem="78" secondAttribute="leading" id="Ctg-6r-Vpm"/>
|
||||
<constraint firstAttribute="bottom" secondItem="136" secondAttribute="bottom" constant="20" symbolic="YES" id="Cxf-3a-EqU"/>
|
||||
<constraint firstItem="133" firstAttribute="top" secondItem="249" secondAttribute="bottom" constant="23" id="DFU-xm-8vq"/>
|
||||
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="leading" secondItem="79" secondAttribute="leading" id="FJg-U6-HDs"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" constant="20" id="J3X-XR-5sZ"/>
|
||||
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" id="LHd-r8-b8o"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="leading" secondItem="82" secondAttribute="leading" constant="18" id="NQL-dp-Vub"/>
|
||||
<constraint firstItem="XPF-Mh-XYC" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="O6P-tC-NH3"/>
|
||||
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" id="QlR-IC-jsI"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" id="QnP-ja-Gc7"/>
|
||||
<constraint firstItem="XPF-Mh-XYC" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" id="Rfn-GF-l2N"/>
|
||||
<constraint firstItem="82" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="Rh6-wr-DAJ"/>
|
||||
<constraint firstItem="236" firstAttribute="top" secondItem="XPF-Mh-XYC" secondAttribute="bottom" constant="7" id="SB1-bz-e1K"/>
|
||||
<constraint firstItem="tVb-Qq-sU7" firstAttribute="trailing" secondItem="JhA-jk-CGt" secondAttribute="trailing" id="UtU-8c-yJh"/>
|
||||
<constraint firstAttribute="trailing" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" priority="750" constant="20" id="WZa-Od-APp"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="trailing" secondItem="82" secondAttribute="trailing" id="XmQ-xf-0Vu"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="133" secondAttribute="trailing" constant="20" symbolic="YES" id="Xma-7G-WMb"/>
|
||||
<constraint firstItem="80" firstAttribute="firstBaseline" secondItem="78" secondAttribute="firstBaseline" id="YqB-Qi-X3l"/>
|
||||
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="Z1U-c1-eRX"/>
|
||||
<constraint firstItem="82" firstAttribute="firstBaseline" secondItem="81" secondAttribute="firstBaseline" id="aYU-OT-jre"/>
|
||||
<constraint firstItem="mNP-6I-gV4" firstAttribute="centerX" secondItem="JhA-jk-CGt" secondAttribute="centerX" id="b0h-AX-P0j"/>
|
||||
<constraint firstItem="249" firstAttribute="top" secondItem="236" secondAttribute="bottom" constant="2" id="bJo-qb-vyA"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="JhA-jk-CGt" secondAttribute="trailing" constant="20" symbolic="YES" id="cO3-0g-Ika"/>
|
||||
<constraint firstItem="206" firstAttribute="width" secondItem="139" secondAttribute="width" id="cVB-T7-Lgd"/>
|
||||
<constraint firstItem="77" firstAttribute="top" secondItem="dxI-5Q-gDD" secondAttribute="top" constant="20" symbolic="YES" id="dAn-q7-AND"/>
|
||||
<constraint firstItem="77" firstAttribute="leading" secondItem="dxI-5Q-gDD" secondAttribute="leading" constant="20" symbolic="YES" id="e7R-TS-ubO"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="80" secondAttribute="trailing" constant="20" symbolic="YES" id="gEL-hv-NaH"/>
|
||||
<constraint firstItem="206" firstAttribute="leading" secondItem="81" secondAttribute="leading" id="gu1-Mn-ct5"/>
|
||||
<constraint firstItem="mNP-6I-gV4" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="XPF-Mh-XYC" secondAttribute="trailing" constant="8" symbolic="YES" id="jyx-OY-6tw"/>
|
||||
<constraint firstItem="133" firstAttribute="firstBaseline" secondItem="139" secondAttribute="firstBaseline" id="kA6-a1-Krp"/>
|
||||
<constraint firstItem="249" firstAttribute="leading" secondItem="236" secondAttribute="leading" id="kh1-gL-cmS"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="249" secondAttribute="trailing" constant="20" symbolic="YES" id="mef-Mj-rvp"/>
|
||||
<constraint firstItem="236" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="8" id="n47-AS-gXR"/>
|
||||
<constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" id="nPD-Zb-eKT"/>
|
||||
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" id="sCG-e3-Wcb"/>
|
||||
<constraint firstItem="77" firstAttribute="firstBaseline" secondItem="79" secondAttribute="firstBaseline" id="tSW-F5-J12"/>
|
||||
<constraint firstItem="136" firstAttribute="width" secondItem="133" secondAttribute="width" id="u0D-8L-4Yl"/>
|
||||
<constraint firstItem="81" firstAttribute="width" secondItem="206" secondAttribute="width" id="v43-RZ-P1e"/>
|
||||
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="top" secondItem="79" secondAttribute="bottom" constant="6" id="vbo-wa-RS0"/>
|
||||
<constraint firstItem="80" firstAttribute="top" secondItem="B5v-6Q-3Qa" secondAttribute="bottom" constant="24" id="wIZ-qs-cis"/>
|
||||
<constraint firstItem="133" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" id="y4R-KJ-KyA"/>
|
||||
<constraint firstItem="133" firstAttribute="width" secondItem="136" secondAttribute="width" id="05F-cw-fMw"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="79" secondAttribute="trailing" id="0bd-hZ-ylz"/>
|
||||
<constraint firstItem="78" firstAttribute="firstBaseline" secondItem="80" secondAttribute="firstBaseline" id="1td-Oe-7AD"/>
|
||||
<constraint firstItem="79" firstAttribute="leading" secondItem="B5v-6Q-3Qa" secondAttribute="leading" id="2Mr-Mj-vU1"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" symbolic="YES" id="2vm-yX-6Ce"/>
|
||||
<constraint firstItem="80" firstAttribute="top" secondItem="B5v-6Q-3Qa" secondAttribute="bottom" constant="24" id="3ue-nN-QeE"/>
|
||||
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="top" secondItem="79" secondAttribute="bottom" constant="6" symbolic="YES" id="5ve-SK-Mci"/>
|
||||
<constraint firstAttribute="bottom" secondItem="136" secondAttribute="bottom" constant="20" symbolic="YES" id="6Bj-Ao-4kA"/>
|
||||
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" id="8Em-7b-7bc"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="JhA-jk-CGt" secondAttribute="trailing" id="8sB-JV-mUa"/>
|
||||
<constraint firstItem="logFormatPopup" firstAttribute="top" secondItem="249" secondAttribute="bottom" constant="8" symbolic="YES" id="9n2-fa-iGe"/>
|
||||
<constraint firstItem="logFormatLabel" firstAttribute="leading" secondItem="139" secondAttribute="leading" id="ACz-EL-4Hh"/>
|
||||
<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="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="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 firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" id="Ies-Bx-zqg"/>
|
||||
<constraint firstAttribute="trailing" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" priority="750" constant="19" id="L97-mT-mLE"/>
|
||||
<constraint firstItem="77" firstAttribute="firstBaseline" secondItem="79" secondAttribute="firstBaseline" id="LWO-5R-E6y"/>
|
||||
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="MKK-lc-cU2"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="133" secondAttribute="trailing" id="MPl-R6-UUO"/>
|
||||
<constraint firstItem="XPF-Mh-XYC" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" constant="6" id="MvX-7T-WjO"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="82" secondAttribute="trailing" id="N5X-3a-SM6"/>
|
||||
<constraint firstItem="77" firstAttribute="leading" secondItem="dxI-5Q-gDD" secondAttribute="leading" constant="20" symbolic="YES" id="Ndo-DG-rTs"/>
|
||||
<constraint firstItem="79" firstAttribute="leading" secondItem="77" secondAttribute="trailing" constant="8" symbolic="YES" id="Oa0-iG-Y8X"/>
|
||||
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" symbolic="YES" id="OhX-HZ-gdU"/>
|
||||
<constraint firstItem="236" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="8" symbolic="YES" id="Sgq-Ky-wad"/>
|
||||
<constraint firstItem="206" firstAttribute="leading" secondItem="logFormatLabel" secondAttribute="leading" id="TIw-54-KF5"/>
|
||||
<constraint firstItem="133" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" symbolic="YES" id="TQC-yN-iis"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="trailing" secondItem="tVb-Qq-sU7" secondAttribute="trailing" id="Tbj-IO-aVa"/>
|
||||
<constraint firstItem="133" firstAttribute="leading" secondItem="136" secondAttribute="leading" id="TsE-6g-XG7"/>
|
||||
<constraint firstItem="81" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="UAx-iy-hxT"/>
|
||||
<constraint firstItem="81" firstAttribute="firstBaseline" secondItem="82" secondAttribute="firstBaseline" id="VaX-EX-DOj"/>
|
||||
<constraint firstItem="81" firstAttribute="width" secondItem="206" secondAttribute="width" id="X0h-iv-OhL"/>
|
||||
<constraint firstItem="206" firstAttribute="firstBaseline" secondItem="236" secondAttribute="firstBaseline" id="Xab-xw-ax9"/>
|
||||
<constraint firstItem="XPF-Mh-XYC" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" id="ZmN-hP-iwq"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="236" secondAttribute="trailing" id="abQ-h9-0wL"/>
|
||||
<constraint firstItem="249" firstAttribute="top" secondItem="236" secondAttribute="bottom" constant="2" id="agf-iq-Fof"/>
|
||||
<constraint firstItem="logFormatLabel" firstAttribute="firstBaseline" secondItem="logFormatPopup" secondAttribute="firstBaseline" id="fpM-Am-Shn"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="logFormatPopup" secondAttribute="trailing" id="gPM-A7-A88"/>
|
||||
<constraint firstItem="JhA-jk-CGt" firstAttribute="width" secondItem="82" secondAttribute="width" multiplier="0.923077" id="jgz-Me-pjU"/>
|
||||
<constraint firstItem="236" firstAttribute="top" secondItem="XPF-Mh-XYC" secondAttribute="bottom" constant="10" id="kR3-YO-JZD"/>
|
||||
<constraint firstItem="78" firstAttribute="leading" secondItem="81" secondAttribute="leading" id="kaX-Td-UPd"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="80" secondAttribute="trailing" id="ltP-cz-uYy"/>
|
||||
<constraint firstItem="236" firstAttribute="leading" secondItem="249" secondAttribute="leading" id="nFq-4a-rlf"/>
|
||||
<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 firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" id="s3j-nY-Z3K"/>
|
||||
<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="139" firstAttribute="firstBaseline" secondItem="133" secondAttribute="firstBaseline" id="w1s-Sg-fws"/>
|
||||
<constraint firstItem="logFormatPopup" firstAttribute="leading" secondItem="logFormatLabel" secondAttribute="trailing" constant="8" symbolic="YES" id="x2X-oB-Otz"/>
|
||||
<constraint firstItem="133" firstAttribute="top" secondItem="logFormatPopup" secondAttribute="bottom" constant="12" id="yqF-AO-Qdb"/>
|
||||
<constraint firstItem="77" firstAttribute="leading" secondItem="78" secondAttribute="leading" id="zBN-dc-5DC"/>
|
||||
</constraints>
|
||||
</customView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="dxI-5Q-gDD" secondAttribute="bottom" id="0Kk-6J-TZf"/>
|
||||
<constraint firstItem="dxI-5Q-gDD" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="At8-0S-kG8"/>
|
||||
<constraint firstItem="dxI-5Q-gDD" firstAttribute="top" secondItem="76" secondAttribute="top" id="EGu-f6-P6n"/>
|
||||
<constraint firstItem="dxI-5Q-gDD" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="76" secondAttribute="leading" id="A10-FJ-fxP"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="dxI-5Q-gDD" secondAttribute="trailing" id="Q0g-0U-MoZ"/>
|
||||
<constraint firstItem="dxI-5Q-gDD" firstAttribute="top" secondItem="76" secondAttribute="top" id="XWt-l9-pFF"/>
|
||||
<constraint firstAttribute="bottom" secondItem="dxI-5Q-gDD" secondAttribute="bottom" id="wdL-pt-Rs9"/>
|
||||
<constraint firstItem="dxI-5Q-gDD" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="xIO-0a-40f"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-452" y="-1223"/>
|
||||
<point key="canvasLocation" x="-452" y="-1218"/>
|
||||
</customView>
|
||||
<userDefaultsController representsSharedInstance="YES" id="123"/>
|
||||
</objects>
|
||||
|
||||
+33
-15
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
@@ -147,12 +147,13 @@
|
||||
<action selector="sendToQueue:" target="-1" id="599"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Send To iTunes" id="597" userLabel="10">
|
||||
<menuItem title="Send To iTunes" keyEquivalent="I" id="597" userLabel="10">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="sendToExternalApp:" target="-1" id="598"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="Wqy-Ps-5Qb"/>
|
||||
<menuItem title="Import" id="544">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Import" id="545">
|
||||
@@ -184,6 +185,23 @@
|
||||
<menuItem isSeparatorItem="YES" id="74" userLabel="2">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
|
||||
</menuItem>
|
||||
<menuItem title="Start Queue" keyEquivalent="B" id="TRh-ZN-Id8">
|
||||
<connections>
|
||||
<action selector="toggleStartStop:" target="449" id="ea4-oe-9YQ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Remove completed items from queue" id="Cre-T6-PID">
|
||||
<string key="keyEquivalent" base64-UTF8="YES">
|
||||
CA
|
||||
</string>
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="removeCompletedItems:" target="-1" id="ouO-db-qWo"/>
|
||||
</connections>
|
||||
</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>
|
||||
@@ -241,8 +259,8 @@
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="532"/>
|
||||
<menuItem title="Offset…" id="567">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menuItem title="Offset…" keyEquivalent="o" id="567">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
|
||||
<connections>
|
||||
<action selector="showTrackOffsetSheet:" target="-1" id="570"/>
|
||||
</connections>
|
||||
@@ -309,31 +327,31 @@
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Organize alternate groups" id="652">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menuItem title="Organize alternate groups" keyEquivalent="g" id="652">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
|
||||
<connections>
|
||||
<action selector="iTunesFriendlyTrackGroups:" target="-1" id="654"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Clear tracks names" id="hKY-N2-NzK">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menuItem title="Clear tracks names" keyEquivalent="n" id="hKY-N2-NzK">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
|
||||
<connections>
|
||||
<action selector="clearTrackNames:" target="-1" id="KsZ-tN-sdV"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Prettify audio track names" id="fm8-d2-1Yi">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menuItem title="Prettify audio track names" keyEquivalent="p" id="fm8-d2-1Yi">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
|
||||
<connections>
|
||||
<action selector="prettifyAudioTrackNames:" target="-1" id="z63-Uv-MTO"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Fix audio fallbacks" id="FXb-bX-0Wb">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menuItem title="Fix audio fallbacks" keyEquivalent="f" id="FXb-bX-0Wb">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
|
||||
<connections>
|
||||
<action selector="fixAudioFallbacks:" target="-1" id="cpY-If-3df"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="568"/>
|
||||
<menuItem isSeparatorItem="YES" id="yw4-pb-tNR"/>
|
||||
<menuItem title="Find" id="218">
|
||||
<menu key="submenu" title="Find" id="220">
|
||||
<items>
|
||||
@@ -488,7 +506,7 @@
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
<point key="canvasLocation" x="-244" y="-303"/>
|
||||
<point key="canvasLocation" x="106" y="-246"/>
|
||||
</menu>
|
||||
<customObject id="419" customClass="NSFontManager"/>
|
||||
<customObject id="449" userLabel="AppDelegate" customClass="AppDelegate" customModule="Subler" customModuleProvider="target">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -88,7 +88,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uAC-d6-cWk">
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uAC-d6-cWk">
|
||||
<rect key="frame" x="20" y="195" width="83" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Media tags:" id="xXI-Cs-cBg">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -73,7 +73,7 @@ Gw
|
||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
|
||||
<rect key="frame" x="18" y="45" width="44" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Movie:" id="uyt-vh-nv6">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -81,7 +81,7 @@ Gw
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
|
||||
<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">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -97,7 +97,7 @@ Gw
|
||||
<rect key="frame" x="64" y="6" width="187" height="25"/>
|
||||
<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="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="obN-m7-G5Q"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
@@ -112,7 +112,7 @@ Gw
|
||||
<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">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="Gqk-Gk-yG7">
|
||||
<items>
|
||||
<menuItem title="iTunes Store" state="on" id="nn6-mR-Bh1"/>
|
||||
@@ -166,7 +166,7 @@ DQ
|
||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
|
||||
<rect key="frame" x="14" y="45" width="61" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="TV Show:" id="lE4-J1-ySV">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -174,7 +174,7 @@ DQ
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
|
||||
<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"/>
|
||||
@@ -182,7 +182,7 @@ DQ
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
|
||||
<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"/>
|
||||
@@ -197,7 +197,7 @@ DQ
|
||||
<outlet property="delegate" destination="-2" id="wF7-SW-Zgw"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
|
||||
<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"/>
|
||||
@@ -212,7 +212,7 @@ DQ
|
||||
<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">
|
||||
<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"/>
|
||||
@@ -220,7 +220,7 @@ DQ
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<comboBox focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
|
||||
<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">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -237,7 +237,7 @@ DQ
|
||||
<rect key="frame" x="211" y="6" width="160" height="25"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="eDp-3G-Kg4"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
@@ -252,7 +252,7 @@ DQ
|
||||
<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="j44-FV-Lpy" id="O3t-4h-3zl">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="OYz-qX-3i2">
|
||||
<items>
|
||||
<menuItem title="iTunes Store" state="on" id="j44-FV-Lpy"/>
|
||||
@@ -315,7 +315,7 @@ DQ
|
||||
<outlet property="delegate" destination="-2" id="1gw-D2-r7v"/>
|
||||
</connections>
|
||||
</tabView>
|
||||
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
|
||||
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
|
||||
<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">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -359,7 +359,7 @@ DQ
|
||||
<rect key="frame" x="1" y="1" width="505" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
|
||||
<textField 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"/>
|
||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="wLe-r3-x0V">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -446,7 +446,7 @@ DQ
|
||||
<rect key="frame" x="1" y="1" width="101" height="37"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
|
||||
<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">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -482,7 +482,7 @@ DQ
|
||||
<rect key="frame" x="105" y="1" width="401" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
|
||||
<textField 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"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="cXa-al-MIH">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -505,7 +505,7 @@ DQ
|
||||
<rect key="frame" x="105" y="17" width="401" height="37"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
|
||||
<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">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -585,7 +585,7 @@ DQ
|
||||
<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"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="168" y="157"/>
|
||||
<point key="canvasLocation" x="244" y="72"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="18122" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="18122"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -13,16 +13,16 @@
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="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"/>
|
||||
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="625" y="560" width="660" height="220"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="contentRect" x="625" y="660" width="660" height="220"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
||||
<view key="contentView" id="2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="660" height="220"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="62479E7E-FF80-430F-8339-ECA67F66BBB3" autosavesConfiguration="NO" allowsUserCustomization="NO" displayMode="iconAndLabel" sizeMode="regular" id="Qgp-ap-Qwi">
|
||||
<toolbar key="toolbar" implicitIdentifier="62479E7E-FF80-430F-8339-ECA67F66BBB3" autosavesConfiguration="NO" allowsUserCustomization="NO" showsBaselineSeparator="NO" displayMode="iconAndLabel" sizeMode="regular" id="Qgp-ap-Qwi">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="vqk-zF-m6l"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="R2N-58-umt"/>
|
||||
|
||||
+19
-19
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -18,28 +18,28 @@
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Queue" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="SBQueuePosition" animationBehavior="default" tabbingMode="disallowed" toolbarStyle="compact" id="1">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="98" y="651" width="378" height="351"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="98" y="443" width="503" height="505"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
||||
<value key="minSize" type="size" width="378" height="200"/>
|
||||
<view key="contentView" wantsLayer="YES" id="2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="378" height="351"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="503" height="505"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<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="380" height="306"/>
|
||||
<rect key="frame" x="-1" y="46" width="505" height="460"/>
|
||||
<clipView key="contentView" id="ix7-yM-0F6">
|
||||
<rect key="frame" x="1" y="1" width="378" height="304"/>
|
||||
<rect key="frame" x="1" y="1" width="503" height="458"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<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">
|
||||
<rect key="frame" x="0.0" y="0.0" width="390" height="304"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="503" height="458"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="4"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableColumns>
|
||||
<tableColumn identifier="nameColumn" editable="NO" width="378" minWidth="40" maxWidth="3000" id="8">
|
||||
<tableColumn identifier="nameColumn" editable="NO" width="462" minWidth="40" maxWidth="3000" id="8">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="nameColumn">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
|
||||
@@ -52,13 +52,13 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView id="ofF-gY-wBR">
|
||||
<rect key="frame" x="1" y="2" width="387" height="19"/>
|
||||
<rect key="frame" x="1" y="2" width="471" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="pjh-GC-aOA">
|
||||
<rect key="frame" x="29" y="2" width="329" height="17"/>
|
||||
<rect key="frame" x="29" y="2" width="413" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="srx-EJ-mK6">
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingMiddle" sendsActionOnEndEditing="YES" title="Name" usesSingleLineMode="YES" id="srx-EJ-mK6">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -70,7 +70,7 @@
|
||||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="EncodeComplete" id="uXb-c3-MQO"/>
|
||||
</imageView>
|
||||
<button toolTip="Show item info" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="o98-wM-YAQ">
|
||||
<rect key="frame" x="364" y="2" width="16" height="16"/>
|
||||
<rect key="frame" x="448" 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">
|
||||
<behavior key="behavior" lightByContents="YES"/>
|
||||
@@ -99,8 +99,8 @@
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="0.25" horizontal="YES" id="6">
|
||||
<rect key="frame" x="1" y="289" width="378" height="16"/>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6">
|
||||
<rect key="frame" x="1" y="443" width="503" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="4">
|
||||
@@ -109,7 +109,7 @@
|
||||
</scroller>
|
||||
</scrollView>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="12">
|
||||
<rect key="frame" x="8" y="16" width="214" height="16"/>
|
||||
<rect key="frame" x="8" y="16" width="339" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Queue items" id="13">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -117,7 +117,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="91">
|
||||
<rect key="frame" x="228" y="13" width="140" height="20"/>
|
||||
<rect key="frame" x="353" y="13" width="140" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="140" id="zk9-SM-dx0"/>
|
||||
</constraints>
|
||||
@@ -138,7 +138,7 @@
|
||||
<connections>
|
||||
<outlet property="delegate" destination="-2" id="c4X-w0-NMZ"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="-66" y="113"/>
|
||||
<point key="canvasLocation" x="165.5" y="60.5"/>
|
||||
</window>
|
||||
<menu id="78">
|
||||
<items>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -21,7 +21,7 @@
|
||||
<rect key="frame" x="0.0" y="0.0" width="424" height="115"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ITP-pW-XrQ" propertyAccessControl="none">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ITP-pW-XrQ" propertyAccessControl="none">
|
||||
<rect key="frame" x="18" y="91" width="388" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" title="ItemName" id="5j3-R9-JdX">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -32,7 +32,7 @@
|
||||
<binding destination="-2" name="value" keyPath="self.name" id="KJR-7T-87z"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="MHQ-kr-DVS">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="MHQ-kr-DVS">
|
||||
<rect key="frame" x="18" y="51" width="73" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Destination:" id="9R2-ND-o8w">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -40,7 +40,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="0Or-PU-gfk">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="0Or-PU-gfk">
|
||||
<rect key="frame" x="18" y="33" width="73" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Actions:" id="4B2-1n-ouM">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -55,7 +55,7 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="eTa-uz-sjk" propertyAccessControl="none">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="eTa-uz-sjk" propertyAccessControl="none">
|
||||
<rect key="frame" x="95" y="51" width="311" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="charWrapping" selectable="YES" sendsActionOnEndEditing="YES" id="5mD-V5-53a">
|
||||
<font key="font" metaFont="toolTip"/>
|
||||
@@ -67,7 +67,7 @@
|
||||
<binding destination="-2" name="value" keyPath="self.destPath" id="NW6-M3-Krl"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="990-0E-nlL">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="990-0E-nlL">
|
||||
<rect key="frame" x="18" y="69" width="73" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Source:" id="9De-A4-Oas">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -75,7 +75,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="aBh-Is-f6Q" propertyAccessControl="none">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="aBh-Is-f6Q" propertyAccessControl="none">
|
||||
<rect key="frame" x="95" y="69" width="311" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="charWrapping" selectable="YES" sendsActionOnEndEditing="YES" id="OJa-Jm-vq4">
|
||||
<font key="font" metaFont="toolTip"/>
|
||||
@@ -181,9 +181,10 @@
|
||||
<constraint firstItem="Skr-vw-eHq" firstAttribute="leading" secondItem="0Or-PU-gfk" secondAttribute="trailing" constant="8" id="rq3-29-5vx"/>
|
||||
<constraint firstAttribute="bottom" secondItem="J0r-57-7ab" secondAttribute="bottom" constant="9" id="vQ6-oB-s7z"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="125" y="-121"/>
|
||||
<point key="canvasLocation" x="200" y="-110"/>
|
||||
</customView>
|
||||
<arrayController objectClassName="SBQueueAction" id="J6Q-ls-Vzn">
|
||||
<classReference key="objectClass" className="SBQueueAction"/>
|
||||
<connections>
|
||||
<binding destination="-2" name="contentArray" keyPath="item.actions" id="DPr-Hj-MPk"/>
|
||||
</connections>
|
||||
|
||||
+71
-72
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -20,7 +20,7 @@
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zEH-aV-Tl7">
|
||||
<rect key="frame" x="111" y="95" width="68" height="16"/>
|
||||
<rect key="frame" x="111" y="88" width="68" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -37,7 +37,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Clear existing metadata" translatesAutoresizingMaskIntoConstraints="NO" id="9GN-f6-r2j">
|
||||
<rect key="frame" x="111" y="612" width="145" height="16"/>
|
||||
<rect key="frame" x="111" y="607" width="145" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -51,7 +51,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="MGZ-hB-jhx">
|
||||
<rect key="frame" x="112" y="34" width="132" height="16"/>
|
||||
<rect key="frame" x="112" y="39" width="132" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -65,7 +65,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Organize the mp4 alternate groups" verticalHuggingPriority="757" translatesAutoresizingMaskIntoConstraints="NO" id="ccd-Xn-Dj3">
|
||||
<rect key="frame" x="111" y="445" width="110" height="16"/>
|
||||
<rect key="frame" x="111" y="440" width="110" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -79,7 +79,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Load the external srt subtitles file" verticalHuggingPriority="758" translatesAutoresizingMaskIntoConstraints="NO" id="etc-K7-Atw">
|
||||
<rect key="frame" x="111" y="405" width="142" height="16"/>
|
||||
<rect key="frame" x="111" y="400" width="142" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -93,7 +93,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="86l-GG-SpO">
|
||||
<rect key="frame" x="195" y="134" width="130" height="17"/>
|
||||
<rect key="frame" x="195" y="127" width="130" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -121,24 +121,24 @@
|
||||
<accessibilityConnection property="title" destination="vJ5-JB-k1m" id="D3Y-SD-Lcc"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="vJ5-JB-k1m">
|
||||
<rect key="frame" x="132" y="136" width="56" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Location:" id="17e-9u-rVn">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<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" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="NhN-Lg-awX">
|
||||
<rect key="frame" x="126" y="156" width="62" height="14"/>
|
||||
<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"/>
|
||||
<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"/>
|
||||
<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" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-yP-QQ5">
|
||||
<rect key="frame" x="126" y="570" width="48" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -148,8 +148,8 @@
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="b58-Sd-wqT"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="bDo-OD-bck">
|
||||
<rect key="frame" x="126" y="524" width="63" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -159,16 +159,16 @@
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="VZ7-3B-gA7"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="Uoo-hZ-D1f">
|
||||
<rect key="frame" x="18" y="35" width="89" height="14"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="Uoo-hZ-D1f">
|
||||
<rect key="frame" x="18" y="40" width="89" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Global options:" id="NBN-VA-pg2">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<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" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="S7L-mA-j3Y">
|
||||
<rect key="frame" x="49" y="613" width="58" height="14"/>
|
||||
<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"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -176,7 +176,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DVM-Js-DwK">
|
||||
<rect key="frame" x="195" y="154" width="130" height="17"/>
|
||||
<rect key="frame" x="195" y="147" width="130" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -208,7 +208,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZVm-yi-3cE">
|
||||
<rect key="frame" x="181" y="568" width="150" height="17"/>
|
||||
<rect key="frame" x="181" y="563" width="150" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -235,7 +235,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tLh-V3-OfB">
|
||||
<rect key="frame" x="195" y="522" width="150" height="17"/>
|
||||
<rect key="frame" x="195" y="517" width="150" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -261,8 +261,8 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="BWL-Nn-iGH">
|
||||
<rect key="frame" x="142" y="504" width="63" height="14"/>
|
||||
<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"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="58" id="vbR-Os-38g"/>
|
||||
</constraints>
|
||||
@@ -275,8 +275,8 @@
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="ZDg-5s-ifn"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Ns9-7q-hsh">
|
||||
<rect key="frame" x="126" y="476" width="54" height="14"/>
|
||||
<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"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="98L-OX-PB1"/>
|
||||
</constraints>
|
||||
@@ -290,7 +290,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ce4-O7-Iu4">
|
||||
<rect key="frame" x="212" y="502" width="150" height="17"/>
|
||||
<rect key="frame" x="212" y="497" width="150" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -317,8 +317,8 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="73q-gi-fe2">
|
||||
<rect key="frame" x="142" y="550" width="63" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -329,7 +329,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5rh-cM-iOg">
|
||||
<rect key="frame" x="212" y="548" width="150" height="17"/>
|
||||
<rect key="frame" x="212" y="543" width="150" height="17"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -358,7 +358,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button toolTip="Organize the audio fallbacks" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="TV6-Sk-Bqr">
|
||||
<rect key="frame" x="111" y="425" width="118" height="16"/>
|
||||
<rect key="frame" x="111" y="420" width="118" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -375,7 +375,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<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="325" width="159" height="16"/>
|
||||
<rect key="frame" x="111" y="320" width="159" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -388,8 +388,8 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="swT-iM-shZ">
|
||||
<rect key="frame" x="126" y="307" width="64" height="14"/>
|
||||
<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"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="60" id="x6U-u1-ezQ"/>
|
||||
</constraints>
|
||||
@@ -403,7 +403,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZZk-4j-Ji7">
|
||||
<rect key="frame" x="197" y="305" width="111" height="17"/>
|
||||
<rect key="frame" x="197" y="300" width="111" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -430,8 +430,8 @@
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.fixTrackLanguage" id="iYk-sU-PL5"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="ntU-85-AaJ">
|
||||
<rect key="frame" x="126" y="267" width="63" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="963-dI-WCB">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -442,7 +442,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ztL-LO-XhV">
|
||||
<rect key="frame" x="196" y="265" width="111" height="17"/>
|
||||
<rect key="frame" x="196" y="260" width="111" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -470,7 +470,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3et-YT-WBR">
|
||||
<rect key="frame" x="111" y="284" width="195" height="16"/>
|
||||
<rect key="frame" x="111" y="279" width="195" height="16"/>
|
||||
<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">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -485,7 +485,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LiA-V6-VEx" userLabel="Change Subtitle Language Track">
|
||||
<rect key="frame" x="111" y="247" width="218" height="16"/>
|
||||
<rect key="frame" x="111" y="242" width="211" height="16"/>
|
||||
<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">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -500,7 +500,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="yI9-2a-q2a">
|
||||
<rect key="frame" x="112" y="14" width="178" height="16"/>
|
||||
<rect key="frame" x="112" y="19" width="178" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -514,7 +514,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Delete all custom track names" verticalHuggingPriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="22k-mA-HyA">
|
||||
<rect key="frame" x="111" y="385" width="122" height="16"/>
|
||||
<rect key="frame" x="111" y="380" width="122" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -528,7 +528,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<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="365" width="159" height="16"/>
|
||||
<rect key="frame" x="111" y="360" width="159" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -542,7 +542,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Rename chapters titles to "Chapter N" format." verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0qr-Nt-Pan">
|
||||
<rect key="frame" x="111" y="345" width="142" height="16"/>
|
||||
<rect key="frame" x="111" y="340" width="142" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -556,7 +556,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="08Q-2k-0Gb">
|
||||
<rect key="frame" x="187" y="474" width="70" height="17"/>
|
||||
<rect key="frame" x="187" y="469" width="70" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -587,7 +587,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<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="210" width="115" height="16"/>
|
||||
<rect key="frame" x="111" y="205" width="115" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -600,8 +600,8 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="2Hf-2V-95U">
|
||||
<rect key="frame" x="126" y="192" width="76" height="14"/>
|
||||
<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"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -612,7 +612,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="s2g-Iz-52P">
|
||||
<rect key="frame" x="209" y="190" width="150" height="18"/>
|
||||
<rect key="frame" x="209" y="185" width="150" height="18"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -641,7 +641,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button toolTip="Search metadata online" verticalHuggingPriority="759" translatesAutoresizingMaskIntoConstraints="NO" id="s8r-Cf-VfB">
|
||||
<rect key="frame" x="111" y="592" width="103" height="16"/>
|
||||
<rect key="frame" x="111" y="587" width="103" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -655,7 +655,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="zVi-vU-sh2">
|
||||
<rect key="frame" x="111" y="76" width="145" height="16"/>
|
||||
<rect key="frame" x="111" y="69" width="145" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -669,7 +669,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="k33-Yf-DbF">
|
||||
<rect key="frame" x="263" y="474" width="73" height="17"/>
|
||||
<rect key="frame" x="263" y="469" width="73" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -693,8 +693,8 @@
|
||||
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="UK3-vK-Ddd"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="FJc-Hc-zCR">
|
||||
<rect key="frame" x="126" y="230" width="63" height="14"/>
|
||||
<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"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="E4E-3v-z24">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -705,7 +705,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YJ5-of-VuU">
|
||||
<rect key="frame" x="196" y="228" width="111" height="17"/>
|
||||
<rect key="frame" x="196" y="223" width="111" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -733,7 +733,7 @@
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hjl-i0-gFW">
|
||||
<rect key="frame" x="111" y="173" width="124" height="16"/>
|
||||
<rect key="frame" x="111" y="166" width="124" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -743,7 +743,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KWg-Ak-bB6">
|
||||
<rect key="frame" x="195" y="114" width="130" height="17"/>
|
||||
<rect key="frame" x="195" y="107" width="130" height="17"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -762,8 +762,8 @@
|
||||
<binding destination="-2" name="selectedValue" keyPath="self.options.fileType" id="cpt-5g-SPz"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="muY-E0-hVI">
|
||||
<rect key="frame" x="129" y="116" width="59" height="14"/>
|
||||
<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"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -778,30 +778,27 @@
|
||||
<constraint firstItem="eTL-yP-QQ5" firstAttribute="baseline" secondItem="ZVm-yi-3cE" secondAttribute="baseline" id="2QL-tK-mnk"/>
|
||||
<constraint firstItem="Uoo-hZ-D1f" firstAttribute="trailing" secondItem="S7L-mA-j3Y" secondAttribute="trailing" id="2nH-CB-Xrm"/>
|
||||
<constraint firstItem="Hjl-i0-gFW" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="37z-nU-kY2"/>
|
||||
<constraint firstItem="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="3TZ-bb-Hrc"/>
|
||||
<constraint firstItem="Ns9-7q-hsh" firstAttribute="leading" secondItem="eTL-yP-QQ5" secondAttribute="leading" id="3lE-zv-GLa"/>
|
||||
<constraint firstItem="BWL-Nn-iGH" firstAttribute="leading" secondItem="73q-gi-fe2" secondAttribute="leading" id="4F6-3i-TFt"/>
|
||||
<constraint firstItem="Uoo-hZ-D1f" firstAttribute="baseline" secondItem="MGZ-hB-jhx" secondAttribute="baseline" id="60E-u1-vWH"/>
|
||||
<constraint firstItem="73q-gi-fe2" firstAttribute="baseline" secondItem="5rh-cM-iOg" secondAttribute="baseline" id="66k-sh-Ru9"/>
|
||||
<constraint firstItem="vJ5-JB-k1m" firstAttribute="top" secondItem="NhN-Lg-awX" secondAttribute="bottom" constant="6" id="6oE-wc-3VM"/>
|
||||
<constraint firstItem="etc-K7-Atw" firstAttribute="top" secondItem="TV6-Sk-Bqr" secondAttribute="bottom" constant="6" symbolic="YES" id="957-mU-89Q"/>
|
||||
<constraint firstItem="ccd-Xn-Dj3" firstAttribute="top" secondItem="08Q-2k-0Gb" secondAttribute="bottom" constant="15" id="9cv-6n-XUW"/>
|
||||
<constraint firstAttribute="bottom" secondItem="yI9-2a-q2a" secondAttribute="bottom" constant="15" id="9sX-va-Dwk"/>
|
||||
<constraint firstItem="muY-E0-hVI" firstAttribute="top" secondItem="vJ5-JB-k1m" secondAttribute="bottom" constant="6" id="Cy6-XK-sSC"/>
|
||||
<constraint firstAttribute="bottom" secondItem="yI9-2a-q2a" secondAttribute="bottom" constant="20" id="9sX-va-Dwk"/>
|
||||
<constraint firstItem="ZZk-4j-Ji7" firstAttribute="leading" secondItem="swT-iM-shZ" secondAttribute="trailing" constant="9" id="DAW-9N-Oi1"/>
|
||||
<constraint firstItem="NhN-Lg-awX" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="4" id="EoB-Hi-KKF"/>
|
||||
<constraint firstItem="zVi-vU-sh2" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="Eua-v1-wC3"/>
|
||||
<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 firstItem="Ce4-O7-Iu4" firstAttribute="top" secondItem="tLh-V3-OfB" secondAttribute="bottom" constant="4" id="GZU-yB-OvD"/>
|
||||
<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="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="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 firstItem="FJc-Hc-zCR" firstAttribute="leading" secondItem="LiA-V6-VEx" secondAttribute="leading" constant="16" id="MQ9-dx-nHh"/>
|
||||
<constraint firstItem="zVi-vU-sh2" firstAttribute="top" secondItem="zEH-aV-Tl7" secondAttribute="bottom" constant="5" id="Mmx-43-nCr"/>
|
||||
<constraint firstItem="swT-iM-shZ" firstAttribute="baseline" secondItem="ZZk-4j-Ji7" secondAttribute="baseline" id="NVg-BO-A8O"/>
|
||||
<constraint firstItem="Hjl-i0-gFW" firstAttribute="top" secondItem="2Hf-2V-95U" secondAttribute="bottom" constant="4" id="Nli-Lf-nnu"/>
|
||||
<constraint firstItem="slL-2h-MPl" firstAttribute="top" secondItem="0qr-Nt-Pan" secondAttribute="bottom" constant="6" symbolic="YES" id="Nn2-m3-qrI"/>
|
||||
<constraint firstItem="ntU-85-AaJ" firstAttribute="baseline" secondItem="ztL-LO-XhV" secondAttribute="baseline" id="P2e-3H-9uY"/>
|
||||
<constraint firstItem="s2g-Iz-52P" firstAttribute="leading" secondItem="2Hf-2V-95U" secondAttribute="trailing" constant="9" id="PCQ-pI-3nq"/>
|
||||
@@ -811,8 +808,8 @@
|
||||
<constraint firstItem="BWL-Nn-iGH" firstAttribute="baseline" secondItem="Ce4-O7-Iu4" secondAttribute="baseline" id="R7k-Cz-UbH"/>
|
||||
<constraint firstItem="slL-2h-MPl" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="RYO-ud-gve"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="slL-2h-MPl" secondAttribute="trailing" constant="20" symbolic="YES" id="RrJ-dB-kUg"/>
|
||||
<constraint firstItem="Pdq-s0-erT" firstAttribute="top" secondItem="YJ5-of-VuU" secondAttribute="bottom" constant="4" id="SJH-vG-SoX"/>
|
||||
<constraint firstItem="YJ5-of-VuU" firstAttribute="top" secondItem="LiA-V6-VEx" secondAttribute="bottom" constant="3" id="SPV-V9-fNd"/>
|
||||
<constraint firstItem="s2g-Iz-52P" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="3" id="TY3-v9-t2l"/>
|
||||
<constraint firstItem="ntU-85-AaJ" firstAttribute="leading" secondItem="3et-YT-WBR" secondAttribute="leading" constant="16" id="ToH-GW-vZD"/>
|
||||
<constraint firstItem="81E-pQ-vyQ" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="Tx4-WN-8eT"/>
|
||||
<constraint firstItem="Pdq-s0-erT" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="UCC-4h-SBw"/>
|
||||
@@ -823,14 +820,14 @@
|
||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="UlG-O3-eNc" secondAttribute="leading" constant="20" symbolic="YES" id="Wtg-8x-kIs"/>
|
||||
<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="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="2Hf-2V-95U" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="5" id="Ylb-ff-hBi"/>
|
||||
<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="MGZ-hB-jhx" firstAttribute="leading" secondItem="Uoo-hZ-D1f" secondAttribute="trailing" constant="8" symbolic="YES" id="bZX-aT-V7w"/>
|
||||
<constraint firstItem="KWg-Ak-bB6" firstAttribute="top" secondItem="86l-GG-SpO" secondAttribute="bottom" constant="4" id="cxd-ok-Pio"/>
|
||||
<constraint firstItem="KWg-Ak-bB6" firstAttribute="leading" secondItem="muY-E0-hVI" secondAttribute="trailing" constant="9" id="dS3-YF-Fsp"/>
|
||||
<constraint firstItem="ztL-LO-XhV" firstAttribute="top" secondItem="3et-YT-WBR" secondAttribute="bottom" constant="3" id="eAi-4b-fS1"/>
|
||||
<constraint firstItem="zEH-aV-Tl7" firstAttribute="top" secondItem="muY-E0-hVI" secondAttribute="bottom" constant="6" id="ei1-yP-0CS"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="s8r-Cf-VfB" secondAttribute="trailing" constant="20" symbolic="YES" id="esG-2e-jbB"/>
|
||||
<constraint firstItem="vJ5-JB-k1m" firstAttribute="trailing" secondItem="NhN-Lg-awX" secondAttribute="trailing" id="fEv-Vf-2Dv"/>
|
||||
<constraint firstItem="LiA-V6-VEx" firstAttribute="top" secondItem="ztL-LO-XhV" secondAttribute="bottom" constant="4" id="fW1-9T-b7C"/>
|
||||
@@ -850,15 +847,15 @@
|
||||
<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="22k-mA-HyA" firstAttribute="top" secondItem="etc-K7-Atw" secondAttribute="bottom" constant="6" symbolic="YES" id="mRD-fX-qMt"/>
|
||||
<constraint firstItem="86l-GG-SpO" firstAttribute="top" secondItem="DVM-Js-DwK" secondAttribute="bottom" constant="4" id="mYq-MI-cyr"/>
|
||||
<constraint firstItem="ZZk-4j-Ji7" firstAttribute="top" secondItem="slL-2h-MPl" secondAttribute="bottom" constant="4" id="n9b-Ub-usn"/>
|
||||
<constraint firstItem="08Q-2k-0Gb" firstAttribute="baseline" secondItem="k33-Yf-DbF" secondAttribute="baseline" id="nPl-tv-zwn"/>
|
||||
<constraint firstItem="81E-pQ-vyQ" firstAttribute="top" secondItem="22k-mA-HyA" secondAttribute="bottom" constant="6" symbolic="YES" id="ntR-jS-xXX"/>
|
||||
<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="s8r-Cf-VfB" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="oUh-bK-O8z"/>
|
||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="15" 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="s2g-Iz-52P" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="3" id="rhq-4q-lqQ"/>
|
||||
<constraint firstItem="YJ5-of-VuU" firstAttribute="leading" secondItem="FJc-Hc-zCR" secondAttribute="trailing" constant="9" id="s62-9o-HgE"/>
|
||||
<constraint firstItem="muY-E0-hVI" firstAttribute="trailing" secondItem="vJ5-JB-k1m" secondAttribute="trailing" id="sGc-c4-SAY"/>
|
||||
<constraint firstItem="TV6-Sk-Bqr" firstAttribute="top" secondItem="ccd-Xn-Dj3" secondAttribute="bottom" constant="6" symbolic="YES" id="sLa-WX-X4o"/>
|
||||
@@ -867,11 +864,13 @@
|
||||
<constraint firstItem="08Q-2k-0Gb" firstAttribute="top" secondItem="Ce4-O7-Iu4" secondAttribute="bottom" constant="12" id="vAJ-AI-csp"/>
|
||||
<constraint firstItem="bDo-OD-bck" firstAttribute="leading" secondItem="eTL-yP-QQ5" secondAttribute="leading" id="vCX-Uv-1ad"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="22k-mA-HyA" secondAttribute="trailing" constant="20" symbolic="YES" id="w8d-N9-ueg"/>
|
||||
<constraint firstItem="Pdq-s0-erT" firstAttribute="top" secondItem="YJ5-of-VuU" secondAttribute="bottom" constant="4" id="wvH-wm-dox"/>
|
||||
<constraint firstItem="3et-YT-WBR" firstAttribute="top" secondItem="swT-iM-shZ" secondAttribute="bottom" constant="8" symbolic="YES" id="y2J-57-qCW"/>
|
||||
<constraint firstItem="DVM-Js-DwK" firstAttribute="leading" secondItem="NhN-Lg-awX" secondAttribute="trailing" constant="9" id="yIt-8L-VbD"/>
|
||||
<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"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-1040" y="-34"/>
|
||||
<point key="canvasLocation" x="-1040" y="-23"/>
|
||||
</customView>
|
||||
<arrayController objectClassName="Preset" automaticallyPreparesContent="YES" id="vyv-na-Xpo" userLabel="Set Controller">
|
||||
<declaredKeys>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -378,7 +378,7 @@ Gw
|
||||
<constraint firstItem="3EA-ze-TJM" firstAttribute="leading" secondItem="gTi-Iq-Nr3" secondAttribute="trailing" constant="12" id="vTd-Bl-Rjc"/>
|
||||
<constraint firstAttribute="bottom" secondItem="3EA-ze-TJM" secondAttribute="bottom" constant="20" symbolic="YES" id="zdI-AV-TEM"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="27" y="-55"/>
|
||||
<point key="canvasLocation" x="259" y="2"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
+21
-25
@@ -62,38 +62,15 @@ final class DocumentController : NSDocumentController {
|
||||
}
|
||||
|
||||
@NSApplicationMain
|
||||
final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
final class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
|
||||
|
||||
@IBOutlet weak var sendToExternalApp: NSMenuItem!
|
||||
|
||||
private static func appSupportURL() -> URL {
|
||||
let fileManager = FileManager.default
|
||||
if let url = fileManager.urls(for: .applicationSupportDirectory, in: .userDomainMask)
|
||||
.first?.appendingPathComponent("Subler") {
|
||||
|
||||
do {
|
||||
if fileManager.fileExists(atPath: url.path) == false {
|
||||
try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: [:])
|
||||
}
|
||||
}
|
||||
catch _ {
|
||||
fatalError("Couldn't create the app support directory")
|
||||
}
|
||||
|
||||
return url
|
||||
}
|
||||
else {
|
||||
fatalError("Couldn't find the app support directory")
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor private lazy var prefsController: PrefsWindowController = {
|
||||
return PrefsWindowController()
|
||||
}()
|
||||
|
||||
private lazy var logger: Logger = {
|
||||
return Logger(fileURL: AppDelegate.appSupportURL().appendingPathComponent("debugLog.txt"))
|
||||
}()
|
||||
private let logger = Logger.shared
|
||||
|
||||
@MainActor private lazy var activityWindowController: ActivityWindowController = {
|
||||
return ActivityWindowController(logger: logger)
|
||||
@@ -236,6 +213,25 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
return false
|
||||
}
|
||||
|
||||
@IBAction func toggleStartStop(_ sender: Any?) {
|
||||
QueueController.shared.toggleStartStop(sender)
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
let action = menuItem.action
|
||||
|
||||
if action == #selector(toggleStartStop(_:)) {
|
||||
let state = QueueController.shared.status
|
||||
if state == .working {
|
||||
menuItem.title = NSLocalizedString("Stop Queue", comment: "Main Menu -> Stop Queue")
|
||||
} else {
|
||||
menuItem.title = NSLocalizedString("Start Queue", comment: "Main Menu -> Start Queue")
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
// MARK: actions
|
||||
|
||||
@IBAction func openInQueue(_ sender: Any) {
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import Quartz
|
||||
import MP42Foundation
|
||||
|
||||
private protocol ArtworkImageObjectDelegate: AnyObject {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -19,7 +19,7 @@
|
||||
<rect key="frame" x="0.0" y="0.0" width="128" height="171"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wkh-6c-0tU" customClass="ArtworkSelectorViewItemLabel" customModule="Subler" customModuleProvider="target">
|
||||
<textField wantsLayer="YES" 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"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="TsL-Ak-xnf">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
@@ -27,7 +27,7 @@
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
||||
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
||||
<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">
|
||||
<font key="font" metaFont="system" size="10"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14087.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14087.3"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -16,6 +16,7 @@
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<point key="canvasLocation" x="261" y="18"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -16,8 +16,8 @@
|
||||
<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"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="70" y="318" width="520" height="510"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
|
||||
<rect key="contentRect" x="200" y="500" width="520" height="510"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
||||
<value key="minSize" type="size" width="520" height="510"/>
|
||||
<view key="contentView" id="rip-YL-WpY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="520" height="510"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -19,23 +19,23 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="641" height="497"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="642" height="497"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<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="455" height="311"/>
|
||||
<rect key="frame" x="166" y="142" width="456" height="311"/>
|
||||
<clipView key="contentView" id="mho-zw-2Ud">
|
||||
<rect key="frame" x="1" y="1" width="453" height="309"/>
|
||||
<rect key="frame" x="1" y="1" width="454" height="309"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<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">
|
||||
<rect key="frame" x="0.0" y="0.0" width="453" height="286"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="454" height="286"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableColumns>
|
||||
<tableColumn identifier="annotation" width="144.5" minWidth="40" maxWidth="1000" id="6um-Rw-luk">
|
||||
<tableColumn identifier="annotation" width="145" minWidth="40" maxWidth="1000" id="6um-Rw-luk">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Annotations">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -74,7 +74,7 @@
|
||||
</tableCellView>
|
||||
</prototypeCellViews>
|
||||
</tableColumn>
|
||||
<tableColumn identifier="value" width="302.5" minWidth="40" maxWidth="1000" id="Aj4-bk-6RK">
|
||||
<tableColumn identifier="value" width="303" minWidth="40" maxWidth="1000" id="Aj4-bk-6RK">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -87,11 +87,11 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="value" id="5Ey-Te-51o" customClass="TokenCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="148.5" y="1" width="302" height="17"/>
|
||||
<rect key="frame" x="149" y="1" width="303" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3sj-gY-zSo">
|
||||
<rect key="frame" x="1" y="1" width="300" height="15"/>
|
||||
<rect key="frame" x="1" y="1" width="301" height="15"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" allowsEditingTextAttributes="YES" id="BaM-xn-Wzr" customClass="TokenFieldCell" customModule="Subler" customModuleProvider="target">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -134,12 +134,12 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<tableHeaderView key="headerView" wantsLayer="YES" id="REl-53-Sku">
|
||||
<rect key="frame" x="0.0" y="0.0" width="453" height="23"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="454" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y15-gP-AOw">
|
||||
<rect key="frame" x="18" y="67" width="605" height="15"/>
|
||||
<rect key="frame" x="18" y="67" width="606" height="15"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" allowsUndo="NO" alignment="left" allowsEditingTextAttributes="YES" id="rG5-g2-YmU">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -151,8 +151,8 @@
|
||||
</connections>
|
||||
</tokenField>
|
||||
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sd5-qb-K5v">
|
||||
<rect key="frame" x="194" y="113" width="26" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
|
||||
<rect key="frame" x="207" y="107" width="44" height="32"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -161,10 +161,10 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton toolTip="Add annotation" verticalHuggingPriority="249" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="Jdh-Cj-6ef">
|
||||
<rect key="frame" x="166" y="113" width="29" height="22"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
|
||||
<rect key="frame" x="163" y="110" width="53" height="25"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="ywu-nj-9bP">
|
||||
<items>
|
||||
<menuItem image="NSAddTemplate" hidden="YES" id="5wF-Yq-18d">
|
||||
@@ -173,23 +173,10 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="zjQ-DY-ahs"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="addMetadataItem:" target="-2" id="wQl-dy-iQm"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
|
||||
<rect key="frame" x="15" y="19" width="356" height="41"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
|
||||
</connections>
|
||||
</button>
|
||||
<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"/>
|
||||
<clipView key="contentView" id="KId-fX-q1q">
|
||||
@@ -269,7 +256,7 @@
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8sr-aI-VZy">
|
||||
<rect key="frame" x="18" y="90" width="605" height="16"/>
|
||||
<rect key="frame" x="18" y="90" width="606" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Available values:" id="OYx-Dd-YIf">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -277,8 +264,8 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BkU-sx-jUf">
|
||||
<rect key="frame" x="501" y="113" width="120" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" title="Restore Defaults" bezelStyle="smallSquare" image="buttonCell:nBh-jv-KDG:image" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
|
||||
<rect key="frame" x="494" y="107" width="135" height="32"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -297,21 +284,31 @@
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
|
||||
<rect key="frame" x="18" y="19" width="173" height="41"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<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="h1q-Xr-y6R" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2i2-lP-HkJ"/>
|
||||
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="h1q-Xr-y6R" secondAttribute="leading" id="7f9-AI-w1t"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Y15-gP-AOw" secondAttribute="trailing" constant="20" id="8il-IM-mGa"/>
|
||||
<constraint firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" constant="20" symbolic="YES" id="9fj-nw-Dnj"/>
|
||||
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="sd5-qb-K5v" secondAttribute="trailing" constant="-203" id="BJ5-Wy-0IT"/>
|
||||
<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 firstAttribute="trailing" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="270" id="DbB-rO-WGW"/>
|
||||
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="trailing" secondItem="Y15-gP-AOw" secondAttribute="trailing" constant="-250" id="FE7-1p-ZNW"/>
|
||||
<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="h1q-Xr-y6R" firstAttribute="leading" secondItem="Y15-gP-AOw" secondAttribute="leading" id="HMX-Qb-8MC"/>
|
||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="centerY" secondItem="1XK-zr-YdW" secondAttribute="centerY" id="JHk-tE-xQI"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" symbolic="YES" 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 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"/>
|
||||
@@ -321,13 +318,12 @@
|
||||
<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="ZMK-Xt-bJh" firstAttribute="top" secondItem="Y15-gP-AOw" secondAttribute="bottom" constant="8" symbolic="YES" id="jNv-GA-dH3"/>
|
||||
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="-178" id="k7p-wK-1iJ"/>
|
||||
<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="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="sd5-qb-K5v" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="-1" 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="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="166" id="yZg-V9-bxH"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-295.5" y="-469.5"/>
|
||||
@@ -343,58 +339,5 @@
|
||||
<resources>
|
||||
<image name="NSAddTemplate" width="18" height="17"/>
|
||||
<image name="NSRemoveTemplate" width="18" height="5"/>
|
||||
<image name="buttonCell:nBh-jv-KDG:image" width="1" height="1">
|
||||
<mutableData key="keyedArchiveRepresentation">
|
||||
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05T
|
||||
S2V5ZWRBcmNoaXZlctEICVRyb290gAGuCwwZGh8UJCkqMTQ3PUBVJG51bGzWDQ4PEBESExQVFhcYVk5T
|
||||
U2l6ZV5OU1Jlc2l6aW5nTW9kZVYkY2xhc3NcTlNJbWFnZUZsYWdzVk5TUmVwc1dOU0NvbG9ygAIQAIAN
|
||||
EiDDAACAA4ALVnsxLCAxfdIbDxweWk5TLm9iamVjdHOhHYAEgArSGw8gI6IhIoAFgAaACdMPJSYnKBRf
|
||||
EBROU1RJRkZSZXByZXNlbnRhdGlvbl8QGU5TSW50ZXJuYWxMYXlvdXREaXJlY3Rpb26ACIAHTxEIxE1N
|
||||
ACoAAAAKAAAAEAEAAAMAAAABAAEAAAEBAAMAAAABAAEAAAECAAMAAAACAAgACAEDAAMAAAABAAEAAAEG
|
||||
AAMAAAABAAEAAAEKAAMAAAABAAEAAAERAAQAAAABAAAACAESAAMAAAABAAEAAAEVAAMAAAABAAIAAAEW
|
||||
AAMAAAABAAEAAAEXAAQAAAABAAAAAgEcAAMAAAABAAEAAAEoAAMAAAABAAIAAAFSAAMAAAABAAEAAAFT
|
||||
AAMAAAACAAEAAYdzAAcAAAf0AAAA0AAAAAAAAAf0YXBwbAIgAABtbnRyR1JBWVhZWiAH0AACAA4ADAAA
|
||||
AABhY3NwQVBQTAAAAABub25lAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWFwcGwAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVkZXNjAAAAwAAAAG9kc2NtAAABMAAA
|
||||
BmZjcHJ0AAAHmAAAADh3dHB0AAAH0AAAABRrVFJDAAAH5AAAAA5kZXNjAAAAAAAAABVHZW5lcmljIEdy
|
||||
YXkgUHJvZmlsZQAAAAAAAAAAAAAAFUdlbmVyaWMgR3JheSBQcm9maWxlAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbWx1YwAAAAAAAAAfAAAADHNrU0sAAAAqAAABhGVu
|
||||
VVMAAAAoAAABrmNhRVMAAAAsAAAB1nZpVk4AAAAsAAACAnB0QlIAAAAqAAACLnVrVUEAAAAsAAACWGZy
|
||||
RlUAAAAqAAAChGh1SFUAAAAuAAACrnpoVFcAAAAQAAAC3G5iTk8AAAAsAAAC7GtvS1IAAAAYAAADGGNz
|
||||
Q1oAAAAkAAADMGhlSUwAAAAgAAADVHJvUk8AAAAkAAADdGRlREUAAAA6AAADmGl0SVQAAAAuAAAD0nN2
|
||||
U0UAAAAuAAAEAHpoQ04AAAAQAAAELmphSlAAAAAWAAAEPmVsR1IAAAAkAAAEVHB0UE8AAAA4AAAEeG5s
|
||||
TkwAAAAqAAAEsGVzRVMAAAAoAAAE2nRoVEgAAAAkAAAFAnRyVFIAAAAiAAAFJmZpRkkAAAAsAAAFSGhy
|
||||
SFIAAAA6AAAFdHBsUEwAAAA2AAAFrnJ1UlUAAAAmAAAF5GFyRUcAAAAoAAAGCmRhREsAAAA0AAAGMgBW
|
||||
AWEAZQBvAGIAZQBjAG4A/QAgAHMAaQB2AP0AIABwAHIAbwBmAGkAbABHAGUAbgBlAHIAaQBjACAARwBy
|
||||
AGEAeQAgAFAAcgBvAGYAaQBsAGUAUABlAHIAZgBpAGwAIABkAGUAIABnAHIAaQBzACAAZwBlAG4A6ABy
|
||||
AGkAYwBDHqUAdQAgAGgA7ABuAGgAIABNAOAAdQAgAHgA4QBtACAAQwBoAHUAbgBnAFAAZQByAGYAaQBs
|
||||
ACAAQwBpAG4AegBhACAARwBlAG4A6QByAGkAYwBvBBcEMAQzBDAEOwRMBD0EOAQ5ACAEPwRABD4ERAQw
|
||||
BDkEOwAgAEcAcgBhAHkAUAByAG8AZgBpAGwAIABnAOkAbgDpAHIAaQBxAHUAZQAgAGcAcgBpAHMAwQBs
|
||||
AHQAYQBsAOEAbgBvAHMAIABzAHoA/AByAGsAZQAgAHAAcgBvAGYAaQBskBp1KHBwlo6Ccl9pY8+P8ABH
|
||||
AGUAbgBlAHIAaQBzAGsAIABnAHIA5QB0AG8AbgBlAHAAcgBvAGYAaQBsx3y8GAAgAEcAcgBhAHkAINUE
|
||||
uFzTDMd8AE8AYgBlAGMAbgD9ACABYQBlAGQA/QAgAHAAcgBvAGYAaQBsBeQF6AXVBeQF2QXcACAARwBy
|
||||
AGEAeQAgBdsF3AXcBdkAUAByAG8AZgBpAGwAIABnAHIAaQAgAGcAZQBuAGUAcgBpAGMAQQBsAGwAZwBl
|
||||
AG0AZQBpAG4AZQBzACAARwByAGEAdQBzAHQAdQBmAGUAbgAtAFAAcgBvAGYAaQBsAFAAcgBvAGYAaQBs
|
||||
AG8AIABnAHIAaQBnAGkAbwAgAGcAZQBuAGUAcgBpAGMAbwBHAGUAbgBlAHIAaQBzAGsAIABnAHIA5QBz
|
||||
AGsAYQBsAGUAcAByAG8AZgBpAGxmbpAacHBepmPPj/Blh072TgCCLDCwMOwwpDDXMO0w1TChMKQw6wOT
|
||||
A7UDvQO5A7oDzAAgA8ADwQO/A8YDrwO7ACADswO6A8EDuQBQAGUAcgBmAGkAbAAgAGcAZQBuAOkAcgBp
|
||||
AGMAbwAgAGQAZQAgAGMAaQBuAHoAZQBuAHQAbwBzAEEAbABnAGUAbQBlAGUAbgAgAGcAcgBpAGoAcwBw
|
||||
AHIAbwBmAGkAZQBsAFAAZQByAGYAaQBsACAAZwByAGkAcwAgAGcAZQBuAOkAcgBpAGMAbw5CDhsOIw5E
|
||||
Dh8OJQ5MDioONQ5ADhcOMg4XDjEOSA4nDkQOGwBHAGUAbgBlAGwAIABHAHIAaQAgAFAAcgBvAGYAaQBs
|
||||
AGkAWQBsAGUAaQBuAGUAbgAgAGgAYQByAG0AYQBhAHAAcgBvAGYAaQBpAGwAaQBHAGUAbgBlAHIAaQEN
|
||||
AGsAaQAgAHAAcgBvAGYAaQBsACAAcwBpAHYAaQBoACAAdABvAG4AbwB2AGEAVQBuAGkAdwBlAHIAcwBh
|
||||
AGwAbgB5ACAAcAByAG8AZgBpAGwAIABzAHoAYQByAG8BWwBjAGkEHgQxBEkEOAQ5ACAEQQQ1BEAESwQ5
|
||||
ACAEPwRABD4ERAQ4BDsETAZFBkQGQQAgBioGOQYxBkoGQQAgAEcAcgBhAHkAIAYnBkQGOQYnBkUARwBl
|
||||
AG4AZQByAGUAbAAgAGcAcgDlAHQAbwBuAGUAYgBlAHMAawByAGkAdgBlAGwAcwBlAAB0ZXh0AAAAAENv
|
||||
cHlyaWdodCAyMDA3IEFwcGxlIEluYy4sIGFsbCByaWdodHMgcmVzZXJ2ZWQuAFhZWiAAAAAAAADzUQAB
|
||||
AAAAARbMY3VydgAAAAAAAAABAc0AANIrLC0uWiRjbGFzc25hbWVYJGNsYXNzZXNfEBBOU0JpdG1hcElt
|
||||
YWdlUmVwoy0vMFpOU0ltYWdlUmVwWE5TT2JqZWN00issMjNXTlNBcnJheaIyMNIrLDU2Xk5TTXV0YWJs
|
||||
ZUFycmF5ozUyMNM4OQ86OzxXTlNXaGl0ZVxOU0NvbG9yU3BhY2VEMCAwABADgAzSKyw+P1dOU0NvbG9y
|
||||
oj4w0issQUJXTlNJbWFnZaJBMAAIABEAGgAkACkAMgA3AEkATABRAFMAYgBoAHUAfACLAJIAnwCmAK4A
|
||||
sACyALQAuQC7AL0AxADJANQA1gDYANoA3wDiAOQA5gDoAO8BBgEiASQBJgnuCfMJ/goHChoKHgopCjIK
|
||||
Nwo/CkIKRwpWCloKYQppCnYKewp9Cn8KhAqMCo8KlAqcAAAAAAAAAgEAAAAAAAAAQwAAAAAAAAAAAAAA
|
||||
AAAACp8
|
||||
</mutableData>
|
||||
</image>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19455" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19455"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -47,8 +47,8 @@
|
||||
<rect key="frame" x="1" y="1" width="755" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Fec-S0-J1M">
|
||||
<rect key="frame" x="87" y="4" width="668" height="16"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Fec-S0-J1M">
|
||||
<rect key="frame" x="87" y="3" width="668" height="16"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="Zhz-YB-L6R">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -57,13 +57,13 @@
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Lhm-Hc-3on">
|
||||
<rect key="frame" x="-3" y="-5" width="92" height="27"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="WJc-b5-b3e"/>
|
||||
</constraints>
|
||||
<buttonCell key="cell" type="push" title="Get" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="DIS-cU-NvL">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="WJc-b5-b3e"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="buttonPressed:" target="lSD-av-rXp" id="Pur-Kz-KOJ"/>
|
||||
</connections>
|
||||
@@ -107,11 +107,11 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="86L-qx-fhB">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="86L-qx-fhB">
|
||||
<rect key="frame" x="18" y="20" width="764" height="14"/>
|
||||
<textFieldCell key="cell" selectable="YES" title="Language specific OCR data files can improve the optical character recognition results." id="LFI-zD-ohi">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14092" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14092"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -19,7 +19,7 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="p8t-DX-Sav">
|
||||
<rect key="frame" x="307" y="62" width="22" height="17"/>
|
||||
<rect key="frame" x="307" y="63" width="22" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="ms" id="nxC-E2-XnZ">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -27,16 +27,16 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lhD-11-DBf">
|
||||
<rect key="frame" x="69" y="59" width="233" height="22"/>
|
||||
<rect key="frame" x="69" y="60" width="233" height="21"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="j35-C4-nht">
|
||||
<numberFormatter key="formatter" formatterBehavior="custom10_4" numberStyle="decimal" minimumIntegerDigits="1" maximumIntegerDigits="2000000000" maximumFractionDigits="10" id="bJb-JJ-awo"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Uf6-Aa-BAI">
|
||||
<rect key="frame" x="237" y="12" width="95" height="32"/>
|
||||
<rect key="frame" x="236" y="12" width="97" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="OK" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="zRv-hv-PCL">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -49,7 +49,7 @@ DQ
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MtD-m7-VhK">
|
||||
<rect key="frame" x="142" y="12" width="95" height="32"/>
|
||||
<rect key="frame" x="141" y="12" width="97" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Ypd-2w-xig">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -62,7 +62,7 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uuA-eC-Gdc">
|
||||
<rect key="frame" x="18" y="62" width="46" height="17"/>
|
||||
<rect key="frame" x="18" y="63" width="46" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Offset:" id="1MN-KJ-v23">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -86,6 +86,7 @@ Gw
|
||||
<constraint firstItem="p8t-DX-Sav" firstAttribute="baseline" secondItem="lhD-11-DBf" secondAttribute="baseline" id="q6R-jC-RnD"/>
|
||||
<constraint firstAttribute="trailing" secondItem="p8t-DX-Sav" secondAttribute="trailing" constant="19" id="vch-j0-7So"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="255" y="-50"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -15,12 +15,12 @@
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView misplaced="YES" id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="610" height="220"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="660" height="202"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<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">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -30,7 +30,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<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">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -39,12 +39,9 @@
|
||||
<binding destination="BZm-iR-6oK" name="value" keyPath="values.SBSetTVShowFormat" id="e2b-dq-8JE"/>
|
||||
</connections>
|
||||
</button>
|
||||
<tokenField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="i8H-oP-Sif">
|
||||
<rect key="frame" x="85" y="153" width="440" height="23"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="440" id="6Ap-Ey-VHf"/>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="23" id="JPO-az-iic"/>
|
||||
</constraints>
|
||||
<tokenField focusRingType="none" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="i8H-oP-Sif">
|
||||
<rect key="frame" x="69" y="134" width="476" height="24"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="h4P-Ma-djC">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -54,11 +51,9 @@
|
||||
<outlet property="delegate" destination="-2" id="39Q-aI-o60"/>
|
||||
</connections>
|
||||
</tokenField>
|
||||
<tokenField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rzc-AK-4Vr">
|
||||
<rect key="frame" x="85" y="74" width="440" height="23"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="23" id="bvK-Gm-JUU"/>
|
||||
</constraints>
|
||||
<tokenField focusRingType="none" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rzc-AK-4Vr">
|
||||
<rect key="frame" x="69" y="54" width="476" height="24"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" borderStyle="bezel" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="aHe-D5-fgj">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -68,8 +63,9 @@
|
||||
<outlet property="delegate" destination="-2" id="mh9-CJ-zVx"/>
|
||||
</connections>
|
||||
</tokenField>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dq1-e8-fa6">
|
||||
<rect key="frame" x="526" y="148" width="44" height="32"/>
|
||||
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dq1-e8-fa6">
|
||||
<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">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -78,8 +74,9 @@
|
||||
<action selector="showMovieTokens:" target="-2" id="Er8-nw-di4"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fZZ-im-9BI">
|
||||
<rect key="frame" x="526" y="69" width="44" height="32"/>
|
||||
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fZZ-im-9BI">
|
||||
<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">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -88,38 +85,28 @@
|
||||
<action selector="showTvShowTokens:" target="-2" id="pHZ-v7-U0W"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
|
||||
<rect key="frame" x="83" y="20" width="444" height="34"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="34" id="Y5R-jS-Whb"/>
|
||||
</constraints>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
|
||||
<rect key="frame" x="83" y="20" width="441" height="14"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="Pbz-wc-RXA" secondAttribute="bottom" constant="20" symbolic="YES" id="0R2-Y8-s5e"/>
|
||||
<constraint firstItem="Pbz-wc-RXA" firstAttribute="leading" secondItem="i8H-oP-Sif" secondAttribute="leading" id="4Vz-o1-zSY"/>
|
||||
<constraint firstItem="rzc-AK-4Vr" firstAttribute="leading" secondItem="TBF-BD-fSk" secondAttribute="leading" constant="16" id="Aws-ML-M7P"/>
|
||||
<constraint firstItem="TBF-BD-fSk" firstAttribute="top" secondItem="i8H-oP-Sif" secondAttribute="bottom" constant="32" id="C0O-NO-8Te"/>
|
||||
<constraint firstItem="dq1-e8-fa6" firstAttribute="centerY" secondItem="i8H-oP-Sif" secondAttribute="centerY" id="Dsc-lq-HSw"/>
|
||||
<constraint firstItem="rzc-AK-4Vr" firstAttribute="top" secondItem="TBF-BD-fSk" secondAttribute="bottom" constant="8" id="FZZ-y5-ycJ"/>
|
||||
<constraint firstItem="PZS-8W-dno" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="GYO-gT-cbH"/>
|
||||
<constraint firstItem="i8H-oP-Sif" firstAttribute="top" secondItem="PZS-8W-dno" secondAttribute="bottom" constant="8" id="Mvi-1G-Dhn"/>
|
||||
<constraint firstItem="Pbz-wc-RXA" firstAttribute="top" secondItem="rzc-AK-4Vr" secondAttribute="bottom" constant="20" id="ZQc-Um-c3U"/>
|
||||
<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="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"/>
|
||||
<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="Hz6-mo-xeY" secondAttribute="leading" constant="85" id="7Sa-nY-Sp0"/>
|
||||
<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="PZS-8W-dno" secondAttribute="bottom" constant="64" id="RMy-yp-T41"/>
|
||||
<constraint firstItem="PZS-8W-dno" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="69" id="Zr8-m0-a0L"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Pbz-wc-RXA" secondAttribute="trailing" constant="138" id="f8r-kX-5Cf"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="TBF-BD-fSk" secondAttribute="trailing" constant="40" id="sO9-ww-FzW"/>
|
||||
<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="TBF-BD-fSk" secondAttribute="bottom" constant="52" id="vr9-90-hg3"/>
|
||||
<constraint firstItem="TBF-BD-fSk" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="69" id="yiZ-p7-IJl"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-186" y="-587"/>
|
||||
<point key="canvasLocation" x="-200" y="-636"/>
|
||||
</customView>
|
||||
<userDefaultsController representsSharedInstance="YES" id="BZm-iR-6oK"/>
|
||||
</objects>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -22,6 +22,7 @@
|
||||
<outlet property="setsPopUp" destination="179" id="hl9-DS-qsm"/>
|
||||
<outlet property="tagsPopUp" destination="30" id="1v4-T2-oDW"/>
|
||||
<outlet property="view" destination="1" id="2"/>
|
||||
<outlet property="zoomSlider" destination="235" id="fFP-8i-4SK"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
@@ -31,35 +32,27 @@
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<button toolTip="Add an artwork" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="223">
|
||||
<rect key="frame" x="20" y="58" width="25" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="224">
|
||||
<rect key="frame" x="13" y="52" width="44" height="32"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="224">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="oYK-j2-5dM"/>
|
||||
<constraint firstAttribute="width" constant="25" id="rcu-X5-nFG"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="selectArtwork:" target="-2" id="232"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Remove selected artwork" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="226">
|
||||
<rect key="frame" x="44" y="58" width="25" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="227">
|
||||
<rect key="frame" x="45" y="52" width="44" height="32"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="227">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="25" id="CRL-bR-7Ew"/>
|
||||
<constraint firstAttribute="height" constant="20" id="ni3-qc-LeG"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="removeArtwork:" target="-2" id="231"/>
|
||||
</connections>
|
||||
</button>
|
||||
<slider toolTip="Change artworks view zoom" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="235">
|
||||
<rect key="frame" x="117" y="59" width="84" height="20"/>
|
||||
<rect key="frame" x="118" y="59" width="84" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="80" id="QRF-MH-hBi"/>
|
||||
</constraints>
|
||||
@@ -68,11 +61,11 @@
|
||||
<action selector="zoomSliderDidChange:" target="-2" id="237"/>
|
||||
</connections>
|
||||
</slider>
|
||||
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<rect key="frame" x="207" y="58" width="32" height="22"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" id="31">
|
||||
<popUpButton toolTip="Add a new metadata item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<rect key="frame" x="205" y="55" width="53" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" id="31">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="32">
|
||||
<items>
|
||||
<menuItem image="NSAddTemplate" hidden="YES" id="33">
|
||||
@@ -81,35 +74,27 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="FwO-uK-Ro2"/>
|
||||
<constraint firstAttribute="width" constant="32" id="OwN-pr-6cc"/>
|
||||
</constraints>
|
||||
<accessibility description="Add metadata item"/>
|
||||
<connections>
|
||||
<action selector="addTag:" target="-2" id="37"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="53">
|
||||
<rect key="frame" x="238" y="58" width="24" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="54">
|
||||
<rect key="frame" x="249" y="52" width="44" height="32"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="54">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="EIo-Lg-ZeL"/>
|
||||
<constraint firstAttribute="width" constant="24" id="s0Y-ye-DSo"/>
|
||||
</constraints>
|
||||
<accessibility description="Remove selected item"/>
|
||||
<connections>
|
||||
<action selector="removeTag:" target="-2" id="55"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<rect key="frame" x="270" y="58" width="35" height="22"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<rect key="frame" x="299" y="55" width="54" height="25"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="181">
|
||||
<items>
|
||||
<menuItem image="NSActionTemplate" hidden="YES" id="184">
|
||||
@@ -118,20 +103,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="35" id="8JP-5S-7Ff"/>
|
||||
<constraint firstAttribute="height" constant="20" id="SNb-1F-FBI"/>
|
||||
</constraints>
|
||||
<accessibility description="Sets"/>
|
||||
</popUpButton>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
|
||||
<rect key="frame" x="208" y="87" width="448" height="250"/>
|
||||
<rect key="frame" x="208" y="89" width="448" height="248"/>
|
||||
<clipView key="contentView" id="cQT-bX-0YB">
|
||||
<rect key="frame" x="1" y="1" width="446" height="248"/>
|
||||
<rect key="frame" x="1" y="1" width="446" height="246"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="447" height="225"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="223"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -175,7 +156,7 @@
|
||||
</tableCellView>
|
||||
</prototypeCellViews>
|
||||
</tableColumn>
|
||||
<tableColumn identifier="value" width="314" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
|
||||
<tableColumn identifier="value" width="285" minWidth="40" maxWidth="4000" id="os0-Yb-exW">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -188,11 +169,11 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="TextCell" id="mjh-te-NdK">
|
||||
<rect key="frame" x="127" y="1" width="318" height="14"/>
|
||||
<rect key="frame" x="127" y="1" width="289" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="T0o-RG-lfn">
|
||||
<rect key="frame" x="0.0" y="0.0" width="318" height="14"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="289" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="WRR-52-lxo">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -214,11 +195,11 @@
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="TextCellForSizing" id="OUW-Fk-klv">
|
||||
<rect key="frame" x="127" y="17" width="318" height="14"/>
|
||||
<rect key="frame" x="127" y="17" width="289" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AmC-rT-7Rf">
|
||||
<rect key="frame" x="0.0" y="0.0" width="318" height="14"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="289" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="ipR-OL-rI2">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -237,11 +218,11 @@
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="127" y="33" width="318" height="14"/>
|
||||
<rect key="frame" x="127" y="33" width="289" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="cFv-4U-VzM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="312" height="14"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="283" height="14"/>
|
||||
<popUpButtonCell key="cell" type="bevel" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" selectedItem="6Zb-NM-Mmo" id="Myn-C3-tc4">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -266,11 +247,11 @@
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="127" y="49" width="318" height="17"/>
|
||||
<rect key="frame" x="127" y="49" width="289" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button translatesAutoresizingMaskIntoConstraints="NO" id="oyk-jS-zmh">
|
||||
<rect key="frame" x="2" y="-1" width="314" height="19"/>
|
||||
<rect key="frame" x="2" y="-1" width="285" height="19"/>
|
||||
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="f5s-ar-fW6">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
@@ -291,11 +272,11 @@
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="ComboBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="127" y="68" width="318" height="17"/>
|
||||
<rect key="frame" x="127" y="68" width="289" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<comboBox focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
|
||||
<rect key="frame" x="2" y="0.0" width="312" height="19"/>
|
||||
<rect key="frame" x="2" y="0.0" width="283" height="19"/>
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn">
|
||||
<font key="font" metaFont="message" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -326,8 +307,8 @@
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="tkU-nC-Bdd">
|
||||
<rect key="frame" x="1" y="233" width="446" height="16"/>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="tkU-nC-Bdd">
|
||||
<rect key="frame" x="1" y="231" width="446" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="B65-gn-id0">
|
||||
@@ -335,7 +316,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<tableHeaderView key="headerView" wantsLayer="YES" id="qXU-xB-xRF">
|
||||
<rect key="frame" x="0.0" y="0.0" width="447" height="23"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
@@ -421,33 +402,33 @@
|
||||
<constraint firstAttribute="trailing" secondItem="RvM-No-Mwg" secondAttribute="trailing" constant="20" id="1Va-CN-zbu"/>
|
||||
<constraint firstItem="r4i-wT-qDC" firstAttribute="leading" secondItem="3Ac-rb-Kn1" secondAttribute="trailing" constant="8" symbolic="YES" id="1cm-wR-oSm"/>
|
||||
<constraint firstItem="Bmy-64-g1U" firstAttribute="firstBaseline" secondItem="aKt-Ed-1jG" secondAttribute="firstBaseline" id="1vd-dr-ZyG"/>
|
||||
<constraint firstItem="223" firstAttribute="top" secondItem="3Ac-rb-Kn1" secondAttribute="bottom" constant="8" symbolic="YES" id="74e-Mf-nNB"/>
|
||||
<constraint firstItem="226" firstAttribute="leading" secondItem="223" secondAttribute="trailing" constant="-1" id="7tB-nW-cen"/>
|
||||
<constraint firstItem="226" firstAttribute="firstBaseline" secondItem="235" secondAttribute="firstBaseline" id="6hT-HA-5KM"/>
|
||||
<constraint firstItem="223" firstAttribute="top" secondItem="3Ac-rb-Kn1" secondAttribute="bottom" constant="8" id="74e-Mf-nNB"/>
|
||||
<constraint firstItem="226" firstAttribute="leading" secondItem="223" secondAttribute="trailing" constant="2" id="7tB-nW-cen"/>
|
||||
<constraint firstItem="223" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" symbolic="YES" id="8Zj-EW-Vyb"/>
|
||||
<constraint firstItem="235" firstAttribute="centerY" secondItem="226" secondAttribute="centerY" id="CbE-lC-Wv3"/>
|
||||
<constraint firstItem="226" firstAttribute="firstBaseline" secondItem="223" secondAttribute="firstBaseline" id="EgB-Zm-8pA"/>
|
||||
<constraint firstItem="30" firstAttribute="leading" secondItem="235" secondAttribute="trailing" constant="8" symbolic="YES" id="F2d-dE-tnx"/>
|
||||
<constraint firstItem="30" firstAttribute="centerY" secondItem="53" secondAttribute="centerY" id="Gb1-qz-uOA"/>
|
||||
<constraint firstItem="3Ac-rb-Kn1" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" symbolic="YES" id="HAd-d5-Zqq"/>
|
||||
<constraint firstAttribute="bottom" secondItem="87e-za-hJV" secondAttribute="bottom" constant="20" symbolic="YES" id="KmM-wz-0vL"/>
|
||||
<constraint firstItem="235" firstAttribute="leading" secondItem="226" secondAttribute="trailing" constant="50" id="PPb-LG-b6P"/>
|
||||
<constraint firstItem="235" firstAttribute="centerY" secondItem="30" secondAttribute="centerY" id="Rt6-r3-gRX"/>
|
||||
<constraint firstItem="53" firstAttribute="leading" secondItem="30" secondAttribute="trailing" constant="-1" id="SLY-iP-zbc"/>
|
||||
<constraint firstItem="53" firstAttribute="leading" secondItem="30" secondAttribute="trailing" constant="2" id="SLY-iP-zbc"/>
|
||||
<constraint firstItem="3Ac-rb-Kn1" firstAttribute="top" secondItem="RvM-No-Mwg" secondAttribute="bottom" constant="10" id="U9m-z8-qMt"/>
|
||||
<constraint firstItem="Bmy-64-g1U" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" symbolic="YES" id="XWe-w9-IAz"/>
|
||||
<constraint firstItem="235" firstAttribute="firstBaseline" secondItem="30" secondAttribute="firstBaseline" id="YBQ-Ew-mzj"/>
|
||||
<constraint firstItem="RvM-No-Mwg" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="20" id="a5X-ng-Nlh"/>
|
||||
<constraint firstItem="Bmy-64-g1U" firstAttribute="top" secondItem="223" secondAttribute="bottom" constant="20" id="beI-tF-PTE"/>
|
||||
<constraint firstItem="226" firstAttribute="centerY" secondItem="223" secondAttribute="centerY" id="eWE-NB-Wul"/>
|
||||
<constraint firstItem="87e-za-hJV" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="aKt-Ed-1jG" secondAttribute="trailing" constant="8" symbolic="YES" id="fIT-dN-zIE"/>
|
||||
<constraint firstAttribute="trailing" secondItem="87e-za-hJV" secondAttribute="trailing" constant="20" id="hm1-Tx-JAI"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="53" secondAttribute="top" id="iDy-bp-bu4"/>
|
||||
<constraint firstItem="235" firstAttribute="trailing" secondItem="3Ac-rb-Kn1" secondAttribute="trailing" id="iFX-NK-Yis"/>
|
||||
<constraint firstItem="r4i-wT-qDC" firstAttribute="top" secondItem="RvM-No-Mwg" secondAttribute="bottom" constant="10" id="iqg-eq-k2z"/>
|
||||
<constraint firstItem="aKt-Ed-1jG" firstAttribute="firstBaseline" secondItem="87e-za-hJV" secondAttribute="firstBaseline" id="jRn-Mm-dWK"/>
|
||||
<constraint firstItem="RvM-No-Mwg" firstAttribute="top" secondItem="1" secondAttribute="top" constant="10" id="k2D-op-c65"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="r4i-wT-qDC" secondAttribute="bottom" constant="8" symbolic="YES" id="kzG-BO-fiE"/>
|
||||
<constraint firstItem="53" firstAttribute="centerY" secondItem="179" secondAttribute="centerY" id="prk-Ob-Q8v"/>
|
||||
<constraint firstAttribute="trailing" secondItem="r4i-wT-qDC" secondAttribute="trailing" constant="20" id="w3O-Hw-KeB"/>
|
||||
<constraint firstItem="179" firstAttribute="leading" secondItem="53" secondAttribute="trailing" constant="8" symbolic="YES" id="wzu-l1-8QD"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="r4i-wT-qDC" secondAttribute="bottom" constant="10" id="wEi-0v-zHU"/>
|
||||
<constraint firstItem="179" firstAttribute="leading" secondItem="53" secondAttribute="trailing" constant="16" id="wzu-l1-8QD"/>
|
||||
<constraint firstItem="53" firstAttribute="top" secondItem="179" secondAttribute="top" id="yLs-nz-mLs"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="146" y="-91.5"/>
|
||||
<point key="canvasLocation" x="227" y="-39.5"/>
|
||||
</customView>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" visibleAtLaunch="NO" animationBehavior="default" id="167" userLabel="Preset Save">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||
@@ -536,7 +517,7 @@ Gw
|
||||
<constraint firstAttribute="trailing" secondItem="170" secondAttribute="trailing" constant="20" id="xh2-2u-G14"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<point key="canvasLocation" x="215" y="-265"/>
|
||||
<point key="canvasLocation" x="227" y="314"/>
|
||||
</window>
|
||||
<userDefaultsController representsSharedInstance="YES" id="z7a-RX-pNz"/>
|
||||
</objects>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -49,7 +49,7 @@
|
||||
<rect key="frame" x="1" y="1" width="351" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gVw-WH-PIZ">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gVw-WH-PIZ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="350" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="06q-GJ-S35">
|
||||
@@ -70,7 +70,7 @@
|
||||
<rect key="frame" x="1" y="20" width="351" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="G0s-9P-sPN">
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="G0s-9P-sPN">
|
||||
<rect key="frame" x="0.0" y="1" width="350" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="6CG-pa-ocP">
|
||||
@@ -102,22 +102,18 @@
|
||||
<constraint firstAttribute="height" constant="200" id="JWr-Hr-fVF"/>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="356" id="m8D-Ig-Qb7"/>
|
||||
</constraints>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="D9w-7o-pBY">
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="D9w-7o-pBY">
|
||||
<rect key="frame" x="1" y="184" width="354" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="Z7j-pj-gXo">
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="Z7j-pj-gXo">
|
||||
<rect key="frame" x="-15" y="1" width="16" height="0.0"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
<button toolTip="Remove selected set" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SIg-lA-6FA">
|
||||
<rect key="frame" x="44" y="19" width="25" height="23"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="25" id="KCi-qM-zwt"/>
|
||||
<constraint firstAttribute="height" constant="21" id="MLy-Qh-J3X"/>
|
||||
</constraints>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Y2I-ux-1v2">
|
||||
<rect key="frame" x="45" y="13" width="44" height="32"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Y2I-ux-1v2">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -126,11 +122,8 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Edit selected set" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="C1d-lu-T7S">
|
||||
<rect key="frame" x="85" y="19" width="45" height="23"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="45" id="8we-xP-MsB"/>
|
||||
</constraints>
|
||||
<buttonCell key="cell" type="smallSquare" title="Edit" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="W45-Bf-XCJ">
|
||||
<rect key="frame" x="91" y="13" width="58" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Edit" bezelStyle="rounded" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="W45-Bf-XCJ">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -139,12 +132,8 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Remove selected set" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gBf-6T-hQv">
|
||||
<rect key="frame" x="20" y="19" width="25" height="23"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="6f5-Cg-MfD"/>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="25" id="x23-FV-5XN"/>
|
||||
</constraints>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="f7j-PR-nTF">
|
||||
<rect key="frame" x="13" y="13" width="44" height="32"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="f7j-PR-nTF">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -154,24 +143,23 @@
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="gBf-6T-hQv" firstAttribute="top" secondItem="Bgi-pA-eAO" secondAttribute="bottom" constant="7" id="7F4-d2-isf"/>
|
||||
<constraint firstItem="gBf-6T-hQv" firstAttribute="top" secondItem="Bgi-pA-eAO" secondAttribute="bottom" constant="8" id="7F4-d2-isf"/>
|
||||
<constraint firstItem="Bgi-pA-eAO" firstAttribute="top" secondItem="Sl5-b6-dQC" secondAttribute="top" constant="20" id="CfB-Vj-Oio"/>
|
||||
<constraint firstItem="C1d-lu-T7S" firstAttribute="centerY" secondItem="SIg-lA-6FA" secondAttribute="centerY" id="D3e-th-GNg"/>
|
||||
<constraint firstItem="C1d-lu-T7S" firstAttribute="leading" secondItem="SIg-lA-6FA" secondAttribute="trailing" constant="16" id="R2g-fk-MQZ"/>
|
||||
<constraint firstItem="Bgi-pA-eAO" firstAttribute="leading" secondItem="Sl5-b6-dQC" secondAttribute="leading" constant="20" id="SNz-hG-5Nz"/>
|
||||
<constraint firstAttribute="bottom" secondItem="gBf-6T-hQv" secondAttribute="bottom" constant="20" id="UFw-zI-fr5"/>
|
||||
<constraint firstItem="C1d-lu-T7S" firstAttribute="height" secondItem="SIg-lA-6FA" secondAttribute="height" id="aBA-kq-8vQ"/>
|
||||
<constraint firstItem="gBf-6T-hQv" firstAttribute="firstBaseline" secondItem="SIg-lA-6FA" secondAttribute="firstBaseline" id="cTP-Hu-NGv"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Bgi-pA-eAO" secondAttribute="trailing" constant="20" id="cgL-bl-uVt"/>
|
||||
<constraint firstItem="C1d-lu-T7S" firstAttribute="top" secondItem="SIg-lA-6FA" secondAttribute="top" id="d4R-oi-p96"/>
|
||||
<constraint firstItem="gBf-6T-hQv" firstAttribute="leading" secondItem="Sl5-b6-dQC" secondAttribute="leading" constant="20" id="faN-Ws-UIJ"/>
|
||||
<constraint firstItem="SIg-lA-6FA" firstAttribute="leading" secondItem="gBf-6T-hQv" secondAttribute="trailing" constant="-1" id="opb-OA-4BC"/>
|
||||
<constraint firstItem="gBf-6T-hQv" firstAttribute="centerY" secondItem="SIg-lA-6FA" secondAttribute="centerY" id="ux5-dx-1Iq"/>
|
||||
<constraint firstItem="SIg-lA-6FA" firstAttribute="leading" secondItem="gBf-6T-hQv" secondAttribute="trailing" constant="2" id="opb-OA-4BC"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="C1d-lu-T7S" secondAttribute="trailing" constant="20" symbolic="YES" id="ydN-Lk-gHL"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-347" y="-669"/>
|
||||
</customView>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="NSAddTemplate" width="14" height="13"/>
|
||||
<image name="NSRemoveTemplate" width="14" height="4"/>
|
||||
<image name="NSAddTemplate" width="18" height="17"/>
|
||||
<image name="NSRemoveTemplate" width="18" height="5"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14460.30.1" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.30.1"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -17,11 +17,11 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<view id="OYD-Bw-L9a">
|
||||
<rect key="frame" x="0.0" y="0.0" width="297" height="121"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="297" height="119"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3gK-a2-TtL">
|
||||
<rect key="frame" x="18" y="84" width="55" height="17"/>
|
||||
<rect key="frame" x="18" y="83" width="55" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Saving…" id="1QY-aq-f1i">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -29,10 +29,10 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<progressIndicator verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="pqx-62-iaO">
|
||||
<rect key="frame" x="20" y="56" width="257" height="20"/>
|
||||
<rect key="frame" x="20" y="55" width="257" height="20"/>
|
||||
</progressIndicator>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="HZz-pP-MXs">
|
||||
<rect key="frame" x="201" y="12" width="82" height="32"/>
|
||||
<rect key="frame" x="208" y="12" width="76" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="13i-3e-aOA">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -57,7 +57,7 @@ Gw
|
||||
<constraint firstItem="HZz-pP-MXs" firstAttribute="top" secondItem="pqx-62-iaO" secondAttribute="bottom" constant="17" id="pCC-91-sdi"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="3gK-a2-TtL" secondAttribute="trailing" constant="20" id="xBf-Ds-zaq"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-65.5" y="-65.5"/>
|
||||
<point key="canvasLocation" x="248" y="-80"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -31,7 +31,7 @@
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="zba-Ja-Te5">
|
||||
<textField verticalHuggingPriority="750" verticalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="zba-Ja-Te5">
|
||||
<rect key="frame" x="18" y="55" width="76" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Options:" id="BXP-AU-x3T">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -53,7 +53,7 @@
|
||||
<action selector="setSaveFormat:" target="-2" id="sGj-K4-KMX"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="XpL-JT-4Ap">
|
||||
<textField verticalHuggingPriority="750" verticalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="XpL-JT-4Ap">
|
||||
<rect key="frame" x="18" y="80" width="76" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="File Format:" id="caN-zU-chS">
|
||||
<font key="font" metaFont="system"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13770" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13770"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -15,11 +15,11 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="Hz6-mo-xeY">
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="16"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="400" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<tokenField verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="3eA-Oq-Zyv">
|
||||
<rect key="frame" x="-2" y="0.0" width="404" height="16"/>
|
||||
<rect key="frame" x="-2" y="0.0" width="404" height="15"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" alignment="left" allowsEditingTextAttributes="YES" id="hFL-Bt-Qm9">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -93,7 +93,7 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="trackEnabled" id="Gfc-fL-316" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="36" y="1" width="18" height="17"/>
|
||||
<rect key="frame" x="35.5" y="1" width="18" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button toolTip="Enable or disable the track" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="JD5-tO-uQc">
|
||||
@@ -128,7 +128,7 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="trackName" id="9fL-77-imQ">
|
||||
<rect key="frame" x="57" y="1" width="267" height="17"/>
|
||||
<rect key="frame" x="56.5" y="1" width="267" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gyX-Aq-rgC">
|
||||
@@ -182,7 +182,7 @@
|
||||
</tableCellView>
|
||||
</prototypeCellViews>
|
||||
</tableColumn>
|
||||
<tableColumn identifier="trackLanguage" width="149" minWidth="130" maxWidth="200" id="qGd-Uo-RvP">
|
||||
<tableColumn identifier="trackLanguage" width="149.5" minWidth="130" maxWidth="200" id="qGd-Uo-RvP">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="right" title="Language">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -195,15 +195,15 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="trackLanguage" id="iMB-mM-hYa" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="420" y="1" width="149" height="17"/>
|
||||
<rect key="frame" x="420" y="1" width="150" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Afo-xh-8aB">
|
||||
<rect key="frame" x="3" y="0.0" width="143" height="18"/>
|
||||
<rect key="frame" x="3" y="0.0" width="144" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
|
||||
<popUpButtonCell key="cell" type="bevel" bezelStyle="regularSquare" alignment="right" lineBreakMode="truncatingTail" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" id="WuP-cy-d5d">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" autoenablesItems="NO" id="kca-wV-cAJ"/>
|
||||
</popUpButtonCell>
|
||||
<connections>
|
||||
@@ -230,11 +230,11 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="trackInfo" id="gfy-Nm-dJU">
|
||||
<rect key="frame" x="572" y="1" width="158" height="17"/>
|
||||
<rect key="frame" x="572.5" y="1" width="157" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aWa-JY-QEe">
|
||||
<rect key="frame" x="0.0" y="0.0" width="158" height="17"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="157" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" id="3I9-re-Mst">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -248,11 +248,11 @@
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="DisabledFormatCell" id="Nfv-nQ-DF5">
|
||||
<rect key="frame" x="572" y="20" width="158" height="17"/>
|
||||
<rect key="frame" x="572.5" y="20" width="157" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ezM-ed-YTi">
|
||||
<rect key="frame" x="0.0" y="0.0" width="158" height="17"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="157" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" id="y3u-NN-Et0">
|
||||
<font key="font" metaFont="system"/>
|
||||
|
||||
@@ -9,6 +9,7 @@ import Cocoa
|
||||
import IOKit.pwr_mgt
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBDocument)
|
||||
final class Document: NSDocument {
|
||||
|
||||
private(set) var mp4: MP42File
|
||||
@@ -20,6 +21,7 @@ final class Document: NSDocument {
|
||||
self.optimize = false
|
||||
self.unsupportedMp4Brand = false
|
||||
self.mp4 = MP42File()
|
||||
super.init()
|
||||
}
|
||||
|
||||
init(mp4: MP42File) {
|
||||
@@ -203,6 +205,8 @@ final class Document: NSDocument {
|
||||
private var accessoryViewController: SaveOptions?
|
||||
|
||||
override var shouldRunSavePanelWithAccessoryView: Bool { return false }
|
||||
|
||||
override var savePanelShowsFileFormatsControl: Bool { return false }
|
||||
|
||||
override func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool {
|
||||
self.accessoryViewController = SaveOptions(doc: self, savePanel: savePanel)
|
||||
|
||||
@@ -27,7 +27,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
label: NSLocalizedString("Import", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Import tracks from external files", comment: "Toolbar"),
|
||||
image: "NSAddTemplate",
|
||||
symbolName: "plus",
|
||||
symbolName: "doc.badge.plus",
|
||||
target: target,
|
||||
action: #selector(DocumentWindowController.selectFile(_:)))
|
||||
} else if itemIdentifier == .deleteTracks {
|
||||
@@ -35,11 +35,18 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
label: NSLocalizedString("Delete", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Delete the selected track", comment: "Toolbar"),
|
||||
image: "NSRemoveTemplate",
|
||||
symbolName: "minus",
|
||||
symbolName: "nosign",
|
||||
target: target,
|
||||
action: #selector(DocumentWindowController.deleteTrack(_:)))
|
||||
} else if itemIdentifier == .actions {
|
||||
let submenu = NSMenu()
|
||||
|
||||
let menuItem = NSMenuItem()
|
||||
menuItem.title = NSLocalizedString("At the Beginning", comment: "Toolbar")
|
||||
menuItem.action = #selector(DocumentWindowController.addChaptersEvery(_:))
|
||||
menuItem.tag = -1
|
||||
submenu.addItem(menuItem)
|
||||
|
||||
for minutes in [1, 2, 5, 10, 15, 20, 30] {
|
||||
let menuItem = NSMenuItem()
|
||||
let title = minutes == 1 ? NSLocalizedString("1 minute", comment: "Toolbar") :
|
||||
@@ -81,7 +88,11 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
let item = NSMenuToolbarItem(itemIdentifier: itemIdentifier)
|
||||
item.label = label
|
||||
item.paletteLabel = label
|
||||
if #available(macOS 11.0, *) {
|
||||
item.toolTip = NSLocalizedString("Perform tasks with the selected items", comment: "Toolbar")
|
||||
if #available(macOS 26.0, *) {
|
||||
item.showsIndicator = false
|
||||
item.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
|
||||
} else if #available(macOS 26.0, *) {
|
||||
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)
|
||||
} else {
|
||||
item.image = NSImage(named:"NSActionTemplate")
|
||||
@@ -102,6 +113,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
let item = ButtonToolbarItem(itemIdentifier: itemIdentifier)
|
||||
item.label = label
|
||||
item.paletteLabel = label
|
||||
item.toolTip = NSLocalizedString("Perform tasks with the selected items", comment: "Toolbar")
|
||||
item.view = popUpButton
|
||||
item.minSize = NSSize(width: 48, height: 16)
|
||||
|
||||
@@ -112,7 +124,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
label: NSLocalizedString("Search Metadata", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Search metadata on the web", comment: "Toolbar"),
|
||||
image: "NSRevealFreestandingTemplate",
|
||||
symbolName: "sparkle.magnifyingglass",
|
||||
symbolName: "doc.text.magnifyingglass",
|
||||
target: target,
|
||||
action: #selector(DocumentWindowController.searchMetadata(_:)))
|
||||
} else if itemIdentifier == .sendToQueue {
|
||||
@@ -137,7 +149,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
}
|
||||
|
||||
@MainActor func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||
return [.importTracks, .deleteTracks, .space, .actions, .flexibleSpace, .searchMetadata]
|
||||
return [.importTracks, .searchMetadata, .actions, .space, .deleteTracks, .flexibleSpace, .sendToQueue, .showQueue,]
|
||||
}
|
||||
|
||||
@MainActor func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||
|
||||
@@ -49,7 +49,11 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
toolbar.delegate = toolbarDelegate
|
||||
toolbar.allowsUserCustomization = true
|
||||
toolbar.autosavesConfiguration = true
|
||||
toolbar.displayMode = .iconAndLabel
|
||||
if #available(macOS 26, *) {
|
||||
toolbar.displayMode = .iconAndLabel
|
||||
} else {
|
||||
toolbar.displayMode = .iconOnly
|
||||
}
|
||||
self.window?.toolbar = toolbar
|
||||
|
||||
window.contentViewController = splitViewController
|
||||
@@ -57,7 +61,7 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
|
||||
if Prefs.rememberDocumentWindowSize {
|
||||
window.setFrameAutosaveName("documentSave")
|
||||
window.setFrame(from: "documentSave")
|
||||
window.setFrameUsingName("documentSave")
|
||||
|
||||
splitViewController.splitView.autosaveName = DocumentWindowController.splitViewResorationAutosaveName
|
||||
splitViewController.splitView.identifier = DocumentWindowController.splitViewResorationIdentifier
|
||||
@@ -308,12 +312,12 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
let minutes = sender.tag * 60 * 1000
|
||||
|
||||
if minutes > 0 {
|
||||
for (index, duration) in stride(from: 0, to: mp4.duration, by: minutes).enumerated() {
|
||||
track.addChapter("Chapter \(index + 1)", duration: UInt64(duration))
|
||||
for (index, timestamp) in stride(from: 0, to: mp4.duration, by: minutes).enumerated() {
|
||||
track.addChapter("Chapter \(index + 1)", timestamp: UInt64(timestamp))
|
||||
}
|
||||
}
|
||||
else {
|
||||
track.addChapter("Chapter 1", duration: UInt64(mp4.duration))
|
||||
track.addChapter("Chapter 1", timestamp: 0)
|
||||
}
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
@@ -514,6 +518,22 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
}
|
||||
}
|
||||
|
||||
@objc func importFilesDirectly(_ fileURLs: [URL]) {
|
||||
do {
|
||||
let controller = try FileImportController(fileURLs: fileURLs, delegate: self)
|
||||
|
||||
// Call addTracks directly - the Settings initialization logic runs when the controller is created
|
||||
controller.addTracks(self)
|
||||
tracksViewController.reloadData()
|
||||
} catch {
|
||||
if let windowForSheet = doc.windowForSheet {
|
||||
presentError(error, modalFor: windowForSheet, delegate: nil, didPresent: nil, contextInfo: nil)
|
||||
} else {
|
||||
presentError(error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func didSelect(tracks: [MP42Track], metadata: MP42Metadata?) {
|
||||
for track in tracks {
|
||||
mp4.addTrack(track)
|
||||
|
||||
@@ -329,6 +329,8 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
}
|
||||
|
||||
@IBAction func addTracks(_ sender: Any) {
|
||||
logTracksTable()
|
||||
|
||||
var selectedTracks: [MP42Track] = []
|
||||
|
||||
for trackSettings in settings where trackSettings.checked {
|
||||
@@ -521,4 +523,78 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
return 18
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Private methods
|
||||
|
||||
private func logTracksTable() {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Helper function to truncate strings
|
||||
func truncate(_ str: String, to length: Int) -> String {
|
||||
if str.count <= length {
|
||||
return str.padding(toLength: length, withPad: " ", startingAt: 0)
|
||||
}
|
||||
return String(str.prefix(length - 1)) + "~"
|
||||
}
|
||||
|
||||
// Helper function to format duration
|
||||
func formatDuration(_ duration: Double, timescale: UInt32) -> String {
|
||||
if duration <= 0 || timescale == 0 {
|
||||
return "Unknown"
|
||||
}
|
||||
let seconds = duration / Double(timescale)
|
||||
let hours = Int(seconds) / 3600
|
||||
let minutes = (Int(seconds) % 3600) / 60
|
||||
let secs = Int(seconds) % 60
|
||||
let millisecs = Int((seconds - Double(Int(seconds))) * 1000)
|
||||
return String(format: "%02d:%02d:%02d.%03d", hours, minutes, secs, millisecs)
|
||||
}
|
||||
|
||||
// Build the entire table as a single string
|
||||
var tableLines: [String] = []
|
||||
|
||||
tableLines.append("File Import: Processing tracks with applied settings:")
|
||||
tableLines.append("----------------------------------------------------------------------------------------------")
|
||||
tableLines.append("| | Id | Name | Duration | Language | Info | Action |")
|
||||
tableLines.append("----------------------------------------------------------------------------------------------")
|
||||
|
||||
var trackId = 1
|
||||
for item in items {
|
||||
switch item {
|
||||
case .file(_):
|
||||
// Skip file headers in table format
|
||||
break
|
||||
|
||||
case .track(let settings):
|
||||
let track = settings.track
|
||||
|
||||
// Get the selected action description
|
||||
let selectedAction = settings.actions.first { $0.tag == settings.selectedActionTag }
|
||||
let action = selectedAction?.title ?? "Unknown"
|
||||
|
||||
// Format the data with proper truncation and alignment
|
||||
let name = truncate(track.name.isEmpty ? "Unnamed" : track.name, to: 21)
|
||||
let language = truncate(MP42Languages.defaultManager.localizedLang(forExtendedTag: track.language), to: 13)
|
||||
let infoTruncated = truncate(track.formatSummary, to: 10)
|
||||
let actionTruncated = truncate(action, to: 13)
|
||||
let duration = formatDuration(Double(track.duration), timescale: track.timescale)
|
||||
let selected = settings.checked ? "X" : " "
|
||||
let id = String(format: "%02d", trackId)
|
||||
|
||||
// Create properly aligned row with fixed column widths
|
||||
// The truncate function now handles padding, so we just need to pad duration
|
||||
let durationPadded = duration.padding(toLength: 12, withPad: " ", startingAt: 0)
|
||||
|
||||
let row = "| \(selected) | \(id) | \(name) | \(durationPadded) | \(language) | \(infoTruncated) | \(actionTruncated) |"
|
||||
tableLines.append(row)
|
||||
|
||||
trackId += 1
|
||||
}
|
||||
}
|
||||
|
||||
tableLines.append("----------------------------------------------------------------------------------------------")
|
||||
|
||||
// Log the entire table as a single entry
|
||||
logger.write(toLog: tableLines.joined(separator: "\n"))
|
||||
}
|
||||
}
|
||||
@@ -37,4 +37,11 @@ class GeneralPrefsViewController: NSViewController {
|
||||
|
||||
@objc dynamic var ratingsCountries: [String] { return Ratings.shared.countries.map { $0.displayName } }
|
||||
|
||||
@objc dynamic var logFormatOptions: [String] {
|
||||
return [
|
||||
NSLocalizedString("Time Only", comment: ""),
|
||||
NSLocalizedString("Date and Time", comment: "")
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
+51
-3
@@ -10,7 +10,15 @@ import MP42Foundation
|
||||
|
||||
final class Logger : NSObject, MP42Logging {
|
||||
|
||||
enum Format: Int {
|
||||
case timeOnly = 0
|
||||
case dateAndTime = 1
|
||||
}
|
||||
|
||||
static let shared = Logger(fileURL: defaultDestinationURL)
|
||||
|
||||
var delegate: MP42Logging?
|
||||
var format: Format { Format(rawValue: Prefs.logFormat) ?? .timeOnly }
|
||||
|
||||
private let fileURL: URL
|
||||
private let queue: DispatchQueue
|
||||
@@ -24,7 +32,17 @@ final class Logger : NSObject, MP42Logging {
|
||||
var currentTime = time(nil)
|
||||
if let localTime = localtime(¤tTime) {
|
||||
let p = localTime.pointee
|
||||
return "\(p.tm_hour):\(p.tm_min):\(p.tm_sec)"
|
||||
return String(format: "%02d:%02d:%02d", p.tm_hour, p.tm_min, p.tm_sec)
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
private func currentDate() -> String {
|
||||
var currentTime = time(nil)
|
||||
if let localTime = localtime(¤tTime) {
|
||||
let p = localTime.pointee
|
||||
return String(format: "%04d-%02d-%02d", p.tm_year + 1900, p.tm_mon + 1, p.tm_mday)
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
@@ -32,7 +50,14 @@ final class Logger : NSObject, MP42Logging {
|
||||
|
||||
func write(toLog string: String) {
|
||||
queue.sync {
|
||||
let output = "\(currentTime()) \(string)\n"
|
||||
let prefix: String
|
||||
switch format {
|
||||
case .timeOnly:
|
||||
prefix = currentTime()
|
||||
case .dateAndTime:
|
||||
prefix = "\(currentDate()) \(currentTime())"
|
||||
}
|
||||
let output = "\(prefix) \(string)\n"
|
||||
|
||||
fileURL.withUnsafeFileSystemRepresentation {
|
||||
if let file = fopen($0, "a") {
|
||||
@@ -40,7 +65,7 @@ final class Logger : NSObject, MP42Logging {
|
||||
fclose(file)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if let delegate = delegate {
|
||||
delegate.write(toLog: output)
|
||||
}
|
||||
@@ -55,5 +80,28 @@ final class Logger : NSObject, MP42Logging {
|
||||
try? FileManager.default.removeItem(at: fileURL)
|
||||
}
|
||||
|
||||
private static let defaultDestinationURL: URL = {
|
||||
appSupportURL().appendingPathComponent("debugLog.txt")
|
||||
}()
|
||||
|
||||
private static func appSupportURL() -> URL {
|
||||
let fileManager = FileManager.default
|
||||
if let url = fileManager.urls(for: .applicationSupportDirectory, in: .userDomainMask)
|
||||
.first?.appendingPathComponent("Subler") {
|
||||
|
||||
do {
|
||||
if fileManager.fileExists(atPath: url.path) == false {
|
||||
try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: [:])
|
||||
}
|
||||
}
|
||||
catch _ {
|
||||
fatalError("Couldn't create the app support directory")
|
||||
}
|
||||
|
||||
return url
|
||||
}
|
||||
else {
|
||||
fatalError("Couldn't find the app support directory")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ private extension MetadataResult {
|
||||
self[.director] = item.rolesSummary?.directors?.joined(separator: ", ")
|
||||
|
||||
self[.iTunesURL] = item.url
|
||||
self[.serviceSeriesID] = item.id
|
||||
self[.serviceContentID] = item.id
|
||||
|
||||
self.remoteArtworks = [item.images.coverArt16X9, item.images.coverArt].compactMap { $0?.artwork(type: .poster) }
|
||||
}
|
||||
@@ -39,7 +39,7 @@ private extension MetadataResult {
|
||||
|
||||
self.mediaKind = .tvShow
|
||||
|
||||
self[.serviceSeriesID] = item.id
|
||||
self[.serviceContentID] = item.id
|
||||
|
||||
self[.seriesName] = item.title
|
||||
self[.seriesDescription] = item.description
|
||||
@@ -59,7 +59,7 @@ private extension MetadataResult {
|
||||
}
|
||||
|
||||
self[.iTunesURL] = episode.showURL
|
||||
self[.serviceSeriesID] = episode.showID
|
||||
self[.serviceContentID] = episode.showID
|
||||
|
||||
if let releaseDate = item.releaseDate {
|
||||
self[.releaseDate] = Date(timeIntervalSince1970: releaseDate / 1000)
|
||||
@@ -156,7 +156,7 @@ public struct AppleTV: MetadataService {
|
||||
|
||||
private func loadDetails(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||
guard let store = iTunesStore.Store(language: language),
|
||||
let id = metadata[.serviceSeriesID] as? String,
|
||||
let id = metadata[.serviceContentID] as? String,
|
||||
let details = fetchMovieDetails(id: id, store: store) else { return metadata }
|
||||
|
||||
metadata.insert(contentOf: details, store: store)
|
||||
@@ -360,11 +360,11 @@ public struct AppleTV: MetadataService {
|
||||
get {
|
||||
switch size {
|
||||
case .square:
|
||||
return "800x800.jpg"
|
||||
return "1600x1600.jpg"
|
||||
case .rectangle:
|
||||
return "800x450.jpg"
|
||||
return "1920x1080.jpg"
|
||||
default:
|
||||
return "600x900.jpg"
|
||||
return "1200x1800.jpg"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ private extension MetadataResult {
|
||||
|
||||
self.mediaKind = .movie
|
||||
self[.name] = item.title
|
||||
self[.serviceSeriesID] = item.id
|
||||
self[.serviceContentID] = item.id
|
||||
|
||||
self[.genre] = item.genres?.first?.name
|
||||
|
||||
@@ -61,7 +61,7 @@ private extension MetadataResult {
|
||||
|
||||
self.mediaKind = .tvShow
|
||||
self[.seriesName] = item.title
|
||||
self[.serviceSeriesID] = item.id
|
||||
self[.serviceContentID] = item.id
|
||||
|
||||
self[.genre] = item.genres?.first?.name
|
||||
|
||||
@@ -77,7 +77,7 @@ private extension MetadataResult {
|
||||
self[.network] = episode.network
|
||||
self[.description] = episode.description
|
||||
|
||||
self[.serviceAdditionalSeriesID] = episode.seasonId
|
||||
self[.serviceAdditionalContentID] = episode.seasonId
|
||||
|
||||
self[.episodeID] = String(format: "S%02dE%02d", episode.seasonNumber ?? 0, episode.episodeNumber ?? 0)
|
||||
self[.cast] = episode.rolesSummary?.cast?.joined(separator: ", ")
|
||||
@@ -115,7 +115,7 @@ private extension MetadataResult {
|
||||
default:
|
||||
|
||||
self[.name] = item.title
|
||||
self[.serviceSeriesID] = item.id
|
||||
self[.serviceContentID] = item.id
|
||||
self[.description] = item.type
|
||||
|
||||
if let releaseDate = item.releaseDate {
|
||||
@@ -731,7 +731,7 @@ public struct AppleTVv3: MetadataService {
|
||||
|
||||
private func details(_ metadata: MetadataResult) -> MetadataResult {
|
||||
|
||||
guard let id = metadata[.serviceSeriesID] else { return metadata }
|
||||
guard let id = metadata[.serviceContentID] else { return metadata }
|
||||
|
||||
if metadata.mediaKind == .movie {
|
||||
|
||||
@@ -752,7 +752,7 @@ public struct AppleTVv3: MetadataService {
|
||||
|
||||
if metadata.mediaKind == .tvShow {
|
||||
|
||||
guard let sID = metadata[.serviceAdditionalSeriesID] else { return metadata }
|
||||
guard let sID = metadata[.serviceAdditionalContentID] else { return metadata }
|
||||
|
||||
var components = AppleTVv3.urlComponents
|
||||
components.path = AppleTVv3.seasonsPath + "/\(sID)" + AppleTVv3.qualifierMetadata
|
||||
@@ -761,7 +761,7 @@ public struct AppleTVv3: MetadataService {
|
||||
guard let results = JSONRequest(components: components, type: ContentDetail.self) else { return metadata }
|
||||
metadata.insert(contentOf: results.data)
|
||||
|
||||
guard let shID = metadata[.serviceSeriesID] else { return metadata }
|
||||
guard let shID = metadata[.serviceContentID] else { return metadata }
|
||||
components.path = AppleTVv3.showsPath + "/\(shID)"
|
||||
guard let results = JSONRequest(components: components, type: DataWrapper<GeneralResult>.self) else { return metadata }
|
||||
|
||||
|
||||
@@ -10,12 +10,16 @@ import MP42Foundation
|
||||
|
||||
public enum LanguageType {
|
||||
case ISO
|
||||
case ISO_639_2
|
||||
case custom
|
||||
|
||||
public func displayName(language: String) -> String {
|
||||
switch self {
|
||||
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:
|
||||
return language
|
||||
}
|
||||
@@ -25,6 +29,20 @@ public enum LanguageType {
|
||||
switch self {
|
||||
case .ISO:
|
||||
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:
|
||||
return displayName
|
||||
}
|
||||
@@ -113,7 +131,7 @@ public enum 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 func service(name: String?) -> MetadataService {
|
||||
@@ -147,8 +165,8 @@ extension MetadataSearch {
|
||||
}
|
||||
|
||||
public static func setDefaultLanguage(_ language: String, service: MetadataService, type: MetadataType) {
|
||||
let extendedLanguage = service.languageType.extendedTag(displayName: language)
|
||||
UserDefaults.standard.set(extendedLanguage, forKey: "SBMetadataPreference|\(type.description)|\(service.name)|Language")
|
||||
let language = service.languageType.tag(displayName: language)
|
||||
UserDefaults.standard.set(language, forKey: "SBMetadataPreference|\(type.description)|\(service.name)|Language")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -83,8 +83,8 @@ public enum ArtworkType : Int, CustomStringConvertible {
|
||||
case season
|
||||
case episode
|
||||
case backdrop
|
||||
case person
|
||||
case none
|
||||
case person = 5
|
||||
case none = 4
|
||||
}
|
||||
|
||||
public struct Artwork: Equatable, Hashable {
|
||||
@@ -158,8 +158,9 @@ private let localizedKeys: [MetadataResult.Key: String] = [
|
||||
.season : NSLocalizedString("Season", comment: "nil"),
|
||||
.network : NSLocalizedString("Network", comment: "nil"),
|
||||
|
||||
.serviceSeriesID : NSLocalizedString("Service ID", comment: "nil"),
|
||||
.serviceEpisodeID : NSLocalizedString("Service ID", comment: "nil")
|
||||
.serviceContentID : NSLocalizedString("Service Content ID", comment: "nil"),
|
||||
.serviceAdditionalContentID : NSLocalizedString("Service Additional Content ID", comment: "nil"),
|
||||
.serviceEpisodeID : NSLocalizedString("Service Episode ID", comment: "nil")
|
||||
]
|
||||
|
||||
public final class MetadataResult {
|
||||
@@ -201,10 +202,10 @@ public final class MetadataResult {
|
||||
case season = "{Season}"
|
||||
case network = "{Network}"
|
||||
|
||||
//
|
||||
case serviceSeriesID = "ServiceSeriesID"
|
||||
case serviceAdditionalSeriesID = "AdditionalServiceSeriesID"
|
||||
case serviceEpisodeID = "ServiceEpisodeID"
|
||||
// Services internal IDs
|
||||
case serviceContentID = "{ServiceSeriesID}"
|
||||
case serviceAdditionalContentID = "{AdditionalServiceSeriesID}"
|
||||
case serviceEpisodeID = "{ServiceEpisodeID}"
|
||||
|
||||
fileprivate static var movieKeys: [Key] {
|
||||
return [.name,
|
||||
@@ -223,7 +224,11 @@ public final class MetadataResult {
|
||||
.copyright,
|
||||
.contentID,
|
||||
.artistID,
|
||||
.iTunesCountry]
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID]
|
||||
}
|
||||
|
||||
fileprivate static var tvShowKeys: [Key] {
|
||||
@@ -256,6 +261,10 @@ public final class MetadataResult {
|
||||
.artistID,
|
||||
.playlistID,
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID
|
||||
]
|
||||
}
|
||||
|
||||
@@ -292,8 +301,8 @@ public final class MetadataResult {
|
||||
.iTunesURL,
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceSeriesID,
|
||||
.serviceAdditionalSeriesID,
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID
|
||||
]
|
||||
}
|
||||
@@ -350,7 +359,7 @@ public final class MetadataResult {
|
||||
if let index1 = sortedKeys.firstIndex(of: key1), let index2 = sortedKeys.firstIndex(of: key2) {
|
||||
return index1 < index2
|
||||
}
|
||||
return key1 != Key.serviceSeriesID && key1 != Key.serviceEpisodeID
|
||||
return key1 != Key.serviceContentID && key1 != Key.serviceEpisodeID
|
||||
})
|
||||
}()
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public struct TheMovieDB: MetadataService {
|
||||
|
||||
metadata.mediaKind = .movie
|
||||
|
||||
metadata[.serviceSeriesID] = result.id
|
||||
metadata[.serviceContentID] = result.id
|
||||
metadata[.name] = result.title
|
||||
metadata[.releaseDate] = result.release_date
|
||||
metadata[.longDescription] = result.overview;
|
||||
@@ -184,12 +184,13 @@ public struct TheMovieDB: MetadataService {
|
||||
}
|
||||
|
||||
metadata.remoteArtworks = loadMovieArtworks(result: result)
|
||||
metadata[.serviceContentID] = result.id
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
public func loadMovieMetadata(_ partialMetadata: MetadataResult, language: String) -> MetadataResult {
|
||||
guard let movieID = partialMetadata[.serviceSeriesID] as? Int,
|
||||
guard let movieID = partialMetadata[.serviceContentID] as? Int,
|
||||
let result = session.fetch(movieID: movieID, language: language)
|
||||
else { return partialMetadata }
|
||||
|
||||
@@ -228,7 +229,7 @@ public struct TheMovieDB: MetadataService {
|
||||
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
||||
guard let tvShow = metadata[.seriesName] as? String,
|
||||
let seasonNum = metadata[.season] as? Int,
|
||||
let seriesId = metadata[.serviceAdditionalSeriesID] as? Int
|
||||
let seriesId = metadata[.serviceAdditionalContentID] as? Int
|
||||
else { return [] }
|
||||
|
||||
return SquaredTVArt().search(tvShow: tvShow, theTVDBSeriesId: seriesId, season: seasonNum)
|
||||
@@ -279,8 +280,8 @@ public struct TheMovieDB: MetadataService {
|
||||
metadata.mediaKind = .tvShow
|
||||
|
||||
// TV Show Info
|
||||
metadata[.serviceSeriesID] = info.id
|
||||
metadata[.serviceAdditionalSeriesID] = info.external_ids?.tvdb_id
|
||||
metadata[.serviceContentID] = info.id
|
||||
metadata[.serviceAdditionalContentID] = info.external_ids?.tvdb_id
|
||||
|
||||
metadata[.seriesName] = info.name
|
||||
metadata[.seriesDescription] = info.overview
|
||||
@@ -360,7 +361,7 @@ public struct TheMovieDB: MetadataService {
|
||||
public func loadTVMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||
var artworks: [Artwork] = []
|
||||
|
||||
if let seriesID = metadata[.serviceSeriesID] as? Int, let season = metadata[.season] as? Int,
|
||||
if let seriesID = metadata[.serviceContentID] as? Int, let season = metadata[.season] as? Int,
|
||||
let episodeNumber = metadata[.episodeNumber] as? Int {
|
||||
|
||||
let seasonImages = session.fetch(imagesForSeriesID: seriesID, season: String(season), language: language)
|
||||
|
||||
@@ -11,11 +11,10 @@ import MP42Foundation
|
||||
public struct TheTVDB : MetadataService {
|
||||
|
||||
private let session = TheTVDBService.sharedInstance
|
||||
private static let bannerPath = "https://thetvdb.com/banners/"
|
||||
|
||||
public var languageType: LanguageType {
|
||||
get {
|
||||
return .ISO
|
||||
return .ISO_639_2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +25,7 @@ public struct TheTVDB : MetadataService {
|
||||
}
|
||||
|
||||
public var defaultLanguage: String {
|
||||
return "en"
|
||||
return "eng"
|
||||
}
|
||||
|
||||
public var name: String {
|
||||
@@ -38,13 +37,8 @@ public struct TheTVDB : MetadataService {
|
||||
public func search(tvShow: String, language: String) -> [String] {
|
||||
var results: Set<String> = Set()
|
||||
|
||||
let series = session.fetch(series: tvShow, language: language)
|
||||
results.formUnion(series.compactMap { $0.seriesName } )
|
||||
|
||||
if language != defaultLanguage {
|
||||
let englishResults = search(tvShow: tvShow, language: defaultLanguage)
|
||||
results.formUnion(englishResults)
|
||||
}
|
||||
let series = session.fetch(series: tvShow)
|
||||
results.formUnion(series.compactMap { $0.translations?[language] } )
|
||||
|
||||
if results.isEmpty {
|
||||
return TheMovieDB().search(tvShow: tvShow, language: language)
|
||||
@@ -55,31 +49,32 @@ public struct TheTVDB : MetadataService {
|
||||
|
||||
// MARK: - TV Series ID search
|
||||
|
||||
private func match(series: TVDBSeriesSearchResult, name: String) -> Bool {
|
||||
if let name = series.seriesName, name.caseInsensitiveCompare(name) == .orderedSame {
|
||||
private func match(series: TVDBSearchResult, name: String) -> Bool {
|
||||
if let seriesName = series.name, seriesName.caseInsensitiveCompare(name) == .orderedSame {
|
||||
return true
|
||||
}
|
||||
|
||||
for alias in series.aliases {
|
||||
if alias.caseInsensitiveCompare(name) == .orderedSame {
|
||||
return true
|
||||
if let aliases = series.aliases {
|
||||
for alias in aliases {
|
||||
if alias.caseInsensitiveCompare(name) == .orderedSame {
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
private func searchIDs(seriesName: String, language: String) -> [Int] {
|
||||
let series = session.fetch(series: seriesName, language: language)
|
||||
private func searchIDs(seriesName: String) -> [String] {
|
||||
let series = session.fetch(series: seriesName)
|
||||
let sorted = series.sorted { el1, el2 -> Bool in
|
||||
return el1.seriesName?.caseInsensitiveCompare(seriesName) == .orderedSame ? true : false
|
||||
return el1.name?.caseInsensitiveCompare(seriesName) == .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) }.map { $0.tvdb_id }
|
||||
|
||||
if filteredSeries.isEmpty == false {
|
||||
return filteredSeries
|
||||
}
|
||||
else if let firstItemsID = series.first?.id {
|
||||
} else if let firstItemsID = series.first?.tvdb_id {
|
||||
return [firstItemsID]
|
||||
}
|
||||
else {
|
||||
@@ -89,12 +84,27 @@ public struct TheTVDB : MetadataService {
|
||||
|
||||
// MARK: - Helpers
|
||||
|
||||
private func cleanList(actors: [TVDBActor]) -> String {
|
||||
return actors.map { $0.name } .reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||
private func cleanList(characters: [TVDBCharacter], type: String) -> String {
|
||||
return characters.filter { $0.peopleType == type }
|
||||
.map { $0.personName }
|
||||
.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||
}
|
||||
|
||||
private func cleanList(names: [String]) -> String {
|
||||
return names.reduce("", { $0 + ($0.isEmpty ? "" : ", ") + $1 })
|
||||
private func cleanList(genres: [TVDBGenreBaseRecord]) -> String {
|
||||
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 {
|
||||
@@ -112,37 +122,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 = .default
|
||||
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 = .default
|
||||
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()
|
||||
|
||||
result.mediaKind = .tvShow
|
||||
|
||||
// TV Show Info
|
||||
result[.serviceSeriesID] = info.id
|
||||
result[.seriesName] = info.seriesName
|
||||
result[.seriesDescription] = info.overview?.trimmingWhitespacesAndNewlinews()
|
||||
result[.genre] = cleanList(names: info.genre)
|
||||
result[.network] = info.network
|
||||
result[.serviceContentID] = info.id
|
||||
result[.seriesName] = translation?.name ?? info.name
|
||||
result[.seriesDescription] = (translation?.overview ?? info.overview)?.trimmingWhitespacesAndNewlinews()
|
||||
result[.genre] = cleanList(genres: info.genres)
|
||||
result[.network] = info.originalNetwork?.name
|
||||
result[.rating] = cleanList(ratings: info.contentRatings, mediaKind: .tvShow)
|
||||
result[.cast] = cleanList(characters: info.characters ?? [], type: "Actor")
|
||||
|
||||
// Episode Info
|
||||
result[.serviceEpisodeID] = episode.id
|
||||
result[.name] = episode.episodeName
|
||||
result[.releaseDate] = episode.firstAired
|
||||
result[.longDescription] = episode.overview?.trimmingWhitespacesAndNewlinews()
|
||||
result[.name] = episodeTranslation?.name ?? episode.name
|
||||
result[.releaseDate] = episode.aired
|
||||
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[.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)
|
||||
result.remoteArtworks += cleanArtworks(info.artworks)
|
||||
|
||||
// TheTVDB does not provide the following fields normally associated with TV shows in SBMetadataResult:
|
||||
// "Copyright", "Comments", "Producers", "Artist"
|
||||
@@ -150,14 +250,24 @@ public struct TheTVDB : MetadataService {
|
||||
return result
|
||||
}
|
||||
|
||||
private func loadEpisodes(info: TVDBSeriesInfo, actors: [TVDBActor], season: Int?, episode: Int?, language: String) -> [MetadataResult] {
|
||||
let episodes = session.fetch(episodeForSeriesID: info.id, season: season, episode: episode, language: language)
|
||||
let filteredEpisodes = episodes.filter {
|
||||
(season != nil ? $0.airedSeason == season : true) &&
|
||||
(episode != nil ? $0.airedEpisodeNumber == episode : true)
|
||||
}
|
||||
private func loadEpisodes(info: TVDBSeriesExtendedRecord, seasonID: Int?, episodeID: Int?, language: String) -> [MetadataResult] {
|
||||
let translation = session.fetch(seriesTranslation: String(info.id), language: language)
|
||||
|
||||
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
|
||||
@@ -213,8 +323,8 @@ public struct TheTVDB : MetadataService {
|
||||
}
|
||||
}
|
||||
|
||||
private func merge(info: TVDBSeriesInfo, results: [MetadataResult]) {
|
||||
let name = info.seriesName
|
||||
private func merge(info: TVDBSeriesExtendedRecord, results: [MetadataResult]) {
|
||||
let name = info.name
|
||||
for result in results {
|
||||
result[.seriesName] = name
|
||||
}
|
||||
@@ -229,52 +339,30 @@ public struct TheTVDB : MetadataService {
|
||||
// MARK: - TV Search
|
||||
|
||||
public func search(tvShow: String, language: String, season: Int?, episode: Int?) -> [MetadataResult] {
|
||||
let seriesIDs: [Int] = {
|
||||
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] = []
|
||||
let seriesIDs: [String] = self.searchIDs(seriesName: tvShow)
|
||||
|
||||
for id in seriesIDs {
|
||||
guard let info: TVDBSeriesInfo = {
|
||||
let result = session.fetch(seriesInfo: id, language: language)
|
||||
return result != nil ? result : session.fetch(seriesInfo: id, language: defaultLanguage)
|
||||
}()
|
||||
else { continue }
|
||||
let actors = session.fetch(actors: id, language: language)
|
||||
let episodes = loadEpisodes(info: info, actors: actors, season: season, episode: episode, language: language)
|
||||
if let info = session.fetch(seriesInfo: id) {
|
||||
let availableLanguage = info.overviewTranslations.first(where: { $0 == language }) ??
|
||||
info.overviewTranslations.first(where: { $0 == defaultLanguage }) ??
|
||||
info.overviewTranslations.first ?? defaultLanguage
|
||||
|
||||
let nilValues = checkMissingValues(results: episodes)
|
||||
let episodes = loadEpisodes(info: info, seasonID: season, episodeID: episode, language: availableLanguage)
|
||||
|
||||
if language != defaultLanguage {
|
||||
if nilValues.contains(.seriesInfo),
|
||||
let enInfo = session.fetch(seriesInfo: id, language: defaultLanguage) {
|
||||
merge(info: enInfo, results: episodes)
|
||||
let nilValues = checkMissingValues(results: episodes)
|
||||
|
||||
if language != defaultLanguage {
|
||||
if nilValues.contains(.episodesInfo) {
|
||||
let enResults = loadEpisodes(info: info, seasonID: season, episodeID: episode, language: defaultLanguage)
|
||||
merge(enResults: enResults, results: episodes)
|
||||
}
|
||||
}
|
||||
|
||||
if nilValues.contains(.episodesInfo) {
|
||||
let enResults = loadEpisodes(info: info, actors: actors, season: season, episode: episode, language: defaultLanguage)
|
||||
merge(enResults: enResults, results: episodes)
|
||||
}
|
||||
return episodes.sorted(by: areInIncreasingOrder)
|
||||
}
|
||||
|
||||
results.append(contentsOf: episodes.sorted(by: areInIncreasingOrder))
|
||||
break
|
||||
}
|
||||
|
||||
return results
|
||||
return []
|
||||
}
|
||||
|
||||
// MARK: - Additional metadata
|
||||
@@ -292,7 +380,7 @@ public struct TheTVDB : MetadataService {
|
||||
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
||||
guard let tvShow = metadata[.seriesName] as? String,
|
||||
let seasonNum = metadata[.season] as? Int,
|
||||
let seriesId = metadata[.serviceSeriesID] as? Int
|
||||
let seriesId = metadata[.serviceContentID] as? Int
|
||||
else { return [] }
|
||||
|
||||
return SquaredTVArt().search(tvShow: tvShow, theTVDBSeriesId: seriesId, season: seasonNum)
|
||||
@@ -306,45 +394,16 @@ public struct TheTVDB : MetadataService {
|
||||
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 {
|
||||
guard let id = metadata[.serviceEpisodeID] as? Int else { return metadata }
|
||||
guard let seriesId = metadata[.serviceSeriesID] as? Int else { return metadata }
|
||||
|
||||
var artworks: [Artwork] = []
|
||||
|
||||
if let info = session.fetch(episodeInfo: id, language: language) {
|
||||
metadata[.director] = cleanList(names: info.directors)
|
||||
metadata[.screenwriters] = cleanList(names: info.writers)
|
||||
metadata[.director] = cleanList(characters: info.characters ?? [], type: "Director")
|
||||
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 actors.count > 0 && guests.count > 0 {
|
||||
metadata[.cast] = actors + ", " + guests
|
||||
@@ -353,14 +412,14 @@ public struct TheTVDB : MetadataService {
|
||||
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))
|
||||
}
|
||||
}
|
||||
|
||||
// Get additionals images
|
||||
if let season = metadata[.season] as? Int {
|
||||
var iTunesImage = [Artwork](), appleTV = [Artwork](), squareTVArt = [Artwork](), seasonImages = [Artwork](), posterImages = [Artwork]()
|
||||
if ((metadata[.season] as? Int) != nil) {
|
||||
var iTunesImage = [Artwork](), appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
DispatchQueue.global().async(group: group) {
|
||||
iTunesImage = self.loadiTunesArtwork(metadata)
|
||||
@@ -371,33 +430,83 @@ public struct TheTVDB : MetadataService {
|
||||
DispatchQueue.global().async(group: group) {
|
||||
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()
|
||||
|
||||
artworks.insert(contentsOf: iTunesImage, at: 0)
|
||||
artworks.insert(contentsOf: squareTVArt, at: 0)
|
||||
artworks.insert(contentsOf: appleTV, at: 0)
|
||||
artworks.append(contentsOf: seasonImages)
|
||||
artworks.append(contentsOf: posterImages)
|
||||
}
|
||||
|
||||
metadata.remoteArtworks.insert(contentsOf: artworks, at: 0)
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
// 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] {
|
||||
let results = session.fetch(movie: movie)
|
||||
return results.map { metadata(forMoviePartialResult: $0, language: language) }
|
||||
}
|
||||
|
||||
public func loadMovieMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||
guard let movieID = metadata[.serviceContentID] 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 iTunesImage = [Artwork](), appleTV = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
let queue = DispatchQueue.global()
|
||||
|
||||
queue.async(group: group) {
|
||||
// add iTunes artwork
|
||||
if let iTunesMetadata = iTunesStore.quickiTunesSearch(movieName: info.name) {
|
||||
iTunesImage = iTunesMetadata.remoteArtworks
|
||||
}
|
||||
}
|
||||
|
||||
queue.async(group: group) {
|
||||
if let store = iTunesStore.Store(language: "USA (English)") {
|
||||
appleTV = AppleTV().searchArtwork(term: info.name, store: store, type: .movie)
|
||||
}
|
||||
}
|
||||
group.wait()
|
||||
|
||||
artworks.insert(contentsOf: iTunesImage, at: 0)
|
||||
artworks.insert(contentsOf: appleTV, at: 0)
|
||||
|
||||
metadata.remoteArtworks = artworks
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
// MARK: - Unimplemented movie search
|
||||
|
||||
public func search(movie: String, language: String) -> [MetadataResult] {
|
||||
return []
|
||||
}
|
||||
|
||||
public func loadMovieMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
|
||||
return metadata
|
||||
}
|
||||
}
|
||||
@@ -8,117 +8,377 @@
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public struct TVDBSeriesSearchResult : Codable {
|
||||
public let aliases: [String]
|
||||
public let banner: String?
|
||||
public let firstAired: String?
|
||||
public let id: Int
|
||||
public let imdbId: String?
|
||||
public let network: String?
|
||||
public let overview: String?
|
||||
public let seriesName: String?
|
||||
public let status: String
|
||||
struct TVDBLanguage : Codable {
|
||||
let id: String
|
||||
let name: String
|
||||
let nativeName: String
|
||||
let shortCode: String?
|
||||
}
|
||||
|
||||
public struct TVDBSeriesInfo : Codable {
|
||||
public let added: 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 struct TVDBAlias : Codable {
|
||||
public let language: String
|
||||
public let name: String
|
||||
//public let role: String?
|
||||
}
|
||||
|
||||
public struct TVDBRatingInfo : Codable {
|
||||
public let average: Double
|
||||
public let count: Int
|
||||
public class TVDBArtworkType : Codable {
|
||||
public let id: Int64
|
||||
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 let fileName: String
|
||||
public let keyType: String
|
||||
public let ratingsInfo: TVDBRatingInfo?
|
||||
public let resolution: String?
|
||||
public let subKey: String?
|
||||
public class TVDBArtworkStatus : Codable {
|
||||
let id: Int64
|
||||
let name: 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 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 airedEpisodeNumber: Int
|
||||
public let airedSeason: Int
|
||||
|
||||
//public let dvdEpisodeNumber: Double?
|
||||
//public let dvdSeason: Double?
|
||||
|
||||
public let episodeName: String?
|
||||
public let firstAired: String?
|
||||
|
||||
public let aired: String?
|
||||
public let airsBeforeEpisode: Int?
|
||||
public let airsBeforeSeason: Int?
|
||||
public let finaleType: String?
|
||||
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 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 let absoluteNumber: Int?
|
||||
public let airedEpisodeNumber: Int?
|
||||
public let airedSeason: Int?
|
||||
|
||||
public let directors: [String]
|
||||
|
||||
//public let dvdEpisodeNumber: Double?
|
||||
//public let dvdSeason: Double?
|
||||
|
||||
public let episodeName: String?
|
||||
public let filename: String?
|
||||
public let firstAired: String?
|
||||
|
||||
public let guestStars: [String]
|
||||
|
||||
public let id: Int
|
||||
public struct TVDBEpisodeExtendedRecord : Codable {
|
||||
public let aired: String?
|
||||
public let airsAfterSeason: Int?
|
||||
public let airsBeforeEpisode: Int?
|
||||
public let airsBeforeSeason: Int?
|
||||
// public let awards: [TVDBAwardBaseRecord]
|
||||
public let characters: [TVDBCharacter]?
|
||||
public let companies: [TVDBCompany]?
|
||||
public let contentRatings: [TVDBContentRating]
|
||||
public let finaleType: String?
|
||||
public let id: Int64
|
||||
public let image: String?
|
||||
public let imageType: Int?
|
||||
public let isMovie: Int64
|
||||
public let lastUpdated: String
|
||||
public let linkedMovie: 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 writers: [String]
|
||||
public let overviewTranslations: [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 {
|
||||
var theTVDBName: String {
|
||||
switch self {
|
||||
case .poster:
|
||||
return "poster"
|
||||
case .season:
|
||||
return "season"
|
||||
default:
|
||||
return "poster"
|
||||
}
|
||||
}
|
||||
public struct TVDBSeriesBaseRecord : Codable {
|
||||
public let aliases: [TVDBAlias]?
|
||||
public let averageRuntime: Int?
|
||||
public let defaultSeasonType: Int64?
|
||||
public let episodes: [TVDBEpisodeBaseRecord]?
|
||||
public let firstAired: String?
|
||||
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 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 {
|
||||
@@ -128,40 +388,26 @@ final public class TheTVDBService {
|
||||
private let queue: 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 {
|
||||
let data: [String]
|
||||
let timestamp: TimeInterval
|
||||
}
|
||||
|
||||
private var savedLanguages: Languages?
|
||||
private var savedLanguages: [String]
|
||||
|
||||
public var languages: [String] {
|
||||
get {
|
||||
return ["en",
|
||||
"sv",
|
||||
"no",
|
||||
"da",
|
||||
"fi",
|
||||
"nl",
|
||||
"de",
|
||||
"it",
|
||||
"es",
|
||||
"fr",
|
||||
"pl",
|
||||
"hu",
|
||||
"el",
|
||||
"tr",
|
||||
"ru",
|
||||
"he",
|
||||
"ja",
|
||||
"pt",
|
||||
"zh",
|
||||
"cs",
|
||||
"sl",
|
||||
"hr",
|
||||
"ko"]
|
||||
return queue.sync {
|
||||
let now = Date.timeIntervalSinceReferenceDate
|
||||
let timestamp = UserDefaults.standard.double(forKey: "SBTheTVBDv4LanguagesArrayTimestamp")
|
||||
if let languagesArray = UserDefaults.standard.object(forKey: "SBTheTVBDv4LanguagesArray") as? [String], languagesArray.isEmpty == false,
|
||||
timestamp + 60 * 60 * 24 * 30 > Date.timeIntervalSinceReferenceDate {
|
||||
savedLanguages = languagesArray
|
||||
} else {
|
||||
savedLanguages = fetchLanguages()
|
||||
UserDefaults.standard.set(savedLanguages, forKey: "SBTheTVBDv4LanguagesArray")
|
||||
UserDefaults.standard.set(now, forKey: "SBTheTVBDv4LanguagesArrayTimestamp")
|
||||
}
|
||||
return savedLanguages
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -170,6 +416,9 @@ final public class TheTVDBService {
|
||||
let timestamp: TimeInterval
|
||||
}
|
||||
|
||||
private static let tokenKey = "SBTheTVBDv4Token"
|
||||
private static let tokenTimestampKey = "SBTheTVBDv4TokenTimestamp"
|
||||
|
||||
private var savedToken: Token?
|
||||
|
||||
private var token: Token? {
|
||||
@@ -179,8 +428,8 @@ final public class TheTVDBService {
|
||||
return result
|
||||
}
|
||||
else if let result = login() {
|
||||
UserDefaults.standard.set(result.key, forKey: "SBTheTVBDToken")
|
||||
UserDefaults.standard.set(result.timestamp, forKey: "SBTheTVBDTokenTimestamp")
|
||||
UserDefaults.standard.set(result.key, forKey: TheTVDBService.tokenKey)
|
||||
UserDefaults.standard.set(result.timestamp, forKey: TheTVDBService.tokenTimestampKey)
|
||||
savedToken = result
|
||||
return result
|
||||
} else {
|
||||
@@ -193,26 +442,29 @@ final public class TheTVDBService {
|
||||
private init() {
|
||||
queue = DispatchQueue(label: "org.subler.TheTVDBQueue")
|
||||
tokenQueue = DispatchQueue(label: "org.subler.TheTVDBTokenQueue")
|
||||
savedLanguages = []
|
||||
|
||||
if let languagesArray = UserDefaults.standard.object(forKey: "SBTheTVBDLanguagesArray") as? [String] {
|
||||
let timestamp = UserDefaults.standard.double(forKey: "SBTheTVBDLanguagesArrayTimestamp")
|
||||
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 let tokenKey = UserDefaults.standard.string(forKey: TheTVDBService.tokenKey) {
|
||||
let timestamp = UserDefaults.standard.double(forKey: TheTVDBService.tokenTimestampKey)
|
||||
if timestamp + 60 * 60 * 4 > Date.timeIntervalSinceReferenceDate {
|
||||
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 {
|
||||
let data: T
|
||||
let links: Links?
|
||||
let status: String
|
||||
}
|
||||
|
||||
|
||||
// MARK: - Login
|
||||
|
||||
private func login() -> Token? {
|
||||
@@ -224,119 +476,188 @@ final public class TheTVDBService {
|
||||
let token: String
|
||||
}
|
||||
|
||||
guard let apikey = try? JSONEncoder().encode(ApiKey(apikey: "3498815BE9484A62")) else { return nil }
|
||||
guard let url = URL(string: "https://api.thetvdb.com/login") else { return nil }
|
||||
guard let apikey = try? JSONEncoder().encode(ApiKey(apikey: TheTVDBService.apiKey)) else { return nil }
|
||||
guard let url = URL(string: TheTVDBService.basePath + "login") else { return nil }
|
||||
|
||||
let header = ["Content-Type" : "application/json",
|
||||
"Accept" : "application/vnd.thetvdb.v3"]
|
||||
let header = ["Content-Type" : "application/json"]
|
||||
|
||||
guard let response = URLSession.data(from: url,
|
||||
httpMethod: "POST",
|
||||
httpBody:apikey,
|
||||
header: header) else { return nil }
|
||||
|
||||
guard let responseToken = try? JSONDecoder().decode(TokenWrapper.self, from: response) else { return nil }
|
||||
return Token(key: responseToken.token, timestamp: Date.timeIntervalSinceReferenceDate)
|
||||
do {
|
||||
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
|
||||
|
||||
private func fetchLanguages() -> Languages? {
|
||||
struct Language: Codable {
|
||||
let abbreviation: String
|
||||
let englishName: String
|
||||
let id: Int
|
||||
let name: String
|
||||
private func fetchLanguages() -> [String] {
|
||||
|
||||
guard let url = URL(string: "\(TheTVDBService.basePath)languages"),
|
||||
let result = sendJSONRequest(url: url, type: Wrapper<[TVDBLanguage]>.self)
|
||||
else { return [] }
|
||||
|
||||
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
|
||||
|
||||
private func sendRequest(url: URL, language: String) -> Data? {
|
||||
private func sendRequest(url: URL) -> Data? {
|
||||
guard let token = self.token else { return nil }
|
||||
|
||||
let header = ["Authorization": "Bearer \(token.key)",
|
||||
"Content-Type" : "application/json",
|
||||
"Accept" : "application/vnd.thetvdb.v3",
|
||||
"Accept-Language" : language]
|
||||
"accept" : "application/json"]
|
||||
|
||||
return URLSession.data(from: url, header: header)
|
||||
}
|
||||
|
||||
private func sendJSONRequest<T>(url: URL, language: String, type: T.Type) -> T? where T : Decodable {
|
||||
guard let data = sendRequest(url: url, language: language),
|
||||
let result = try? JSONDecoder().decode(type, from: data)
|
||||
else { return nil }
|
||||
private func sendJSONRequest<T>(url: URL, type: T.Type) -> T? where T : Decodable {
|
||||
guard let data = sendRequest(url: url) 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
|
||||
|
||||
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)"),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBSeriesSearchResult]>.self)
|
||||
public func fetch(movie: String) -> [TVDBSearchResult] {
|
||||
// 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 [] }
|
||||
|
||||
return result.data
|
||||
}
|
||||
|
||||
public func fetch(seriesInfo seriesID: Int, language: String) -> TVDBSeriesInfo? {
|
||||
guard let url = URL(string: "\(basePath)series/\(seriesID)"),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<TVDBSeriesInfo>.self)
|
||||
public func fetch(movieInfo movieID: String) -> TVDBMovieExtendedRecord? {
|
||||
guard let url = URL(string: "\(TheTVDBService.basePath)movies/\(movieID)/extended"),
|
||||
let result = sendJSONRequest(url: url, type: Wrapper<TVDBMovieExtendedRecord>.self)
|
||||
else { return nil }
|
||||
|
||||
return result.data
|
||||
}
|
||||
|
||||
public func fetch(actors seriesID: Int, language: String) -> [TVDBActor] {
|
||||
guard let url = URL(string: "\(basePath)series/\(seriesID)/actors"),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBActor]>.self)
|
||||
public func fetch(movieTranslation movieID: String, language: String) -> TVDBTranslation? {
|
||||
guard let url = URL(string: "\(TheTVDBService.basePath)movies/\(movieID)/translations/\(language)"),
|
||||
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 [] }
|
||||
|
||||
return result.data
|
||||
}
|
||||
|
||||
public func fetch(images seriesID: Int, type: ArtworkType, language: String) -> [TVDBImage] {
|
||||
guard let url = URL(string: "\(basePath)series/\(seriesID)/images/query?keyType=\(type.theTVDBName)"),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBImage]>.self)
|
||||
else { return [] }
|
||||
public func fetch(seriesInfo seriesID: String) -> TVDBSeriesExtendedRecord? {
|
||||
guard let url = URL(string: "\(TheTVDBService.basePath)series/\(seriesID)/extended"),
|
||||
let result = sendJSONRequest(url: url, type: Wrapper<TVDBSeriesExtendedRecord>.self)
|
||||
else { return nil }
|
||||
|
||||
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) {
|
||||
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?, _):
|
||||
return URL(string: "\(basePath)series/\(seriesID)/episodes/query?airedSeason=\(season)")
|
||||
return URL(string:
|
||||
"\(TheTVDBService.basePath)series/\(seriesID)/episodes/default?page=\(page)&season=\(season)")
|
||||
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] {
|
||||
guard let url = episodesURL(seriesID: seriesID, season: season, episode: episode),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<[TVDBEpisode]>.self)
|
||||
|
||||
public func fetch(episodesForSeriesID seriesID: Int, season: Int?, episode: Int?) -> [TVDBEpisodeBaseRecord] {
|
||||
guard let url = episodesURL(seriesID: seriesID, season: season, episode: episode, page: 0),
|
||||
let result = sendJSONRequest(url: url, type: Wrapper<TVDBSeriesEpisodes>.self)
|
||||
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
|
||||
}
|
||||
|
||||
public func fetch(episodeInfo episodeID: Int, language: String) -> TVDBEpisodeInfo? {
|
||||
guard let url = URL(string: "\(basePath)episodes/\(episodeID)"),
|
||||
let result = sendJSONRequest(url: url, language: language, type: Wrapper<TVDBEpisodeInfo>.self)
|
||||
public func fetch(episodesTranslation episodeID: Int, language: String) -> TVDBTranslation? {
|
||||
guard let url = URL(string: "\(TheTVDBService.basePath)episodes/\(episodeID)/translations/\(language)"),
|
||||
let result = sendJSONRequest(url: url, type: Wrapper<TVDBTranslation>.self)
|
||||
else { return nil }
|
||||
|
||||
return result.data
|
||||
|
||||
@@ -476,10 +476,10 @@ public struct iTunesStore: MetadataService {
|
||||
}
|
||||
|
||||
private func compactMultipartSeasons(results: [MetadataResult]) {
|
||||
let seasons = Dictionary(grouping: results.filter { $0[.serviceAdditionalSeriesID] != nil }, by: { $0[.season] as? Int })
|
||||
let seasons = Dictionary(grouping: results.filter { $0[.serviceAdditionalContentID] != nil }, by: { $0[.season] as? Int })
|
||||
|
||||
for (_, episodes) in seasons {
|
||||
let parts = Dictionary(grouping: episodes, by: { $0[.serviceAdditionalSeriesID] as! Int })
|
||||
let parts = Dictionary(grouping: episodes, by: { $0[.serviceAdditionalContentID] as! Int })
|
||||
let max = parts.mapValues { $0.compactMap { $0[.episodeNumber] as? Int } .max() ?? 0 }
|
||||
|
||||
for (part, episodes) in parts {
|
||||
@@ -490,7 +490,7 @@ public struct iTunesStore: MetadataService {
|
||||
if min < count, let episodeNumber = episode[.episodeNumber] as? Int {
|
||||
episode[.episodeNumber] = episodeNumber + count
|
||||
}
|
||||
episode[.serviceAdditionalSeriesID] = nil
|
||||
episode[.serviceAdditionalContentID] = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -565,7 +565,7 @@ public struct iTunesStore: MetadataService {
|
||||
}
|
||||
|
||||
if let part = part {
|
||||
metadata[.serviceAdditionalSeriesID] = part;
|
||||
metadata[.serviceAdditionalContentID] = part;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -576,7 +576,8 @@ public struct iTunesStore: MetadataService {
|
||||
metadata[.iTunesCountry] = store.storeCode
|
||||
metadata[.iTunesURL] = result.trackViewUrl
|
||||
metadata[.contentID] = result.trackId
|
||||
|
||||
metadata[.serviceContentID] = result.trackId
|
||||
|
||||
if result.trackExplicitness == "explicit" {
|
||||
metadata.contentRating = 4
|
||||
}
|
||||
@@ -622,7 +623,8 @@ public struct iTunesStore: MetadataService {
|
||||
metadata[.iTunesCountry] = store.storeCode
|
||||
metadata[.iTunesURL] = result.trackViewUrl
|
||||
metadata[.contentID] = result.trackId
|
||||
|
||||
metadata[.serviceContentID] = result.trackId
|
||||
|
||||
if result.trackExplicitness == "explicit" {
|
||||
metadata.contentRating = 4
|
||||
}
|
||||
|
||||
@@ -97,7 +97,15 @@ class MetadataPrefsViewController : NSViewController, NSTableViewDelegate, NSTab
|
||||
s.map.items.sort(by: s.sort)
|
||||
s.tableView.reloadData()
|
||||
s.builtInTokenField.stringValue = s.currentTokens.reduce("", { "\($0)/\($1)" })
|
||||
|
||||
s.updateControlsState()
|
||||
}
|
||||
|
||||
updateControlsState()
|
||||
}
|
||||
|
||||
private func updateControlsState() {
|
||||
removeMetadataButton.isEnabled = tableView.selectedRow != -1
|
||||
}
|
||||
|
||||
private func save() {
|
||||
@@ -141,6 +149,10 @@ class MetadataPrefsViewController : NSViewController, NSTableViewDelegate, NSTab
|
||||
|
||||
// MARK: Table View
|
||||
|
||||
func tableViewSelectionDidChange(_ notification: Notification) {
|
||||
updateControlsState()
|
||||
}
|
||||
|
||||
func numberOfRows(in tableView: NSTableView) -> Int {
|
||||
if tableView == self.tableView {
|
||||
return map.items.count
|
||||
|
||||
@@ -193,7 +193,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
}
|
||||
else if tvSeriesName.stringValue.count > 3 {
|
||||
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: "")]
|
||||
|
||||
@@ -243,7 +243,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
|
||||
private func searchMovie() {
|
||||
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 task = searcher.search(completionHandler: { self.searchDone(search: searcher, results: $0) }).runAsync()
|
||||
state = .searching(search: searcher, task: task)
|
||||
@@ -251,7 +251,7 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
|
||||
private func searchTVShow() {
|
||||
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 episode = Int(tvEpisodeNum.stringValue)
|
||||
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"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -16,7 +16,7 @@
|
||||
<view wantsLayer="YES" id="HYk-Hf-rvN">
|
||||
<rect key="frame" x="0.0" y="0.0" width="540" height="520"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<point key="canvasLocation" x="111.5" y="68.5"/>
|
||||
<point key="canvasLocation" x="220" y="74"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
+13
-9
@@ -73,11 +73,12 @@ struct StoredCodable<T: Codable> : Registable {
|
||||
enum Prefs {
|
||||
|
||||
static func register() {
|
||||
ud.register(defaults: [_crashOnException, _showOpenPanelAtLaunch, _suppressDonationAlert, _saveFormat, _organizeAlternateGroups,
|
||||
_defaultSaveFormat, _organizeAlternateGroups, _inferMediaCharacteristics, _audioMixdown,
|
||||
ud.register(defaults: [_crashOnException, _showOpenPanelAtLaunch, _suppressDonationAlert, _fileType, _organizeAlternateGroups,
|
||||
_organizeAlternateGroups, _inferMediaCharacteristics, _audioMixdown,
|
||||
_audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts,
|
||||
_audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition,
|
||||
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1])
|
||||
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1,
|
||||
_logFormat])
|
||||
}
|
||||
|
||||
@Stored(key: "NSApplicationCrashOnException", defaultValue: true)
|
||||
@@ -95,11 +96,8 @@ enum Prefs {
|
||||
@Stored(key: "rememberWindowSize", defaultValue: false)
|
||||
static var rememberDocumentWindowSize: Bool
|
||||
|
||||
@Stored(key: "SBSaveFormat", defaultValue: "m4v")
|
||||
static var saveFormat: String
|
||||
|
||||
@Stored(key: "defaultSaveFormat", defaultValue: 0)
|
||||
static var defaultSaveFormat: Int
|
||||
@Stored(key: "SBSaveFormat", defaultValue: "mp4")
|
||||
static var fileType: String
|
||||
|
||||
@Stored(key: "SBOrganizeAlternateGroups", defaultValue: true)
|
||||
static var organizeAlternateGroups: Bool
|
||||
@@ -155,8 +153,14 @@ enum Prefs {
|
||||
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
static var artworkSelectorZoomLevel: Float
|
||||
|
||||
@Stored(key: "SBMoviewArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
@Stored(key: "SBMovieArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
static var movieArtworkSelectorZoomLevel: Float
|
||||
|
||||
@Stored(key: "SBPresetArtworkSelectorZoomLevel", defaultValue: 0)
|
||||
static var presetArtworkSelectorZoomLevel: Float
|
||||
|
||||
@Stored(key: "SBLogFormat", defaultValue: 0)
|
||||
static var logFormat: Int // 0 = Time Only, 1 = Date and Time
|
||||
}
|
||||
|
||||
enum MetadataPrefs {
|
||||
|
||||
@@ -104,6 +104,7 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate {
|
||||
}, completionHandler: {
|
||||
view.isHidden = false
|
||||
window.title = item.label
|
||||
self.window?.makeFirstResponder(view.nextKeyView)
|
||||
})
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -42,6 +42,15 @@ final class PresetEditorViewController: MovieViewController {
|
||||
replaceAnnotations.state = preset.replaceAnnotations == false ? .on : .off
|
||||
}
|
||||
|
||||
override var zoomLevel: Float {
|
||||
get {
|
||||
Prefs.presetArtworkSelectorZoomLevel
|
||||
}
|
||||
set (value) {
|
||||
Prefs.presetArtworkSelectorZoomLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func done(_ sender: Any) {
|
||||
presentingViewController?.dismiss(self)
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -29,15 +29,14 @@
|
||||
<rect key="frame" x="10" y="29" width="753" height="237"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
|
||||
<rect key="frame" x="17" y="36" width="719" height="195"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<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"/>
|
||||
<clipView key="contentView" id="gfP-N5-8Ji">
|
||||
<rect key="frame" x="1" y="1" width="717" height="193"/>
|
||||
<rect key="frame" x="1" y="1" width="717" height="189"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<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">
|
||||
<rect key="frame" x="0.0" y="0.0" width="717" height="176"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="717" height="172"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -383,32 +382,19 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
||||
<rect key="frame" x="42" y="7" width="26" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
|
||||
<button toolTip="Add chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="42">
|
||||
<rect key="frame" x="11" y="9" width="36" height="27"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="removeChapter:" target="-2" id="48"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="Add chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="42">
|
||||
<rect key="frame" x="17" y="7" width="26" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="addChapter:" target="-2" id="50"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
|
||||
<rect key="frame" x="76" y="7" width="33" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
|
||||
<rect key="frame" x="70" y="12" width="45" height="22"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<menu key="menu" id="T3N-JJ-mWq">
|
||||
@@ -426,13 +412,35 @@
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
||||
<rect key="frame" x="36" y="9" width="36" height="27"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="removeChapter:" target="-2" id="48"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="19" firstAttribute="leading" secondItem="12" secondAttribute="leading" constant="17" id="21K-r4-gXZ"/>
|
||||
<constraint firstItem="31" firstAttribute="top" secondItem="42" secondAttribute="top" id="GlU-QC-OYe"/>
|
||||
<constraint firstItem="42" firstAttribute="top" secondItem="19" secondAttribute="bottom" constant="8" symbolic="YES" id="Ngw-J5-tMS"/>
|
||||
<constraint firstItem="42" firstAttribute="leading" secondItem="19" secondAttribute="leading" id="XGG-xy-ibf"/>
|
||||
<constraint firstAttribute="trailing" secondItem="19" secondAttribute="trailing" constant="17" id="cNR-fN-seC"/>
|
||||
<constraint firstItem="19" firstAttribute="top" secondItem="12" secondAttribute="top" constant="6" id="dMH-VU-NKD"/>
|
||||
<constraint firstAttribute="bottom" secondItem="42" secondAttribute="bottom" constant="16" id="mjM-zH-dIu"/>
|
||||
<constraint firstItem="IvH-Ff-dyN" firstAttribute="leading" secondItem="31" secondAttribute="trailing" constant="8" symbolic="YES" id="rvP-0R-kpo"/>
|
||||
<constraint firstItem="31" firstAttribute="leading" secondItem="42" secondAttribute="trailing" constant="1" id="teO-jO-fZC"/>
|
||||
<constraint firstItem="IvH-Ff-dyN" firstAttribute="top" secondItem="31" secondAttribute="top" id="yyG-lL-AQz"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="-36" y="-92"/>
|
||||
<point key="canvasLocation" x="-36.5" y="-92"/>
|
||||
</customView>
|
||||
</objects>
|
||||
<resources>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14087.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14087.3"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -27,6 +27,7 @@
|
||||
<constraint firstAttribute="bottom" secondItem="5" secondAttribute="bottom" constant="-2" id="mBt-hk-Csd"/>
|
||||
<constraint firstItem="5" firstAttribute="top" secondItem="1" secondAttribute="top" constant="8" id="x6g-Yu-20J"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="259" y="39"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -26,20 +26,20 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="769" height="256"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="769" height="184"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
|
||||
<rect key="frame" x="-11" y="-12" width="791" height="263"/>
|
||||
<rect key="frame" x="-11" y="-12" width="791" height="191"/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Metadata" identifier="1" id="11">
|
||||
<view key="view" id="12">
|
||||
<rect key="frame" x="10" y="25" width="771" height="156"/>
|
||||
<rect key="frame" x="10" y="25" width="771" height="136"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<rect key="frame" x="17" y="7" width="29" height="22"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" id="31">
|
||||
<popUpButton toolTip="Add a new metadata item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="30">
|
||||
<rect key="frame" x="13" y="12" width="44" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" id="31">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu" size="11"/>
|
||||
<menu key="menu" id="32">
|
||||
@@ -50,31 +50,25 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="oAx-ac-cJp"/>
|
||||
</constraints>
|
||||
<accessibility description="Add metadata item"/>
|
||||
<connections>
|
||||
<action selector="addTag:" target="-2" id="37"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="53">
|
||||
<rect key="frame" x="45" y="7" width="24" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="54">
|
||||
<rect key="frame" x="49" y="9" width="36" height="27"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="54">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="24" id="0TW-Pw-B6h"/>
|
||||
</constraints>
|
||||
<accessibility description="Remove selected item"/>
|
||||
<connections>
|
||||
<action selector="removeTag:" target="-2" id="55"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<rect key="frame" x="77" y="7" width="33" height="22"/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="179">
|
||||
<rect key="frame" x="87" y="12" width="45" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu" size="11"/>
|
||||
<menu key="menu" id="181">
|
||||
@@ -85,19 +79,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="33" id="ZIk-ID-MnW"/>
|
||||
</constraints>
|
||||
<accessibility description="Sets"/>
|
||||
</popUpButton>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
|
||||
<rect key="frame" x="17" y="36" width="737" height="114"/>
|
||||
<rect key="frame" x="17" y="40" width="737" height="90"/>
|
||||
<clipView key="contentView" id="cQT-bX-0YB">
|
||||
<rect key="frame" x="1" y="1" width="735" height="112"/>
|
||||
<rect key="frame" x="1" y="1" width="735" height="88"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="735" height="89"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="735" height="88"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -308,56 +299,46 @@
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="179" firstAttribute="height" secondItem="30" secondAttribute="height" id="2Hj-9j-VM5"/>
|
||||
<constraint firstItem="30" firstAttribute="bottom" secondItem="53" secondAttribute="bottom" id="EnX-PG-7Ac"/>
|
||||
<constraint firstItem="179" firstAttribute="height" secondItem="53" secondAttribute="height" id="HWR-pd-5Nn"/>
|
||||
<constraint firstAttribute="bottom" secondItem="30" secondAttribute="bottom" constant="8" id="IRj-LS-ekM"/>
|
||||
<constraint firstItem="179" firstAttribute="leading" secondItem="53" secondAttribute="trailing" constant="8" symbolic="YES" id="KUd-5V-MXX"/>
|
||||
<constraint firstItem="53" firstAttribute="top" secondItem="179" secondAttribute="top" id="67S-NK-9fD"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="53" secondAttribute="top" id="BKG-GH-axI"/>
|
||||
<constraint firstAttribute="bottom" secondItem="30" secondAttribute="bottom" constant="16" id="IRj-LS-ekM"/>
|
||||
<constraint firstItem="179" firstAttribute="leading" secondItem="53" secondAttribute="trailing" constant="12" id="KUd-5V-MXX"/>
|
||||
<constraint firstItem="30" firstAttribute="leading" secondItem="r4i-wT-qDC" secondAttribute="leading" id="LNH-mJ-f9f"/>
|
||||
<constraint firstItem="r4i-wT-qDC" firstAttribute="leading" secondItem="12" secondAttribute="leading" constant="17" id="PV0-Uz-uaD"/>
|
||||
<constraint firstItem="30" firstAttribute="baseline" secondItem="179" secondAttribute="baseline" id="TK8-QK-mzF"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="r4i-wT-qDC" secondAttribute="bottom" constant="8" id="TYO-yE-jpg"/>
|
||||
<constraint firstItem="30" firstAttribute="top" secondItem="53" secondAttribute="top" id="Up9-Gf-EM1"/>
|
||||
<constraint firstItem="r4i-wT-qDC" firstAttribute="top" secondItem="12" secondAttribute="top" constant="6" id="a4X-aI-Ggo"/>
|
||||
<constraint firstItem="53" firstAttribute="leading" secondItem="30" secondAttribute="trailing" constant="-1" id="c3d-V8-Rid"/>
|
||||
<constraint firstItem="53" firstAttribute="leading" secondItem="30" secondAttribute="trailing" constant="2" id="c3d-V8-Rid"/>
|
||||
<constraint firstAttribute="trailing" secondItem="r4i-wT-qDC" secondAttribute="trailing" constant="17" id="mlL-15-A41"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="Artwork" identifier="Item 1" id="15">
|
||||
<view key="view" id="16">
|
||||
<rect key="frame" x="10" y="25" width="771" height="225"/>
|
||||
<rect key="frame" x="10" y="25" width="771" height="153"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="223">
|
||||
<rect key="frame" x="17" y="7" width="25" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="224">
|
||||
<rect key="frame" x="11" y="9" width="36" height="27"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="224">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="25" id="PQ5-Tu-VFK"/>
|
||||
<constraint firstAttribute="height" constant="20" id="nbn-sF-RRs"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="selectArtwork:" target="-2" id="232"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="226">
|
||||
<rect key="frame" x="41" y="7" width="25" height="22"/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="227">
|
||||
<rect key="frame" x="36" y="9" width="36" height="27"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="227">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="25" id="FBv-tK-Tdv"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<action selector="removeArtwork:" target="-2" id="231"/>
|
||||
</connections>
|
||||
</button>
|
||||
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="235">
|
||||
<rect key="frame" x="635" y="9" width="119" height="20"/>
|
||||
<rect key="frame" x="635" y="15" width="119" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="115" id="mBx-7u-wTU"/>
|
||||
</constraints>
|
||||
@@ -367,13 +348,13 @@
|
||||
</connections>
|
||||
</slider>
|
||||
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WUe-C3-hRA">
|
||||
<rect key="frame" x="17" y="36" width="737" height="183"/>
|
||||
<rect key="frame" x="17" y="40" width="737" height="107"/>
|
||||
<clipView key="contentView" id="jau-dn-6LI">
|
||||
<rect key="frame" x="1" y="1" width="735" height="181"/>
|
||||
<rect key="frame" x="1" y="1" width="735" height="105"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<collectionView selectable="YES" allowsMultipleSelection="YES" id="HHe-zs-flI" customClass="CollectionView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="735" height="181"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="735" height="105"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
|
||||
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="ofy-8i-tTx">
|
||||
<size key="itemSize" width="280" height="224"/>
|
||||
@@ -392,23 +373,22 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="bD2-5M-Iiz">
|
||||
<rect key="frame" x="720" y="1" width="16" height="181"/>
|
||||
<rect key="frame" x="720" y="1" width="16" height="88"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="235" secondAttribute="trailing" constant="19" id="0hC-mb-MlL"/>
|
||||
<constraint firstItem="226" firstAttribute="centerY" secondItem="223" secondAttribute="centerY" id="5a5-e8-dAP"/>
|
||||
<constraint firstAttribute="bottom" secondItem="223" secondAttribute="bottom" constant="8" id="BgF-RQ-nc8"/>
|
||||
<constraint firstAttribute="bottom" secondItem="223" secondAttribute="bottom" constant="16" id="BgF-RQ-nc8"/>
|
||||
<constraint firstItem="226" firstAttribute="centerY" secondItem="235" secondAttribute="centerY" constant="0.5" id="IHP-mq-pja"/>
|
||||
<constraint firstItem="WUe-C3-hRA" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="17" id="Lvi-Ls-dwm"/>
|
||||
<constraint firstAttribute="trailing" secondItem="WUe-C3-hRA" secondAttribute="trailing" constant="17" id="Wbo-yN-xLN"/>
|
||||
<constraint firstItem="226" firstAttribute="height" secondItem="223" secondAttribute="height" id="bRk-bc-DiM"/>
|
||||
<constraint firstItem="WUe-C3-hRA" firstAttribute="top" secondItem="16" secondAttribute="top" constant="6" id="fGU-nu-khr"/>
|
||||
<constraint firstItem="223" firstAttribute="top" secondItem="WUe-C3-hRA" secondAttribute="bottom" constant="8" symbolic="YES" id="juc-Kd-k1q"/>
|
||||
<constraint firstItem="226" firstAttribute="leading" secondItem="223" secondAttribute="trailing" constant="-1" id="mSU-ml-jzw"/>
|
||||
<constraint firstItem="226" firstAttribute="leading" secondItem="223" secondAttribute="trailing" constant="1" id="mSU-ml-jzw"/>
|
||||
<constraint firstItem="223" firstAttribute="leading" secondItem="16" secondAttribute="leading" constant="17" id="yTy-Iz-roe"/>
|
||||
<constraint firstItem="223" firstAttribute="firstBaseline" secondItem="226" secondAttribute="firstBaseline" id="zB3-nk-dWH"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
@@ -421,7 +401,7 @@
|
||||
<constraint firstItem="10" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="-4" id="W2u-1d-KH8"/>
|
||||
<constraint firstAttribute="bottom" secondItem="10" secondAttribute="bottom" constant="-2" id="gd6-eJ-5fo"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="34.5" y="-7"/>
|
||||
<point key="canvasLocation" x="247.5" y="-20"/>
|
||||
</customView>
|
||||
<userDefaultsController representsSharedInstance="YES" id="z7a-RX-pNz"/>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" visibleAtLaunch="NO" animationBehavior="default" id="ZRj-hi-qeJ" userLabel="Preset Save">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -20,10 +20,9 @@
|
||||
<subviews>
|
||||
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="5">
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
|
||||
<tabViewItems/>
|
||||
</tabView>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hdQ-nD-A4N">
|
||||
<rect key="frame" x="179" y="128" width="122" height="17"/>
|
||||
<rect key="frame" x="179" y="128" width="123" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="%lu tracks selected" id="Mo5-ii-LsO">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -39,6 +38,7 @@
|
||||
<constraint firstAttribute="bottom" secondItem="5" secondAttribute="bottom" constant="-2" id="mBt-hk-Csd"/>
|
||||
<constraint firstItem="5" firstAttribute="top" secondItem="1" secondAttribute="top" constant="8" id="x6g-Yu-20J"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="244" y="6"/>
|
||||
</customView>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17132" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<development version="11000" identifier="xcode"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17132"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -33,10 +32,10 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view translatesAutoresizingMaskIntoConstraints="NO" id="Hv4-PS-bN1">
|
||||
<rect key="frame" x="39" y="21" width="405" height="184"/>
|
||||
<rect key="frame" x="39" y="25" width="405" height="177"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="AN1-Gb-9rU">
|
||||
<rect key="frame" x="48" y="152" width="91" height="14"/>
|
||||
<rect key="frame" x="48" y="145" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Volume:" id="Z5x-Oq-P8Z">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -44,7 +43,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MVR-Tx-Jpc">
|
||||
<rect key="frame" x="139" y="149" width="222" height="20"/>
|
||||
<rect key="frame" x="143" y="142" width="214" height="20"/>
|
||||
<sliderCell key="cell" controlSize="small" state="on" alignment="left" maxValue="200" doubleValue="100" tickMarkPosition="below" numberOfTickMarks="1" sliderType="linear" id="Yee-GR-ylI">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
</sliderCell>
|
||||
@@ -54,7 +53,7 @@
|
||||
</connections>
|
||||
</slider>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="oJQ-vl-QbS">
|
||||
<rect key="frame" x="48" y="103" width="91" height="14"/>
|
||||
<rect key="frame" x="48" y="99" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Group:" id="CTV-P7-IaD">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -65,7 +64,7 @@
|
||||
</connections>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="AHt-fF-cmH">
|
||||
<rect key="frame" x="48" y="78" width="91" height="14"/>
|
||||
<rect key="frame" x="48" y="76" width="91" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Fallback:" id="8KY-0L-cm1">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -73,10 +72,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hO4-U9-j72">
|
||||
<rect key="frame" x="142" y="100" width="87" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="81" id="deO-aT-0vb"/>
|
||||
</constraints>
|
||||
<rect key="frame" x="141" y="94" width="89" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="QBa-Jt-TO2" id="jSp-EO-3Gh">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -92,16 +88,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="81" id="deO-aT-0vb"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="oJQ-vl-QbS" id="Cbl-Aq-ObF"/>
|
||||
<action selector="setTrackAlternateGroup:" target="-2" id="Xpd-ML-0hX"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="kyn-qq-nF7">
|
||||
<rect key="frame" x="142" y="75" width="216" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="210" id="VlQ-qX-xoP"/>
|
||||
</constraints>
|
||||
<rect key="frame" x="141" y="71" width="218" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Qdb-gu-B3h" id="NRh-66-Ilv">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -111,6 +107,9 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="210" id="VlQ-qX-xoP"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="AHt-fF-cmH" id="xln-Xh-ghS"/>
|
||||
<action selector="setTrackFallback:" target="-2" id="dW2-e8-n1H"/>
|
||||
@@ -125,10 +124,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="6Kd-IU-I5v">
|
||||
<rect key="frame" x="142" y="51" width="216" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="210" id="p8q-de-wud"/>
|
||||
</constraints>
|
||||
<rect key="frame" x="141" y="49" width="218" height="22"/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Zgh-b7-8aY" id="vO8-pC-sox">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -138,13 +134,16 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="210" id="p8q-de-wud"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="Wwd-LM-Zu2" id="c2I-EU-yGn"/>
|
||||
<action selector="setTrackFollows:" target="-2" id="aKE-dj-ggZ"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="IeL-sA-ryZ">
|
||||
<rect key="frame" x="327" y="138" width="30" height="11"/>
|
||||
<rect key="frame" x="327" y="131" width="30" height="11"/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="+6 db" id="5ZH-ms-h3O">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -152,7 +151,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="nJx-6Z-zO1">
|
||||
<rect key="frame" x="233" y="138" width="33" height="11"/>
|
||||
<rect key="frame" x="233" y="131" width="33" height="11"/>
|
||||
<textFieldCell key="cell" controlSize="mini" sendsActionOnEndEditing="YES" title="+ 0 db" id="5af-rM-3Vd">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -160,7 +159,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="k0u-bj-qan">
|
||||
<rect key="frame" x="143" y="138" width="33" height="11"/>
|
||||
<rect key="frame" x="143" y="131" width="33" height="11"/>
|
||||
<textFieldCell key="cell" controlSize="mini" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="-∞ db" id="dCR-ej-bsH">
|
||||
<font key="font" metaFont="miniSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -51,7 +51,7 @@
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="Drh-uk-1vk">
|
||||
<rect key="frame" x="87" y="62" width="436" height="329"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ifV-jn-Kjv">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ifV-jn-Kjv">
|
||||
<rect key="frame" x="234" y="229" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="Iwt-Cm-ugd"/>
|
||||
@@ -70,7 +70,7 @@
|
||||
<action selector="setPixelAspect:" target="-2" id="zHv-hb-Eln"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="hz3-IH-Nfw">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="hz3-IH-Nfw">
|
||||
<rect key="frame" x="18" y="305" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Normal Size:" id="soD-gL-b4G">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -78,7 +78,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="aqN-Ac-8cl">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="aqN-Ac-8cl">
|
||||
<rect key="frame" x="289" y="305" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="6I1-7O-uon">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -86,7 +86,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wlV-Oh-ui5">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wlV-Oh-ui5">
|
||||
<rect key="frame" x="234" y="193" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="sti-gZ-KkW"/>
|
||||
@@ -112,7 +112,7 @@
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="j7N-eK-BGR">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="j7N-eK-BGR">
|
||||
<rect key="frame" x="219" y="231" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="GfY-OY-SWL">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -120,7 +120,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="n9M-HO-S4Z">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="n9M-HO-S4Z">
|
||||
<rect key="frame" x="234" y="278" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="xBH-Oy-fCg"/>
|
||||
@@ -139,7 +139,7 @@
|
||||
<action selector="setSize:" target="-2" id="7p2-ss-WWu"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Hh2-MV-toy">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Hh2-MV-toy">
|
||||
<rect key="frame" x="164" y="305" width="50" height="14"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="46" id="PGv-gZ-TCI"/>
|
||||
@@ -150,7 +150,7 @@
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="ciI-zB-M6i">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="ciI-zB-M6i">
|
||||
<rect key="frame" x="289" y="195" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="EQ0-oQ-E9J">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -158,7 +158,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="IBC-4P-DBN">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="IBC-4P-DBN">
|
||||
<rect key="frame" x="35" y="231" width="124" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Aspect Ratio:" id="Q8w-0e-NRr">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -166,7 +166,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="lQe-jX-iRS">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="lQe-jX-iRS">
|
||||
<rect key="frame" x="69" y="195" width="90" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Offset:" id="ubI-H1-utj">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -174,7 +174,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YOz-mZ-420">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YOz-mZ-420">
|
||||
<rect key="frame" x="234" y="305" width="50" height="14"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="46" id="oX0-WH-XwB"/>
|
||||
@@ -185,7 +185,7 @@
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qFL-0W-Ye6">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qFL-0W-Ye6">
|
||||
<rect key="frame" x="164" y="193" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="KTL-ae-uEZ"/>
|
||||
@@ -204,7 +204,7 @@
|
||||
<action selector="setSize:" target="-2" id="wz0-CC-lEV"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="drr-hJ-0St">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="drr-hJ-0St">
|
||||
<rect key="frame" x="219" y="195" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="7Ug-k7-d7I">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -212,7 +212,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jJB-Ty-mki">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jJB-Ty-mki">
|
||||
<rect key="frame" x="219" y="280" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="lgq-Fj-LB5">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -220,7 +220,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Q0D-6k-Hgx">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Q0D-6k-Hgx">
|
||||
<rect key="frame" x="164" y="229" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="aRN-pI-KPe"/>
|
||||
@@ -239,7 +239,7 @@
|
||||
<action selector="setPixelAspect:" target="-2" id="aTM-Xt-B1U"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r90-c5-7PH">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r90-c5-7PH">
|
||||
<rect key="frame" x="164" y="278" width="50" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="50" id="03n-DI-SjQ"/>
|
||||
@@ -280,7 +280,7 @@
|
||||
<action selector="setTrackAlternateGroup:" target="-2" id="EMY-4A-sdg"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QID-3k-PHK">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QID-3k-PHK">
|
||||
<rect key="frame" x="219" y="305" width="10" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="x" id="ILN-KP-l0z">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -288,7 +288,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="AEE-SG-UWs">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="AEE-SG-UWs">
|
||||
<rect key="frame" x="41" y="280" width="118" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Scaled Size:" id="1O9-J3-Plk">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -296,7 +296,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="BeZ-s7-H0q">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="BeZ-s7-H0q">
|
||||
<rect key="frame" x="289" y="280" width="35" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="pixels" id="7as-HC-onR">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -304,7 +304,7 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="HtH-F7-8Bv">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="HtH-F7-8Bv">
|
||||
<rect key="frame" x="18" y="170" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Group:" id="Fye-Hi-zqu">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -315,7 +315,7 @@
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="z7f-vJ-7sb" userLabel="Forced">
|
||||
<rect key="frame" x="0.0" y="116" width="436" height="46"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="cbR-yR-H9l">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="cbR-yR-H9l">
|
||||
<rect key="frame" x="18" y="29" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Forced:" id="gMo-yz-dz5">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -360,7 +360,7 @@
|
||||
<action selector="setForcedTrack:" target="-2" id="kGE-XO-FuP"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="fwe-5g-QAo">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="fwe-5g-QAo">
|
||||
<rect key="frame" x="85" y="7" width="74" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Forced track:" id="NPR-jz-Ile">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -386,7 +386,7 @@
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="fPE-Ll-kGD" userLabel="Color">
|
||||
<rect key="frame" x="0.0" y="92" width="436" height="24"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="xfb-DL-1Pr">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="xfb-DL-1Pr">
|
||||
<rect key="frame" x="18" y="7" width="141" height="13"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="BZv-h3-OMk">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -437,7 +437,7 @@
|
||||
<customView translatesAutoresizingMaskIntoConstraints="NO" id="7i2-3m-yRg" userLabel="H.264 Profile">
|
||||
<rect key="frame" x="0.0" y="0.0" width="436" height="91"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="oWm-9L-JdB">
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="oWm-9L-JdB">
|
||||
<rect key="frame" x="162" y="6" width="256" height="60"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="60" id="ftG-DD-6CD"/>
|
||||
@@ -477,7 +477,7 @@
|
||||
<action selector="setProfileLevel:" target="-2" id="fhj-D3-61K"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="jin-Xn-WJl">
|
||||
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="jin-Xn-WJl">
|
||||
<rect key="frame" x="18" y="74" width="141" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="H.264 Video Profile/Level:" id="nrd-22-FZl">
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
|
||||
@@ -119,7 +119,7 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
|
||||
}
|
||||
|
||||
@IBAction func addChapter(_ sender: Any) {
|
||||
track.addChapter("Chapter", duration: 0)
|
||||
track.addChapter("Chapter", timestamp: 0)
|
||||
|
||||
tableView.reloadData()
|
||||
updateChangeCount()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import Quartz
|
||||
import UniformTypeIdentifiers
|
||||
import MP42Foundation
|
||||
|
||||
extension NSPasteboard.PasteboardType {
|
||||
@@ -137,7 +137,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
}
|
||||
|
||||
override func viewWillAppear() {
|
||||
let zoomValue = Prefs.movieArtworkSelectorZoomLevel
|
||||
let zoomValue = zoomLevel
|
||||
setZoomValue(zoomValue)
|
||||
zoomSlider.floatValue = zoomValue
|
||||
}
|
||||
@@ -1262,6 +1262,15 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
}
|
||||
}
|
||||
|
||||
var zoomLevel: Float {
|
||||
get {
|
||||
Prefs.movieArtworkSelectorZoomLevel
|
||||
}
|
||||
set (value) {
|
||||
Prefs.movieArtworkSelectorZoomLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
private func setZoomValue(_ newZoomValue: Float) {
|
||||
if let layout = artworksView.collectionViewLayout as? NSCollectionViewFlowLayout {
|
||||
if newZoomValue == 50 {
|
||||
@@ -1281,7 +1290,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
|
||||
@IBAction func zoomSliderDidChange(_ sender: NSControl) {
|
||||
setZoomValue(sender.floatValue)
|
||||
Prefs.movieArtworkSelectorZoomLevel = sender.floatValue
|
||||
zoomLevel = sender.floatValue
|
||||
}
|
||||
|
||||
func collectionViewDelete(in collectionView: NSCollectionView) {
|
||||
@@ -1310,4 +1319,9 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
}
|
||||
}
|
||||
|
||||
func collectionViewCut(in collectionView: NSCollectionView) {
|
||||
collectionViewCopy(in: collectionView)
|
||||
collectionViewDelete(in: collectionView)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,12 +25,27 @@
|
||||
/* 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" = "Nessuno";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Qdb-gu-B3h"; */
|
||||
"Qdb-gu-B3h.title" = "Nessuno";
|
||||
|
||||
/* 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:";
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/* Class = "NSTextFieldCell"; title = "Scaled Size:"; ObjectID = "1O9-J3-Plk"; */
|
||||
"1O9-J3-Plk.title" = "Dimensioni in scala:";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "3"; ObjectID = "3D2-8h-I0N"; */
|
||||
"3D2-8h-I0N.title" = "3";
|
||||
|
||||
/* Class = "NSTabViewItem"; label = "Visual Settings"; ObjectID = "6"; */
|
||||
"6.label" = "Impostazioni visive";
|
||||
|
||||
@@ -25,6 +28,9 @@
|
||||
/* 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)";
|
||||
|
||||
@@ -37,6 +43,9 @@
|
||||
/* 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" = "pixel";
|
||||
|
||||
@@ -100,6 +109,9 @@
|
||||
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
|
||||
"nrd-22-FZl.title" = "Profilo/Livello video H.264:";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Undefined (2-2-2)"; ObjectID = "Pxl-vS-IAs"; */
|
||||
"Pxl-vS-IAs.title" = "Non definito (2-2-2)";
|
||||
|
||||
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
|
||||
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "Numeratore rapporto proporzioni";
|
||||
|
||||
@@ -112,6 +124,9 @@
|
||||
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Width"; ObjectID = "r90-c5-7PH"; */
|
||||
"r90-c5-7PH.ibExternalAccessibilityDescription" = "Larghezza dimensione in scala";
|
||||
|
||||
/* 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" = "Dimensioni normali:";
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ final class Queue {
|
||||
|
||||
private let url: URL
|
||||
|
||||
private let logger = Logger.shared
|
||||
|
||||
enum Status {
|
||||
case unknown
|
||||
case working
|
||||
@@ -157,9 +159,12 @@ final class Queue {
|
||||
let result = self.process(currentItem)
|
||||
if .completed == result {
|
||||
completed += 1
|
||||
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " completed")
|
||||
} else if .failed == result {
|
||||
failed += 1
|
||||
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " failed")
|
||||
} else if .cancelled == result {
|
||||
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " cancelled")
|
||||
break
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -67,7 +67,11 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
||||
toolbar.delegate = toolbarDelegate
|
||||
toolbar.allowsUserCustomization = true
|
||||
toolbar.autosavesConfiguration = true
|
||||
toolbar.displayMode = .iconAndLabel
|
||||
if #available(macOS 26, *) {
|
||||
toolbar.displayMode = .iconAndLabel
|
||||
} else {
|
||||
toolbar.displayMode = .iconOnly
|
||||
}
|
||||
self.window?.toolbar = toolbar
|
||||
|
||||
table.registerForDraggedTypes([NSPasteboard.PasteboardType.fileURL, tablePasteboardType])
|
||||
|
||||
@@ -45,3 +45,27 @@ import Foundation
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@objc(SBQueueRemoveCompletedScriptCommand) class QueueRemoveCompletedScriptCommand: NSScriptCommand {
|
||||
|
||||
@MainActor override func performDefaultImplementation() -> Any? {
|
||||
QueueController.shared.removeCompletedItems(self)
|
||||
return nil
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@objc(SBQueueStatusScriptCommand) class SBQueueStatusScriptCommand: NSScriptCommand {
|
||||
|
||||
@MainActor override func performDefaultImplementation() -> Any? {
|
||||
switch QueueController.shared.status {
|
||||
case .unknown:
|
||||
return 0 // idle
|
||||
case .working:
|
||||
return 1 // running
|
||||
case .completed:
|
||||
return 2 // completed
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -24,7 +24,7 @@ class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
label: NSLocalizedString("Add Item", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Add an item to the queue", comment: "Toolbar"),
|
||||
image: "NSAddTemplate",
|
||||
symbolName: "plus",
|
||||
symbolName: "doc.badge.plus",
|
||||
target: target,
|
||||
action: #selector(QueueController.open(_:)))
|
||||
} else if itemIdentifier == .queueSettings {
|
||||
@@ -32,7 +32,7 @@ class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
label: NSLocalizedString("Settings", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Show/Hide settings", comment: "Toolbar"),
|
||||
image: "NSActionTemplate",
|
||||
symbolName: "ellipsis.circle",
|
||||
symbolName: "gear",
|
||||
target: target,
|
||||
action: #selector(QueueController.toggleOptions(_:)))
|
||||
} else if itemIdentifier == .queueStartStop {
|
||||
|
||||
+43
-32
@@ -7,6 +7,7 @@
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
import UniformTypeIdentifiers
|
||||
|
||||
final class SaveOptions: NSViewController {
|
||||
|
||||
@@ -18,6 +19,8 @@ final class SaveOptions: NSViewController {
|
||||
|
||||
private weak var doc: Document?
|
||||
private weak var savePanel: NSSavePanel?
|
||||
|
||||
private static let fileTypes = [MP42FileTypeM4V, MP42FileTypeMP4, MP42FileTypeM4A, MP42FileTypeM4B, MP42FileTypeM4R]
|
||||
|
||||
init(doc: Document, savePanel: NSSavePanel) {
|
||||
self.doc = doc
|
||||
@@ -32,27 +35,38 @@ final class SaveOptions: NSViewController {
|
||||
override var nibName: NSNib.Name? {
|
||||
return "SaveOptions"
|
||||
}
|
||||
|
||||
private func setUpFileFormats()
|
||||
{
|
||||
guard let doc = doc else { return }
|
||||
|
||||
let types = doc.writableTypes(for: .saveAsOperation)
|
||||
|
||||
fileFormat.removeAllItems()
|
||||
|
||||
for type in types {
|
||||
let name = UTTypeCopyDescription(type as CFString)?.takeRetainedValue() as String? ?? type
|
||||
fileFormat.addItem(withTitle: name)
|
||||
}
|
||||
}
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
setUpFileFormats()
|
||||
|
||||
guard let doc = doc else { return }
|
||||
|
||||
let formats = doc.writableTypes(for: .saveAsOperation)
|
||||
fileFormat.removeAllItems()
|
||||
|
||||
for format in formats {
|
||||
let name = UTTypeCopyDescription(format as CFString)?.takeRetainedValue() as String? ?? format
|
||||
fileFormat.addItem(withTitle: name)
|
||||
}
|
||||
|
||||
fileFormat.selectItem(at: Prefs.defaultSaveFormat)
|
||||
savePanel?.allowedFileTypes = [Prefs.saveFormat]
|
||||
|
||||
let fileType = Prefs.fileType
|
||||
let index = SaveOptions.fileTypes.firstIndex(of: fileType) ?? 1
|
||||
fileFormat.selectItem(at: index)
|
||||
|
||||
if let filename = doc.mp4.preferredFileName() {
|
||||
savePanel?.nameFieldStringValue = filename
|
||||
}
|
||||
|
||||
setFileType(filenameExtension: fileType)
|
||||
|
||||
_64bit_data.state = Prefs.mp464bitOffset ? .on : .off
|
||||
_64bit_time.state = Prefs.mp464bitTimes ? .on : .off
|
||||
optimize.state = Prefs.mp4SaveAsOptimize ? .on : .off
|
||||
@@ -62,9 +76,8 @@ final class SaveOptions: NSViewController {
|
||||
}
|
||||
}
|
||||
|
||||
func saveUserDefaults()
|
||||
{
|
||||
Prefs.defaultSaveFormat = fileFormat.indexOfSelectedItem
|
||||
func saveUserDefaults() {
|
||||
Prefs.fileType = SaveOptions.fileTypes[fileFormat.indexOfSelectedItem]
|
||||
Prefs.mp464bitOffset = _64bit_data.state == .on
|
||||
Prefs.mp464bitTimes = _64bit_time.state == .on
|
||||
Prefs.mp4SaveAsOptimize = optimize.state == .on
|
||||
@@ -74,24 +87,22 @@ final class SaveOptions: NSViewController {
|
||||
super.viewWillDisappear()
|
||||
saveUserDefaults()
|
||||
}
|
||||
|
||||
@IBAction func setSaveFormat(_ sender: NSPopUpButton) {
|
||||
var requiredFileType = MP42FileTypeM4V
|
||||
switch sender.indexOfSelectedItem {
|
||||
case 0:
|
||||
requiredFileType = MP42FileTypeM4V
|
||||
case 1:
|
||||
requiredFileType = MP42FileTypeMP4
|
||||
case 2:
|
||||
requiredFileType = MP42FileTypeM4A
|
||||
case 3:
|
||||
requiredFileType = MP42FileTypeM4B
|
||||
case 4:
|
||||
requiredFileType = MP42FileTypeM4R
|
||||
default:
|
||||
break
|
||||
|
||||
func setFileType(filenameExtension: String)
|
||||
{
|
||||
if #available(macOS 15.0, *) {
|
||||
let type = UTType(filenameExtension: filenameExtension) ?? .mpeg4Movie
|
||||
savePanel?.currentContentType = type
|
||||
} else {
|
||||
savePanel?.allowedFileTypes = [filenameExtension]
|
||||
}
|
||||
savePanel?.allowedFileTypes = [requiredFileType]
|
||||
Prefs.saveFormat = requiredFileType
|
||||
}
|
||||
|
||||
@IBAction func setSaveFormat(_ sender: NSPopUpButton) {
|
||||
let index = sender.indexOfSelectedItem
|
||||
let selectedFileType = SaveOptions.fileTypes.indices.contains(index) ?
|
||||
SaveOptions.fileTypes[index] : MP42FileTypeMP4
|
||||
|
||||
setFileType(filenameExtension: selectedFileType)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,875 @@
|
||||
//
|
||||
// ScriptCommand.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Michael Mock on 6/9/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import AppKit
|
||||
import MP42Foundation
|
||||
|
||||
// Protocol for universal document targeting
|
||||
protocol ScriptCommandDocumentTargeting {}
|
||||
extension ScriptCommandDocumentTargeting where Self: NSScriptCommand {
|
||||
func targetedDocument() -> Document? {
|
||||
// First, check for explicit document parameters ('into' or 'doc')
|
||||
if let evaluatedArgs = self.evaluatedArguments {
|
||||
if let doc = evaluatedArgs["into"] as? Document {
|
||||
return doc
|
||||
}
|
||||
if let doc = evaluatedArgs["doc"] as? Document {
|
||||
return doc
|
||||
}
|
||||
}
|
||||
|
||||
// Then, try to get document from direct parameter
|
||||
if let directParameter = self.directParameter as? Document {
|
||||
return directParameter
|
||||
}
|
||||
|
||||
// Then, try to get document from receiver specifier (window targeting)
|
||||
if let receiver = self.receiversSpecifier?.objectsByEvaluatingSpecifier as? Document {
|
||||
return receiver
|
||||
}
|
||||
|
||||
// If receiver is a window, get its document
|
||||
if let window = self.receiversSpecifier?.objectsByEvaluatingSpecifier as? NSWindow,
|
||||
let windowController = window.windowController as? DocumentWindowController {
|
||||
return windowController.document as? Document
|
||||
}
|
||||
|
||||
// Finally, fall back to current document (frontmost)
|
||||
return NSDocumentController.shared.currentDocument as? Document
|
||||
}
|
||||
|
||||
func extractFilePath() -> String? {
|
||||
// Try different ways AppleScript might pass a file path
|
||||
if let param = self.directParameter as? String {
|
||||
return param
|
||||
} else if let fileURL = self.directParameter as? URL {
|
||||
return fileURL.path
|
||||
} else if let fileDescriptor = self.directParameter as? [String: Any],
|
||||
let path = fileDescriptor["path"] as? String {
|
||||
return path
|
||||
} else if let specifier = self.directParameter as? NSScriptObjectSpecifier {
|
||||
// Handle AppleScript file references like POSIX file
|
||||
return specifier.key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBImportFileScriptCommand)
|
||||
class SBImportFileScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Get file path using the helper method
|
||||
guard let path = extractFilePath() else {
|
||||
logger.write(toLog: "Script failed to get file parameter - expected file reference or path string")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Get target document using universal method
|
||||
guard let doc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for import")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Perform import into the target document
|
||||
let fileURL = URL(fileURLWithPath: path)
|
||||
|
||||
// Import directly into the target document
|
||||
if let windowController = doc.windowControllers.first {
|
||||
let selector = NSSelectorFromString("importFilesDirectly:")
|
||||
if windowController.responds(to: selector) {
|
||||
let fileURLs = [fileURL]
|
||||
_ = windowController.perform(selector, with: fileURLs)
|
||||
logger.write(toLog: "Script successfully imported file into target document")
|
||||
} else {
|
||||
logger.write(toLog: "importFilesDirectly method not found on target document")
|
||||
}
|
||||
} else {
|
||||
logger.write(toLog: "No window controller found for target document")
|
||||
}
|
||||
|
||||
return path
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBFetchMetadataScriptCommand)
|
||||
class SBFetchMetadataScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for fetching metadata")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Access the MP42File through the custom Document subclass
|
||||
let mp4File = sublerDoc.mp4
|
||||
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
|
||||
|
||||
// Perform headless metadata search with completion handling
|
||||
searchMetadata(terms: searchTerms) { metadata in
|
||||
DispatchQueue.main.async {
|
||||
if let metadata = metadata {
|
||||
// Apply the metadata to the file
|
||||
mp4File.metadata.merge(metadata)
|
||||
sublerDoc.updateChangeCount(.changeDone)
|
||||
|
||||
// Trigger UI refresh by calling reloadData on the window controller
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.reloadData()
|
||||
}
|
||||
|
||||
// Log the metadata that was applied
|
||||
let metadataCount = mp4File.metadata.items.count
|
||||
logger.write(toLog: "Script successfully applied \(metadataCount) metadata items")
|
||||
} else {
|
||||
logger.write(toLog: "No metadata found")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
private func searchMetadata(terms: MetadataSearchTerms, completion: @escaping (MP42Metadata?) -> Void) {
|
||||
var metadata: MetadataResult? = nil
|
||||
|
||||
// Use default services and settings
|
||||
let movieService = MetadataSearch.defaultMovieService
|
||||
let tvShowService = MetadataSearch.defaultTVService
|
||||
|
||||
// Get user preferences for artwork from Queue preferences
|
||||
let queuePrefs = QueuePreferences()
|
||||
let preferredArtwork = ArtworkType(rawValue: queuePrefs.providerArtwork) ?? .poster
|
||||
let preferredArtworkSize = ArtworkSize(rawValue: queuePrefs.providerArtworkSize) ?? .standard
|
||||
|
||||
switch terms {
|
||||
case let .movie(title):
|
||||
let movieSearch = MetadataSearch.movieSeach(service: movieService, movie: title, language: MetadataSearch.defaultLanguage(service: movieService, type: .movie))
|
||||
_ = movieSearch.search(completionHandler: { results in
|
||||
if let result = results.first {
|
||||
_ = movieSearch.loadAdditionalMetadata(result, completionHandler: { additionalMetadata in
|
||||
metadata = additionalMetadata
|
||||
|
||||
// Handle artwork similar to QueueMetadataAction
|
||||
if let metadataResult = metadata {
|
||||
let artworks = metadataResult.remoteArtworks
|
||||
|
||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||
let artwork: Artwork? = {
|
||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
|
||||
return artwork
|
||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
|
||||
return artwork
|
||||
} else {
|
||||
return artworks.first
|
||||
}
|
||||
}()
|
||||
|
||||
// Load and add artwork to metadata result BEFORE mapping
|
||||
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
|
||||
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
|
||||
metadataResult.artworks.append(mp42Image)
|
||||
}
|
||||
}
|
||||
|
||||
// Map the metadata using the same logic as QueueAction (now includes artwork)
|
||||
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
|
||||
completion(mappedMetadata)
|
||||
} else {
|
||||
completion(nil)
|
||||
}
|
||||
}).run()
|
||||
} else {
|
||||
completion(nil)
|
||||
}
|
||||
}).run()
|
||||
|
||||
case let .tvShow(seriesName, season, episode):
|
||||
let tvSearch = MetadataSearch.tvSearch(service: tvShowService, tvShow: seriesName, season: season, episode: episode, language: MetadataSearch.defaultLanguage(service: tvShowService, type: .tvShow))
|
||||
_ = tvSearch.search(completionHandler: { results in
|
||||
if let result = results.first {
|
||||
_ = tvSearch.loadAdditionalMetadata(result, completionHandler: { additionalMetadata in
|
||||
metadata = additionalMetadata
|
||||
|
||||
// Handle artwork similar to QueueMetadataAction
|
||||
if let metadataResult = metadata {
|
||||
let artworks = metadataResult.remoteArtworks
|
||||
|
||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||
let artwork: Artwork? = {
|
||||
if let artwork = artworks.filter(by: preferredArtwork, size: preferredArtworkSize, service: tvShowService.name) {
|
||||
return artwork
|
||||
} else if let artwork = artworks.filter(by: .season, size: preferredArtworkSize, service: tvShowService.name) {
|
||||
return artwork
|
||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
|
||||
return artwork
|
||||
} else {
|
||||
return artworks.first
|
||||
}
|
||||
}()
|
||||
|
||||
// Load and add artwork to metadata result BEFORE mapping
|
||||
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
|
||||
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
|
||||
metadataResult.artworks.append(mp42Image)
|
||||
}
|
||||
}
|
||||
|
||||
// Map the metadata using the same logic as QueueAction (now includes artwork)
|
||||
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
|
||||
completion(mappedMetadata)
|
||||
} else {
|
||||
completion(nil)
|
||||
}
|
||||
}).run()
|
||||
} else {
|
||||
completion(nil)
|
||||
}
|
||||
}).run()
|
||||
|
||||
case .none:
|
||||
completion(nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBOrganizeAlternateGroupsScriptCommand)
|
||||
class SBOrganizeAlternateGroupsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for organizing alternate groups")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the existing IBAction instead of duplicating logic
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.iTunesFriendlyTrackGroups(self)
|
||||
logger.write(toLog: "Script successfully organized alternate groups")
|
||||
} else {
|
||||
logger.write(toLog: "No window controller found for organizing alternate groups")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBClearTrackNamesScriptCommand)
|
||||
class SBClearTrackNamesScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for clearing track names")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the existing IBAction instead of duplicating logic
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.clearTrackNames(self)
|
||||
logger.write(toLog: "Script successfully cleared all track names")
|
||||
} else {
|
||||
logger.write(toLog: "No window controller found for clearing track names")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBPrettifyAudioTrackNamesScriptCommand)
|
||||
class SBPrettifyAudioTrackNamesScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for prettifying audio track names")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the existing IBAction instead of duplicating logic
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.prettifyAudioTrackNames(self)
|
||||
logger.write(toLog: "Script successfully prettified audio track names")
|
||||
} else {
|
||||
logger.write(toLog: "No window controller found for prettifying audio track names")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBFixAudioFallbacksScriptCommand)
|
||||
class SBFixAudioFallbacksScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for fixing audio fallbacks")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the existing IBAction instead of duplicating logic
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.fixAudioFallbacks(self)
|
||||
logger.write(toLog: "Script successfully fixed audio fallbacks")
|
||||
} else {
|
||||
logger.write(toLog: "No window controller found for fixing audio fallbacks")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBSaveAsScriptCommand)
|
||||
class SBSaveAsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Get the target document (frontmost or specified)
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for save as operation")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the helper method to extract the destination path
|
||||
guard let path = extractFilePath() else {
|
||||
return nil
|
||||
}
|
||||
|
||||
let destinationURL = URL(fileURLWithPath: path)
|
||||
let fileName = destinationURL.lastPathComponent
|
||||
|
||||
// Build options dictionary with 64-bit settings from UI preferences
|
||||
var options: [String: Any] = [:]
|
||||
options[MP4264BitData] = Prefs.mp464bitOffset
|
||||
options[MP4264BitTime] = Prefs.mp464bitTimes
|
||||
|
||||
// Get the window controller for progress reporting
|
||||
guard let windowController = sublerDoc.windowControllers.first as? DocumentWindowController else {
|
||||
logger.write(toLog: "No window controller found for progress reporting")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Start progress reporting to show the save modal
|
||||
windowController.startProgressReporting()
|
||||
windowController.setProgress(title: NSLocalizedString("Saving…", comment: "Document Save sheet."))
|
||||
|
||||
// Perform the save operation asynchronously to keep UI responsive
|
||||
DispatchQueue.global(qos: .userInitiated).async {
|
||||
do {
|
||||
try sublerDoc.mp4.write(to: destinationURL, options: options)
|
||||
|
||||
DispatchQueue.main.async {
|
||||
|
||||
// Optimize if requested in UI save dialog preferences
|
||||
if Prefs.mp4SaveAsOptimize {
|
||||
windowController.setProgress(title: NSLocalizedString("Optimizing…", comment: "Document Optimize sheet."))
|
||||
|
||||
// Run optimization on background queue
|
||||
DispatchQueue.global(qos: .userInitiated).async {
|
||||
_ = sublerDoc.mp4.optimize()
|
||||
|
||||
DispatchQueue.main.async {
|
||||
|
||||
// Update the document's file URL and mark as saved
|
||||
sublerDoc.fileURL = destinationURL
|
||||
sublerDoc.updateChangeCount(.changeCleared)
|
||||
|
||||
// End progress reporting and refresh the UI
|
||||
windowController.endProgressReporting()
|
||||
windowController.reloadData()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Update the document's file URL and mark as saved
|
||||
sublerDoc.fileURL = destinationURL
|
||||
sublerDoc.updateChangeCount(.changeCleared)
|
||||
|
||||
// End progress reporting and refresh the UI
|
||||
windowController.endProgressReporting()
|
||||
windowController.reloadData()
|
||||
}
|
||||
}
|
||||
logger.write(toLog: "Script save of \(fileName) completed")
|
||||
} catch {
|
||||
DispatchQueue.main.async {
|
||||
// End progress reporting on error
|
||||
windowController.endProgressReporting()
|
||||
logger.write(toLog: "Failed to save document: \(error.localizedDescription)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return path
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBSendToQueueScriptCommand)
|
||||
class SBSendToQueueScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Get the target document (frontmost or specified)
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for send to queue operation")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Use the helper method to extract the destination path
|
||||
guard let path = extractFilePath() else {
|
||||
return nil
|
||||
}
|
||||
|
||||
let destinationURL = URL(fileURLWithPath: path)
|
||||
let fileName = destinationURL.lastPathComponent
|
||||
|
||||
// Build options dictionary with 64-bit settings from UI preferences
|
||||
var options: [String: Any] = [:]
|
||||
options[MP4264BitData] = Prefs.mp464bitOffset
|
||||
options[MP4264BitTime] = Prefs.mp464bitTimes
|
||||
|
||||
// Create queue item and add to queue
|
||||
let item = QueueItem(mp4: sublerDoc.mp4, destURL: destinationURL, attributes: options, optimize: Prefs.mp4SaveAsOptimize)
|
||||
|
||||
// Add the queue item
|
||||
QueueController.shared.add(item)
|
||||
logger.write(toLog: "Script successfully sent document to queue: \(fileName)")
|
||||
|
||||
// Close the document window since it's now in the queue
|
||||
DispatchQueue.main.async {
|
||||
sublerDoc.close()
|
||||
}
|
||||
|
||||
return path
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBCloseFileScriptCommand)
|
||||
class SBCloseFileScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Get the target document (frontmost or specified)
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for close operation")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Close the document without prompting for unsaved changes
|
||||
DispatchQueue.main.async {
|
||||
sublerDoc.close()
|
||||
}
|
||||
|
||||
logger.write(toLog: "Script successfully closed document")
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBMetadataResult)
|
||||
class SBMetadataResult: NSObject {
|
||||
@objc dynamic var title: String?
|
||||
@objc dynamic var year: NSNumber?
|
||||
@objc dynamic var series: String?
|
||||
@objc dynamic var season: NSNumber?
|
||||
@objc dynamic var episode: NSNumber?
|
||||
@objc dynamic var mediaType: String?
|
||||
|
||||
init(title: String?, year: Int? = nil, series: String? = nil, season: Int? = nil, episode: Int? = nil, mediaType: String?) {
|
||||
self.title = title
|
||||
self.year = year.map { NSNumber(value: $0) }
|
||||
self.series = series
|
||||
self.season = season.map { NSNumber(value: $0) }
|
||||
self.episode = episode.map { NSNumber(value: $0) }
|
||||
self.mediaType = mediaType
|
||||
super.init()
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBFetchMetadataResultsScriptCommand)
|
||||
class SBFetchMetadataResultsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for fetching metadata results")
|
||||
return []
|
||||
}
|
||||
|
||||
// Access the MP42File through the custom Document subclass
|
||||
let mp4File = sublerDoc.mp4
|
||||
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
|
||||
|
||||
logger.write(toLog: "Starting metadata search for terms: \(searchTerms)")
|
||||
|
||||
// Use a semaphore to make this synchronous, but run search on background queue
|
||||
let semaphore = DispatchSemaphore(value: 0)
|
||||
var searchResults: [SBMetadataResult] = []
|
||||
|
||||
// Get the optional limit parameter
|
||||
let limit = self.evaluatedArguments?["limit"] as? Int
|
||||
|
||||
// Get the optional provider and language parameters
|
||||
let provider = self.evaluatedArguments?["provider"] as? String
|
||||
let language = self.evaluatedArguments?["language"] as? String
|
||||
|
||||
// Run the search on a background queue to avoid blocking main thread
|
||||
DispatchQueue.global(qos: .userInitiated).async {
|
||||
self.searchMetadataResults(terms: searchTerms, provider: provider, language: language) { results in
|
||||
searchResults = results ?? []
|
||||
logger.write(toLog: "Metadata search completed with \(searchResults.count) results")
|
||||
semaphore.signal()
|
||||
}
|
||||
}
|
||||
|
||||
// Wait for the search to complete
|
||||
semaphore.wait()
|
||||
|
||||
// Apply limit if specified
|
||||
if let limit = limit, limit > 0 {
|
||||
let limitedResults = Array(searchResults.prefix(limit))
|
||||
searchResults = limitedResults
|
||||
}
|
||||
|
||||
// Convert results to formatted strings
|
||||
let formattedResults = searchResults.map { result in
|
||||
if result.mediaType == "movie" {
|
||||
if let year = result.year {
|
||||
return "Movie: \(result.title ?? "Unknown") (\(year))"
|
||||
} else {
|
||||
return "Movie: \(result.title ?? "Unknown")"
|
||||
}
|
||||
} else if result.mediaType == "tvshow" {
|
||||
var tvString = "TV: "
|
||||
if let series = result.series {
|
||||
tvString += series
|
||||
}
|
||||
if let season = result.season {
|
||||
tvString += " S\(season)"
|
||||
}
|
||||
if let episode = result.episode {
|
||||
tvString += "E\(episode)"
|
||||
}
|
||||
if let title = result.title {
|
||||
tvString += " \(title)"
|
||||
}
|
||||
return tvString.isEmpty ? "Unknown TV Show" : tvString
|
||||
} else {
|
||||
return result.title ?? "Unknown"
|
||||
}
|
||||
}
|
||||
|
||||
logger.write(toLog: "Returning \(formattedResults.count) results")
|
||||
return formattedResults
|
||||
}
|
||||
|
||||
private func searchMetadataResults(terms: MetadataSearchTerms, provider: String? = nil, language: String? = nil, completion: @escaping ([SBMetadataResult]?) -> Void) {
|
||||
// Determine which services to use based on provider parameter
|
||||
let movieService: MetadataService
|
||||
let tvShowService: MetadataService
|
||||
|
||||
if let providerName = provider {
|
||||
// Use the specified provider for both movie and TV searches
|
||||
let service = MetadataSearch.service(name: providerName)
|
||||
movieService = service
|
||||
tvShowService = service
|
||||
} else {
|
||||
// Use default services
|
||||
movieService = MetadataSearch.defaultMovieService
|
||||
tvShowService = MetadataSearch.defaultTVService
|
||||
}
|
||||
|
||||
// Convert language to appropriate format for the service
|
||||
let convertedLanguage: String?
|
||||
if let languageCode = language {
|
||||
if movieService.languageType == .ISO {
|
||||
// For ISO services (TheMovieDB, TheTVDB), use the language code as-is
|
||||
convertedLanguage = languageCode
|
||||
} else {
|
||||
// For custom services (Apple TV, iTunes Store), try to find a matching store
|
||||
let availableLanguages = movieService.languages
|
||||
if let matchingLanguage = availableLanguages.first(where: { $0.lowercased().contains(languageCode.lowercased()) }) {
|
||||
convertedLanguage = matchingLanguage
|
||||
} else {
|
||||
// Fall back to default language if no match found
|
||||
convertedLanguage = movieService.defaultLanguage
|
||||
}
|
||||
}
|
||||
} else {
|
||||
convertedLanguage = nil
|
||||
}
|
||||
|
||||
// Determine which language to use for the search
|
||||
let searchLanguage = convertedLanguage ?? movieService.defaultLanguage
|
||||
|
||||
// Perform the search based on media type
|
||||
switch terms {
|
||||
case .movie(let title):
|
||||
let results = movieService.search(movie: title, language: searchLanguage)
|
||||
|
||||
// Convert MetadataResult to SBMetadataResult
|
||||
let sbResults = results.map { result in
|
||||
// Extract year from releaseDate if it's a string
|
||||
let year: Int? = {
|
||||
if let releaseDate = result[.releaseDate] as? String {
|
||||
// Try to extract year from date string (e.g., "2023-12-25" -> 2023)
|
||||
let components = releaseDate.split(separator: "-")
|
||||
if let yearString = components.first {
|
||||
return Int(yearString)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}()
|
||||
|
||||
return SBMetadataResult(
|
||||
title: result[.name] as? String,
|
||||
year: year,
|
||||
series: nil,
|
||||
season: nil,
|
||||
episode: nil,
|
||||
mediaType: "movie"
|
||||
)
|
||||
}
|
||||
completion(sbResults)
|
||||
|
||||
case .tvShow(let title, let season, let episode):
|
||||
let results = tvShowService.search(tvShow: title, language: searchLanguage, season: season, episode: episode)
|
||||
|
||||
// Convert MetadataResult to SBMetadataResult
|
||||
let sbResults = results.map { result in
|
||||
// Extract year from releaseDate if it's a string
|
||||
let year: Int? = {
|
||||
if let releaseDate = result[.releaseDate] as? String {
|
||||
// Try to extract year from date string (e.g., "2023-12-25" -> 2023)
|
||||
let components = releaseDate.split(separator: "-")
|
||||
if let yearString = components.first {
|
||||
return Int(yearString)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}()
|
||||
|
||||
return SBMetadataResult(
|
||||
title: result[.name] as? String,
|
||||
year: year,
|
||||
series: result[.seriesName] as? String,
|
||||
season: result[.season] as? Int,
|
||||
episode: result[.episodeNumber] as? Int,
|
||||
mediaType: "tvshow"
|
||||
)
|
||||
}
|
||||
completion(sbResults)
|
||||
|
||||
case .none:
|
||||
completion([])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@objc(SBFetchAndSetMetadataResultScriptCommand)
|
||||
class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
|
||||
|
||||
override func performDefaultImplementation() -> Any? {
|
||||
let logger = Logger.shared
|
||||
|
||||
// Get the result index from direct parameter
|
||||
guard let resultIndex = self.directParameter as? Int else {
|
||||
logger.write(toLog: "Missing result index parameter")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Get the optional provider and language parameters
|
||||
let provider = self.evaluatedArguments?["provider"] as? String
|
||||
let language = self.evaluatedArguments?["language"] as? String
|
||||
|
||||
guard let sublerDoc = targetedDocument() else {
|
||||
logger.write(toLog: "No document available for metadata operation")
|
||||
return nil
|
||||
}
|
||||
|
||||
// Access the MP42File through the custom Document subclass
|
||||
let mp4File = sublerDoc.mp4
|
||||
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
|
||||
|
||||
// Perform search and apply the nth result
|
||||
searchMetadataAndSetResult(terms: searchTerms, resultIndex: resultIndex - 1, provider: provider, language: language) { success in
|
||||
DispatchQueue.main.async {
|
||||
if success {
|
||||
// Trigger UI refresh
|
||||
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
|
||||
windowController.reloadData()
|
||||
}
|
||||
logger.write(toLog: "Successfully set metadata result \(resultIndex)")
|
||||
} else {
|
||||
logger.write(toLog: "Failed to set metadata result \(resultIndex) - index out of bounds or no results")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
private func searchMetadataAndSetResult(terms: MetadataSearchTerms, resultIndex: Int, provider: String?, language: String?, completion: @escaping (Bool) -> Void) {
|
||||
// Determine which services to use based on provider parameter
|
||||
let movieService: MetadataService
|
||||
let tvShowService: MetadataService
|
||||
|
||||
if let providerName = provider {
|
||||
// Use the specified provider for both movie and TV searches
|
||||
let service = MetadataSearch.service(name: providerName)
|
||||
movieService = service
|
||||
tvShowService = service
|
||||
} else {
|
||||
// Use default services
|
||||
movieService = MetadataSearch.defaultMovieService
|
||||
tvShowService = MetadataSearch.defaultTVService
|
||||
}
|
||||
|
||||
// Convert language to appropriate format for the service
|
||||
let convertedLanguage: String?
|
||||
if let languageCode = language {
|
||||
if movieService.languageType == .ISO {
|
||||
// For ISO services (TheMovieDB, TheTVDB), use the language code as-is
|
||||
convertedLanguage = languageCode
|
||||
} else {
|
||||
// For custom services (Apple TV, iTunes Store), try to find a matching store
|
||||
let availableLanguages = movieService.languages
|
||||
if let matchingLanguage = availableLanguages.first(where: { $0.lowercased().contains(languageCode.lowercased()) }) {
|
||||
convertedLanguage = matchingLanguage
|
||||
} else {
|
||||
// Fall back to default language if no match found
|
||||
convertedLanguage = movieService.defaultLanguage
|
||||
}
|
||||
}
|
||||
} else {
|
||||
convertedLanguage = nil
|
||||
}
|
||||
|
||||
// Determine which language to use for the search
|
||||
let searchLanguage = convertedLanguage ?? movieService.defaultLanguage
|
||||
|
||||
// Get user preferences for artwork from Queue preferences
|
||||
let queuePrefs = QueuePreferences()
|
||||
let preferredArtwork = ArtworkType(rawValue: queuePrefs.providerArtwork) ?? .poster
|
||||
let preferredArtworkSize = ArtworkSize(rawValue: queuePrefs.providerArtworkSize) ?? .standard
|
||||
|
||||
// Perform the search based on media type
|
||||
switch terms {
|
||||
case let .movie(title):
|
||||
let movieSearch = MetadataSearch.movieSeach(service: movieService, movie: title, language: searchLanguage)
|
||||
_ = movieSearch.search(completionHandler: { results in
|
||||
if resultIndex >= 0 && resultIndex < results.count {
|
||||
let selectedResult = results[resultIndex]
|
||||
|
||||
// Load additional metadata for the selected result
|
||||
_ = movieSearch.loadAdditionalMetadata(selectedResult, completionHandler: { metadataResult in
|
||||
// Handle artwork similar to QueueMetadataAction
|
||||
let artworks = metadataResult.remoteArtworks
|
||||
|
||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||
let artwork: Artwork? = {
|
||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
|
||||
return artwork
|
||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
|
||||
return artwork
|
||||
} else {
|
||||
return artworks.first
|
||||
}
|
||||
}()
|
||||
|
||||
// Load and add artwork to metadata result BEFORE mapping
|
||||
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
|
||||
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
|
||||
metadataResult.artworks.append(mp42Image)
|
||||
}
|
||||
}
|
||||
|
||||
// Map the metadata using the same logic as QueueAction
|
||||
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
|
||||
|
||||
// Apply the metadata
|
||||
DispatchQueue.main.async {
|
||||
if let sublerDoc = self.targetedDocument() {
|
||||
sublerDoc.mp4.metadata.merge(mappedMetadata)
|
||||
sublerDoc.updateChangeCount(.changeDone)
|
||||
completion(true)
|
||||
} else {
|
||||
completion(false)
|
||||
}
|
||||
}
|
||||
}).run()
|
||||
} else {
|
||||
completion(false)
|
||||
}
|
||||
}).run()
|
||||
|
||||
case let .tvShow(title, season, episode):
|
||||
let tvSearch = MetadataSearch.tvSearch(service: tvShowService, tvShow: title, season: season, episode: episode, language: searchLanguage)
|
||||
_ = tvSearch.search(completionHandler: { results in
|
||||
if resultIndex >= 0 && resultIndex < results.count {
|
||||
let selectedResult = results[resultIndex]
|
||||
|
||||
// Load additional metadata for the selected result
|
||||
_ = tvSearch.loadAdditionalMetadata(selectedResult, completionHandler: { metadataResult in
|
||||
// Handle artwork similar to QueueMetadataAction
|
||||
let artworks = metadataResult.remoteArtworks
|
||||
|
||||
if preferredArtwork != .none && artworks.isEmpty == false {
|
||||
let artwork: Artwork? = {
|
||||
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
|
||||
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: tvShowService.name) {
|
||||
return artwork
|
||||
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
|
||||
return artwork
|
||||
} else {
|
||||
return artworks.first
|
||||
}
|
||||
}()
|
||||
|
||||
// Load and add artwork to metadata result BEFORE mapping
|
||||
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
|
||||
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
|
||||
metadataResult.artworks.append(mp42Image)
|
||||
}
|
||||
}
|
||||
|
||||
// Map the metadata using the same logic as QueueAction
|
||||
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
|
||||
|
||||
// Apply the metadata
|
||||
DispatchQueue.main.async {
|
||||
if let sublerDoc = self.targetedDocument() {
|
||||
sublerDoc.mp4.metadata.merge(mappedMetadata)
|
||||
sublerDoc.updateChangeCount(.changeDone)
|
||||
completion(true)
|
||||
} else {
|
||||
completion(false)
|
||||
}
|
||||
}
|
||||
}).run()
|
||||
} else {
|
||||
completion(false)
|
||||
}
|
||||
}).run()
|
||||
case .none:
|
||||
completion(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"; */
|
||||
"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"; */
|
||||
"kQC-bu-0by.title" = "Imposta il nome del file delle Serie TV a:";
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
|
||||
"87e-za-hJV.ibShadowedToolTip" = "Chiudi";
|
||||
|
||||
/* Class = "NSWindow"; title = "Window"; ObjectID = "167"; */
|
||||
"167.title" = "Finestra";
|
||||
|
||||
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "174"; */
|
||||
"174.title" = "Nome:";
|
||||
|
||||
|
||||
+22
-8
@@ -22,9 +22,13 @@
|
||||
<string>com.apple.protected-mpeg-4-video</string>
|
||||
</array>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>mp4</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Movie-MPEG4</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
@@ -36,9 +40,13 @@
|
||||
<string>public.mpeg-4</string>
|
||||
</array>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>m4a</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Audio-MPEG4</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
@@ -50,9 +58,13 @@
|
||||
<string>public.mpeg-4-audio</string>
|
||||
</array>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>m4b</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Audiobook</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
@@ -64,7 +76,7 @@
|
||||
<string>com.apple.protected-mpeg-4-audio</string>
|
||||
</array>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
@@ -80,7 +92,7 @@
|
||||
<string>com.apple.mpeg-4-ringtone</string>
|
||||
</array>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
@@ -96,7 +108,7 @@
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Alternate</string>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
@@ -110,7 +122,7 @@
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Alternate</string>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>Subler.Document</string>
|
||||
<string>SBDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
@@ -158,13 +170,15 @@
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>OSAScriptingDefinition</key>
|
||||
<string>Queue.sdef</string>
|
||||
<string>Subler.sdef</string>
|
||||
<key>SUAllowsAutomaticUpdates</key>
|
||||
<false/>
|
||||
<key>SUFeedURL</key>
|
||||
<string>https://subler.org/appcast/appcast.xml</string>
|
||||
<key>SUPublicEDKey</key>
|
||||
<string>9M0JrgMq+5MrpLqTu7lT+ffThP8dRp78OQNTklwK/WE=</string>
|
||||
<key>NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac</key>
|
||||
<true/>
|
||||
<key>UTImportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
||||
+1
-1
Submodule MP42Foundation updated: 47aadecfff...ab939411c3.
+38
-2
@@ -1,9 +1,45 @@
|
||||
# Subler News
|
||||
|
||||
## 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
|
||||
|
||||
- Updated UI for macOS 26
|
||||
- Preserves extended language tags from Matroska files
|
||||
- Fixed the services ids in the metadata map
|
||||
|
||||
|
||||
## Subler 1.8.9
|
||||
|
||||
- Expanded the AppleScript dictionary [Mock1]
|
||||
- Added additional keyboard shortcuts [Mock1]
|
||||
- Added support for unofficial metadata often used for Audiobooks
|
||||
- Make it possible to use the services ids in the metadata map
|
||||
- Fixed the "Insert a chaper at the beginning" menu item action
|
||||
- Fixed Swedish Ratings
|
||||
- Fixed the "None" artwork option in the Queue
|
||||
|
||||
|
||||
## Subler 1.8.8
|
||||
|
||||
- Fixed a crash that happened when editing a preset
|
||||
|
||||
|
||||
## Subler 1.8.7
|
||||
|
||||
- Preserves additional metadata from Matroska
|
||||
- Fixed a regression tha made the "Send to queue" and "Queue" toolbar button unclickable
|
||||
- Fixed a regression that made the "Send to queue" and "Queue" toolbar button unclickable
|
||||
|
||||
|
||||
## Subler 1.8.6
|
||||
@@ -161,7 +197,7 @@
|
||||
## Subler 1.5.22
|
||||
|
||||
* "4k" is not set automatically anymore because the AppleTV won't stream mp4 with such metadata.
|
||||
* Fixes an an additional issue that could led to a crash when importing a 5.1 channels ac3 file on macOS 10.15.
|
||||
* Fixes an issue that could led to a crash when importing a 5.1 channels ac3 file on macOS 10.15.
|
||||
* Fixes Indian iTunes Store.
|
||||
|
||||
|
||||
|
||||
-98
@@ -1,98 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
|
||||
<dictionary title="Subler Terminology" xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||
|
||||
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
|
||||
|
||||
<suite name="Subler Suite" code="sktc" description="Classes just for the Subler application.">
|
||||
<cocoa name="Subler" />
|
||||
<enumeration name="saveable file format" code="savf">
|
||||
<enumerator name="Video-MPEG4" code="M4V " description="Video-MPEG4">
|
||||
<cocoa string-value="com.apple.protected-mpeg-4-video"/>
|
||||
</enumerator>
|
||||
<enumerator name="Movie-MPEG4" code="MP4 " description="MPEG-4">
|
||||
<cocoa string-value="public.mpeg-4"/>
|
||||
</enumerator>
|
||||
<enumerator name="Audio-MPEG4" code="M4A " description="Audio-MPEG4">
|
||||
<cocoa string-value="public.mpeg-4-audio"/>
|
||||
</enumerator>
|
||||
</enumeration>
|
||||
|
||||
<class-extension extends="document" description="A Subler document.">
|
||||
<cocoa class="SBDocument" />
|
||||
</class-extension>
|
||||
|
||||
</suite>
|
||||
|
||||
<suite name="Queue Suite" code="ScTa" description="Queue 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>
|
||||
|
||||
<command name="add to queue" code="QueueAdd" description="Add a file to queue.">
|
||||
<cocoa class="SBQueueScriptCommand"/>
|
||||
<direct-parameter description="The file(s) to be added.">
|
||||
<type type="file" list="yes"/>
|
||||
</direct-parameter>
|
||||
</command>
|
||||
|
||||
<command name="start queue and wait" code="QueueStw" description="Start the queue and wait until its completion.">
|
||||
<cocoa class="SBQueueStartAndWaitScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="start queue" code="QueueSta" description="Start the queue.">
|
||||
<cocoa class="SBQueueStartScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="stop queue" code="QueueSto" description="Stop the queue.">
|
||||
<cocoa class="SBQueueStopScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<enumeration name="queue item status" code="Qsta" description="A status">
|
||||
<enumerator name="ready" code="STA1" description="Ready status.">
|
||||
<cocoa integer-value="0"/>
|
||||
</enumerator>
|
||||
<enumerator name="editing" code="STA2" description="Editing status.">
|
||||
<cocoa integer-value="1"/>
|
||||
</enumerator>
|
||||
<enumerator name="working" code="STA3" description="Working status.">
|
||||
<cocoa integer-value="2"/>
|
||||
</enumerator>
|
||||
<enumerator name="completed" code="STA4" description="Completed status.">
|
||||
<cocoa integer-value="3"/>
|
||||
</enumerator>
|
||||
<enumerator name="failed" code="STA5" description="Failed status.">
|
||||
<cocoa integer-value="4"/>
|
||||
</enumerator>
|
||||
<enumerator name="cancelled" code="STA6" description="Cancelled status.">
|
||||
<cocoa integer-value="5"/>
|
||||
</enumerator>
|
||||
</enumeration>
|
||||
|
||||
<class name="queue item" code="QIte" description="A queue item" inherits="item" plural="queue items">
|
||||
<cocoa class="SBQueueItem"/>
|
||||
|
||||
<property name="id" code="ID " type="text" access="r" description="The unique identifier of the queue item.">
|
||||
<cocoa key="uniqueID"/>
|
||||
</property>
|
||||
|
||||
<property name="status" code="StAt" type="queue item status" access="r" description="The status of the queue item.">
|
||||
</property>
|
||||
|
||||
<property name="name" code="pnam" type="text" access="r" description="The name of the queue item.">
|
||||
</property>
|
||||
|
||||
<property name="sourcePath" code="SOUR" type="text" access="r" description="The source URL of the queue item.">
|
||||
<cocoa key="sourcePath"/>
|
||||
</property>
|
||||
|
||||
<property name="destinationPath" code="DEST" type="text" access="r" description="The destination URL of the queue item.">
|
||||
<cocoa key="destinationPath"/>
|
||||
</property>
|
||||
|
||||
</class>
|
||||
|
||||
</suite>
|
||||
</dictionary>
|
||||
+6
-6
@@ -206,12 +206,12 @@
|
||||
"country" : "Sverige",
|
||||
"storeCode" : 143456,
|
||||
"ratings" : [
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "A", "itunes-value" : "000", "description" : "Barntillåten" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "7", "itunes-value" : "125", "description" : "Från 7 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "11", "itunes-value" : "225", "description" : "Från 11 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "15", "itunes-value" : "400", "description" : "Från 15 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Ocensurerad" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Inte klassificerad" }
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Barntillåten", "itunes-value" : "000", "description" : "Barntillåten" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 7 År", "itunes-value" : "125", "description" : "Från 7 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 11 År", "itunes-value" : "225", "description" : "Från 11 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 15 År", "itunes-value" : "400", "description" : "Från 15 år" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Ocensurerad" },
|
||||
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Inte klassificerad" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
+202
@@ -0,0 +1,202 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE dictionary SYSTEM "file:///localhost/System/Library/DTDs/sdef.dtd">
|
||||
<dictionary title="Subler Terminology" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
|
||||
|
||||
|
||||
<suite name="Subler Automation Suite" code="Subl" description="Automation functions for Subler.">
|
||||
|
||||
<!-- Commands -->
|
||||
|
||||
<!-- File Commands -->
|
||||
<command name="import file" code="SublFilI" description="Import a file into the active document.">
|
||||
<cocoa class="SBImportFileScriptCommand" />
|
||||
<direct-parameter description="The file to import.">
|
||||
<type type="file" />
|
||||
</direct-parameter>
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to import into." />
|
||||
</command>
|
||||
|
||||
<command name="save as" code="SublSave" description="Save the active document to a file.">
|
||||
<cocoa class="SBSaveAsScriptCommand" />
|
||||
<direct-parameter description="The destination file path.">
|
||||
<type type="file" />
|
||||
</direct-parameter>
|
||||
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to save." />
|
||||
</command>
|
||||
|
||||
<command name="send to queue" code="SublSenQ" description="Send the active document to the queue.">
|
||||
<cocoa class="SBSendToQueueScriptCommand" />
|
||||
<direct-parameter description="The destination file path.">
|
||||
<type type="file" />
|
||||
</direct-parameter>
|
||||
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to send to queue." />
|
||||
</command>
|
||||
|
||||
<command name="close document" code="SublClos" description="Close the active document window without prompting for unsaved changes.">
|
||||
<cocoa class="SBCloseFileScriptCommand" />
|
||||
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to close." />
|
||||
</command>
|
||||
|
||||
<!-- Metadata Commands -->
|
||||
<command name="fetch metadata" code="SublMeta" description="Fetch metadata for the active document.">
|
||||
<cocoa class="SBFetchMetadataScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fetch metadata for." />
|
||||
</command>
|
||||
|
||||
<command name="fetch metadata candidates" code="SublFRes" description="Fetch metadata results without applying them.">
|
||||
<cocoa class="SBFetchMetadataResultsScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fetch metadata candidates for." />
|
||||
<parameter name="limit" code="limt" type="integer" optional="yes" description="Maximum number of results to return." />
|
||||
<parameter name="provider" code="prov" type="text" optional="yes" description="Metadata provider to use (Apple TV, TheMovieDB, TheTVDB, iTunes Store)." />
|
||||
<parameter name="language" code="lang" type="text" optional="yes" description="Language for metadata search (e.g., 'en', 'es', 'fr')." />
|
||||
<result description="The metadata results.">
|
||||
<type type="text" list="yes"/>
|
||||
</result>
|
||||
</command>
|
||||
|
||||
<command name="fetch and set metadata candidate" code="SublSetM" description="Fetch metadata and set the specified result.">
|
||||
<cocoa class="SBFetchAndSetMetadataResultScriptCommand" />
|
||||
<direct-parameter description="The result index to set (1-based).">
|
||||
<type type="integer" />
|
||||
</direct-parameter>
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to set metadata for." />
|
||||
<parameter name="provider" code="prov" type="text" optional="yes" description="Metadata provider to use (Apple TV, TheMovieDB, TheTVDB, iTunes Store)." />
|
||||
<parameter name="language" code="lang" type="text" optional="yes" description="Language for metadata search (e.g., 'en', 'es', 'fr')." />
|
||||
</command>
|
||||
|
||||
<!-- Edit Commands -->
|
||||
<command name="organize alternate groups" code="SublOrgG" description="Organize alternate audio groups.">
|
||||
<cocoa class="SBOrganizeAlternateGroupsScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to organize alternate groups for." />
|
||||
</command>
|
||||
|
||||
<command name="clear track names" code="SublClea" description="Clear all track names.">
|
||||
<cocoa class="SBClearTrackNamesScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to clear track names for." />
|
||||
</command>
|
||||
|
||||
<command name="prettify audio track names" code="SublPret" description="Prettify audio track names.">
|
||||
<cocoa class="SBPrettifyAudioTrackNamesScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to prettify audio track names for." />
|
||||
</command>
|
||||
|
||||
<command name="fix audio fallbacks" code="SublFixF" description="Fix audio fallback settings.">
|
||||
<cocoa class="SBFixAudioFallbacksScriptCommand" />
|
||||
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fix audio fallbacks for." />
|
||||
</command>
|
||||
|
||||
<!-- Queue Commands -->
|
||||
<command name="add to queue" code="SublQAdd" description="Add a file to queue.">
|
||||
<cocoa class="SBQueueScriptCommand"/>
|
||||
<direct-parameter description="The file(s) to be added.">
|
||||
<type type="file" list="yes"/>
|
||||
</direct-parameter>
|
||||
</command>
|
||||
|
||||
<command name="start queue and wait" code="SublQStw" description="Start the queue and wait until its completion.">
|
||||
<cocoa class="SBQueueStartAndWaitScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="start queue" code="SublQSta" description="Start the queue.">
|
||||
<cocoa class="SBQueueStartScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="stop queue" code="SublQSto" description="Stop the queue.">
|
||||
<cocoa class="SBQueueStopScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="remove completed items from queue" code="SublQRem" description="Remove all completed items from the queue.">
|
||||
<cocoa class="SBQueueRemoveCompletedScriptCommand"/>
|
||||
</command>
|
||||
|
||||
<command name="get queue status" code="SublQSts" description="Get the current status of the queue.">
|
||||
<cocoa class="SBQueueStatusScriptCommand"/>
|
||||
<result description="The status of the queue.">
|
||||
<type type="queue status"/>
|
||||
</result>
|
||||
</command>
|
||||
|
||||
<!-- Queue Enumerations -->
|
||||
<enumeration name="queue status" code="QSts" description="The status of the queue.">
|
||||
<enumerator name="idle" code="QIDL" description="Queue is idle.">
|
||||
<cocoa integer-value="0"/>
|
||||
</enumerator>
|
||||
<enumerator name="running" code="QRUN" description="Queue is running.">
|
||||
<cocoa integer-value="1"/>
|
||||
</enumerator>
|
||||
<enumerator name="completed" code="QCOM" description="Queue has completed.">
|
||||
<cocoa integer-value="2"/>
|
||||
</enumerator>
|
||||
</enumeration>
|
||||
|
||||
<enumeration name="queue item status" code="QISt" description="A status">
|
||||
<enumerator name="ready" code="STA1" description="Ready status.">
|
||||
<cocoa integer-value="0"/>
|
||||
</enumerator>
|
||||
<enumerator name="editing" code="STA2" description="Editing status.">
|
||||
<cocoa integer-value="1"/>
|
||||
</enumerator>
|
||||
<enumerator name="working" code="STA3" description="Working status.">
|
||||
<cocoa integer-value="2"/>
|
||||
</enumerator>
|
||||
<enumerator name="completed" code="STA4" description="Completed status.">
|
||||
<cocoa integer-value="3"/>
|
||||
</enumerator>
|
||||
<enumerator name="failed" code="STA5" description="Failed status.">
|
||||
<cocoa integer-value="4"/>
|
||||
</enumerator>
|
||||
<enumerator name="cancelled" code="STA6" description="Cancelled status.">
|
||||
<cocoa integer-value="5"/>
|
||||
</enumerator>
|
||||
</enumeration>
|
||||
|
||||
<!-- Queue Classes -->
|
||||
<class name="document" code="docu" description="A Subler document" plural="documents">
|
||||
<cocoa class="SBDocument"/>
|
||||
<property name="id" code="ID " type="integer" access="r" description="The unique identifier of the document.">
|
||||
<cocoa key="uniqueID"/>
|
||||
</property>
|
||||
<property name="name" code="pnam" type="text" access="r" description="The name of the document.">
|
||||
<cocoa key="displayName"/>
|
||||
</property>
|
||||
<property name="modified" code="imod" type="boolean" access="r" description="Whether the document has been modified.">
|
||||
<cocoa key="isDocumentEdited"/>
|
||||
</property>
|
||||
<property name="file" code="file" type="file" access="r" description="The file associated with the document.">
|
||||
<cocoa key="fileURL"/>
|
||||
</property>
|
||||
</class>
|
||||
|
||||
<class name="queue item" code="QIte" description="A queue item" inherits="item" plural="queue items">
|
||||
<cocoa class="SBQueueItem"/>
|
||||
|
||||
<property name="id" code="ID " type="text" access="r" description="The unique identifier of the queue item.">
|
||||
<cocoa key="uniqueID"/>
|
||||
</property>
|
||||
|
||||
<property name="status" code="StAt" type="queue item status" access="r" description="The status of the queue item.">
|
||||
</property>
|
||||
|
||||
<property name="name" code="pnam" type="text" access="r" description="The name of the queue item.">
|
||||
</property>
|
||||
|
||||
<property name="sourcePath" code="SOUR" type="text" access="r" description="The source URL of the queue item.">
|
||||
<cocoa key="sourcePath"/>
|
||||
</property>
|
||||
|
||||
<property name="destinationPath" code="DEST" type="text" access="r" description="The destination URL of the queue item.">
|
||||
<cocoa key="destinationPath"/>
|
||||
</property>
|
||||
|
||||
</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>
|
||||
</dictionary>
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD582A0DA1D0D100B32029 /* MainMenu.xib */; };
|
||||
4AFFB6D22DF751110099E229 /* Subler.sdef in Resources */ = {isa = PBXBuildFile; fileRef = 4AFFB6D12DF751110099E229 /* Subler.sdef */; };
|
||||
61CEC0CE1E7569E4000FECC1 /* MultiSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 61CEC0CC1E7569E4000FECC1 /* MultiSelectView.xib */; };
|
||||
8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; };
|
||||
8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; };
|
||||
@@ -22,7 +23,6 @@
|
||||
A90300C81DAE72C4008237D8 /* PresetPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90300CA1DAE72C4008237D8 /* PresetPrefsViewController.xib */; };
|
||||
A90331BD23ED7EE5006BB91D /* Prefs.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90331BC23ED7EE5006BB91D /* Prefs.swift */; };
|
||||
A9067A0C1F3CA4E6008011DC /* MetadataPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */; };
|
||||
A906B5B11E434872007D12B1 /* Queue.sdef in Resources */ = {isa = PBXBuildFile; fileRef = A906B5B01E434872007D12B1 /* Queue.sdef */; };
|
||||
A90B023B10F3290A000416F3 /* PrefsWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90B023910F3290A000416F3 /* PrefsWindowController.xib */; };
|
||||
A90B094C235614D200F1B191 /* AppleTV.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90B094B235614D200F1B191 /* AppleTV.swift */; };
|
||||
A90BC5E31F3A139700F9F3F3 /* MetadataResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */; };
|
||||
@@ -114,6 +114,7 @@
|
||||
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */; };
|
||||
A9C31E642029A82200CEF474 /* AdvancedPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C31E622029A82200CEF474 /* AdvancedPrefsViewController.xib */; };
|
||||
A9C3E44A205C07F4004DE24E /* OptionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C3E449205C07F4004DE24E /* OptionsViewController.swift */; };
|
||||
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */; };
|
||||
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C5FA7219FA2FEC0051F3FF /* SBActivityWindow.xib */; };
|
||||
A9C73536206B8F9900794673 /* QueuePreferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C73535206B8F9900794673 /* QueuePreferences.swift */; };
|
||||
A9CB19022D10415D0074DC9F /* Storefronts.json in Resources */ = {isa = PBXBuildFile; fileRef = A9CB19012D10415D0074DC9F /* Storefronts.json */; };
|
||||
@@ -121,6 +122,7 @@
|
||||
A9CBAB1E1F29C083001C26B3 /* MetadataImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */; };
|
||||
A9D4B8671C05BD04007845C4 /* SBChapterSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9D4B8651C05BD04007845C4 /* SBChapterSearch.xib */; };
|
||||
A9D64527202CA92400BA172B /* SaveOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9D64525202CA92400BA172B /* SaveOptions.swift */; };
|
||||
A9D8CA822E798CBD007C7B59 /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = A9D8CA812E798CBD007C7B59 /* AppIcon.icon */; };
|
||||
A9DA03E322A0211C0056AE7B /* OCRPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9DA03E122A0211C0056AE7B /* OCRPrefsViewController.swift */; };
|
||||
A9E385782C316FBE000A050D /* CollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E385772C316FBE000A050D /* CollectionView.swift */; };
|
||||
A9E3857C2C317010000A050D /* FilePromiseProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E3857B2C317010000A050D /* FilePromiseProvider.swift */; };
|
||||
@@ -193,6 +195,7 @@
|
||||
/* Begin PBXFileReference section */
|
||||
1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
||||
2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
|
||||
4AFFB6D12DF751110099E229 /* Subler.sdef */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Subler.sdef; sourceTree = "<group>"; };
|
||||
610362271E76D66A000DAE60 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = Classes/PropertyView/it.lproj/MultiSelectView.strings; sourceTree = "<group>"; };
|
||||
61CEC0CD1E7569E4000FECC1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Classes/PropertyView/Base.lproj/MultiSelectView.xib; sourceTree = "<group>"; };
|
||||
8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
@@ -209,7 +212,6 @@
|
||||
A90300C91DAE72C4008237D8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PresetPrefsViewController.xib; sourceTree = "<group>"; };
|
||||
A90331BC23ED7EE5006BB91D /* Prefs.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Prefs.swift; path = Classes/Prefs.swift; sourceTree = "<group>"; };
|
||||
A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataPrefsViewController.swift; path = Classes/MetadataPrefsViewController.swift; sourceTree = "<group>"; };
|
||||
A906B5B01E434872007D12B1 /* Queue.sdef */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Queue.sdef; sourceTree = "<group>"; };
|
||||
A90B094B235614D200F1B191 /* AppleTV.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppleTV.swift; path = Classes/MetadataImporters/AppleTV.swift; sourceTree = "<group>"; };
|
||||
A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResult.swift; path = Classes/MetadataImporters/MetadataResult.swift; sourceTree = "<group>"; };
|
||||
A90C3E0A1FD16AF200F64532 /* TokensViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokensViewController.swift; path = Classes/TokensViewController.swift; sourceTree = "<group>"; };
|
||||
@@ -394,11 +396,13 @@
|
||||
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>"; };
|
||||
A9C3E449205C07F4004DE24E /* OptionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OptionsViewController.swift; path = Classes/OptionsViewController.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>"; };
|
||||
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>"; };
|
||||
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>"; };
|
||||
A9DA03E122A0211C0056AE7B /* OCRPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OCRPrefsViewController.swift; path = Classes/OCRPrefsViewController.swift; sourceTree = "<group>"; };
|
||||
A9E059B02529DCA9000E0E9A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
|
||||
A9E059B12529DCA9000E0E9A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||
@@ -485,8 +489,8 @@
|
||||
2A37F4AAFDCFA73011CA2CEA /* MP4Sub */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4AFFB6D12DF751110099E229 /* Subler.sdef */,
|
||||
A9B4EE4E1643EBF3009AF6BC /* Subler.entitlements */,
|
||||
A906B5B01E434872007D12B1 /* Queue.sdef */,
|
||||
2A37F4ABFDCFA73011CA2CEA /* Classes */,
|
||||
2A37F4AFFDCFA73011CA2CEA /* Other Sources */,
|
||||
2A37F4B8FDCFA73011CA2CEA /* Resources */,
|
||||
@@ -502,6 +506,7 @@
|
||||
A9FAC5FE1BAC3BAC00525E42 /* Document */,
|
||||
A9AF6A7818D0537F00FAAB08 /* Queue */,
|
||||
A9915ABB1F4B26A5003C57D1 /* Presets */,
|
||||
A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */,
|
||||
A9BE561A220307F100FF6BE3 /* Utilities.swift */,
|
||||
A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */,
|
||||
A91EB968205ABAF400392E1C /* NSWindowAdditions.swift */,
|
||||
@@ -530,6 +535,7 @@
|
||||
2A37F4B8FDCFA73011CA2CEA /* Resources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A9D8CA812E798CBD007C7B59 /* AppIcon.icon */,
|
||||
A9F5820B1DCC861F005F3E92 /* Assets.xcassets */,
|
||||
A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */,
|
||||
2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
|
||||
@@ -761,7 +767,7 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
BuildIndependentTargetsInParallel = YES;
|
||||
LastUpgradeCheck = 1620;
|
||||
LastUpgradeCheck = 2630;
|
||||
TargetAttributes = {
|
||||
8D15AC270486D014006FF6A4 = {
|
||||
LastSwiftMigration = 1020;
|
||||
@@ -834,17 +840,18 @@
|
||||
A9AB486617F0AEFD000AA72E /* MovieView.xib in Resources */,
|
||||
A9C31E5D2029A79000CEF474 /* GeneralPrefsViewController.xib in Resources */,
|
||||
A98542DD20D1A7E500EB9803 /* ArtworkSelectorViewItem.xib in Resources */,
|
||||
A9D8CA822E798CBD007C7B59 /* AppIcon.icon in Resources */,
|
||||
8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */,
|
||||
A9ECA05A2029A10F00D5F30C /* TracksViewController.xib in Resources */,
|
||||
A9AB486717F0AEFD000AA72E /* SoundView.xib in Resources */,
|
||||
A9F5820C1DCC861F005F3E92 /* Assets.xcassets in Resources */,
|
||||
8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */,
|
||||
A906B5B11E434872007D12B1 /* Queue.sdef in Resources */,
|
||||
A93105391F9758EC00605146 /* FileImportController.xib in Resources */,
|
||||
A9AB486517F0AEFD000AA72E /* EmptyView.xib in Resources */,
|
||||
1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */,
|
||||
A90300C81DAE72C4008237D8 /* PresetPrefsViewController.xib in Resources */,
|
||||
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */,
|
||||
4AFFB6D22DF751110099E229 /* Subler.sdef in Resources */,
|
||||
A90B023B10F3290A000416F3 /* PrefsWindowController.xib in Resources */,
|
||||
A9AB486417F0AEFD000AA72E /* ChapterView.xib in Resources */,
|
||||
A9AB486817F0AEFD000AA72E /* VideoView.xib in Resources */,
|
||||
@@ -939,6 +946,7 @@
|
||||
A9C31E572029A75F00CEF474 /* GeneralPrefsViewController.swift in Sources */,
|
||||
A9AE26C01F3B66470041A57D /* SquaredTVArt.swift in Sources */,
|
||||
A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */,
|
||||
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */,
|
||||
A99B7FD82D53764F0027BCB5 /* AppleTVv3.swift in Sources */,
|
||||
A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */,
|
||||
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */,
|
||||
@@ -1403,8 +1411,9 @@
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1.8.7;
|
||||
CURRENT_PROJECT_VERSION = 1.9.2;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
@@ -1416,17 +1425,20 @@
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_VERSION = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = Subler;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.8.7;
|
||||
MARKETING_VERSION = 1.9.2;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "org.galad.${PRODUCT_NAME:identifier}";
|
||||
PRODUCT_NAME = Subler;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/MP42Foundation/contrib/mp4v2/";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
@@ -1445,8 +1457,9 @@
|
||||
CODE_SIGN_IDENTITY = "Mac Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1.8.7;
|
||||
CURRENT_PROJECT_VERSION = 1.9.2;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
@@ -1457,17 +1470,20 @@
|
||||
GCC_DYNAMIC_NO_PIC = YES;
|
||||
GCC_VERSION = "";
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = Subler;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.8.7;
|
||||
MARKETING_VERSION = 1.9.2;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "org.galad.${PRODUCT_NAME:identifier}";
|
||||
PRODUCT_NAME = Subler;
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/MP42Foundation/contrib/mp4v2/";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
};
|
||||
name = Release;
|
||||
@@ -1676,8 +1692,8 @@
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/sparkle-project/Sparkle";
|
||||
requirement = {
|
||||
branch = 2.x;
|
||||
kind = branch;
|
||||
kind = exactVersion;
|
||||
version = 2.9.6;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
||||
@@ -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": 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": 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": 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"},
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
/* Class = "NSTextFieldCell"; title = "Info"; ObjectID = "JH3-2P-Na2"; */
|
||||
"JH3-2P-Na2.title" = "Info";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check only selected tracks"; ObjectID = "KMR-fY-lFl"; */
|
||||
"KMR-fY-lFl.title" = "Abilita solo le tracce selezionate";
|
||||
|
||||
/* Class = "NSTextFieldCell"; title = "id"; ObjectID = "Nrs-BO-n8T"; */
|
||||
"Nrs-BO-n8T.title" = "id";
|
||||
|
||||
|
||||
@@ -43,3 +43,6 @@
|
||||
/* Class = "NSTextFieldCell"; title = "End"; ObjectID = "He0-rl-DBi"; */
|
||||
"He0-rl-DBi.title" = "Fine";
|
||||
|
||||
/* Class = "NSTextFieldCell"; title = "Log Format:"; ObjectID = "logFormatLabelCell"; */
|
||||
"logFormatLabelCell.title" = "Formato resoconto:";
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
/* Bundle name */
|
||||
"CFBundleName" = "Subler";
|
||||
|
||||
/* (No Comment) */
|
||||
/* No comment provided by engineer. */
|
||||
"Matroska video" = "Matroska video";
|
||||
|
||||
/* Privacy - AppleEvents Sending Usage Description */
|
||||
"NSAppleEventsUsageDescription" = "Subler ha bisogno dell'autorizzazione per aggiungere i filmati ad iTunes o a TV";
|
||||
|
||||
/* Copyright (human-readable) */
|
||||
"NSHumanReadableCopyright" = "Copyright © 2009-2025, Damiano Galassi";
|
||||
|
||||
/* (No Comment) */
|
||||
/* No comment provided by engineer. */
|
||||
"SRT Subtitles" = "Sottotitoli SRT";
|
||||
|
||||
/* (No Comment) */
|
||||
/* No comment provided by engineer. */
|
||||
"SSA Subtitles" = "SSA";
|
||||
|
||||
@@ -79,9 +79,12 @@
|
||||
/* Quit alert title. */
|
||||
"Are you sure you want to quit Subler?" = "Sei sicuro di voler uscire da Subler?";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"artistID" = "artistID";
|
||||
|
||||
/* Toolbar */
|
||||
"At the Beginning" = "All'inizio";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Audiobook" = "Audiolibro";
|
||||
|
||||
@@ -97,7 +100,7 @@
|
||||
/* No comment provided by engineer. */
|
||||
"Capitalize" = "Capitalizza";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Cast" = "Cast";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -107,7 +110,7 @@
|
||||
"Clear Metadata" = "Cancella Metadata";
|
||||
|
||||
/* Action description
|
||||
Toolbar */
|
||||
Toolbar */
|
||||
"Clear tracks names" = "Cancella i nomi delle tracce";
|
||||
|
||||
/* Action localized description. */
|
||||
@@ -116,27 +119,30 @@
|
||||
/* Action localized description */
|
||||
"Clearing tracks names" = "Cancello i nomi delle tracce";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Composer" = "Compositore";
|
||||
|
||||
/* Media characteristic. */
|
||||
"Contains Only Forced Subtitles" = "Contiene solo sottotitoli forzati";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"contentID" = "contentID";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Copyright" = "Copyright";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Current profile:" = "Profilo attuale:";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Date and Time" = "Giorno e ora";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Day" = "Giorno";
|
||||
|
||||
/* Toolbar
|
||||
Undo cover art delete
|
||||
Undo tag delete. */
|
||||
Undo cover art delete
|
||||
Undo tag delete. */
|
||||
"Delete" = "Elimina";
|
||||
|
||||
/* Toolbar */
|
||||
@@ -148,13 +154,13 @@
|
||||
/* Media characteristic. */
|
||||
"Describes Video For Accessibility" = "Descrive il video per l'accessibilità";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Description" = "Descrizione";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Director" = "Regista";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Disk #" = "# disco";
|
||||
|
||||
/* Donation -> button */
|
||||
@@ -188,23 +194,23 @@
|
||||
"Editing" = "Modifico";
|
||||
|
||||
/* Enable audio track action description
|
||||
Enable audio track local description */
|
||||
Enable audio track local description */
|
||||
"Enabling audio track with selected language" = "Abilito traccia audio con lingua";
|
||||
|
||||
/* Enable subtitles track action description
|
||||
Enable subtitles track local description */
|
||||
Enable subtitles track local description */
|
||||
"Enabling subtitles track with selected language" = "Abilito traccia sottotitoli con lingua";
|
||||
|
||||
/* Media characteristic. */
|
||||
"Enhances speech intelligibility" = "Migliora l'intelligibilità del parlato";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Episode #" = "# episodio";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Episode ID" = "ID episodio";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Executive Producer" = "Produttore esecutivo";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -231,7 +237,7 @@
|
||||
/* No comment provided by engineer. */
|
||||
"General" = "Generali";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Genre" = "Genere";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -250,19 +256,19 @@
|
||||
"Import tracks from external files" = "Importa le tracce da un file esterno";
|
||||
|
||||
/* Undo cover art insert.
|
||||
Undo tag insert. */
|
||||
Undo tag insert. */
|
||||
"Insert" = "Inserisci";
|
||||
|
||||
/* Toolbar */
|
||||
"Insert a chapter every" = "Inserisci un capitolo ogni";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"iTunes Country" = "Stato iTunes";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"iTunes U" = "iTunes U";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"iTunes URL" = "URL iTunes";
|
||||
|
||||
/* Media characteristic. */
|
||||
@@ -277,7 +283,7 @@
|
||||
/* Action localized description. */
|
||||
"Loading subtitles" = "Carico sottotitoli";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Long Description" = "Descrizione completa";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -313,10 +319,10 @@
|
||||
/* No comment provided by engineer. */
|
||||
"na" = "nd";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Name" = "Nome";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Network" = "Network";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -370,7 +376,7 @@
|
||||
/* File Import action menu item. */
|
||||
"Passthru" = "Passthru";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"playlistID" = "playlistID";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -386,13 +392,13 @@
|
||||
"Podcast" = "Podcast";
|
||||
|
||||
/* Action description
|
||||
Toolbar */
|
||||
Toolbar */
|
||||
"Prettify audio track names" = "Rinomina le tracce audio";
|
||||
|
||||
/* Action localized description */
|
||||
"Prettifying audio track names" = "Rinomino le tracce audio";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Producers" = "Produttori";
|
||||
|
||||
/* Toolbar */
|
||||
@@ -404,7 +410,7 @@
|
||||
/* Quit alert default action. */
|
||||
"Quit" = "Esci";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Rating" = "Classificazione";
|
||||
|
||||
/* color profile */
|
||||
@@ -425,7 +431,7 @@
|
||||
/* color profile */
|
||||
"Rec. 2100 PQ (9-16-9)" = "Rec. 2100 PQ (9-16-9)";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Release Date" = "Data di rilascio";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
@@ -440,11 +446,14 @@
|
||||
/* Set menu */
|
||||
"Save Set…" = "Salva preset…";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* Document Save sheet. */
|
||||
"Saving…" = "Salvo…";
|
||||
|
||||
/* nil */
|
||||
"Screenwriters" = "Sceneggiatori";
|
||||
|
||||
/* Action description.
|
||||
Toolbar */
|
||||
Toolbar */
|
||||
"Search Metadata" = "Cerca Metadata";
|
||||
|
||||
/* Toolbar */
|
||||
@@ -465,7 +474,7 @@
|
||||
/* No comment provided by engineer. */
|
||||
"Searching…" = "Cerco…";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Season" = "Stagione";
|
||||
|
||||
/* Toolbar */
|
||||
@@ -486,14 +495,20 @@
|
||||
/* Action localized description. */
|
||||
"Sending to iTunes" = "Invio ad iTunes";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Series Description" = "Descrizione serie";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* nil */
|
||||
"Series Name" = "Nome serie";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Service ID" = "ID Servizio";
|
||||
/* nil */
|
||||
"Service Additional Content ID" = "ID Contenuto Addizionale Servizio";
|
||||
|
||||
/* nil */
|
||||
"Service Content ID" = "ID Contenuto Servizio";
|
||||
|
||||
/* nil */
|
||||
"Service Episode ID" = "ID Episodio Servizio";
|
||||
|
||||
/* Set track color space action description */
|
||||
"Set color space" = "Imposta spazio di colore";
|
||||
@@ -531,6 +546,9 @@
|
||||
/* Toolbar */
|
||||
"Start" = "Avvia";
|
||||
|
||||
/* Main Menu -> Start Queue */
|
||||
"Start Queue" = "Avvia coda";
|
||||
|
||||
/* Toolbar */
|
||||
"Start/Stop queue" = "Avvia/ferma coda";
|
||||
|
||||
@@ -540,7 +558,10 @@
|
||||
/* Toolbar */
|
||||
"Stop" = "Interrompi";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
/* Main Menu -> Stop Queue */
|
||||
"Stop Queue" = "Ferma coda";
|
||||
|
||||
/* nil */
|
||||
"Studio" = "Studio";
|
||||
|
||||
/* Donation -> title */
|
||||
@@ -562,6 +583,9 @@
|
||||
"There was a problem creating the file " = "C'è stato in problema nella creazione del file";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Time Only" = "Solo orario";
|
||||
|
||||
/* nil */
|
||||
"Track #" = "# traccia";
|
||||
|
||||
/* Media characteristic. */
|
||||
|
||||
@@ -274,6 +274,9 @@
|
||||
/* Class = "NSMenuItem"; title = "1 minutes"; ObjectID = "662"; */
|
||||
"662.title" = "1 minuto";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Remove completed items from queue"; ObjectID = "Cre-T6-PID"; */
|
||||
"Cre-T6-PID.title" = "Rimuovi gli elementi completati dalla coda";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Prettify audio track names"; ObjectID = "fm8-d2-1Yi"; */
|
||||
"fm8-d2-1Yi.title" = "Rinomina le tracce audio";
|
||||
|
||||
@@ -286,6 +289,9 @@
|
||||
/* Class = "NSMenuItem"; title = "Donate…"; ObjectID = "ojS-sZ-qGM"; */
|
||||
"ojS-sZ-qGM.title" = "Dona…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Start Queue"; ObjectID = "TRh-ZN-Id8"; */
|
||||
"TRh-ZN-Id8.title" = "Avvia coda";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Open in Queue…"; ObjectID = "YfF-TG-cvE"; */
|
||||
"YfF-TG-cvE.title" = "Apri in coda…";
|
||||
|
||||
@@ -25,3 +25,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Edit…"; ObjectID = "qHz-Zh-l5L"; */
|
||||
"qHz-Zh-l5L.title" = "Modifica…";
|
||||
|
||||
/* Class = "NSTextFieldCell"; title = "Name"; ObjectID = "srx-EJ-mK6"; */
|
||||
"srx-EJ-mK6.title" = "Nome";
|
||||
|
||||
Reference in new issue
Block a user