Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddf13e5a3a | ||
|
|
13255140e9 | ||
|
|
a153763019 | ||
|
|
85d8ac6dcb | ||
|
|
723db31fc0 | ||
|
|
80ca3970ec | ||
|
|
a1da1c8106 | ||
|
|
51112947fb | ||
|
|
56d843c044 | ||
|
|
c08d607baa | ||
|
|
87e0c82bbb | ||
|
|
dd956fa783 | ||
|
|
5d6c0cd84c | ||
|
|
e96773f3d0 | ||
|
|
475737a6ad | ||
|
|
20438f310d | ||
|
|
628ccfefb5 | ||
|
|
0f8d251391 | ||
|
|
f20ad7ee45 | ||
|
|
401584a376 | ||
|
|
06ecb0af5f | ||
|
|
f457b4e89c | ||
|
|
8520d729c6 | ||
|
|
330236735d | ||
|
|
eb386a52c3 | ||
|
|
0c3d7de364 | ||
|
|
9077b6d149 | ||
|
|
a3e15e725a | ||
|
|
839b47cd9e | ||
|
|
b58346eda7 | ||
|
|
4c7a26a175 | ||
|
|
85854a2f06 | ||
|
|
a3f73cf1f8 | ||
|
|
a7739840ee | ||
|
|
d0cd519460 | ||
|
|
1040f0dab6 | ||
|
|
dfdffb9332 | ||
|
|
530ea2ed20 | ||
|
|
23f683626d | ||
|
|
934ae63b95 | ||
|
|
1cb5fb59dc | ||
|
|
81d5f8902c | ||
|
|
a48cb77aac | ||
|
|
d930bdb0a6 | ||
|
|
8c0d366764 | ||
|
|
33a7665c5a | ||
|
|
43a768a187 | ||
|
|
8290bf7c52 | ||
|
|
b250450966 | ||
|
|
c84cfd47e3 | ||
|
|
53e46d8095 | ||
|
|
d9131ffc3b | ||
|
|
0305d5371c | ||
|
|
257e412987 | ||
|
|
73e27ef56c | ||
|
|
59f085a7e4 | ||
|
|
40107a9db1 | ||
|
|
ce011a4d37 | ||
|
|
c8fb950854 | ||
|
|
151530d6ab | ||
|
|
94255d6e17 | ||
|
|
a65fcf9bf2 | ||
|
|
b7910bdb45 | ||
|
|
3017c4ef35 | ||
|
|
e12618bda4 | ||
|
|
b88b3d48a6 | ||
|
|
e3f67451b0 | ||
|
|
2f3050f9d0 | ||
|
|
fbdbb2006b | ||
|
|
9ac32753d4 | ||
|
|
d399af54b2 | ||
|
|
689f51d002 | ||
|
|
6307626786 | ||
|
|
7990e816b2 | ||
|
|
d8d40fa315 | ||
|
|
9896d96e87 | ||
|
|
334bc51906 | ||
|
|
8dd1adc199 | ||
|
|
192de27e8d | ||
|
|
97b88a2adb | ||
|
|
abdfa38d2d | ||
|
|
f8667656ef | ||
|
|
22c449f798 | ||
|
|
17c7d67b96 | ||
|
|
beb7774761 | ||
|
|
6c124ca5d0 | ||
|
|
b0d8ee73a8 | ||
|
|
ed69edf45f | ||
|
|
4f2c8f2509 | ||
|
|
16e81d4be0 | ||
|
|
153b8e6570 | ||
|
|
45cf445bca | ||
|
|
cf3dae6490 | ||
|
|
51f395469c | ||
|
|
c01460cb43 | ||
|
|
fc082f3bca | ||
|
|
9122f520db | ||
|
|
1a797e20fa | ||
|
|
f58142a250 | ||
|
|
68bef59a9f | ||
|
|
78ddedb92a | ||
|
|
68709ef2ec | ||
|
|
9aaf78acd2 | ||
|
|
d6cd740aa8 | ||
|
|
418196dbe0 | ||
|
|
aeda6095a8 | ||
|
|
4b5f384a56 | ||
|
|
d50ad9a86f | ||
|
|
03c9a0a129 | ||
|
|
11633fe0e2 | ||
|
|
c928f94e18 | ||
|
|
49edd9adc5 | ||
|
|
43ebf7e835 | ||
|
|
6bc6b749c5 | ||
|
|
20521b0446 | ||
|
|
dea7426df2 | ||
|
|
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 | ||
|
|
7e1e9c148c | ||
|
|
7aa1674c08 | ||
|
|
e44a786b72 | ||
|
|
f0faeb066a | ||
|
|
7abffdda03 | ||
|
|
bc2597499b | ||
|
|
b6163b4d80 | ||
|
|
9ea235a35e | ||
|
|
5fdf9efa80 | ||
|
|
b26bcea29a | ||
|
|
73f3fee7b0 | ||
|
|
ae2addbac4 | ||
|
|
8071145c7f | ||
|
|
e520b13a4f | ||
|
|
e07c39b039 | ||
|
|
f3226469d7 | ||
|
|
aa6e15f99b | ||
|
|
3fe294f582 | ||
|
|
0ea41244f5 | ||
|
|
9671e40708 | ||
|
|
22df3e92db | ||
|
|
8bbb34298a | ||
|
|
b022bb460d | ||
|
|
2d0cb8b827 | ||
|
|
e38c5c2f87 | ||
|
|
43d56d7851 | ||
|
|
5e0e5b677e | ||
|
|
49262b2368 | ||
|
|
f24eea0f91 | ||
|
|
3b30d68597 | ||
|
|
e7a4d7af09 | ||
|
|
ad6c9dd132 | ||
|
|
94c0780be8 | ||
|
|
210fe7bf90 | ||
|
|
0a135b7040 | ||
|
|
a50a136e86 | ||
|
|
36c76fe5bd | ||
|
|
906ffda072 | ||
|
|
64f7ba85a7 | ||
|
|
59a715f6d6 | ||
|
|
9b4651b346 | ||
|
|
90fe211d8f | ||
|
|
55b240491a | ||
|
|
94c083565f | ||
|
|
d59f73bcb0 | ||
|
|
c5ef95fb92 | ||
|
|
f863b60062 | ||
|
|
f3c3014b12 | ||
|
|
ea9a72b28a | ||
|
|
89ba80859e | ||
|
|
4e2c18c2f4 | ||
|
|
337f9b5097 | ||
|
|
61720db54c | ||
|
|
fc59d95bbc | ||
|
|
776d061dd9 | ||
|
|
9472af34f7 | ||
|
|
142609bd54 | ||
|
|
de497f46b4 | ||
|
|
26bc89ed05 | ||
|
|
9e03ea06b4 |
No files matched your search
@@ -1,3 +1,3 @@
|
||||
[submodule "MP42Foundation"]
|
||||
path = MP42Foundation
|
||||
url = https://github.com/SublerApp/MP42Foundation.git
|
||||
url = https://git.technomancer.com/Scott-Files/MP42Foundation.git
|
||||
@@ -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 |
|
After Width: | Height: | Size: 556 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
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 |
|
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,22 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ToolbarChaptersTemplate.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ToolbarChaptersTemplate@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 184 B |
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ToolbarRemoveTemplate.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "ToolbarRemoveTemplate@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 843 B |
|
Before Width: | Height: | Size: 503 B |
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "close-over.pdf",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "close-pressed.pdf",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "close.pdf",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"symbols" : [
|
||||
{
|
||||
"filename" : "photo.badge.plus.svg",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--Generator: Apple Native CoreSVG 232.5-->
|
||||
<!DOCTYPE svg
|
||||
PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="3300" height="2200">
|
||||
<g id="Notes">
|
||||
<rect height="2200" id="artboard" style="fill:white;opacity:1" width="3300" x="0" y="0"/>
|
||||
<line style="fill:none;stroke:black;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="292" y2="292"/>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 263 322)">Weight/Scale Variations</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 559.711 322)">Ultralight</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 856.422 322)">Thin</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1153.13 322)">Light</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1449.84 322)">Regular</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1746.56 322)">Medium</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2043.27 322)">Semibold</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2339.98 322)">Bold</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2636.69 322)">Heavy</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2933.4 322)">Black</text>
|
||||
<line style="fill:none;stroke:black;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1903" y2="1903"/>
|
||||
<g transform="matrix(0.2 0 0 0.2 263 1933)">
|
||||
<path d="m46.2402 4.15039c21.5332 0 39.4531-17.8711 39.4531-39.4043s-17.9688-39.4043-39.502-39.4043c-21.4844 0-39.3555 17.8711-39.3555 39.4043s17.9199 39.4043 39.4043 39.4043Zm0-7.42188c-17.7246 0-31.8848-14.209-31.8848-31.9824s14.1113-31.9824 31.8359-31.9824c17.7734 0 32.0312 14.209 32.0312 31.9824s-14.209 31.9824-31.9824 31.9824Zm-17.9688-31.9824c0 2.14844 1.51367 3.61328 3.75977 3.61328h10.498v10.5957c0 2.19727 1.46484 3.71094 3.61328 3.71094 2.24609 0 3.71094-1.51367 3.71094-3.71094v-10.5957h10.5957c2.19727 0 3.71094-1.46484 3.71094-3.61328 0-2.19727-1.51367-3.71094-3.71094-3.71094h-10.5957v-10.5469c0-2.24609-1.46484-3.75977-3.71094-3.75977-2.14844 0-3.61328 1.51367-3.61328 3.75977v10.5469h-10.498c-2.24609 0-3.75977 1.51367-3.75977 3.71094Z"/>
|
||||
</g>
|
||||
<g transform="matrix(0.2 0 0 0.2 281.506 1933)">
|
||||
<path d="m58.5449 14.5508c27.2461 0 49.8047-22.6074 49.8047-49.8047 0-27.2461-22.6074-49.8047-49.8535-49.8047-27.1973 0-49.7559 22.5586-49.7559 49.8047 0 27.1973 22.6074 49.8047 49.8047 49.8047Zm0-8.30078c-23.0469 0-41.4551-18.457-41.4551-41.5039s18.3594-41.5039 41.4062-41.5039 41.5527 18.457 41.5527 41.5039-18.457 41.5039-41.5039 41.5039Zm-22.6562-41.5039c0 2.39258 1.66016 4.00391 4.15039 4.00391h14.3555v14.4043c0 2.44141 1.66016 4.15039 4.05273 4.15039 2.44141 0 4.15039-1.66016 4.15039-4.15039v-14.4043h14.4043c2.44141 0 4.15039-1.61133 4.15039-4.00391 0-2.44141-1.70898-4.15039-4.15039-4.15039h-14.4043v-14.3555c0-2.49023-1.70898-4.19922-4.15039-4.19922-2.39258 0-4.05273 1.70898-4.05273 4.19922v14.3555h-14.3555c-2.49023 0-4.15039 1.70898-4.15039 4.15039Z"/>
|
||||
</g>
|
||||
<g transform="matrix(0.2 0 0 0.2 304.924 1933)">
|
||||
<path d="m74.8535 28.3203c34.8145 0 63.623-28.8086 63.623-63.5742 0-34.8145-28.8574-63.623-63.6719-63.623-34.7656 0-63.5254 28.8086-63.5254 63.623 0 34.7656 28.8086 63.5742 63.5742 63.5742Zm0-9.08203c-30.1758 0-54.4434-24.3164-54.4434-54.4922 0-30.2246 24.2188-54.4922 54.3945-54.4922 30.2246 0 54.541 24.2676 54.541 54.4922 0 30.1758-24.2676 54.4922-54.4922 54.4922Zm-28.8574-54.4922c0 2.58789 1.85547 4.39453 4.58984 4.39453h19.7266v19.7754c0 2.68555 1.85547 4.58984 4.44336 4.58984 2.68555 0 4.54102-1.85547 4.54102-4.58984v-19.7754h19.7754c2.68555 0 4.58984-1.80664 4.58984-4.39453 0-2.73438-1.85547-4.58984-4.58984-4.58984h-19.7754v-19.7266c0-2.73438-1.85547-4.63867-4.54102-4.63867-2.58789 0-4.44336 1.9043-4.44336 4.63867v19.7266h-19.7266c-2.73438 0-4.58984 1.85547-4.58984 4.58984Z"/>
|
||||
</g>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 263 1953)">Design Variations</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1971)">Symbols are supported in up to nine weights and three scales.</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1989)">For optimal layout with text and other symbols, vertically align</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 2007)">symbols with the adjacent text.</text>
|
||||
<line style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="776" x2="776" y1="1919" y2="1933"/>
|
||||
<g transform="matrix(0.2 0 0 0.2 776 1933)">
|
||||
<path d="m16.5527 0.78125c2.58789 0 3.85742-0.976562 4.78516-3.71094l6.29883-17.2363h28.8086l6.29883 17.2363c0.927734 2.73438 2.19727 3.71094 4.73633 3.71094 2.58789 0 4.24805-1.5625 4.24805-4.00391 0-0.830078-0.146484-1.61133-0.537109-2.63672l-22.9004-60.9863c-1.12305-2.97852-3.125-4.49219-6.25-4.49219-3.02734 0-5.07812 1.46484-6.15234 4.44336l-22.9004 61.084c-0.390625 1.02539-0.537109 1.80664-0.537109 2.63672 0 2.44141 1.5625 3.95508 4.10156 3.95508Zm13.4766-28.3691 11.8652-32.8613h0.244141l11.8652 32.8613Z"/>
|
||||
</g>
|
||||
<line style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="792.836" x2="792.836" y1="1919" y2="1933"/>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 776 1953)">Margins</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 1971)">Leading and trailing margins on the left and right side of each symbol</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 1989)">can be adjusted by modifying the x-location of the margin guidelines.</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 2007)">Modifications are automatically applied proportionally to all</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 2025)">scales and weights.</text>
|
||||
<g transform="matrix(0.2 0 0 0.2 1289 1933)">
|
||||
<path d="m14.209 9.32617 8.49609 8.54492c4.29688 4.3457 9.22852 4.05273 13.8672-1.07422l53.4668-58.9355-4.83398-4.88281-53.0762 58.3984c-1.75781 2.00195-3.41797 2.49023-5.76172 0.146484l-5.85938-5.81055c-2.34375-2.29492-1.80664-4.00391 0.195312-5.81055l57.373-54.0039-4.88281-4.83398-57.959 54.4434c-4.93164 4.58984-5.32227 9.47266-1.02539 13.8184Zm32.0801-90.9668c-2.09961 2.05078-2.24609 4.93164-1.07422 6.88477 1.17188 1.80664 3.4668 2.97852 6.68945 2.14844 7.32422-1.70898 14.9414-2.00195 22.0703 2.68555l-2.92969 7.27539c-1.70898 4.15039-0.830078 7.08008 1.85547 9.81445l11.4746 11.5723c2.44141 2.44141 4.49219 2.53906 7.32422 2.05078l5.32227-0.976562 3.32031 3.36914-0.195312 2.7832c-0.195312 2.49023 0.439453 4.39453 2.88086 6.78711l3.80859 3.71094c2.39258 2.39258 5.46875 2.53906 7.8125 0.195312l14.5508-14.5996c2.34375-2.34375 2.24609-5.32227-0.146484-7.71484l-3.85742-3.80859c-2.39258-2.39258-4.24805-3.17383-6.64062-2.97852l-2.88086 0.244141-3.22266-3.17383 1.2207-5.61523c0.634766-2.83203-0.146484-5.0293-3.07617-7.95898l-10.9863-10.9375c-16.6992-16.6016-38.8672-16.2109-53.3203-1.75781Zm7.4707 1.85547c12.1582-8.88672 28.6133-7.37305 39.7461 3.75977l12.1582 12.0605c1.17188 1.17188 1.36719 2.09961 1.02539 3.80859l-1.61133 7.42188 7.51953 7.42188 4.93164-0.292969c1.26953-0.0488281 1.66016 0.0488281 2.63672 1.02539l2.88086 2.88086-12.207 12.207-2.88086-2.88086c-0.976562-0.976562-1.12305-1.36719-1.07422-2.68555l0.341797-4.88281-7.4707-7.42188-7.61719 1.26953c-1.61133 0.341797-2.34375 0.195312-3.56445-0.976562l-10.0098-10.0098c-1.26953-1.17188-1.41602-2.00195-0.634766-3.85742l4.39453-10.4492c-7.8125-7.27539-17.9688-10.4004-28.125-7.42188-0.78125 0.195312-1.07422-0.439453-0.439453-0.976562Z"/>
|
||||
</g>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 1289 1953)">Exporting</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 1289 1971)">Symbols should be outlined when exporting to ensure the</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 1289 1989)">design is preserved when submitting to Xcode.</text>
|
||||
<text id="template-version" style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1933)">Template v.2.0</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1951)">Requires Xcode 12 or greater</text>
|
||||
<text id="descriptive-name" style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1969)">Generated from photo.badge.plus</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1987)">Typeset at 100.0 points</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 726)">Small</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1156)">Medium</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1586)">Large</text>
|
||||
</g>
|
||||
<g id="Guides">
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 696)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-S" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="696" y2="696"/>
|
||||
<line id="Capline-S" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="625.541" y2="625.541"/>
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 1126)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-M" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1126" y2="1126"/>
|
||||
<line id="Capline-M" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1055.54" y2="1055.54"/>
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 1556)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-L" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1556" y2="1556"/>
|
||||
<line id="Capline-L" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1485.54" y2="1485.54"/>
|
||||
<line id="left-margin" style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="1379.84" x2="1379.84" y1="1030.79" y2="1150.12"/>
|
||||
<line id="right-margin" style="fill:none;stroke:#FF3B30;stroke-width:0.5;opacity:1.0;" x1="1519.85" x2="1519.85" y1="1030.79" y2="1150.12"/>
|
||||
</g>
|
||||
<g id="Symbols">
|
||||
<g id="Black-L" transform="matrix(1 0 0 1 2841.56 1556)">
|
||||
<path d="M39.8556 26.4201L120.777 26.4201C116.293 19.5437 113.682 11.3761 113.682 2.6897C113.682-10.75 119.843-22.8177 129.488-30.8205L123.782-36.2082C121.099-38.7668 117.726-39.9403 114.496-39.9403C111.11-39.9403 107.977-38.7888 105.136-36.2886L76.8172-10.948L65.2855-21.2817C62.6317-23.6163 59.6829-24.8249 56.7598-24.8249C53.6291-24.8249 51.3473-23.6967 48.7154-21.3621L36.065-10.2585L36.065-70.2571C36.065-74.8899 38.2704-76.7993 42.5864-76.7993L141.1-76.7993C145.411-76.7993 147.622-74.8899 147.622-70.2571L147.622-39.9682C150.875-40.7912 154.245-41.2416 157.672-41.2416C161.099-41.2416 164.409-40.7912 167.603-40.0278L167.603-73.0919C167.603-88.1912 158.995-96.8011 143.831-96.8011L39.8556-96.8011C24.7123-96.8011 16.084-88.1936 16.084-73.0919L16.084 2.71095C16.084 17.8126 24.7123 26.4201 39.8556 26.4201ZM71.2807-32.2005C79.9872-32.2005 87.1877-39.4011 87.1877-48.188C87.1877-56.8944 79.9872-64.1754 71.2807-64.1754C62.4938-64.1754 55.2933-56.8944 55.2933-48.188C55.2933-39.4011 62.4938-32.2005 71.2807-32.2005ZM157.672 36.6388C176.2 36.6388 191.583 21.1818 191.583 2.6897C191.583-15.8232 176.264-31.1426 157.672-31.1426C139.103-31.1426 123.781-15.8221 123.781 2.6897C123.781 21.2235 139.103 36.6388 157.672 36.6388ZM157.672 25.0266C154.2 25.0266 151.903 22.7049 151.903 19.2941L151.903 8.539L141.263 8.539C137.833 8.539 135.472 6.21968 135.472 2.7481C135.472-0.723469 137.716-3.0416 141.263-3.0416L151.903-3.0416L151.903-13.6215C151.903-17.031 154.2-19.3915 157.672-19.3915C161.164-19.3915 163.463-17.1478 163.463-13.6215L163.463-3.0416L174.158-3.0416C177.569-3.0416 179.891-0.723469 179.891 2.7481C179.891 6.21968 177.569 8.539 174.158 8.539L163.463 8.539L163.463 19.2941C163.463 22.7049 161.164 25.0266 157.672 25.0266Z"/>
|
||||
</g>
|
||||
<g id="Heavy-L" transform="matrix(1 0 0 1 2545.23 1556)">
|
||||
<path d="M38.8315 25.5046L121.777 25.5046C117.54 18.8554 115.075 11.0204 115.075 2.69411C115.075-10.1333 120.822-21.6654 129.868-29.4696L123.057-35.8808C120.334-38.4522 116.979-39.6665 113.7-39.6665C110.283-39.6665 107.164-38.488 104.291-35.9613L75.9326-10.5897L64.3518-21.0034C61.698-23.3468 58.7807-24.5644 55.8217-24.5644C52.766-24.5644 50.3865-23.4273 47.7685-21.0839L33.5844-8.47579L33.5844-70.9624C33.5844-76.0993 36.118-78.3638 40.9557-78.3638L141.963-78.3638C146.778-78.3638 149.334-76.0993 149.334-70.9624L149.334-39.2714C152.195-39.9476 155.145-40.3204 158.134-40.3204C161.124-40.3204 164.024-39.9476 166.834-39.3216L166.834-73.2375C166.834-87.7786 158.73-95.8944 144.087-95.8944L38.8315-95.8944C24.2188-95.8944 16.084-87.7898 16.084-73.2375L16.084 2.84772C16.084 17.4 24.2188 25.5046 38.8315 25.5046ZM69.2824-32.7452C77.8511-32.7452 84.9275-39.8217 84.9275-48.4707C84.9275-57.0394 77.8511-64.1962 69.2824-64.1962C60.6334-64.1962 53.5569-57.0394 53.5569-48.4707C53.5569-39.8217 60.6334-32.7452 69.2824-32.7452ZM158.134 36.1342C176.376 36.1342 191.56 20.927 191.56 2.69411C191.56-15.569 176.472-30.6567 158.134-30.6567C139.838-30.6567 124.739-15.5634 124.739 2.69411C124.739 20.9874 139.838 36.1342 158.134 36.1342ZM158.134 24.4856C154.95 24.4856 152.862 22.3509 152.862 19.2225L152.862 8.04652L141.77 8.04652C138.617 8.04652 136.462 5.92298 136.462 2.73874C136.462-0.44551 138.528-2.56344 141.77-2.56344L152.862-2.56344L152.862-13.6055C152.862-16.7283 154.95-18.8831 158.134-18.8831C161.349-18.8831 163.442-16.8176 163.442-13.6055L163.442-2.56344L174.568-2.56344C177.696-2.56344 179.831-0.44551 179.831 2.73874C179.831 5.92298 177.696 8.04652 174.568 8.04652L163.442 8.04652L163.442 19.2225C163.442 22.3509 161.349 24.4856 158.134 24.4856Z"/>
|
||||
</g>
|
||||
<g id="Bold-L" transform="matrix(1 0 0 1 2249.01 1556)">
|
||||
<path d="M37.5412 24.3601L123.119 24.3601C119.181 18.0025 116.893 10.5824 116.893 2.70173C116.893-9.32032 122.111-20.1543 130.381-27.6828L122.225-35.3246C119.441-37.9262 116.116-39.1942 112.754-39.1942C109.284-39.1942 106.187-37.9774 103.268-35.405L74.8413-9.98014L63.1842-20.5236C60.5303-22.8822 57.6589-24.115 54.6465-24.115C51.6531-24.115 49.1807-22.9626 46.578-20.604L30.5257-6.13627L30.5257-71.7861C30.5257-77.5753 33.4665-80.2853 38.987-80.2853L142.949-80.2853C148.416-80.2853 151.41-77.5753 151.41-71.7861L151.41-38.2616C153.787-38.7685 156.222-39.0489 158.673-39.0489C161.124-39.0489 163.517-38.7685 165.852-38.3041L165.852-73.4218C165.852-87.2341 158.347-94.7651 144.394-94.7651L37.5412-94.7651C23.6265-94.7651 16.084-87.2605 16.084-73.4218L16.084 3.01678C16.084 16.8555 23.6265 24.3601 37.5412 24.3601ZM66.9721-33.317C75.3865-33.317 82.3242-40.2547 82.3242-48.7496C82.3242-57.164 75.3865-64.1821 66.9721-64.1821C58.4772-64.1821 51.5396-57.164 51.5396-48.7496C51.5396-40.2547 58.4772-33.317 66.9721-33.317ZM158.673 35.4893C176.554 35.4893 191.47 20.6045 191.47 2.70173C191.47-15.239 176.681-30.0274 158.673-30.0274C140.73-30.0274 125.915-15.2258 125.915 2.70173C125.915 20.6805 140.73 35.4893 158.673 35.4893ZM158.673 23.8618C155.843 23.8618 154.016 21.9576 154.016 19.1826L154.016 7.4394L142.318 7.4394C139.518 7.4394 137.61 5.56165 137.61 2.73093C137.61-0.0997773 139.46-1.9643 142.318-1.9643L154.016-1.9643L154.016-13.6198C154.016-16.3817 155.843-18.2903 158.673-18.2903C161.542-18.2903 163.382-16.4401 163.382-13.6198L163.382-1.9643L175.082-1.9643C177.857-1.9643 179.762-0.0997773 179.762 2.73093C179.762 5.56165 177.857 7.4394 175.082 7.4394L163.382 7.4394L163.382 19.1826C163.382 21.9576 161.542 23.8618 158.673 23.8618Z"/>
|
||||
</g>
|
||||
<g id="Semibold-L" transform="matrix(1 0 0 1 1952.64 1556)">
|
||||
<path d="M36.6517 23.571L124.044 23.571C120.313 17.4145 118.147 10.2804 118.147 2.70698C118.147-8.75986 122.999-19.1125 130.735-26.451L121.652-34.9411C118.825-37.5636 115.522-38.8686 112.102-38.8686C108.595-38.8686 105.514-37.6255 102.563-35.0216L74.089-9.55991L62.3793-20.1927C59.7254-22.5619 56.8856-23.8051 53.8363-23.8051C50.886-23.8051 48.3493-22.6423 45.7573-20.2731L28.4171-4.52342L28.4171-72.354C28.4171-78.5929 31.6387-81.61 37.6298-81.61L143.628-81.61C149.546-81.61 152.841-78.5929 152.841-72.354L152.841-37.5655C154.884-37.9556 156.964-38.1723 159.045-38.1723C161.125-38.1723 163.168-37.9556 165.174-37.6026L165.174-73.5488C165.174-86.8587 158.083-93.9865 144.607-93.9865L36.6517-93.9865C23.2182-93.9865 16.084-86.8956 16.084-73.5488L16.084 3.13332C16.084 16.4801 23.2182 23.571 36.6517 23.571ZM65.3794-33.7112C73.6875-33.7112 80.5295-40.5532 80.5295-48.9418C80.5295-57.2499 73.6875-64.1724 65.3794-64.1724C56.9908-64.1724 50.1488-57.2499 50.1488-48.9418C50.1488-40.5532 56.9908-33.7112 65.3794-33.7112ZM159.045 35.0448C176.677 35.0448 191.407 20.3822 191.407 2.70698C191.407-15.0116 176.825-29.5937 159.045-29.5937C141.345-29.5937 126.726-14.9931 126.726 2.70698C126.726 20.4689 141.345 35.0448 159.045 35.0448ZM159.045 23.4317C156.458 23.4317 154.811 21.6865 154.811 19.155L154.811 7.02085L142.696 7.02085C140.139 7.02085 138.401 5.31254 138.401 2.72556C138.401 0.138569 140.102-1.55126 142.696-1.55126L154.811-1.55126L154.811-13.6297C154.811-16.1427 156.458-17.8816 159.045-17.8816C161.675-17.8816 163.34-16.1798 163.34-13.6297L163.34-1.55126L175.437-1.55126C177.969-1.55126 179.714 0.138569 179.714 2.72556C179.714 5.31254 177.969 7.02085 175.437 7.02085L163.34 7.02085L163.34 19.155C163.34 21.6865 161.675 23.4317 159.045 23.4317Z"/>
|
||||
</g>
|
||||
<g id="Medium-L" transform="matrix(1 0 0 1 1656.18 1556)">
|
||||
<path d="M35.9773 22.9727L124.745 22.9727C121.171 16.9687 119.097 10.0514 119.097 2.71096C119.097-8.3349 123.673-18.3226 131.004-25.5169L121.217-34.6504C118.359-37.2887 115.071-38.6218 111.607-38.6218C108.072-38.6218 105.003-37.3586 102.029-34.7308L73.5186-9.24128L61.7689-19.9419C59.1151-22.319 56.2993-23.5702 53.2219-23.5702C50.3043-23.5702 47.719-22.3994 45.135-20.0223L26.8183-3.30049L26.8183-72.7845C26.8183-79.3644 30.2527-82.6144 36.6007-82.6144L144.144-82.6144C150.402-82.6144 153.926-79.3644 153.926-72.7845L153.926-37.0377C155.716-37.3392 157.527-37.5077 159.327-37.5077C161.126-37.5077 162.904-37.3392 164.661-37.0707L164.661-73.6452C164.661-86.574 157.883-93.3962 144.767-93.3962L35.9773-93.3962C22.9086-93.3962 16.084-86.619 16.084-73.6452L16.084 3.22169C16.084 16.1955 22.9086 22.9727 35.9773 22.9727ZM64.1717-34.0101C72.3993-34.0101 79.1687-40.7796 79.1687-49.0876C79.1687-57.3151 72.3993-64.165 64.1717-64.165C55.8638-64.165 49.0943-57.3151 49.0943-49.0876C49.0943-40.7796 55.8638-34.0101 64.1717-34.0101ZM159.327 34.7077C176.77 34.7077 191.36 20.2136 191.36 2.71096C191.36-14.8391 176.935-29.2647 159.327-29.2647C141.811-29.2647 127.34-14.8166 127.34 2.71096C127.34 20.3085 141.811 34.7077 159.327 34.7077ZM159.327 23.1056C156.924 23.1056 155.414 21.4809 155.414 19.1341L155.414 6.70349L142.982 6.70349C140.611 6.70349 139 5.12366 139 2.72148C139 0.319293 140.59-1.23808 142.982-1.23808L155.414-1.23808L155.414-13.6372C155.414-15.9615 156.924-17.5718 159.327-17.5718C161.776-17.5718 163.309-15.9825 163.309-13.6372L163.309-1.23808L175.706-1.23808C178.053-1.23808 179.678 0.319293 179.678 2.72148C179.678 5.12366 178.053 6.70349 175.706 6.70349L163.309 6.70349L163.309 19.1341C163.309 21.4809 161.776 23.1056 159.327 23.1056Z"/>
|
||||
</g>
|
||||
<g id="Regular-L" transform="matrix(1 0 0 1 1359.81 1556)">
|
||||
<path d="M35.0976 22.1923L125.66 22.1923C122.29 16.3872 120.337 9.7527 120.337 2.71616C120.337-7.7806 124.551-17.2923 131.354-24.2987L120.65-34.2711C117.75-36.9301 114.483-38.2998 110.962-38.2998C107.39-38.2998 104.337-37.0105 101.331-34.3515L72.7745-8.82567L60.9728-19.6147C58.319-22.0022 55.5345-23.2638 52.4206-23.2638C49.5455-23.2638 46.8968-22.0826 44.3233-19.6951L24.7328-1.70536L24.7328-73.3462C24.7328-80.3708 28.4449-83.9245 35.2584-83.9245L144.816-83.9245C151.519-83.9245 155.342-80.3708 155.342-73.3462L155.342-36.3493C156.802-36.5352 158.262-36.6408 159.694-36.6408C161.126-36.6408 162.558-36.5352 163.991-36.3769L163.991-73.7708C163.991-86.2028 157.623-92.6262 144.977-92.6262L35.0976-92.6262C22.5048-92.6262 16.084-86.2581 16.084-73.7708L16.084 3.33696C16.084 15.8242 22.5048 22.1923 35.0976 22.1923ZM62.5965-34.4C70.7189-34.4 77.3938-41.0748 77.3938-49.2777C77.3938-57.4001 70.7189-64.1554 62.5965-64.1554C54.3937-64.1554 47.7188-57.4001 47.7188-49.2777C47.7188-41.0748 54.3937-34.4 62.5965-34.4ZM159.694 34.268C176.891 34.268 191.299 19.9937 191.299 2.71616C191.299-14.6141 177.077-28.8357 159.694-28.8357C142.419-28.8357 128.142-14.5865 128.142 2.71616C128.142 20.0992 142.419 34.268 159.694 34.268ZM159.694 22.6803C157.533 22.6803 156.201 21.2127 156.201 19.1069L156.201 6.28955L143.356 6.28955C141.225 6.28955 139.783 4.8773 139.783 2.71616C139.783 0.55502 141.225-0.829575 143.356-0.829575L156.201-0.829575L156.201-13.6469C156.201-15.7251 157.533-17.1676 159.694-17.1676C161.908-17.1676 163.267-15.7251 163.267-13.6469L163.267-0.829575L176.057-0.829575C178.163-0.829575 179.63 0.55502 179.63 2.71616C179.63 4.8773 178.163 6.28955 176.057 6.28955L163.267 6.28955L163.267 19.1069C163.267 21.2127 161.908 22.6803 159.694 22.6803Z"/>
|
||||
</g>
|
||||
<g id="Light-L" transform="matrix(1 0 0 1 1063.53 1556)">
|
||||
<path d="M34.067 21.3335L127.244 21.3335C124.046 15.7955 122.188 9.46642 122.188 2.73524C122.188-6.90268 125.925-15.7082 131.984-22.3329L120.497-32.9161C117.482-35.6895 114.292-37.1165 110.561-37.1165C106.856-37.1165 103.86-35.77 100.778-32.9965L72.0493-7.33701L60.0949-18.4123C57.441-20.838 54.7329-22.1378 51.5236-22.1378C48.4958-22.1378 45.9616-20.9184 43.3882-18.4927L22.7098 0.75664L22.7098-73.5943C22.7098-81.2487 26.7082-85.146 34.2278-85.146L144.969-85.146C152.302-85.146 156.487-81.2487 156.487-73.5943L156.487-34.708C157.622-34.8557 158.758-34.9231 159.847-34.9231C160.935-34.9231 162.024-34.8557 163.113-34.7547L163.113-73.9235C163.113-85.6111 157.012-91.8055 145.13-91.8055L34.067-91.8055C22.2185-91.8055 16.084-85.7046 16.084-73.9235L16.084 3.45147C16.084 15.2326 22.2185 21.3335 34.067 21.3335ZM62.0621-34.1328C70.1845-34.1328 76.8594-40.8076 76.8594-49.0105C76.8594-57.1329 70.1845-63.8882 62.0621-63.8882C53.8593-63.8882 47.1844-57.1329 47.1844-49.0105C47.1844-40.8076 53.8593-34.1328 62.0621-34.1328ZM159.847 33.6955C176.757 33.6955 190.841 19.7265 190.841 2.73524C190.841-14.2897 176.905-28.225 159.847-28.225C142.915-28.225 128.886-14.2429 128.886 2.73524C128.886 19.7939 142.915 33.6955 159.847 33.6955ZM159.847 22.5467C157.915 22.5467 156.774 21.2318 156.774 19.3932L156.774 5.88876L143.222 5.88876C141.397 5.88876 140.069 4.66736 140.069 2.73524C140.069 0.803129 141.397-0.371528 143.222-0.371528L156.774-0.371528L156.774-13.876C156.774-15.6679 157.915-16.9958 159.847-16.9958C161.812-16.9958 163-15.6679 163-13.876L163-0.371528L176.458-0.371528C178.296-0.371528 179.611 0.803129 179.611 2.73524C179.611 4.66736 178.296 5.88876 176.458 5.88876L163 5.88876L163 19.3932C163 21.2318 161.812 22.5467 159.847 22.5467Z"/>
|
||||
</g>
|
||||
<g id="Thin-L" transform="matrix(1 0 0 1 767.404 1556)">
|
||||
<path d="M32.7039 20.1976L129.339 20.1976C126.368 15.013 124.637 9.0878 124.637 2.76048C124.637-5.74155 127.743-13.6132 132.817-19.733L120.295-31.1239C117.129-34.0488 114.039-35.5515 110.031-35.5515C106.149-35.5515 103.229-34.1292 100.046-31.2043L71.0901-5.36815L58.9338-16.8221C56.2799-19.2982 53.6727-20.6485 50.3373-20.6485C47.1075-20.6485 44.7247-19.3786 42.1513-16.9025L20.0342 4.01283L20.0342-73.9224C20.0342-82.4098 24.4111-86.7615 32.8648-86.7615L145.171-86.7615C153.337-86.7615 158.001-82.4098 158.001-73.9224L158.001-32.5372C158.708-32.6344 159.414-32.6513 160.049-32.6513C160.683-32.6513 161.317-32.6344 161.952-32.6091L161.952-74.1255C161.952-84.8286 156.204-90.7201 145.332-90.7201L32.7039-90.7201C21.8399-90.7201 16.084-84.9726 16.084-74.1255L16.084 3.60292C16.084 14.4501 21.8399 20.1976 32.7039 20.1976ZM61.3554-33.7794C69.4778-33.7794 76.1526-40.4543 76.1526-48.6571C76.1526-56.7795 69.4778-63.5348 61.3554-63.5348C53.1525-63.5348 46.4777-56.7795 46.4777-48.6571C46.4777-40.4543 53.1525-33.7794 61.3554-33.7794ZM160.049 32.9382C176.581 32.9382 190.235 19.3731 190.235 2.76048C190.235-13.8606 176.678-27.4172 160.049-27.4172C143.571-27.4172 129.871-13.7886 129.871 2.76048C129.871 19.39 143.571 32.9382 160.049 32.9382ZM160.049 22.37C158.419 22.37 157.531 21.2571 157.531 19.7718L157.531 5.35868L143.046 5.35868C141.624 5.35868 140.447 4.3897 140.447 2.76048C140.447 1.13127 141.624 0.234275 143.046 0.234275L157.531 0.234275L157.531-14.1789C157.531-15.5921 158.419-16.7686 160.049-16.7686C161.686-16.7686 162.647-15.5921 162.647-14.1789L162.647 0.234275L176.988 0.234275C178.473 0.234275 179.586 1.13127 179.586 2.76048C179.586 4.3897 178.473 5.35868 176.988 5.35868L162.647 5.35868L162.647 19.7718C162.647 21.2571 161.686 22.37 160.049 22.37Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-L" transform="matrix(1 0 0 1 470.991 1556)">
|
||||
<path d="M32.0058 19.6158L130.412 19.6158C127.557 14.6122 125.891 8.89387 125.891 2.77341C125.891-5.14683 128.674-12.5401 133.243-18.4013L120.192-30.206C116.948-33.2084 113.91-34.7499 109.759-34.7499C105.787-34.7499 102.906-33.2889 99.6708-30.2864L70.5988-4.35971L58.339-16.0076C55.6852-18.5096 53.1297-19.8857 49.7296-19.8857C46.3965-19.8857 44.0912-18.59 41.5178-16.088L18.6637 5.68064L18.6637-74.0905C18.6637-83.0045 23.2346-87.5889 32.1666-87.5889L145.274-87.5889C153.867-87.5889 158.777-83.0045 158.777-74.0905L158.777-31.4253C159.264-31.4967 159.75-31.4877 160.152-31.4877C160.554-31.4877 160.955-31.4967 161.357-31.5102L161.357-74.2289C161.357-84.4278 155.79-90.1642 145.435-90.1642L32.0058-90.1642C21.646-90.1642 16.084-84.5977 16.084-74.2289L16.084 3.6805C16.084 14.0493 21.646 19.6158 32.0058 19.6158ZM60.9933-33.5984C69.1158-33.5984 75.7906-40.2733 75.7906-48.4761C75.7906-56.5985 69.1158-63.3538 60.9933-63.3538C52.7905-63.3538 46.1157-56.5985 46.1157-48.4761C46.1157-40.2733 52.7905-33.5984 60.9933-33.5984ZM160.152 32.5504C176.49 32.5504 189.924 19.1921 189.924 2.77341C189.924-13.6408 176.562-27.0035 160.152-27.0035C143.908-27.0035 130.375-13.5559 130.375 2.77341C130.375 19.1831 143.908 32.5504 160.152 32.5504ZM160.152 22.2795C158.678 22.2795 157.919 21.27 157.919 19.9658L157.919 5.08717L142.955 5.08717C141.74 5.08717 140.641 4.24748 140.641 2.77341C140.641 1.29935 141.74 0.544565 142.955 0.544565L157.919 0.544565L157.919-14.334C157.919-15.5533 158.678-16.6523 160.152-16.6523C161.622-16.6523 162.466-15.5533 162.466-14.334L162.466 0.544565L177.259 0.544565C178.564 0.544565 179.573 1.29935 179.573 2.77341C179.573 4.24748 178.564 5.08717 177.259 5.08717L162.466 5.08717L162.466 19.9658C162.466 21.27 161.622 22.2795 160.152 22.2795Z"/>
|
||||
</g>
|
||||
<g id="Black-M" transform="matrix(1 0 0 1 2861.97 1126)">
|
||||
<path d="M31.6184 13.2035L92.9255 13.2035C89.2628 7.71695 87.1276 1.14477 87.1276-5.85312C87.1276-16.6752 92.1913-26.3892 100.078-32.7083L96.501-36.0855C94.4415-38.0723 91.8235-38.9542 89.3345-38.9542C86.7196-38.9542 84.2889-38.0775 82.1042-36.1478L60.1755-16.5238L51.263-24.4998C49.2069-26.306 46.9057-27.24 44.6589-27.24C42.1484-27.24 40.4799-26.3683 38.429-24.5621L29.7989-17.082L29.7989-61.7943C29.7989-65.0356 31.2643-66.2562 34.2553-66.2562L108.596-66.2562C111.588-66.2562 113.052-65.0356 113.052-61.7943L113.052-39.2773C115.865-40.0357 118.793-40.4464 121.778-40.4464C124.763-40.4464 127.634-40.0357 130.39-39.3341L130.39-64.4586C130.39-76.5356 123.325-83.5996 111.233-83.5996L31.6184-83.5996C19.5311-83.5996 12.4609-76.535 12.4609-64.4586L12.4609-5.93747C12.4609 6.13889 19.5311 13.2035 31.6184 13.2035ZM56.8691-32.3785C63.7329-32.3785 69.418-38.0637 69.418-44.9897C69.418-51.8535 63.7329-57.6009 56.8691-57.6009C49.9431-57.6009 44.2579-51.8535 44.2579-44.9897C44.2579-38.0637 49.9431-32.3785 56.8691-32.3785ZM121.778 20.8061C136.34 20.8061 148.386 8.65751 148.386-5.85312C148.386-20.3692 136.357-32.3981 121.778-32.3981C107.204-32.3981 95.1759-20.3695 95.1759-5.85312C95.1759 8.66849 107.204 20.8061 121.778 20.8061ZM121.778 11.9002C118.872 11.9002 116.938 9.96147 116.938 7.11252L116.938-0.95125L108.989-0.95125C106.134-0.95125 104.144-2.89054 104.144-5.79602C104.144-8.7015 106.02-10.6411 108.989-10.6411L116.938-10.6411L116.938-18.5335C116.938-21.3828 118.872-23.3728 121.778-23.3728C124.689-23.3728 126.623-21.497 126.623-18.5335L126.623-10.6411L134.63-10.6411C137.479-10.6411 139.417-8.7015 139.417-5.79602C139.417-2.89054 137.479-0.95125 134.63-0.95125L126.623-0.95125L126.623 7.11252C126.623 9.96147 124.689 11.9002 121.778 11.9002Z"/>
|
||||
</g>
|
||||
<g id="Heavy-M" transform="matrix(1 0 0 1 2565.6 1126)">
|
||||
<path d="M30.7123 12.3878L93.7575 12.3878C90.3199 7.09869 88.3188 0.823451 88.3188-5.85056C88.3188-16.1534 93.0222-25.4089 100.392-31.5691L95.8068-35.8905C93.7185-37.8792 91.1108-38.7956 88.5936-38.7956C85.9608-38.7956 83.5378-37.8979 81.3293-35.9528L59.3776-16.3109L50.4312-24.3387C48.3751-26.1501 46.0976-27.0892 43.8246-27.0892C41.4014-27.0892 39.627-26.2124 37.5896-24.401L27.5605-15.5664L27.5605-62.4609C27.5605-66.1369 29.3203-67.673 32.7562-67.673L109.425-67.673C112.852-67.673 114.62-66.1369 114.62-62.4609L114.62-38.7475C117.08-39.3661 119.628-39.7043 122.216-39.7043C124.805-39.7043 127.306-39.3661 129.72-38.7934L129.72-64.5869C129.72-76.1868 123.122-82.789 111.469-82.789L30.7123-82.789C19.075-82.789 12.4609-76.1914 12.4609-64.5869L12.4609-5.81433C12.4609 5.79013 19.075 12.3878 30.7123 12.3878ZM54.965-32.9356C61.694-32.9356 67.2578-38.4995 67.2578-45.2908C67.2578-52.0198 61.694-57.646 54.965-57.646C48.1737-57.646 42.6098-52.0198 42.6098-45.2908C42.6098-38.4995 48.1737-32.9356 54.965-32.9356ZM122.216 20.3655C136.525 20.3655 148.405 8.43307 148.405-5.85056C148.405-20.1506 136.576-31.9794 122.216-31.9794C107.877-31.9794 96.0437-20.1483 96.0437-5.85056C96.0437 8.46589 107.877 20.3655 122.216 20.3655ZM122.216 11.3837C119.57 11.3837 117.824 9.61368 117.824 7.01612L117.824-1.39571L109.497-1.39571C106.885-1.39571 105.085-3.16121 105.085-5.80694C105.085-8.45266 106.798-10.2159 109.497-10.2159L117.824-10.2159L117.824-18.4969C117.824-21.0921 119.57-22.8917 122.216-22.8917C124.878-22.8917 126.627-21.1794 126.627-18.4969L126.627-10.2159L134.993-10.2159C137.591-10.2159 139.361-8.45266 139.361-5.80694C139.361-3.16121 137.591-1.39571 134.993-1.39571L126.627-1.39571L126.627 7.01612C126.627 9.61368 124.878 11.3837 122.216 11.3837Z"/>
|
||||
</g>
|
||||
<g id="Bold-M" transform="matrix(1 0 0 1 2269.26 1126)">
|
||||
<path d="M29.6986 11.4753L94.6883 11.4753C91.5026 6.40709 89.6514 0.464006 89.6514-5.8477C89.6514-15.5696 93.9517-24.3124 100.742-30.2947L95.0303-35.6723C92.9097-37.6631 90.3134-38.6183 87.7647-38.6183C85.112-38.6183 82.6975-37.6969 80.4626-35.7346L58.4851-16.0727L49.5007-24.1585C47.4447-25.9756 45.1937-26.9204 42.8913-26.9204C40.5658-26.9204 38.6728-26.0379 36.6506-24.2208L25.0566-13.871L25.0566-63.2065C25.0566-67.3688 27.1457-69.2579 31.0794-69.2579L110.352-69.2579C114.265-69.2579 116.375-67.3688 116.375-63.2065L116.375-38.1548C118.439-38.617 120.561-38.874 122.706-38.874C124.851-38.874 126.939-38.617 128.97-38.1885L128.97-64.7304C128.97-75.7967 122.895-81.8822 111.733-81.8822L29.6986-81.8822C18.5648-81.8822 12.4609-75.8069 12.4609-64.7304L12.4609-5.67659C12.4609 5.39999 18.5648 11.4753 29.6986 11.4753ZM52.8349-33.5588C59.4131-33.5588 64.8414-38.987 64.8414-45.6276C64.8414-52.2059 59.4131-57.6964 52.8349-57.6964C46.1943-57.6964 40.7661-52.2059 40.7661-45.6276C40.7661-38.987 46.1943-33.5588 52.8349-33.5588ZM122.706 19.8727C136.731 19.8727 148.427 8.182 148.427-5.8477C148.427-19.906 136.822-31.511 122.706-31.511C108.63-31.511 97.0144-19.9009 97.0144-5.8477C97.0144 8.23924 108.63 19.8727 122.706 19.8727ZM122.706 10.806C120.351 10.806 118.814 9.22463 118.814 6.90829L118.814-1.8929L110.065-1.8929C107.725-1.8929 106.138-3.46399 106.138-5.81915C106.138-8.17431 107.668-9.74026 110.065-9.74026L118.814-9.74026L118.814-18.4558C118.814-20.767 120.351-22.3534 122.706-22.3534C125.09-22.3534 126.633-20.8241 126.633-18.4558L126.633-9.74026L135.4-9.74026C137.716-9.74026 139.298-8.17431 139.298-5.81915C139.298-3.46399 137.716-1.8929 135.4-1.8929L126.633-1.8929L126.633 6.90829C126.633 9.22463 125.09 10.806 122.706 10.806Z"/>
|
||||
</g>
|
||||
<g id="Semibold-M" transform="matrix(1 0 0 1 1972.81 1126)">
|
||||
<path d="M28.9998 10.8462L95.33 10.8462C92.3179 5.9303 90.5701 0.216206 90.5701-5.84573C90.5701-15.1671 94.5924-23.5564 100.984-29.4162L94.4949-35.5219C92.3521-37.5142 89.7637-38.4961 87.1934-38.4961C84.5268-38.4961 82.1183-37.5583 79.865-35.5843L57.8698-15.9085L48.8593-24.0343C46.8032-25.8553 44.5705-26.8041 42.2479-26.8041C39.9897-26.8041 38.0151-25.9176 36.0032-24.0966L23.3305-12.7021L23.3305-63.7206C23.3305-68.2181 25.6466-70.3505 29.9233-70.3505L110.991-70.3505C115.24-70.3505 117.584-68.2181 117.584-63.7206L117.584-37.7463C119.376-38.1005 121.205-38.3017 123.044-38.3017C124.884-38.3017 126.687-38.1005 128.454-37.7715L128.454-64.8293C128.454-75.5277 122.739-81.2571 111.915-81.2571L28.9998-81.2571C18.2131-81.2571 12.4609-75.5419 12.4609-64.8293L12.4609-5.58162C12.4609 5.13104 18.2131 10.8462 28.9998 10.8462ZM51.3664-33.9884C57.8408-33.9884 63.1755-39.3231 63.1755-45.8598C63.1755-52.3341 57.8408-57.7311 51.3664-57.7311C44.8298-57.7311 39.4951-52.3341 39.4951-45.8598C39.4951-39.3231 44.8298-33.9884 51.3664-33.9884ZM123.044 19.533C136.873 19.533 148.442 8.00891 148.442-5.84573C148.442-19.7374 136.991-31.1882 123.044-31.1882C109.149-31.1882 97.6836-19.7303 97.6836-5.84573C97.6836 8.083 109.149 19.533 123.044 19.533ZM123.044 10.4077C120.889 10.4077 119.496 8.95642 119.496 6.83395L119.496-2.23567L110.456-2.23567C108.304-2.23567 106.864-3.67273 106.864-5.82757C106.864-7.98241 108.267-9.41237 110.456-9.41237L119.496-9.41237L119.496-18.4275C119.496-20.5429 120.889-21.9824 123.044-21.9824C125.236-21.9824 126.636-20.5792 126.636-18.4275L126.636-9.41237L135.68-9.41237C137.803-9.41237 139.254-7.98241 139.254-5.82757C139.254-3.67273 137.803-2.23567 135.68-2.23567L126.636-2.23567L126.636 6.83395C126.636 8.95642 125.236 10.4077 123.044 10.4077Z"/>
|
||||
</g>
|
||||
<g id="Medium-M" transform="matrix(1 0 0 1 1676.29 1126)">
|
||||
<path d="M28.47 10.3692L95.8165 10.3692C92.936 5.56878 91.2666 0.0283146 91.2666-5.84423C91.2666-14.862 95.0783-22.9832 101.167-28.75L94.089-35.4079C91.9293-37.4012 89.3469-38.4034 86.7601-38.4034C84.0831-38.4034 81.679-37.4533 79.4119-35.4702L57.4033-15.784L48.3729-23.9401C46.3168-25.7641 44.098-26.7159 41.76-26.7159C39.5529-26.7159 37.5163-25.8264 35.5123-24.0024L22.0216-11.8159L22.0216-64.1103C22.0216-68.8621 24.5098-71.1789 29.0468-71.1789L111.476-71.1789C115.979-71.1789 118.501-68.8621 118.501-64.1103L118.501-37.4364C120.087-37.7089 121.693-37.8677 123.3-37.8677C124.908-37.8677 126.495-37.7089 128.062-37.4553L128.062-64.9043C128.062-75.3238 122.62-80.783 112.053-80.783L28.47-80.783C17.9464-80.783 12.4609-75.341 12.4609-64.9043L12.4609-5.50962C12.4609 4.9271 17.9464 10.3692 28.47 10.3692ZM50.253-34.3142C56.6485-34.3142 61.9123-39.578 61.9123-46.0358C61.9123-52.4314 56.6485-57.7575 50.253-57.7575C43.7951-57.7575 38.5314-52.4314 38.5314-46.0358C38.5314-39.578 43.7951-34.3142 50.253-34.3142ZM123.3 19.2754C136.981 19.2754 148.453 7.87767 148.453-5.84423C148.453-19.6096 137.119-30.9433 123.3-30.9433C109.542-30.9433 98.191-19.601 98.191-5.84423C98.191 7.96452 109.542 19.2754 123.3 19.2754ZM123.3 10.1057C121.297 10.1057 120.014 8.75306 120.014 6.77759L120.014-2.49556L110.753-2.49556C108.743-2.49556 107.414-3.831 107.414-5.83395C107.414-7.8369 108.722-9.16374 110.753-9.16374L120.014-9.16374L120.014-18.4061C120.014-20.3729 121.297-21.701 123.3-21.701C125.347-21.701 126.639-20.3935 126.639-18.4061L126.639-9.16374L135.893-9.16374C137.869-9.16374 139.221-7.8369 139.221-5.83395C139.221-3.831 137.869-2.49556 135.893-2.49556L126.639-2.49556L126.639 6.77759C126.639 8.75306 125.347 10.1057 123.3 10.1057Z"/>
|
||||
</g>
|
||||
<g id="Regular-M" transform="matrix(1 0 0 1 1379.84 1126)">
|
||||
<path d="M27.7789 9.74698L96.4511 9.74698C93.7424 5.09723 92.1752-0.216762 92.1752-5.84228C92.1752-14.464 95.712-22.2355 101.406-27.8811L93.5595-35.2592C91.3779-37.2539 88.8033-38.2825 86.195-38.2825C83.5044-38.2825 81.1061-37.3162 78.821-35.3215L56.7948-15.6216L47.7385-23.8172C45.6824-25.6452 43.4817-26.6008 41.1236-26.6008C38.9832-26.6008 36.8658-25.7075 34.8721-23.8795L20.3144-10.6599L20.3144-64.6187C20.3144-69.702 23.0272-72.2595 27.9035-72.2595L112.108-72.2595C116.942-72.2595 119.697-69.702 119.697-64.6187L119.697-37.0324C121.013-37.1982 122.329-37.3017 123.635-37.3017C124.94-37.3017 126.245-37.1982 127.551-37.0429L127.551-65.0021C127.551-75.0578 122.465-80.1648 112.233-80.1648L27.7789-80.1648C17.5986-80.1648 12.4609-75.0789 12.4609-65.0021L12.4609-5.4157C12.4609 4.6611 17.5986 9.74698 27.7789 9.74698ZM48.8007-34.7391C55.0934-34.7391 60.2647-39.9104 60.2647-46.2655C60.2647-52.5582 55.0934-57.7918 48.8007-57.7918C42.4456-57.7918 37.2743-52.5582 37.2743-46.2655C37.2743-39.9104 42.4456-34.7391 48.8007-34.7391ZM123.635 18.9394C137.121 18.9394 148.468 7.70648 148.468-5.84228C148.468-19.4428 137.287-30.624 123.635-30.624C110.055-30.624 98.8529-19.4322 98.8529-5.84228C98.8529 7.80999 110.055 18.9394 123.635 18.9394ZM123.635 9.71179C121.83 9.71179 120.689 8.4878 120.689 6.70407L120.689-2.83456L111.14-2.83456C109.315-2.83456 108.132-4.03745 108.132-5.84228C108.132-7.64711 109.315-8.83945 111.14-8.83945L120.689-8.83945L120.689-18.3781C120.689-20.1513 121.83-21.334 123.635-21.334C125.491-21.334 126.642-20.1513 126.642-18.3781L126.642-8.83945L136.17-8.83945C137.954-8.83945 139.178-7.64711 139.178-5.84228C139.178-4.03745 137.954-2.83456 136.17-2.83456L126.642-2.83456L126.642 6.70407C126.642 8.4878 125.491 9.71179 123.635 9.71179Z"/>
|
||||
</g>
|
||||
<g id="Light-M" transform="matrix(1 0 0 1 1083.52 1126)">
|
||||
<path d="M26.8549 8.97699L97.8713 8.97699C95.3166 4.5668 93.835-0.473426 93.835-5.82517C93.835-13.6769 96.944-20.8153 101.971-26.1187L93.4226-34.0443C91.1383-36.1417 88.6322-37.2216 85.8357-37.2216C83.0253-37.2216 80.6784-36.204 78.3248-34.1066L56.1445-14.287L46.9514-22.7392C44.8953-24.6014 42.763-25.5913 40.3194-25.5913C38.0421-25.5913 36.0274-24.6637 34.0336-22.8015L18.5006-8.4526L18.5006-64.8411C18.5006-70.4892 21.4701-73.3546 26.9795-73.3546L112.245-73.3546C117.644-73.3546 120.724-70.4892 120.724-64.8411L120.724-35.5608C121.749-35.6924 122.774-35.7617 123.771-35.7617C124.769-35.7617 125.766-35.6924 126.764-35.5885L126.764-65.139C126.764-74.5273 121.917-79.429 112.37-79.429L26.8549-79.429C17.3419-79.429 12.4609-74.5827 12.4609-65.139L12.4609-5.31303C12.4609 4.13066 17.3419 8.97699 26.8549 8.97699ZM48.3216-34.4995C54.6143-34.4995 59.7856-39.6708 59.7856-46.0259C59.7856-52.3187 54.6143-57.5523 48.3216-57.5523C41.9665-57.5523 36.7952-52.3187 36.7952-46.0259C36.7952-39.6708 41.9665-34.4995 48.3216-34.4995ZM123.771 18.4261C137.001 18.4261 148.057 7.46693 148.057-5.82517C148.057-19.1519 137.133-30.0764 123.771-30.0764C110.5-30.0764 99.5202-19.1243 99.5202-5.82517C99.5202 7.53622 110.5 18.4261 123.771 18.4261ZM123.771 9.59201C122.172 9.59201 121.203 8.50491 121.203 6.96073L121.203-3.19389L111.02-3.19389C109.469-3.19389 108.389-4.22567 108.389-5.82517C108.389-7.42467 109.469-8.42879 111.02-8.42879L121.203-8.42879L121.203-18.5834C121.203-20.0999 122.172-21.18 123.771-21.18C125.406-21.18 126.403-20.0999 126.403-18.5834L126.403-8.42879L136.53-8.42879C138.074-8.42879 139.161-7.42467 139.161-5.82517C139.161-4.22567 138.074-3.19389 136.53-3.19389L126.403-3.19389L126.403 6.96073C126.403 8.50491 125.406 9.59201 123.771 9.59201Z"/>
|
||||
</g>
|
||||
<g id="Thin-M" transform="matrix(1 0 0 1 787.33 1126)">
|
||||
<path d="M25.6328 7.95861L99.7497 7.95861C97.3986 3.86525 96.0301-0.812885 96.0301-5.80254C96.0301-12.6359 98.5734-18.9369 102.718-23.7877L93.2416-32.4375C90.8215-34.6707 88.4059-35.8185 85.3605-35.8185C82.3916-35.8185 80.1126-34.733 77.6685-32.4998L55.2846-12.5218L45.9104-21.3135C43.8543-23.2209 41.8125-24.2561 39.2558-24.2561C36.7974-24.2561 34.9185-23.2832 32.9247-21.3758L16.1018-5.53325L16.1018-65.1353C16.1018-71.5302 19.4107-74.803 25.7574-74.803L112.426-74.803C118.572-74.803 122.082-71.5302 122.082-65.1353L122.082-33.6146C122.722-33.7009 123.362-33.7249 123.953-33.7249C124.543-33.7249 125.133-33.7009 125.723-33.6649L125.723-65.32C125.723-73.8258 121.193-78.4559 112.551-78.4559L25.6328-78.4559C17.0024-78.4559 12.4609-73.9264 12.4609-65.32L12.4609-5.17725C12.4609 3.42911 17.0024 7.95861 25.6328 7.95861ZM47.6879-34.1827C53.9807-34.1827 59.152-39.354 59.152-45.7091C59.152-52.0019 53.9807-57.2355 47.6879-57.2355C41.3328-57.2355 36.1615-52.0019 36.1615-45.7091C36.1615-39.354 41.3328-34.1827 47.6879-34.1827ZM123.953 17.7472C136.843 17.7472 147.514 7.1501 147.514-5.80254C147.514-18.7672 136.929-29.3523 123.953-29.3523C111.088-29.3523 100.403-18.7169 100.403-5.80254C100.403 7.17413 111.088 17.7472 123.953 17.7472ZM123.953 9.4336C122.625 9.4336 121.881 8.52754 121.881 7.30019L121.881-3.66913L110.862-3.66913C109.673-3.66913 108.728-4.47461 108.728-5.80254C108.728-7.13047 109.673-7.88565 110.862-7.88565L121.881-7.88565L121.881-18.855C121.881-20.032 122.625-20.9764 123.953-20.9764C125.292-20.9764 126.086-20.032 126.086-18.855L126.086-7.88565L137.005-7.88565C138.232-7.88565 139.138-7.13047 139.138-5.80254C139.138-4.47461 138.232-3.66913 137.005-3.66913L126.086-3.66913L126.086 7.30019C126.086 8.52754 125.292 9.4336 123.953 9.4336Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-M" transform="matrix(1 0 0 1 490.886 1126)">
|
||||
<path d="M25.0069 7.437L100.712 7.437C98.465 3.50592 97.1545-0.986754 97.1545-5.79095C97.1545-12.1027 99.408-17.9749 103.1-22.5938L93.1489-31.6145C90.6592-33.9173 88.29-35.0998 85.117-35.0998C82.0671-35.0998 79.8228-33.9796 77.3323-31.6769L54.8441-11.6177L45.3772-20.5833C43.3211-22.5139 41.3257-23.5722 38.711-23.5722C36.1599-23.5722 34.3505-22.5762 32.3568-20.6456L14.8731-4.03798L14.8731-65.286C14.8731-72.0634 18.3559-75.5448 25.1315-75.5448L112.519-75.5448C119.047-75.5448 122.777-72.0634 122.777-65.286L122.777-32.6177C123.221-32.6809 123.664-32.6817 124.045-32.6817C124.427-32.6817 124.808-32.6809 125.189-32.6796L125.189-65.4127C125.189-73.4665 120.822-77.9575 112.644-77.9575L25.0069-77.9575C16.8286-77.9575 12.4609-73.5902 12.4609-65.4127L12.4609-5.1077C12.4609 3.06978 16.8286 7.437 25.0069 7.437ZM47.3633-34.0204C53.6561-34.0204 58.8274-39.1917 58.8274-45.5468C58.8274-51.8396 53.6561-57.0732 47.3633-57.0732C41.0083-57.0732 35.837-51.8396 35.837-45.5468C35.837-39.1917 41.0083-34.0204 47.3633-34.0204ZM124.045 17.3994C136.762 17.3994 147.236 6.98783 147.236-5.79095C147.236-18.5701 136.825-28.9813 124.045-28.9813C111.39-28.9813 100.855-18.5083 100.855-5.79095C100.855 6.98867 111.39 17.3994 124.045 17.3994ZM124.045 9.35246C122.856 9.35246 122.229 8.53913 122.229 7.47406L122.229-3.91255L110.781-3.91255C109.777-3.91255 108.902-4.60211 108.902-5.79095C108.902-6.97979 109.777-7.60746 110.781-7.60746L122.229-7.60746L122.229-18.9941C122.229-19.9973 122.856-20.872 124.045-20.872C125.235-20.872 125.924-19.9973 125.924-18.9941L125.924-7.60746L137.248-7.60746C138.313-7.60746 139.127-6.97979 139.127-5.79095C139.127-4.60211 138.313-3.91255 137.248-3.91255L125.924-3.91255L125.924 7.47406C125.924 8.53913 125.235 9.35246 124.045 9.35246Z"/>
|
||||
</g>
|
||||
<g id="Black-S" transform="matrix(1 0 0 1 2877.35 696)">
|
||||
<path d="M25 2.92969L72.6562 2.92969C69.7266-1.41602 68.0176-6.64062 68.0176-12.207C68.0176-20.8008 72.0703-28.5156 78.3691-33.4961L75.8301-35.8887C74.2188-37.4512 72.168-38.1348 70.2148-38.1348C68.1641-38.1348 66.2598-37.4512 64.5508-35.9375L47.3633-20.5566L40.3809-26.8066C38.7695-28.2227 36.9629-28.9551 35.2051-28.9551C33.2031-28.9551 31.9336-28.2715 30.3223-26.8555L23.9258-21.3379L23.9258-55.8594C23.9258-58.3008 25-59.1797 27.2461-59.1797L84.8633-59.1797C87.1094-59.1797 88.1836-58.3008 88.1836-55.8594L88.1836-38.4766C90.4785-39.1113 92.8711-39.4531 95.3125-39.4531C97.7539-39.4531 100.098-39.1113 102.344-38.5254L102.344-58.1055C102.344-67.6758 96.6797-73.3398 87.1094-73.3398L25-73.3398C15.4297-73.3398 9.76562-67.6758 9.76562-58.1055L9.76562-12.3047C9.76562-2.73438 15.4297 2.92969 25 2.92969ZM45.1172-32.8125C50.5371-32.8125 55.0293-37.3047 55.0293-42.7734C55.0293-48.1934 50.5371-52.7344 45.1172-52.7344C39.6484-52.7344 35.1562-48.1934 35.1562-42.7734C35.1562-37.3047 39.6484-32.8125 45.1172-32.8125ZM95.3125 8.78906C106.787 8.78906 116.26-0.78125 116.26-12.207C116.26-23.6328 106.787-33.1055 95.3125-33.1055C83.8379-33.1055 74.3652-23.6328 74.3652-12.207C74.3652-0.78125 83.8379 8.78906 95.3125 8.78906ZM95.3125 1.85547C92.9688 1.85547 91.4062 0.292969 91.4062-2.00195L91.4062-8.25195L85.2539-8.25195C82.959-8.25195 81.3477-9.81445 81.3477-12.1582C81.3477-14.502 82.8613-16.0645 85.2539-16.0645L91.4062-16.0645L91.4062-22.168C91.4062-24.4629 92.9688-26.0742 95.3125-26.0742C97.6562-26.0742 99.2188-24.5605 99.2188-22.168L99.2188-16.0645L105.42-16.0645C107.715-16.0645 109.277-14.502 109.277-12.1582C109.277-9.81445 107.715-8.25195 105.42-8.25195L99.2188-8.25195L99.2188-2.00195C99.2188 0.292969 97.6562 1.85547 95.3125 1.85547Z"/>
|
||||
</g>
|
||||
<g id="Heavy-S" transform="matrix(1 0 0 1 2580.87 696)">
|
||||
<path d="M24.3431 2.33042L73.1864 2.33042C70.4296-1.87699 68.8243-6.88264 68.8243-12.207C68.8243-20.455 72.6235-27.8587 78.5651-32.747L75.2539-35.8771C73.631-37.4281 71.5802-38.1348 69.6271-38.1348C67.5763-38.1348 65.672-37.4396 63.9515-35.926L46.764-20.5451L39.7701-26.8066C38.1587-28.2227 36.3636-28.9551 34.5943-28.9551C32.6845-28.9551 31.3113-28.2715 29.7115-26.8555L22.2432-20.3237L22.2432-56.401C22.2432-59.1421 23.5364-60.2515 26.0821-60.2515L85.5547-60.2515C88.1005-60.2515 89.3937-59.1421 89.3937-56.401L89.3937-38.2115C91.4235-38.731 93.528-39.0152 95.6698-39.0152C97.8115-39.0152 99.8787-38.731 101.871-38.2488L101.871-58.1977C101.871-67.4453 96.576-72.7406 87.2938-72.7406L24.3431-72.7406C15.0724-72.7406 9.76562-67.4453 9.76562-58.1977L9.76562-12.2125C9.76562-2.96486 15.0724 2.33042 24.3431 2.33042ZM43.5499-33.3196C48.8545-33.3196 53.243-37.708 53.243-43.0615C53.243-48.3662 48.8545-52.8035 43.5499-52.8035C38.1964-52.8035 33.8079-48.3662 33.8079-43.0615C33.8079-37.708 38.1964-33.3196 43.5499-33.3196ZM95.6698 8.4779C106.96 8.4779 116.329-0.942593 116.329-12.207C116.329-23.483 106.995-32.8174 95.6698-32.8174C84.3565-32.8174 75.0221-23.483 75.0221-12.207C75.0221-0.919544 84.3565 8.4779 95.6698 8.4779ZM95.6698 1.42906C93.5219 1.42906 92.0977-0.00666735 92.0977-2.1172L92.0977-8.58616L85.7034-8.58616C83.5813-8.58616 82.1198-10.0219 82.1198-12.1697C82.1198-14.3176 83.5067-15.7533 85.7034-15.7533L92.0977-15.7533L92.0977-22.1103C92.0977-24.2209 93.5219-25.6824 95.6698-25.6824C97.8291-25.6824 99.2533-24.2955 99.2533-22.1103L99.2533-15.7533L105.685-15.7533C107.796-15.7533 109.231-14.3176 109.231-12.1697C109.231-10.0219 107.796-8.58616 105.685-8.58616L99.2533-8.58616L99.2533-2.1172C99.2533-0.00666735 97.8291 1.42906 95.6698 1.42906Z"/>
|
||||
</g>
|
||||
<g id="Bold-S" transform="matrix(1 0 0 1 2284.42 696)">
|
||||
<path d="M23.6084 1.66016L73.7793 1.66016C71.2158-2.39258 69.7266-7.15332 69.7266-12.207C69.7266-20.0684 73.2422-27.124 78.7842-31.9092L74.6094-35.8643C72.9736-37.4023 70.9229-38.1348 68.9697-38.1348C66.9189-38.1348 65.0146-37.4268 63.2812-35.9131L46.0938-20.5322L39.0869-26.8066C37.4756-28.2227 35.6934-28.9551 33.9111-28.9551C32.1045-28.9551 30.6152-28.2715 29.0283-26.8555L20.3613-19.1895L20.3613-57.0068C20.3613-60.083 21.8994-61.4502 24.7803-61.4502L86.3281-61.4502C89.209-61.4502 90.7471-60.083 90.7471-57.0068L90.7471-37.915C92.4805-38.3057 94.2627-38.5254 96.0693-38.5254C97.876-38.5254 99.6338-38.3057 101.343-37.9395L101.343-58.3008C101.343-67.1875 96.46-72.0703 87.5-72.0703L23.6084-72.0703C14.6729-72.0703 9.76562-67.1875 9.76562-58.3008L9.76562-12.1094C9.76562-3.22266 14.6729 1.66016 23.6084 1.66016ZM41.7969-33.8867C46.9727-33.8867 51.2451-38.1592 51.2451-43.3838C51.2451-48.5596 46.9727-52.8809 41.7969-52.8809C36.5723-52.8809 32.2998-48.5596 32.2998-43.3838C32.2998-38.1592 36.5723-33.8867 41.7969-33.8867ZM96.0693 8.12988C107.153 8.12988 116.406-1.12305 116.406-12.207C116.406-23.3154 107.227-32.4951 96.0693-32.4951C84.9365-32.4951 75.7568-23.3154 75.7568-12.207C75.7568-1.07422 84.9365 8.12988 96.0693 8.12988ZM96.0693 0.952148C94.1406 0.952148 92.8711-0.341797 92.8711-2.24609L92.8711-8.95996L86.2061-8.95996C84.2773-8.95996 82.9834-10.2539 82.9834-12.1826C82.9834-14.1113 84.2285-15.4053 86.2061-15.4053L92.8711-15.4053L92.8711-22.0459C92.8711-23.9502 94.1406-25.2441 96.0693-25.2441C98.0225-25.2441 99.292-23.999 99.292-22.0459L99.292-15.4053L105.981-15.4053C107.886-15.4053 109.18-14.1113 109.18-12.1826C109.18-10.2539 107.886-8.95996 105.981-8.95996L99.292-8.95996L99.292-2.24609C99.292-0.341797 98.0225 0.952148 96.0693 0.952148Z"/>
|
||||
</g>
|
||||
<g id="Semibold-S" transform="matrix(1 0 0 1 1987.89 696)">
|
||||
<path d="M23.1019 1.19805L74.1881 1.19805C71.7579-2.74805 70.3486-7.33994 70.3486-12.207C70.3486-19.8018 73.6688-26.6175 78.9353-31.3315L74.165-35.8554C72.5204-37.3846 70.4696-38.1348 68.5165-38.1348C66.4657-38.1348 64.5614-37.4179 62.8191-35.9042L45.6316-20.5233L38.6159-26.8066C37.0046-28.2227 35.2313-28.9551 33.4401-28.9551C31.7046-28.9551 30.1354-28.2715 28.5573-26.8555L19.0639-18.4074L19.0639-57.4245C19.0639-60.7317 20.7708-62.2767 23.8827-62.2767L86.8613-62.2767C89.9732-62.2767 91.6802-60.7317 91.6802-57.4245L91.6802-37.7106C93.2092-38.0124 94.7692-38.1877 96.3448-38.1877C97.9204-38.1877 99.4649-38.0124 100.978-37.7262L100.978-58.3719C100.978-67.0098 96.38-71.6082 87.6422-71.6082L23.1019-71.6082C14.3974-71.6082 9.76562-67.0098 9.76562-58.3719L9.76562-12.0383C9.76562-3.40039 14.3974 1.19805 23.1019 1.19805ZM40.5883-34.2777C45.6752-34.2777 49.8677-38.4702 49.8677-43.606C49.8677-48.6929 45.6752-52.9342 40.5883-52.9342C35.4525-52.9342 31.2601-48.6929 31.2601-43.606C31.2601-38.4702 35.4525-34.2777 40.5883-34.2777ZM96.3448 7.88994C107.287 7.88994 116.46-1.24746 116.46-12.207C116.46-23.1999 107.387-32.2729 96.3448-32.2729C85.3364-32.2729 76.2634-23.1999 76.2634-12.207C76.2634-1.18086 85.3364 7.88994 96.3448 7.88994ZM96.3448 0.62334C94.5672 0.62334 93.4043-0.572852 93.4043-2.33496L93.4043-9.21768L86.5526-9.21768C84.7572-9.21768 83.5788-10.4139 83.5788-12.1915C83.5788-13.9691 84.7262-15.1653 86.5526-15.1653L93.4043-15.1653L93.4043-22.0015C93.4043-23.7636 94.5672-24.942 96.3448-24.942C98.1558-24.942 99.3187-23.7946 99.3187-22.0015L99.3187-15.1653L106.186-15.1653C107.948-15.1653 109.144-13.9691 109.144-12.1915C109.144-10.4139 107.948-9.21768 106.186-9.21768L99.3187-9.21768L99.3187-2.33496C99.3187-0.572852 98.1558 0.62334 96.3448 0.62334Z"/>
|
||||
</g>
|
||||
<g id="Medium-S" transform="matrix(1 0 0 1 1691.32 696)">
|
||||
<path d="M22.7178 0.847656L74.498 0.847656C72.1689-3.01758 70.8203-7.48145 70.8203-12.207C70.8203-19.5996 73.9922-26.2334 79.0498-30.8936L73.8281-35.8486C72.1768-37.3711 70.126-38.1348 68.1729-38.1348C66.1221-38.1348 64.2178-37.4111 62.4688-35.8975L45.2812-20.5166L38.2588-26.8066C36.6475-28.2227 34.8809-28.9551 33.083-28.9551C31.4014-28.9551 29.7715-28.2715 28.2002-26.8555L18.0801-17.8145L18.0801-57.7412C18.0801-61.2236 19.915-62.9033 23.2021-62.9033L87.2656-62.9033C90.5527-62.9033 92.3877-61.2236 92.3877-57.7412L92.3877-37.5557C93.7617-37.79 95.1533-37.9316 96.5537-37.9316C97.9541-37.9316 99.3369-37.79 100.702-37.5645L100.702-58.4258C100.702-66.875 96.3193-71.2578 87.75-71.2578L22.7178-71.2578C14.1885-71.2578 9.76562-66.875 9.76562-58.4258L9.76562-11.9844C9.76562-3.53516 14.1885 0.847656 22.7178 0.847656ZM39.6719-34.5742C44.6914-34.5742 48.8232-38.7061 48.8232-43.7744C48.8232-48.7939 44.6914-52.9746 39.6719-52.9746C34.6035-52.9746 30.4717-48.7939 30.4717-43.7744C30.4717-38.7061 34.6035-34.5742 39.6719-34.5742ZM96.5537 7.70801C107.388 7.70801 116.5-1.3418 116.5-12.207C116.5-23.1123 107.508-32.1045 96.5537-32.1045C85.6396-32.1045 76.6475-23.1123 76.6475-12.207C76.6475-1.26172 85.6396 7.70801 96.5537 7.70801ZM96.5537 0.374023C94.8906 0.374023 93.8086-0.748047 93.8086-2.40234L93.8086-9.41309L86.8154-9.41309C85.1211-9.41309 84.0303-10.5352 84.0303-12.1982C84.0303-13.8613 85.1035-14.9834 86.8154-14.9834L93.8086-14.9834L93.8086-21.9678C93.8086-23.6221 94.8906-24.7129 96.5537-24.7129C98.2568-24.7129 99.3389-23.6396 99.3389-21.9678L99.3389-14.9834L106.341-14.9834C107.995-14.9834 109.117-13.8613 109.117-12.1982C109.117-10.5352 107.995-9.41309 106.341-9.41309L99.3389-9.41309L99.3389-2.40234C99.3389-0.748047 98.2568 0.374023 96.5537 0.374023Z"/>
|
||||
</g>
|
||||
<g id="Regular-S" transform="matrix(1 0 0 1 1394.79 696)">
|
||||
<path d="M22.2168 0.390625L74.9023 0.390625C72.7051-3.36914 71.4355-7.66602 71.4355-12.207C71.4355-19.3359 74.4141-25.7324 79.1992-30.3223L73.3887-35.8398C71.7285-37.3535 69.6777-38.1348 67.7246-38.1348C65.6738-38.1348 63.7695-37.4023 62.0117-35.8887L44.8242-20.5078L37.793-26.8066C36.1816-28.2227 34.4238-28.9551 32.6172-28.9551C31.0059-28.9551 29.2969-28.2715 27.7344-26.8555L16.7969-17.041L16.7969-58.1543C16.7969-61.8652 18.7988-63.7207 22.3145-63.7207L87.793-63.7207C91.3086-63.7207 93.3105-61.8652 93.3105-58.1543L93.3105-37.3535C94.4824-37.5 95.6543-37.5977 96.8262-37.5977C97.998-37.5977 99.1699-37.5 100.342-37.3535L100.342-58.4961C100.342-66.6992 96.2402-70.8008 87.8906-70.8008L22.2168-70.8008C13.916-70.8008 9.76562-66.6992 9.76562-58.4961L9.76562-11.9141C9.76562-3.71094 13.916 0.390625 22.2168 0.390625ZM38.4766-34.9609C43.4082-34.9609 47.4609-39.0137 47.4609-43.9941C47.4609-48.9258 43.4082-53.0273 38.4766-53.0273C33.4961-53.0273 29.4434-48.9258 29.4434-43.9941C29.4434-39.0137 33.4961-34.9609 38.4766-34.9609ZM96.8262 7.4707C107.52 7.4707 116.553-1.46484 116.553-12.207C116.553-22.998 107.666-31.8848 96.8262-31.8848C86.0352-31.8848 77.1484-22.998 77.1484-12.207C77.1484-1.36719 86.0352 7.4707 96.8262 7.4707ZM96.8262 0.0488281C95.3125 0.0488281 94.3359-0.976562 94.3359-2.49023L94.3359-9.66797L87.1582-9.66797C85.5957-9.66797 84.6191-10.6934 84.6191-12.207C84.6191-13.7207 85.5957-14.7461 87.1582-14.7461L94.3359-14.7461L94.3359-21.9238C94.3359-23.4375 95.3125-24.4141 96.8262-24.4141C98.3887-24.4141 99.3652-23.4375 99.3652-21.9238L99.3652-14.7461L106.543-14.7461C108.057-14.7461 109.082-13.7207 109.082-12.207C109.082-10.6934 108.057-9.66797 106.543-9.66797L99.3652-9.66797L99.3652-2.49023C99.3652-0.976562 98.3887 0.0488281 96.8262 0.0488281Z"/>
|
||||
</g>
|
||||
<g id="Light-S" transform="matrix(1 0 0 1 1098.43 696)">
|
||||
<path d="M21.3994-0.290522L76.1587-0.290522C74.0976-3.83838 72.9038-7.89306 72.9038-12.1919C72.9038-18.6397 75.5039-24.4761 79.6987-28.7632L73.2676-34.7651C71.5166-36.3696 69.5264-37.1963 67.4067-37.1963C65.25-37.1963 63.3911-36.4185 61.5728-34.814L44.249-19.3272L37.0967-25.853C35.4854-27.2993 33.7881-28.062 31.9058-28.062C30.1733-28.062 28.5552-27.3482 26.9927-25.9019L15.1924-15.0884L15.1924-58.3511C15.1924-62.5615 17.4214-64.6894 21.4971-64.6894L87.9141-64.6894C91.9292-64.6894 94.2187-62.5615 94.2187-58.3511L94.2187-36.0518C95.1333-36.168 96.0478-36.2354 96.9473-36.2354C97.8467-36.2354 98.7461-36.168 99.6455-36.0669L99.6455-58.6172C99.6455-66.23 95.7559-70.1499 88.0117-70.1499L21.3994-70.1499C13.689-70.1499 9.76562-66.2603 9.76562-58.6172L9.76562-11.8232C9.76562-4.18017 13.689-0.290522 21.3994-0.290522ZM38.0527-34.749C42.9844-34.749 47.0371-38.8018 47.0371-43.7822C47.0371-48.7139 42.9844-52.8154 38.0527-52.8154C33.0723-52.8154 29.0195-48.7139 29.0195-43.7822C29.0195-38.8018 33.0723-34.749 38.0527-34.749ZM96.9473 7.01661C107.414 7.01661 116.189-1.67676 116.189-12.1919C116.189-22.7407 107.53-31.4004 96.9473-31.4004C86.4287-31.4004 77.7388-22.7256 77.7388-12.1919C77.7388-1.60937 86.4287 7.01661 96.9473 7.01661ZM96.9473-0.0571281C95.6152-0.0571281 94.79-0.961426 94.79-2.26319L94.79-9.98584L87.0522-9.98584C85.7319-9.98584 84.8462-10.8599 84.8462-12.1919C84.8462-13.5239 85.7319-14.3828 87.0522-14.3828L94.79-14.3828L94.79-22.1055C94.79-23.3921 95.6152-24.2778 96.9473-24.2778C98.313-24.2778 99.1533-23.3921 99.1533-22.1055L99.1533-14.3828L106.861-14.3828C108.163-14.3828 109.067-13.5239 109.067-12.1919C109.067-10.8599 108.163-9.98584 106.861-9.98584L99.1533-9.98584L99.1533-2.26319C99.1533-0.961426 98.313-0.0571281 96.9473-0.0571281Z"/>
|
||||
</g>
|
||||
<g id="Thin-S" transform="matrix(1 0 0 1 802.177 696)">
|
||||
<path d="M20.3184-1.19139L77.8203-1.19139C75.9394-4.45898 74.8457-8.19336 74.8457-12.1719C74.8457-17.7188 76.9453-22.8145 80.3594-26.7012L73.1074-33.3438C71.2363-35.0684 69.3262-35.9551 66.9863-35.9551C64.6895-35.9551 62.8906-35.1172 60.9922-33.3926L43.4883-17.7656L36.1758-24.5918C34.5645-26.0781 32.9473-26.8809 30.9649-26.8809C29.0723-26.8809 27.5742-26.127 26.0117-24.6406L13.0703-12.5059L13.0703-58.6113C13.0703-63.4824 15.5996-65.9707 20.416-65.9707L88.0742-65.9707C92.75-65.9707 95.4199-63.4824 95.4199-58.6113L95.4199-34.3301C95.9941-34.4063 96.5684-34.4336 97.1074-34.4336C97.6465-34.4336 98.1856-34.4063 98.7246-34.3653L98.7246-58.7773C98.7246-65.6094 95.1152-69.2891 88.1719-69.2891L20.3184-69.2891C13.3887-69.2891 9.76562-65.6797 9.76562-58.7773L9.76562-11.7031C9.76562-4.80077 13.3887-1.19139 20.3184-1.19139ZM37.4922-34.4688C42.4238-34.4688 46.4766-38.5215 46.4766-43.502C46.4766-48.4336 42.4238-52.5352 37.4922-52.5352C32.5117-52.5352 28.459-48.4336 28.459-43.502C28.459-38.5215 32.5117-34.4688 37.4922-34.4688ZM97.1074 6.41602C107.273 6.41602 115.709-1.95703 115.709-12.1719C115.709-22.4004 107.35-30.7598 97.1074-30.7598C86.9492-30.7598 78.5195-22.3652 78.5195-12.1719C78.5195-1.92968 86.9492 6.41602 97.1074 6.41602ZM97.1074-0.197264C96.0156-0.197264 95.3906-0.941407 95.3906-1.96289L95.3906-10.4062L86.9121-10.4062C85.9121-10.4062 85.1465-11.0801 85.1465-12.1719C85.1465-13.2637 85.9121-13.9024 86.9121-13.9024L95.3906-13.9024L95.3906-22.3457C95.3906-23.332 96.0156-24.0977 97.1074-24.0977C98.2129-24.0977 98.8731-23.332 98.8731-22.3457L98.8731-13.9024L107.281-13.9024C108.303-13.9024 109.047-13.2637 109.047-12.1719C109.047-11.0801 108.303-10.4062 107.281-10.4062L98.8731-10.4062L98.8731-1.96289C98.8731-0.941407 98.2129-0.197264 97.1074-0.197264Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-S" transform="matrix(1 0 0 1 505.702 696)">
|
||||
<path d="M19.7647-1.65282L78.6714-1.65282C76.8828-4.77684 75.8403-8.34716 75.8403-12.1616C75.8403-17.2471 77.6836-21.9634 80.6977-25.6451L73.0254-32.6157C71.0928-34.4019 69.2236-35.3194 66.771-35.3194C64.4024-35.3194 62.6343-34.4507 60.6948-32.6646L43.0986-16.9658L35.7041-23.9458C34.0928-25.4527 32.5166-26.2759 30.4829-26.2759C28.5083-26.2759 27.0718-25.5015 25.5093-23.9947L11.9834-11.1832L11.9834-58.7446C11.9834-63.9541 14.6665-66.6269 19.8623-66.6269L88.1562-66.6269C93.1704-66.6269 96.0351-63.9541 96.0351-58.7446L96.0351-33.4483C96.435-33.5039 96.835-33.5108 97.1895-33.5108C97.5439-33.5108 97.8984-33.5039 98.2529-33.4937L98.2529-58.8594C98.2529-65.2915 94.7871-68.8482 88.2539-68.8482L19.7647-68.8482C13.2349-68.8482 9.76562-65.3823 9.76562-58.8594L9.76562-11.6416C9.76562-5.11864 13.2349-1.65282 19.7647-1.65282ZM37.2051-34.3252C42.1367-34.3252 46.1895-38.3779 46.1895-43.3584C46.1895-48.29 42.1367-52.3916 37.2051-52.3916C32.2246-52.3916 28.1719-48.29 28.1719-43.3584C28.1719-38.3779 32.2246-34.3252 37.2051-34.3252ZM97.1895 6.10841C107.202 6.10841 115.463-2.10058 115.463-12.1616C115.463-22.2261 107.257-30.4317 97.1895-30.4317C87.2158-30.4317 78.9194-22.1807 78.9194-12.1616C78.9194-2.09374 87.2158 6.10841 97.1895 6.10841ZM97.1895-0.26904C96.2207-0.26904 95.6982-0.931153 95.6982-1.80909L95.6982-10.6216L86.8403-10.6216C86.0044-10.6216 85.3003-11.1929 85.3003-12.1616C85.3003-13.1304 86.0044-13.6563 86.8403-13.6563L95.6982-13.6563L95.6982-22.4687C95.6982-23.3013 96.2207-24.0054 97.1895-24.0054C98.1616-24.0054 98.7295-23.3013 98.7295-22.4687L98.7295-13.6563L107.497-13.6563C108.375-13.6563 109.037-13.1304 109.037-12.1616C109.037-11.1929 108.375-10.6216 107.497-10.6216L98.7295-10.6216L98.7295-1.80909C98.7295-0.931153 98.1616-0.26904 97.1895-0.26904Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 60 KiB |
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"symbols" : [
|
||||
{
|
||||
"filename" : "photo.stack.svg",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--Generator: Apple Native CoreSVG 232.5-->
|
||||
<!DOCTYPE svg
|
||||
PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="3300" height="2200">
|
||||
<g id="Notes">
|
||||
<rect height="2200" id="artboard" style="fill:white;opacity:1" width="3300" x="0" y="0"/>
|
||||
<line style="fill:none;stroke:black;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="292" y2="292"/>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 263 322)">Weight/Scale Variations</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 559.711 322)">Ultralight</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 856.422 322)">Thin</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1153.13 322)">Light</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1449.84 322)">Regular</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 1746.56 322)">Medium</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2043.27 322)">Semibold</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2339.98 322)">Bold</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2636.69 322)">Heavy</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:middle;" transform="matrix(1 0 0 1 2933.4 322)">Black</text>
|
||||
<line style="fill:none;stroke:black;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1903" y2="1903"/>
|
||||
<g transform="matrix(0.2 0 0 0.2 263 1933)">
|
||||
<path d="m46.2402 4.15039c21.5332 0 39.4531-17.8711 39.4531-39.4043s-17.9688-39.4043-39.502-39.4043c-21.4844 0-39.3555 17.8711-39.3555 39.4043s17.9199 39.4043 39.4043 39.4043Zm0-7.42188c-17.7246 0-31.8848-14.209-31.8848-31.9824s14.1113-31.9824 31.8359-31.9824c17.7734 0 32.0312 14.209 32.0312 31.9824s-14.209 31.9824-31.9824 31.9824Zm-17.9688-31.9824c0 2.14844 1.51367 3.61328 3.75977 3.61328h10.498v10.5957c0 2.19727 1.46484 3.71094 3.61328 3.71094 2.24609 0 3.71094-1.51367 3.71094-3.71094v-10.5957h10.5957c2.19727 0 3.71094-1.46484 3.71094-3.61328 0-2.19727-1.51367-3.71094-3.71094-3.71094h-10.5957v-10.5469c0-2.24609-1.46484-3.75977-3.71094-3.75977-2.14844 0-3.61328 1.51367-3.61328 3.75977v10.5469h-10.498c-2.24609 0-3.75977 1.51367-3.75977 3.71094Z"/>
|
||||
</g>
|
||||
<g transform="matrix(0.2 0 0 0.2 281.506 1933)">
|
||||
<path d="m58.5449 14.5508c27.2461 0 49.8047-22.6074 49.8047-49.8047 0-27.2461-22.6074-49.8047-49.8535-49.8047-27.1973 0-49.7559 22.5586-49.7559 49.8047 0 27.1973 22.6074 49.8047 49.8047 49.8047Zm0-8.30078c-23.0469 0-41.4551-18.457-41.4551-41.5039s18.3594-41.5039 41.4062-41.5039 41.5527 18.457 41.5527 41.5039-18.457 41.5039-41.5039 41.5039Zm-22.6562-41.5039c0 2.39258 1.66016 4.00391 4.15039 4.00391h14.3555v14.4043c0 2.44141 1.66016 4.15039 4.05273 4.15039 2.44141 0 4.15039-1.66016 4.15039-4.15039v-14.4043h14.4043c2.44141 0 4.15039-1.61133 4.15039-4.00391 0-2.44141-1.70898-4.15039-4.15039-4.15039h-14.4043v-14.3555c0-2.49023-1.70898-4.19922-4.15039-4.19922-2.39258 0-4.05273 1.70898-4.05273 4.19922v14.3555h-14.3555c-2.49023 0-4.15039 1.70898-4.15039 4.15039Z"/>
|
||||
</g>
|
||||
<g transform="matrix(0.2 0 0 0.2 304.924 1933)">
|
||||
<path d="m74.8535 28.3203c34.8145 0 63.623-28.8086 63.623-63.5742 0-34.8145-28.8574-63.623-63.6719-63.623-34.7656 0-63.5254 28.8086-63.5254 63.623 0 34.7656 28.8086 63.5742 63.5742 63.5742Zm0-9.08203c-30.1758 0-54.4434-24.3164-54.4434-54.4922 0-30.2246 24.2188-54.4922 54.3945-54.4922 30.2246 0 54.541 24.2676 54.541 54.4922 0 30.1758-24.2676 54.4922-54.4922 54.4922Zm-28.8574-54.4922c0 2.58789 1.85547 4.39453 4.58984 4.39453h19.7266v19.7754c0 2.68555 1.85547 4.58984 4.44336 4.58984 2.68555 0 4.54102-1.85547 4.54102-4.58984v-19.7754h19.7754c2.68555 0 4.58984-1.80664 4.58984-4.39453 0-2.73438-1.85547-4.58984-4.58984-4.58984h-19.7754v-19.7266c0-2.73438-1.85547-4.63867-4.54102-4.63867-2.58789 0-4.44336 1.9043-4.44336 4.63867v19.7266h-19.7266c-2.73438 0-4.58984 1.85547-4.58984 4.58984Z"/>
|
||||
</g>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 263 1953)">Design Variations</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1971)">Symbols are supported in up to nine weights and three scales.</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1989)">For optimal layout with text and other symbols, vertically align</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 2007)">symbols with the adjacent text.</text>
|
||||
<line style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="776" x2="776" y1="1919" y2="1933"/>
|
||||
<g transform="matrix(0.2 0 0 0.2 776 1933)">
|
||||
<path d="m16.5527 0.78125c2.58789 0 3.85742-0.976562 4.78516-3.71094l6.29883-17.2363h28.8086l6.29883 17.2363c0.927734 2.73438 2.19727 3.71094 4.73633 3.71094 2.58789 0 4.24805-1.5625 4.24805-4.00391 0-0.830078-0.146484-1.61133-0.537109-2.63672l-22.9004-60.9863c-1.12305-2.97852-3.125-4.49219-6.25-4.49219-3.02734 0-5.07812 1.46484-6.15234 4.44336l-22.9004 61.084c-0.390625 1.02539-0.537109 1.80664-0.537109 2.63672 0 2.44141 1.5625 3.95508 4.10156 3.95508Zm13.4766-28.3691 11.8652-32.8613h0.244141l11.8652 32.8613Z"/>
|
||||
</g>
|
||||
<line style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="792.836" x2="792.836" y1="1919" y2="1933"/>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 776 1953)">Margins</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 1971)">Leading and trailing margins on the left and right side of each symbol</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 1989)">can be adjusted by modifying the x-location of the margin guidelines.</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 2007)">Modifications are automatically applied proportionally to all</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 776 2025)">scales and weights.</text>
|
||||
<g transform="matrix(0.2 0 0 0.2 1289 1933)">
|
||||
<path d="m14.209 9.32617 8.49609 8.54492c4.29688 4.3457 9.22852 4.05273 13.8672-1.07422l53.4668-58.9355-4.83398-4.88281-53.0762 58.3984c-1.75781 2.00195-3.41797 2.49023-5.76172 0.146484l-5.85938-5.81055c-2.34375-2.29492-1.80664-4.00391 0.195312-5.81055l57.373-54.0039-4.88281-4.83398-57.959 54.4434c-4.93164 4.58984-5.32227 9.47266-1.02539 13.8184Zm32.0801-90.9668c-2.09961 2.05078-2.24609 4.93164-1.07422 6.88477 1.17188 1.80664 3.4668 2.97852 6.68945 2.14844 7.32422-1.70898 14.9414-2.00195 22.0703 2.68555l-2.92969 7.27539c-1.70898 4.15039-0.830078 7.08008 1.85547 9.81445l11.4746 11.5723c2.44141 2.44141 4.49219 2.53906 7.32422 2.05078l5.32227-0.976562 3.32031 3.36914-0.195312 2.7832c-0.195312 2.49023 0.439453 4.39453 2.88086 6.78711l3.80859 3.71094c2.39258 2.39258 5.46875 2.53906 7.8125 0.195312l14.5508-14.5996c2.34375-2.34375 2.24609-5.32227-0.146484-7.71484l-3.85742-3.80859c-2.39258-2.39258-4.24805-3.17383-6.64062-2.97852l-2.88086 0.244141-3.22266-3.17383 1.2207-5.61523c0.634766-2.83203-0.146484-5.0293-3.07617-7.95898l-10.9863-10.9375c-16.6992-16.6016-38.8672-16.2109-53.3203-1.75781Zm7.4707 1.85547c12.1582-8.88672 28.6133-7.37305 39.7461 3.75977l12.1582 12.0605c1.17188 1.17188 1.36719 2.09961 1.02539 3.80859l-1.61133 7.42188 7.51953 7.42188 4.93164-0.292969c1.26953-0.0488281 1.66016 0.0488281 2.63672 1.02539l2.88086 2.88086-12.207 12.207-2.88086-2.88086c-0.976562-0.976562-1.12305-1.36719-1.07422-2.68555l0.341797-4.88281-7.4707-7.42188-7.61719 1.26953c-1.61133 0.341797-2.34375 0.195312-3.56445-0.976562l-10.0098-10.0098c-1.26953-1.17188-1.41602-2.00195-0.634766-3.85742l4.39453-10.4492c-7.8125-7.27539-17.9688-10.4004-28.125-7.42188-0.78125 0.195312-1.07422-0.439453-0.439453-0.976562Z"/>
|
||||
</g>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;font-weight:bold;" transform="matrix(1 0 0 1 1289 1953)">Exporting</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 1289 1971)">Symbols should be outlined when exporting to ensure the</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 1289 1989)">design is preserved when submitting to Xcode.</text>
|
||||
<text id="template-version" style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1933)">Template v.2.0</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1951)">Requires Xcode 12 or greater</text>
|
||||
<text id="descriptive-name" style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1969)">Generated from photo.stack</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;text-anchor:end;" transform="matrix(1 0 0 1 3036 1987)">Typeset at 100.0 points</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 726)">Small</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1156)">Medium</text>
|
||||
<text style="stroke:none;fill:black;font-family:sans-serif;font-size:13;" transform="matrix(1 0 0 1 263 1586)">Large</text>
|
||||
</g>
|
||||
<g id="Guides">
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 696)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-S" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="696" y2="696"/>
|
||||
<line id="Capline-S" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="625.541" y2="625.541"/>
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 1126)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-M" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1126" y2="1126"/>
|
||||
<line id="Capline-M" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1055.54" y2="1055.54"/>
|
||||
<g id="H-reference" style="fill:#27AAE1;stroke:none;" transform="matrix(1 0 0 1 339 1556)">
|
||||
<path d="M0.993654 0L3.63775 0L29.3281-67.1323L30.0303-67.1323L30.0303-70.459L28.1226-70.459ZM11.6885-24.4799L46.9815-24.4799L46.2315-26.7285L12.4385-26.7285ZM55.1196 0L57.7637 0L30.6382-70.459L29.4326-70.459L29.4326-67.1323Z"/>
|
||||
</g>
|
||||
<line id="Baseline-L" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1556" y2="1556"/>
|
||||
<line id="Capline-L" style="fill:none;stroke:#27AAE1;opacity:1;stroke-width:0.5;" x1="263" x2="3036" y1="1485.54" y2="1485.54"/>
|
||||
<line id="left-margin" style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="1386.27" x2="1386.27" y1="1030.79" y2="1150.12"/>
|
||||
<line id="right-margin" style="fill:none;stroke:#00AEEF;stroke-width:0.5;opacity:1.0;" x1="1513.42" x2="1513.42" y1="1030.79" y2="1150.12"/>
|
||||
</g>
|
||||
<g id="Symbols">
|
||||
<g id="Black-L" transform="matrix(1 0 0 1 2848.78 1556)">
|
||||
<path d="M44.8287 33.723L124.593 33.723C135.688 33.723 140.969 28.1738 140.969 16.4919L140.969 14.4852L110.222-13.9974C108.013-16.0655 105.361-17.0794 102.426-17.0794C99.7243-17.0794 97.026-16.0875 94.7118-14.0194L70.8502 7.00791L61.284-1.63279C59.1766-3.55852 56.7195-4.45316 54.2469-4.45316C51.8391-4.45316 49.3884-3.5377 47.3407-1.71321L28.3929 15.4602C28.3929 28.2322 33.3828 33.723 44.8287 33.723ZM67.6958-12.7914C75.0721-12.7914 81.1565-18.9173 81.1565-26.3544C81.1565-33.7475 75.0721-39.7967 67.6958-39.7967C60.2015-39.7967 54.1768-33.7475 54.1768-26.3544C54.1768-18.9173 60.2015-12.7914 67.6958-12.7914ZM39.8556 41.6673L129.391 41.6673C144.535 41.6673 153.163 33.0782 153.163 17.9789L153.163-47.0914C153.163-62.1711 144.535-70.7798 129.391-70.7798L39.8556-70.7798C24.6915-70.7798 16.084-62.1943 16.084-47.0914L16.084 17.9789C16.084 33.0805 24.6915 41.6673 39.8556 41.6673ZM42.5864 21.6862C38.2704 21.6862 36.065 19.7561 36.065 15.1232L36.065-44.237C36.065-48.8686 38.2704-50.8 42.5864-50.8L126.661-50.8C130.972-50.8 133.182-48.8686 133.182-44.237L133.182 15.1232C133.182 19.7561 130.972 21.6862 126.661 21.6862ZM31.8535-81.3642L137.434-81.3642C136.656-88.2349 132.713-92.5016 124.625-92.5016L44.6637-92.5016C36.5531-92.5016 32.6122-88.2349 31.8535-81.3642ZM44.202-102.062L125.066-102.062C124.474-108.573 120.195-112.307 113.302-112.307L55.9655-112.307C49.0936-112.307 44.7941-108.573 44.202-102.062Z"/>
|
||||
</g>
|
||||
<g id="Heavy-L" transform="matrix(1 0 0 1 2552.68 1556)">
|
||||
<path d="M42.8397 33.3304L125.336 33.3304C136.556 33.3304 142.035 27.6998 142.035 16.0214L142.035 13.4218L111.151-15.301C108.842-17.4739 106.046-18.533 103.008-18.533C100.142-18.533 97.3875-17.5097 94.9509-15.3368L70.2441 6.43647L60.3681-2.47108C58.146-4.50213 55.6327-5.46074 53.0465-5.46074C50.562-5.46074 48.1059-4.47195 45.934-2.5515L26.0904 15.2427C26.0904 27.7444 31.351 33.3304 42.8397 33.3304ZM66.7133-14.0421C74.223-14.0421 80.3945-20.2739 80.3945-27.8395C80.3945-35.3335 74.223-41.5018 66.7133-41.5018C59.1087-41.5018 52.9875-35.3335 52.9875-27.8395C52.9875-20.2739 59.1087-14.0421 66.7133-14.0421ZM38.8315 39.8219L129.186 39.8219C143.799 39.8219 151.934 31.7363 151.934 17.1952L151.934-47.8334C151.934-62.3499 143.799-70.4601 129.186-70.4601L38.8315-70.4601C24.1886-70.4601 16.084-62.3913 16.084-47.8334L16.084 17.1952C16.084 31.7475 24.1886 39.8219 38.8315 39.8219ZM40.9557 22.3215C36.118 22.3215 33.5844 20.0268 33.5844 14.8898L33.5844-45.5337C33.5844-50.665 36.118-52.9653 40.9557-52.9653L127.062-52.9653C131.877-52.9653 134.433-50.665 134.433-45.5337L134.433 14.8898C134.433 20.0268 131.877 22.3215 127.062 22.3215ZM31.2868-80.984L136.786-80.984C135.982-87.4982 132.371-91.4708 124.812-91.4708L43.266-91.4708C35.6713-91.4708 32.0663-87.4982 31.2868-80.984ZM43.7443-100.833L124.304-100.833C123.766-106.982 119.831-110.466 113.281-110.466L54.7668-110.466C48.247-110.466 44.2824-106.982 43.7443-100.833Z"/>
|
||||
</g>
|
||||
<g id="Bold-L" transform="matrix(1 0 0 1 2256.67 1556)">
|
||||
<path d="M40.4701 32.6451L126.258 32.6451C137.528 32.6451 143.162 26.9741 143.162 15.3853L143.162 12.0556L112.184-16.8476C109.744-19.1511 106.795-20.2715 103.618-20.2715C100.545-20.2715 97.7439-19.2023 95.1461-16.8988L69.4911 5.6848L59.298-3.5159C56.945-5.67012 54.3849-6.70564 51.6528-6.70564C49.0611-6.70564 46.6122-5.63213 44.3016-3.59632L23.5228 14.8844C23.5228 27.0033 29.0245 32.6451 40.4701 32.6451ZM65.6035-15.5644C73.2598-15.5644 79.5314-21.9119 79.5314-29.6239C79.5314-37.2334 73.2598-43.5403 65.6035-43.5403C57.8755-43.5403 51.6464-37.2334 51.6464-29.6239C51.6464-21.9119 57.8755-15.5644 65.6035-15.5644ZM37.5412 37.5248L129.067 37.5248C142.982 37.5248 150.524 30.0317 150.524 16.2195L150.524-48.8373C150.524-62.6248 142.982-70.1426 129.067-70.1426L37.5412-70.1426C23.5885-70.1426 16.084-62.6893 16.084-48.8373L16.084 16.2195C16.084 30.0582 23.5885 37.5248 37.5412 37.5248ZM38.987 23.083C33.4665 23.083 30.5257 20.335 30.5257 14.5458L30.5257-47.1769C30.5257-52.9529 33.4665-55.7141 38.987-55.7141L127.621-55.7141C133.089-55.7141 136.082-52.9529 136.082-47.1769L136.082 14.5458C136.082 20.335 133.089 23.083 127.621 23.083ZM30.6769-80.6792L135.994-80.6792C135.204-86.6286 132.023-90.2027 125.244-90.2027L41.4402-90.2027C34.61-90.2027 31.4423-86.6286 30.6769-80.6792ZM43.2055-99.4229L123.441-99.4229C122.979-105.014 119.505-108.169 113.504-108.169L53.1421-108.169C47.1795-108.169 43.6671-105.014 43.2055-99.4229Z"/>
|
||||
</g>
|
||||
<g id="Semibold-L" transform="matrix(1 0 0 1 1960.45 1556)">
|
||||
<path d="M38.8365 32.1726L126.893 32.1726C138.198 32.1726 143.94 26.4738 143.94 14.9467L143.94 11.1138L112.896-17.9138C110.367-20.3073 107.311-21.47 104.039-21.47C100.823-21.47 97.9895-20.3692 95.2807-17.9756L68.972 5.16661L58.5603-4.23619C56.117-6.47532 53.5246-7.56387 50.692-7.56387C48.0264-7.56387 45.5825-6.43195 43.1762-4.31661L21.7528 14.6373C21.7528 26.4924 27.4206 32.1726 38.8365 32.1726ZM64.8384-16.6138C72.5957-16.6138 78.9364-23.0412 78.9364-30.8541C78.9364-38.5433 72.5957-44.9456 64.8384-44.9456C57.0254-44.9456 50.7218-38.5433 50.7218-30.8541C50.7218-23.0412 57.0254-16.6138 64.8384-16.6138ZM36.6517 35.9411L128.985 35.9411C142.418 35.9411 149.552 28.8567 149.552 15.5468L149.552-49.5295C149.552-62.8144 142.418-69.9238 128.985-69.9238L36.6517-69.9238C23.1749-69.9238 16.084-62.8947 16.084-49.5295L16.084 15.5468C16.084 28.8936 23.1749 35.9411 36.6517 35.9411ZM37.6298 23.608C31.6387 23.608 28.4171 20.5475 28.4171 14.3086L28.4171-48.3097C28.4171-54.5301 31.6387-57.6091 37.6298-57.6091L128.007-57.6091C133.924-57.6091 137.219-54.5301 137.219-48.3097L137.219 14.3086C137.219 20.5475 133.924 23.608 128.007 23.608ZM30.2564-80.469L135.448-80.469C134.668-86.0291 131.783-89.3285 125.542-89.3285L40.1814-89.3285C33.8783-89.3285 31.0121-86.0291 30.2564-80.469ZM42.8341-98.4511L122.846-98.4511C122.437-103.658 119.28-106.586 113.658-106.586L52.0221-106.586C46.4436-106.586 43.2429-103.658 42.8341-98.4511Z"/>
|
||||
</g>
|
||||
<g id="Medium-L" transform="matrix(1 0 0 1 1664.11 1556)">
|
||||
<path d="M37.5978 31.8143L127.375 31.8143C138.705 31.8143 144.529 26.0945 144.529 14.6142L144.529 10.3996L113.436-18.7222C110.839-21.184 107.702-22.3788 104.358-22.3788C101.034-22.3788 98.1757-21.254 95.3828-18.7921L68.5784 4.7737L58.0009-4.78234C55.4891-7.08586 52.8723-8.21461 49.9634-8.21461C47.2418-8.21461 44.8017-7.03841 42.3229-4.86276L20.4106 14.45C20.4106 26.105 26.2045 31.8143 37.5978 31.8143ZM64.2582-17.4095C72.0922-17.4095 78.4852-23.8974 78.4852-31.7868C78.4852-39.5364 72.0922-46.0112 64.2582-46.0112C56.3808-46.0112 50.0208-39.5364 50.0208-31.7868C50.0208-23.8974 56.3808-17.4095 64.2582-17.4095ZM35.9773 34.7404L128.922 34.7404C141.991 34.7404 148.816 27.9657 148.816 15.0368L148.816-50.0543C148.816-62.9581 141.991-69.7578 128.922-69.7578L35.9773-69.7578C22.8612-69.7578 16.084-63.0505 16.084-50.0543L16.084 15.0368C16.084 28.0106 22.8612 34.7404 35.9773 34.7404ZM36.6007 24.0061C30.2527 24.0061 26.8183 20.7086 26.8183 14.1287L26.8183-49.1686C26.8183-55.726 30.2527-59.046 36.6007-59.046L128.299-59.046C134.557-59.046 138.081-55.726 138.081-49.1686L138.081 14.1287C138.081 20.7086 134.557 24.0061 128.299 24.0061ZM29.9376-80.3097L135.034-80.3097C134.261-85.5745 131.601-88.6656 125.767-88.6656L39.227-88.6656C33.3235-88.6656 30.6859-85.5745 29.9376-80.3097ZM42.5525-97.7142L122.394-97.7142C122.026-102.63 119.109-105.385 113.774-105.385L51.1728-105.385C45.8856-105.385 42.9213-102.63 42.5525-97.7142Z"/>
|
||||
</g>
|
||||
<g id="Regular-L" transform="matrix(1 0 0 1 1367.88 1556)">
|
||||
<path d="M35.9822 31.347L128.004 31.347C139.368 31.347 145.298 25.5997 145.298 14.1805L145.298 9.46809L114.141-19.7767C111.454-22.3276 108.212-23.5641 104.774-23.5641C101.309-23.5641 98.4187-22.408 95.5159-19.8571L68.0651 4.2612L57.2713-5.49472C54.6702-7.88221 52.0215-9.0634 49.0132-9.0634C46.2185-9.0634 43.7834-7.82945 41.2099-5.57514L18.66 14.2056C18.66 25.5997 24.6183 31.347 35.9822 31.347ZM63.5015-18.4474C71.4354-18.4474 77.8967-25.0142 77.8967-33.0034C77.8967-40.8318 71.4354-47.4011 63.5015-47.4011C55.54-47.4011 49.1064-40.8318 49.1064-33.0034C49.1064-25.0142 55.54-18.4474 63.5015-18.4474ZM35.0976 33.1741L128.841 33.1741C141.434 33.1741 147.854 26.8035 147.854 14.3716L147.854-50.7388C147.854-63.1456 141.434-69.5413 128.841-69.5413L35.0976-69.5413C22.4521-69.5413 16.084-63.2537 16.084-50.7388L16.084 14.3716C16.084 26.8588 22.4521 33.1741 35.0976 33.1741ZM35.2584 24.5253C28.4449 24.5253 24.7328 20.9187 24.7328 13.8941L24.7328-50.289C24.7328-57.2859 28.4449-60.9201 35.2584-60.9201L128.68-60.9201C135.383-60.9201 139.206-57.2859 139.206-50.289L139.206 13.8941C139.206 20.9187 135.383 24.5253 128.68 24.5253ZM29.5218-80.1018L134.494-80.1018C133.731-84.9816 131.364-87.801 126.062-87.801L37.9821-87.801C32.5999-87.801 30.2604-84.9816 29.5218-80.1018ZM42.1852-96.7531L121.806-96.7531C121.489-101.289 118.886-103.819 113.926-103.819L50.0651-103.819C45.1577-103.819 42.5017-101.289 42.1852-96.7531Z"/>
|
||||
</g>
|
||||
<g id="Light-L" transform="matrix(1 0 0 1 1071.29 1556)">
|
||||
<path d="M34.9516 29.5912L128.653 29.5912C139.368 29.5912 144.84 24.2065 144.84 13.398L144.84 8.20846L114.103-20.4065C111.283-23.0528 108.079-24.3657 104.488-24.3657C100.851-24.3657 98.0751-23.1332 95.0006-20.4869L67.5307 3.45962L56.9469-6.25813C54.3267-8.68379 51.7925-9.90315 48.6506-9.90315C45.7032-9.90315 43.3635-8.65011 40.79-6.33855L18.7172 13.3849C18.7172 24.2065 24.2366 29.5912 34.9516 29.5912ZM63.4252-19.3253C71.34-19.3253 77.8204-25.873 77.8204-33.8814C77.8204-41.7288 71.34-48.3363 63.4252-48.3363C55.4636-48.3363 49.03-41.7288 49.03-33.8814C49.03-25.873 55.4636-19.3253 63.4252-19.3253ZM34.067 31.5137L129.623 31.5137C141.472 31.5137 147.606 25.353 147.606 13.6654L147.606-51.9793C147.606-63.68 141.472-69.8276 129.623-69.8276L34.067-69.8276C22.1849-69.8276 16.084-63.8072 16.084-51.9793L16.084 13.6654C16.084 25.4465 22.1849 31.5137 34.067 31.5137ZM34.2278 24.8879C26.7082 24.8879 22.7098 20.9569 22.7098 13.3025L22.7098-51.6631C22.7098-59.2708 26.7082-63.2485 34.2278-63.2485L129.462-63.2485C136.795-63.2485 140.98-59.2708 140.98-51.6631L140.98 13.3025C140.98 20.9569 136.795 24.8879 129.462 24.8879ZM29.6935-80.9607L134.017-80.9607C133.559-84.6571 131.612-86.9803 127.646-86.9803L36.1118-86.9803C32.0655-86.9803 30.165-84.6571 29.6935-80.9607ZM41.9943-96.505L121.73-96.505C121.528-99.9526 119.459-102.12 115.682-102.12L48.0421-102.12C44.2989-102.12 42.1964-99.9526 41.9943-96.505Z"/>
|
||||
</g>
|
||||
<g id="Thin-L" transform="matrix(1 0 0 1 774.741 1556)">
|
||||
<path d="M33.5886 27.2689L129.511 27.2689C139.368 27.2689 144.235 22.3639 144.235 12.3631L144.235 6.5425L114.052-21.2395C111.055-24.012 107.902-25.4258 104.11-25.4258C100.245-25.4258 97.6208-24.0924 94.3191-21.3199L66.8239 2.39946L56.5178-7.2678C53.8724-9.74395 51.4896-11.0138 48.171-11.0138C45.0217-11.0138 42.8082-9.73551 40.2347-7.34822L18.793 12.2995C18.793 22.3639 23.7318 27.2689 33.5886 27.2689ZM63.3242-20.4865C71.2138-20.4865 77.7194-27.0089 77.7194-35.0425C77.7194-42.9152 71.2138-49.5732 63.3242-49.5732C55.3627-49.5732 48.9291-42.9152 48.9291-35.0425C48.9291-27.0089 55.3627-20.4865 63.3242-20.4865ZM32.7039 29.3177L130.658 29.3177C141.522 29.3177 147.278 23.4346 147.278 12.7314L147.278-53.62C147.278-64.3868 141.522-70.2062 130.658-70.2062L32.7039-70.2062C21.8315-70.2062 16.084-64.5392 16.084-53.62L16.084 12.7314C16.084 23.5786 21.8315 29.3177 32.7039 29.3177ZM32.8648 25.3675C24.4111 25.3675 20.0342 21.0074 20.0342 12.52L20.0342-53.4806C20.0342-61.896 24.4111-66.328 32.8648-66.328L130.497-66.328C138.663-66.328 143.328-61.896 143.328-53.4806L143.328 12.52C143.328 21.0074 138.663 25.3675 130.497 25.3675ZM29.9207-82.0966L133.386-82.0966C133.332-84.228 131.94-85.8949 129.741-85.8949L33.6381-85.8949C31.3587-85.8949 30.0388-84.228 29.9207-82.0966ZM41.7419-96.1768L121.629-96.1768C121.578-98.1857 120.216-99.8739 118.004-99.8739L45.3664-99.8739C43.163-99.8739 41.7925-98.1857 41.7419-96.1768Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-L" transform="matrix(1 0 0 1 478.114 1556)">
|
||||
<path d="M32.8904 26.0795L129.951 26.0795C139.368 26.0795 143.924 21.4201 143.924 11.833L143.924 5.68921L114.026-21.6662C110.939-24.5033 107.812-25.9688 103.916-25.9688C99.9346-25.9688 97.3881-24.5837 93.97-21.7466L66.4619 1.85645L56.298-7.78495C53.6396-10.287 51.3344-11.5827 47.9253-11.5827C44.6726-11.5827 42.5237-10.2914 39.9503-7.86537L18.8317 11.7436C18.8317 21.4201 23.4732 26.0795 32.8904 26.0795ZM63.2725-21.0812C71.1492-21.0812 77.6677-27.5907 77.6677-35.6372C77.6677-43.5228 71.1492-50.2067 63.2725-50.2067C55.3109-50.2067 48.8773-43.5228 48.8773-35.6372C48.8773-27.5907 55.3109-21.0812 63.2725-21.0812ZM32.0058 28.1929L131.188 28.1929C141.548 28.1929 147.11 22.452 147.11 12.2531L147.11-54.4604C147.11-64.7488 141.548-70.4002 131.188-70.4002L32.0058-70.4002C21.6505-70.4002 16.084-64.9141 16.084-54.4604L16.084 12.2531C16.084 22.6219 21.6505 28.1929 32.0058 28.1929ZM32.1666 25.6131C23.2346 25.6131 18.6637 21.0332 18.6637 12.1192L18.6637-54.4114C18.6637-63.2405 23.2346-67.9053 32.1666-67.9053L131.027-67.9053C139.62-67.9053 144.53-63.2405 144.53-54.4114L144.53 12.1192C144.53 21.0332 139.62 25.6131 131.027 25.6131ZM30.0371-82.6784L133.063-82.6784C133.215-84.0082 132.108-85.339 130.814-85.339L32.3711-85.339C30.9967-85.339 29.9742-84.0082 30.0371-82.6784ZM41.6126-96.0088L121.577-96.0088C121.604-97.2807 120.604-98.7233 119.194-98.7233L43.996-98.7233C42.5812-98.7233 41.5856-97.2807 41.6126-96.0088Z"/>
|
||||
</g>
|
||||
<g id="Black-M" transform="matrix(1 0 0 1 2867.33 1126)">
|
||||
<path d="M36.3005 18.2903L95.9766 18.2903C104.377 18.2903 108.237 14.1103 108.237 5.13963L108.237 4.02985L84.5907-17.7451C82.9467-19.2702 81.0197-20.0271 78.8152-20.0271C76.8395-20.0271 74.8128-19.2754 73.1018-17.7503L55.3391-2.12389L48.2225-8.5837C46.6858-9.99029 44.846-10.6336 43.0099-10.6336C41.1897-10.6336 39.3087-9.9848 37.8288-8.646L23.9837 4.11767C23.9837 14.1674 27.5576 18.2903 36.3005 18.2903ZM53.2809-16.8897C58.8784-16.8897 63.5199-21.5422 63.5199-27.1963C63.5199-32.8399 58.8784-37.4292 53.2809-37.4292C47.5695-37.4292 42.9848-32.8399 42.9848-27.1963C42.9848-21.5422 47.5695-16.8897 53.2809-16.8897ZM31.6184 25.7066L100.527 25.7066C112.614 25.7066 119.684 18.648 119.684 6.57112L119.684-43.9499C119.684-56.021 112.614-63.0854 100.527-63.0854L31.6184-63.0854C19.5256-63.0854 12.4609-56.0259 12.4609-43.9499L12.4609 6.57112C12.4609 18.6475 19.5256 25.7066 31.6184 25.7066ZM34.2553 8.36868C31.2643 8.36868 29.7989 7.14263 29.7989 3.90132L29.7989-41.2798C29.7989-44.5214 31.2643-45.7471 34.2553-45.7471L97.8901-45.7471C100.882-45.7471 102.346-44.5214 102.346-41.2798L102.346 3.90132C102.346 7.14263 100.882 8.36868 97.8901 8.36868ZM25.1886-71.4151L106.968-71.4151C106.429-76.8842 103.146-80.3752 96.6057-80.3752L35.5507-80.3752C29.0047-80.3752 25.7222-76.8842 25.1886-71.4151ZM34.6126-88.0298L97.5382-88.0298C97.0485-93.2379 93.5103-96.296 88.0359-96.296L44.1149-96.296C38.6461-96.296 35.1023-93.2379 34.6126-88.0298Z"/>
|
||||
</g>
|
||||
<g id="Heavy-M" transform="matrix(1 0 0 1 2571.21 1126)">
|
||||
<path d="M34.4511 18.0686L96.643 18.0686C105.226 18.0686 109.321 13.7755 109.321 4.75183L109.321 3.10651L85.5018-18.9613C83.7726-20.5801 81.7025-21.3742 79.4102-21.3742C77.2902-21.3742 75.1979-20.5988 73.3832-18.98L54.7959-2.60857L47.357-9.33276C45.71-10.8388 43.8047-11.5411 41.8698-11.5411C39.9888-11.5411 38.0936-10.8224 36.4925-9.39506L21.7276 3.98078C21.7276 13.8191 25.6065 18.0686 34.4511 18.0686ZM52.3274-18.0314C58.0571-18.0314 62.782-22.7892 62.782-28.567C62.782-34.3075 58.0571-39.0098 52.3274-39.0098C46.5082-39.0098 41.8292-34.3075 41.8292-28.567C41.8292-22.7892 46.5082-18.0314 52.3274-18.0314ZM30.7123 24.0559L100.254 24.0559C111.892 24.0559 118.506 17.4701 118.506 5.87015L118.506-44.5607C118.506-56.1465 111.892-62.7464 100.254-62.7464L30.7123-62.7464C19.0586-62.7464 12.4609-56.1675 12.4609-44.5607L12.4609 5.87015C12.4609 17.4746 19.0586 24.0559 30.7123 24.0559ZM32.7562 8.95625C29.3203 8.95625 27.5605 7.40376 27.5605 3.72773L27.5605-42.4206C27.5605-46.0943 29.3203-47.6491 32.7562-47.6491L98.2105-47.6491C101.637-47.6491 103.406-46.0943 103.406-42.4206L103.406 3.72773C103.406 7.40376 101.637 8.95625 98.2105 8.95625ZM24.6187-70.9642L106.379-70.9642C105.786-76.194 102.789-79.4433 96.6427-79.4433L34.3569-79.4433C28.192-79.4433 25.1974-76.194 24.6187-70.9642ZM34.1828-86.8512L96.8004-86.8512C96.3529-91.8058 93.1019-94.6536 87.8535-94.6536L43.1297-94.6536C37.8977-94.6536 34.6302-91.8058 34.1828-86.8512Z"/>
|
||||
</g>
|
||||
<g id="Bold-M" transform="matrix(1 0 0 1 2275.15 1126)">
|
||||
<path d="M32.3824 17.8205L97.3884 17.8205C106.175 17.8205 110.533 13.4009 110.533 4.31802L110.533 2.07362L86.5211-20.3219C84.6965-22.0454 82.4663-22.8811 80.0758-22.8811C77.7943-22.8811 75.6288-22.0791 73.6978-20.3556L54.1882-3.15075L46.3889-10.1707C44.6184-11.788 42.6399-12.5563 40.5945-12.5563C38.6454-12.5563 36.7344-11.7593 34.9976-10.233L19.2039 3.82764C19.2039 13.4294 23.424 17.8205 32.3824 17.8205ZM51.2608-19.3086C57.1384-19.3086 61.9566-24.1841 61.9566-30.1004C61.9566-35.9493 57.1384-40.7778 51.2608-40.7778C45.3211-40.7778 40.5365-35.9493 40.5365-30.1004C40.5365-24.1841 45.3211-19.3086 51.2608-19.3086ZM29.6986 22.2092L99.9497 22.2092C111.084 22.2092 117.187 16.1523 117.187 5.08602L117.187-45.2441C117.187-56.2869 111.084-62.3673 99.9497-62.3673L29.6986-62.3673C18.5362-62.3673 12.4609-56.3258 12.4609-45.2441L12.4609 5.08602C12.4609 16.1626 18.5362 22.2092 29.6986 22.2092ZM31.0794 9.61353C27.1457 9.61353 25.0566 7.69588 25.0566 3.53355L25.0566-43.6967C25.0566-47.8539 27.1457-49.7767 31.0794-49.7767L98.569-49.7767C102.482-49.7767 104.592-47.8539 104.592-43.6967L104.592 3.53355C104.592 7.69588 102.482 9.61353 98.569 9.61353ZM23.9812-70.4598L105.719-70.4598C105.067-75.4218 102.389-78.4009 96.6842-78.4009L33.0214-78.4009C27.2828-78.4009 24.6103-75.4218 23.9812-70.4598ZM33.702-85.5328L95.975-85.5328C95.5749-90.2037 92.645-92.8163 87.6493-92.8163L42.0276-92.8163C37.0605-92.8163 34.1021-90.2037 33.702-85.5328Z"/>
|
||||
</g>
|
||||
<g id="Semibold-M" transform="matrix(1 0 0 1 1978.9 1126)">
|
||||
<path d="M30.9562 17.6495L97.9023 17.6495C106.83 17.6495 111.369 13.1426 111.369 4.01896L111.369 1.36156L87.2238-21.2598C85.3334-23.0556 82.9928-23.9199 80.5346-23.9199C78.1419-23.9199 75.9258-23.0997 73.9148-21.304L53.7693-3.52453L45.7215-10.7484C43.8659-12.4423 41.8368-13.2562 39.7154-13.2562C37.7192-13.2562 35.7973-12.4053 33.967-10.8107L17.464 3.72207C17.464 13.1608 21.9193 17.6495 30.9562 17.6495ZM50.5255-20.1891C56.505-20.1891 61.3876-25.1457 61.3876-31.1575C61.3876-37.0811 56.505-41.9967 50.5255-41.9967C44.5026-41.9967 39.6454-37.0811 39.6454-31.1575C39.6454-25.1457 44.5026-20.1891 50.5255-20.1891ZM28.9998 20.9362L99.7396 20.9362C110.526 20.9362 116.278 15.2439 116.278 4.54544L116.278-45.7151C116.278-56.3837 110.526-62.1059 99.7396-62.1059L28.9998-62.1059C18.1761-62.1059 12.4609-56.4349 12.4609-45.7151L12.4609 4.54544C12.4609 15.2581 18.1761 20.9362 28.9998 20.9362ZM29.9233 10.0667C25.6466 10.0667 23.3305 7.89726 23.3305 3.39969L23.3305-44.5765C23.3305-49.067 25.6466-51.2435 29.9233-51.2435L98.8161-51.2435C103.064-51.2435 105.409-49.067 105.409-44.5765L105.409 3.39969C105.409 7.89726 103.064 10.0667 98.8161 10.0667ZM23.5418-70.1121L105.265-70.1121C104.571-74.8895 102.113-77.6822 96.7127-77.6822L32.1008-77.6822C26.6561-77.6822 24.2056-74.8895 23.5418-70.1121ZM33.3705-84.6239L95.4059-84.6239C95.0384-89.0993 92.3301-91.5497 87.5086-91.5497L41.2679-91.5497C36.4834-91.5497 33.738-89.0993 33.3705-84.6239Z"/>
|
||||
</g>
|
||||
<g id="Medium-M" transform="matrix(1 0 0 1 1682.53 1126)">
|
||||
<path d="M29.8748 17.5198L98.2919 17.5198C107.327 17.5198 112.003 12.9468 112.003 3.79219L112.003 0.821641L87.7566-21.971C85.8163-23.8215 83.3921-24.7076 80.8825-24.7076C78.4054-24.7076 76.1511-23.8735 74.0793-22.023L53.4517-3.80794L45.2155-11.1864C43.2953-12.9385 41.2279-13.7868 39.0487-13.7868C37.017-13.7868 35.0868-12.895 33.1856-11.2487L16.1448 3.64202C16.1448 12.9571 20.7785 17.5198 29.8748 17.5198ZM49.968-20.8567C56.0248-20.8567 60.9561-25.8748 60.9561-31.9591C60.9561-37.9393 56.0248-42.921 49.968-42.921C43.8821-42.921 38.9696-37.9393 38.9696-31.9591C38.9696-25.8748 43.8821-20.8567 49.968-20.8567ZM28.47 19.9709L99.5802 19.9709C110.104 19.9709 115.589 14.5551 115.589 4.13556L115.589-46.0723C115.589-56.457 110.104-61.9077 99.5802-61.9077L28.47-61.9077C17.903-61.9077 12.4609-56.5177 12.4609-46.0723L12.4609 4.13556C12.4609 14.5723 17.903 19.9709 28.47 19.9709ZM29.0468 10.4102C24.5098 10.4102 22.0216 8.04996 22.0216 3.29818L22.0216-45.2436C22.0216-49.9868 24.5098-52.3556 29.0468-52.3556L99.0034-52.3556C103.506-52.3556 106.029-49.9868 106.029-45.2436L106.029 3.29818C106.029 8.04996 103.506 10.4102 99.0034 10.4102ZM23.2085-69.8485L104.92-69.8485C104.195-74.4859 101.904-77.1373 96.7344-77.1373L31.4027-77.1373C26.1809-77.1373 23.8987-74.4859 23.2085-69.8485ZM33.1192-83.9347L94.9745-83.9347C94.6317-88.2618 92.0913-90.5893 87.4019-90.5893L40.6918-90.5893C36.0458-90.5893 33.462-88.2618 33.1192-83.9347Z"/>
|
||||
</g>
|
||||
<g id="Regular-M" transform="matrix(1 0 0 1 1386.27 1126)">
|
||||
<path d="M28.4642 17.3507L98.8001 17.3507C107.974 17.3507 112.83 12.6914 112.83 3.49641L112.83 0.117401L88.4516-22.8987C86.4463-24.8206 83.9129-25.735 81.3363-25.735C78.7491-25.735 76.4448-24.8829 74.2938-22.961L53.0374-4.17762L44.5554-11.7577C42.5511-13.5856 40.4337-14.479 38.1792-14.479C36.1011-14.479 34.1601-13.5339 32.1663-11.82L14.424 3.53761C14.424 12.6914 19.2903 17.3507 28.4642 17.3507ZM49.2408-21.7274C55.3984-21.7274 60.3933-26.8259 60.3933-33.0046C60.3933-39.0587 55.3984-44.1265 49.2408-44.1265C43.0726-44.1265 38.0883-39.0587 38.0883-33.0046C38.0883-26.8259 43.0726-21.7274 49.2408-21.7274ZM27.7789 18.7118L99.3724 18.7118C109.553 18.7118 114.69 13.6566 114.69 3.60092L114.69-46.5383C114.69-56.5528 109.553-61.6492 99.3724-61.6492L27.7789-61.6492C17.5468-61.6492 12.4609-56.6256 12.4609-46.5383L12.4609 3.60092C12.4609 13.6777 17.5468 18.7118 27.7789 18.7118ZM27.9035 10.8584C23.0272 10.8584 20.3144 8.24913 20.3144 3.16579L20.3144-46.1137C20.3144-51.1865 23.0272-53.8063 27.9035-53.8063L99.2478-53.8063C104.082-53.8063 106.837-51.1865 106.837-46.1137L106.837 3.16579C106.837 8.24913 104.082 10.8584 99.2478 10.8584ZM22.7739-69.5046L104.47-69.5046C103.705-73.9594 101.631-76.4265 96.7627-76.4265L30.4922-76.4265C25.561-76.4265 23.4984-73.9594 22.7739-69.5046ZM32.7914-83.0358L94.4117-83.0358C94.1012-87.1695 91.7798-89.3366 87.2627-89.3366L39.9404-89.3366C35.475-89.3366 33.1019-87.1695 32.7914-83.0358Z"/>
|
||||
</g>
|
||||
<g id="Light-M" transform="matrix(1 0 0 1 1089.67 1126)">
|
||||
<path d="M27.5402 15.7765L99.3819 15.7765C107.974 15.7765 112.419 11.4423 112.419 2.79486L112.419-1.01192L88.4173-23.4633C86.2923-25.4708 83.7931-26.4537 81.0796-26.4537C78.3385-26.4537 76.1369-25.5331 73.8318-23.5256L52.5583-4.89628L44.2645-12.4421C42.2431-14.3043 40.2284-15.2319 37.8541-15.2319C35.6391-15.2319 33.7836-14.2696 31.7899-12.5044L14.4754 2.80184C14.4754 11.4423 18.9481 15.7765 27.5402 15.7765ZM49.1724-22.5145C55.3129-22.5145 60.3249-27.5959 60.3249-33.7917C60.3249-39.8629 55.3129-44.9649 49.1724-44.9649C43.0042-44.9649 38.0198-39.8629 38.0198-33.7917C38.0198-27.5959 43.0042-22.5145 49.1724-22.5145ZM26.8549 17.2232L100.074 17.2232C109.587 17.2232 114.468 12.3562 114.468 2.96782L114.468-47.6505C114.468-57.0319 109.587-61.9058 100.074-61.9058L26.8549-61.9058C17.3073-61.9058 12.4609-57.1218 12.4609-47.6505L12.4609 2.96782C12.4609 12.4115 17.3073 17.2232 26.8549 17.2232ZM26.9795 11.1835C21.4701 11.1835 18.5006 8.28335 18.5006 2.63535L18.5006-47.3457C18.5006-52.966 21.4701-55.8938 26.9795-55.8938L99.9494-55.8938C105.348-55.8938 108.428-52.966 108.428-47.3457L108.428 2.63535C108.428 8.28335 105.348 11.1835 99.9494 11.1835ZM22.9279-70.2746L104.043-70.2746C103.551-73.6685 101.854-75.6907 98.1829-75.6907L28.8153-75.6907C25.0819-75.6907 23.4129-73.6685 22.9279-70.2746ZM32.6203-82.8133L94.3433-82.8133C94.1354-85.9718 92.2931-87.8138 88.8369-87.8138L38.1266-87.8138C34.705-87.8138 32.8281-85.9718 32.6203-82.8133Z"/>
|
||||
</g>
|
||||
<g id="Thin-M" transform="matrix(1 0 0 1 793.105 1126)">
|
||||
<path d="M26.3182 13.6945L100.151 13.6945C107.974 13.6945 111.876 9.79026 111.876 1.86701L111.876-2.50554L88.3721-24.2101C86.0886-26.3307 83.6347-27.4042 80.7401-27.4042C77.7953-27.4042 75.7295-26.3931 73.2208-24.2724L51.9246-5.84676L43.8798-13.3473C41.8357-15.2548 39.9568-16.2276 37.4241-16.2276C35.028-16.2276 33.2858-15.2428 31.292-13.4097L14.5433 1.82873C14.5433 9.79026 18.4955 13.6945 26.3182 13.6945ZM49.0818-23.5555C55.1997-23.5555 60.2344-28.6142 60.2344-34.8327C60.2344-40.9265 55.1997-46.0738 49.0818-46.0738C42.9137-46.0738 37.9293-40.9265 37.9293-34.8327C37.9293-28.6142 42.9137-23.5555 49.0818-23.5555ZM25.6328 15.2543L101.002 15.2543C109.632 15.2543 114.174 10.6363 114.174 2.13048L114.174-49.1215C114.174-57.6655 109.632-62.2453 101.002-62.2453L25.6328-62.2453C16.9904-62.2453 12.4609-57.7781 12.4609-49.1215L12.4609 2.13048C12.4609 10.7368 16.9904 15.2543 25.6328 15.2543ZM25.7574 11.6135C19.4107 11.6135 16.1018 8.32861 16.1018 1.9338L16.1018-48.9751C16.1018-55.3196 19.4107-58.6547 25.7574-58.6547L100.877-58.6547C107.023-58.6547 110.533-55.3196 110.533-48.9751L110.533 1.9338C110.533 8.32861 107.023 11.6135 100.877 11.6135ZM23.1315-71.293L103.477-71.293C103.347-73.2838 102.148-74.7176 100.061-74.7176L26.5975-74.7176C24.4483-74.7176 23.2997-73.2838 23.1315-71.293ZM32.3939-82.5191L94.2527-82.5191C94.1807-84.3876 92.9721-85.7996 90.9189-85.7996L35.7278-85.7996C33.6866-85.7996 32.466-84.3876 32.3939-82.5191Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-M" transform="matrix(1 0 0 1 496.469 1126)">
|
||||
<path d="M25.6923 12.6281L100.545 12.6281C107.974 12.6281 111.598 8.9441 111.598 1.39177L111.598-3.27056L88.3489-24.5927C85.9843-26.7712 83.5535-27.891 80.5663-27.891C77.5171-27.891 75.5209-26.8335 72.9078-24.655L51.6001-6.33359L43.6827-13.811C41.6271-15.7416 39.8177-16.7376 37.2039-16.7376C34.7151-16.7376 33.0307-15.7412 31.037-13.8733L14.578 1.3303C14.578 8.9441 18.2637 12.6281 25.6923 12.6281ZM49.0355-24.0887C55.1418-24.0887 60.188-29.1358 60.188-35.3659C60.188-41.4713 55.1418-46.6418 49.0355-46.6418C42.8673-46.6418 37.8829-41.4713 37.8829-35.3659C37.8829-29.1358 42.8673-24.0887 49.0355-24.0887ZM25.0069 14.2459L101.477 14.2459C109.655 14.2459 114.023 9.75532 114.023 1.70161L114.023-49.8749C114.023-57.9901 109.655-62.4192 101.477-62.4192L25.0069-62.4192C16.8282-62.4192 12.4609-58.1143 12.4609-49.8749L12.4609 1.70161C12.4609 9.87909 16.8282 14.2459 25.0069 14.2459ZM25.1315 11.8337C18.3559 11.8337 14.8731 8.3518 14.8731 1.57447L14.8731-49.8096C14.8731-56.5251 18.3559-60.0689 25.1315-60.0689L101.352-60.0689C107.881-60.0689 111.611-56.5251 111.611-49.8096L111.611 1.57447C111.611 8.3518 107.881 11.8337 101.352 11.8337ZM23.2359-71.8146L103.187-71.8146C103.243-73.0867 102.299-74.2192 101.023-74.2192L25.4616-74.2192C24.1237-74.2192 23.2418-73.0867 23.2359-71.8146ZM32.278-82.3685L94.2064-82.3685C94.2038-83.5762 93.3198-84.768 91.9853-84.768L34.4991-84.768C33.165-84.768 32.2806-83.5762 32.278-82.3685Z"/>
|
||||
</g>
|
||||
<g id="Black-S" transform="matrix(1 0 0 1 2881.45 696)">
|
||||
<path d="M28.9551 6.68945L75.0488 6.68945C81.543 6.68945 84.4727 3.4668 84.4727-3.51562L84.4727-4.24805L66.0156-21.1914C64.7461-22.3633 63.2812-22.9492 61.5723-22.9492C60.0586-22.9492 58.4961-22.3633 57.1777-21.1914L43.5059-9.17969L38.0371-14.1602C36.8652-15.2344 35.4492-15.7227 34.0332-15.7227C32.6172-15.7227 31.1523-15.2344 30.0293-14.209L19.4824-4.39453C19.4824 3.51562 22.168 6.68945 28.9551 6.68945ZM42.041-20.5566C46.3867-20.5566 50-24.1699 50-28.5645C50-32.959 46.3867-36.5234 42.041-36.5234C37.5977-36.5234 34.0332-32.959 34.0332-28.5645C34.0332-24.1699 37.5977-20.5566 42.041-20.5566ZM25 12.9395L78.9062 12.9395C88.4766 12.9395 94.1406 7.27539 94.1406-2.29492L94.1406-41.9434C94.1406-51.5137 88.4766-57.1777 78.9062-57.1777L25-57.1777C15.4297-57.1777 9.76562-51.5137 9.76562-41.9434L9.76562-2.29492C9.76562 7.27539 15.4297 12.9395 25 12.9395ZM27.2461-1.2207C25-1.2207 23.9258-2.09961 23.9258-4.54102L23.9258-39.6973C23.9258-42.1387 25-43.0176 27.2461-43.0176L76.6602-43.0176C78.9062-43.0176 79.9805-42.1387 79.9805-39.6973L79.9805-4.54102C79.9805-2.09961 78.9062-1.2207 76.6602-1.2207ZM19.9219-63.7695L83.9844-63.7695C83.5938-68.0664 80.957-70.8496 75.7812-70.8496L28.125-70.8496C22.9492-70.8496 20.3125-68.0664 19.9219-63.7695ZM27.2461-76.9531L76.6602-76.9531C76.2695-81.0547 73.4375-83.4961 69.1406-83.4961L34.7656-83.4961C30.4688-83.4961 27.6367-81.0547 27.2461-76.9531Z"/>
|
||||
</g>
|
||||
<g id="Heavy-S" transform="matrix(1 0 0 1 2585.23 696)">
|
||||
<path d="M27.4915 6.70098L75.5444 6.70098C82.269 6.70098 85.4522 3.34003 85.4522-3.75764L85.4522-4.89342L66.7993-22.1595C65.4721-23.4005 63.8805-24.0095 62.1139-24.0095C60.4965-24.0095 58.8649-23.412 57.4774-22.171L43.1025-9.50237L37.3341-14.7133C36.07-15.8682 34.5849-16.4026 33.0997-16.4026C31.6491-16.4026 30.1612-15.8567 28.9345-14.7622L17.5463-4.41758C17.5463 3.37733 20.543 6.70098 27.4915 6.70098ZM41.2343-21.4325C45.6953-21.4325 49.3777-25.138 49.3777-29.6362C49.3777-34.1114 45.6953-37.7681 41.2343-37.7681C36.6987-37.7681 33.0536-34.1114 33.0536-29.6362C33.0536-25.138 36.6987-21.4325 41.2343-21.4325ZM24.3431 11.7179L78.5836 11.7179C87.8542 11.7179 93.161 6.4341 93.161-2.81352L93.161-42.3237C93.161-51.5598 87.8542-56.855 78.5836-56.855L24.3431-56.855C15.0609-56.855 9.76562-51.5713 9.76562-42.3237L9.76562-2.81352C9.76562 6.4341 15.0609 11.7179 24.3431 11.7179ZM26.0821-0.759725C23.5364-0.759725 22.2432-1.88064 22.2432-4.62169L22.2432-40.5155C22.2432-43.2565 23.5364-44.3775 26.0821-44.3775L76.8445-44.3775C79.3903-44.3775 80.6835-43.2565 80.6835-40.5155L80.6835-4.62169C80.6835-1.88064 79.3903-0.759725 76.8445-0.759725ZM19.4148-63.2855L83.5349-63.2855C83.0636-67.5132 80.6228-70.1466 75.6314-70.1466L27.3183-70.1466C22.3154-70.1466 19.8746-67.5132 19.4148-63.2855ZM26.9004-75.9735L76.0378-75.9735C75.6703-79.9829 73.0226-82.286 68.7834-82.286L34.1548-82.286C29.9271-82.286 27.2679-79.9829 26.9004-75.9735Z"/>
|
||||
</g>
|
||||
<g id="Bold-S" transform="matrix(1 0 0 1 2289.06 696)">
|
||||
<path d="M25.8545 6.71387L76.0986 6.71387C83.0811 6.71387 86.5479 3.19824 86.5479-4.02832L86.5479-5.61523L67.6758-23.2422C66.2842-24.5605 64.5508-25.1953 62.7197-25.1953C60.9863-25.1953 59.2773-24.585 57.8125-23.2666L42.6514-9.86328L36.5479-15.332C35.1807-16.5771 33.6182-17.1631 32.0557-17.1631C30.5664-17.1631 29.0527-16.5527 27.71-15.3809L15.3809-4.44336C15.3809 3.22266 18.7256 6.71387 25.8545 6.71387ZM40.332-22.4121C44.9219-22.4121 48.6816-26.2207 48.6816-30.835C48.6816-35.4004 44.9219-39.1602 40.332-39.1602C35.6934-39.1602 31.958-35.4004 31.958-30.835C31.958-26.2207 35.6934-22.4121 40.332-22.4121ZM23.6084 10.3516L78.2227 10.3516C87.1582 10.3516 92.0654 5.49316 92.0654-3.39355L92.0654-42.749C92.0654-51.6113 87.1582-56.4941 78.2227-56.4941L23.6084-56.4941C14.6484-56.4941 9.76562-51.6357 9.76562-42.749L9.76562-3.39355C9.76562 5.49316 14.6484 10.3516 23.6084 10.3516ZM24.7803-0.244141C21.8994-0.244141 20.3613-1.63574 20.3613-4.71191L20.3613-41.4307C20.3613-44.5068 21.8994-45.8984 24.7803-45.8984L77.0508-45.8984C79.9316-45.8984 81.4697-44.5068 81.4697-41.4307L81.4697-4.71191C81.4697-1.63574 79.9316-0.244141 77.0508-0.244141ZM18.8477-62.7441L83.0322-62.7441C82.4707-66.8945 80.249-69.3604 75.4639-69.3604L26.416-69.3604C21.6064-69.3604 19.3848-66.8945 18.8477-62.7441ZM26.5137-74.8779L75.3418-74.8779C75-78.7842 72.5586-80.9326 68.3838-80.9326L33.4717-80.9326C29.3213-80.9326 26.8555-78.7842 26.5137-74.8779Z"/>
|
||||
</g>
|
||||
<g id="Semibold-S" transform="matrix(1 0 0 1 1992.73 696)">
|
||||
<path d="M24.7259 6.72275L76.4808 6.72275C83.6409 6.72275 87.3032 3.10049 87.3032-4.21494L87.3032-6.11289L68.2801-23.9887C66.844-25.3604 65.0129-26.0129 63.1374-26.0129C61.324-26.0129 59.5617-25.3937 58.0436-24.022L42.3403-10.1121L36.0058-15.7586C34.5675-17.0659 32.9517-17.6874 31.3358-17.6874C29.8199-17.6874 28.2885-17.0326 26.8657-15.8074L13.8879-4.46113C13.8879 3.11602 17.4726 6.72275 24.7259 6.72275ZM39.71-23.0875C44.3887-23.0875 48.2018-26.9672 48.2018-31.6614C48.2018-36.2891 44.3887-40.1199 39.71-40.1199C35.0002-40.1199 31.2026-36.2891 31.2026-31.6614C31.2026-26.9672 35.0002-23.0875 39.71-23.0875ZM23.1019 9.40957L77.9738 9.40957C86.6783 9.40957 91.3101 4.84443 91.3101-3.79346L91.3101-43.0423C91.3101-51.6469 86.6783-56.2453 77.9738-56.2453L23.1019-56.2453C14.3641-56.2453 9.76562-51.6802 9.76562-43.0423L9.76562-3.79346C9.76562 4.84443 14.3641 9.40957 23.1019 9.40957ZM23.8827 0.111328C20.7708 0.111328 19.0639-1.46689 19.0639-4.77412L19.0639-42.0616C19.0639-45.3688 20.7708-46.9471 23.8827-46.9471L77.193-46.9471C80.3049-46.9471 82.0118-45.3688 82.0118-42.0616L82.0118-4.77412C82.0118-1.46689 80.3049 0.111328 77.193 0.111328ZM18.4566-62.3709L82.6856-62.3709C82.0619-66.468 79.9913-68.8183 75.3483-68.8183L25.7939-68.8183C21.1177-68.8183 19.0471-66.468 18.4566-62.3709ZM26.2471-74.1226L74.8619-74.1226C74.5379-77.9577 72.2387-79.9995 68.1083-79.9995L33.0007-79.9995C28.9036-79.9995 26.5711-77.9577 26.2471-74.1226Z"/>
|
||||
</g>
|
||||
<g id="Medium-S" transform="matrix(1 0 0 1 1696.3 696)">
|
||||
<path d="M23.8701 6.72949L76.7705 6.72949C84.0654 6.72949 87.876 3.02637 87.876-4.35645L87.876-6.49023L68.7383-24.5547C67.2686-25.9668 65.3633-26.6328 63.4541-26.6328C61.5801-26.6328 59.7773-26.0068 58.2188-24.5947L42.1045-10.3008L35.5947-16.082C34.1025-17.4365 32.4463-18.085 30.79-18.085C29.2539-18.085 27.709-17.3965 26.2256-16.1309L12.7559-4.47461C12.7559 3.03516 16.5225 6.72949 23.8701 6.72949ZM39.2383-23.5996C43.9844-23.5996 47.8379-27.5332 47.8379-32.2881C47.8379-36.9629 43.9844-40.8477 39.2383-40.8477C34.4746-40.8477 30.6299-36.9629 30.6299-32.2881C30.6299-27.5332 34.4746-23.5996 39.2383-23.5996ZM22.7178 8.69531L77.7852 8.69531C86.3145 8.69531 90.7373 4.35254 90.7373-4.09668L90.7373-43.2646C90.7373-51.6738 86.3145-56.0566 77.7852-56.0566L22.7178-56.0566C14.1484-56.0566 9.76562-51.7139 9.76562-43.2646L9.76562-4.09668C9.76562 4.35254 14.1484 8.69531 22.7178 8.69531ZM23.2021 0.380859C19.915 0.380859 18.0801-1.33887 18.0801-4.82129L18.0801-42.54C18.0801-46.0225 19.915-47.7422 23.2021-47.7422L77.3008-47.7422C80.5879-47.7422 82.4229-46.0225 82.4229-42.54L82.4229-4.82129C82.4229-1.33887 80.5879 0.380859 77.3008 0.380859ZM18.1602-62.0879L82.4229-62.0879C81.752-66.1445 79.7959-68.4072 75.2607-68.4072L25.3223-68.4072C20.7471-68.4072 18.791-66.1445 18.1602-62.0879ZM26.0449-73.5498L74.498-73.5498C74.1875-77.3311 71.9961-79.292 67.8994-79.292L32.6436-79.292C28.5869-79.292 26.3555-77.3311 26.0449-73.5498Z"/>
|
||||
</g>
|
||||
<g id="Regular-S" transform="matrix(1 0 0 1 1399.97 696)">
|
||||
<path d="M22.7539 6.73828L77.1484 6.73828C84.6191 6.73828 88.623 2.92969 88.623-4.54102L88.623-6.98242L69.3359-25.293C67.8223-26.7578 65.8203-27.4414 63.8672-27.4414C61.9141-27.4414 60.0586-26.8066 58.4473-25.3418L41.7969-10.5469L35.0586-16.5039C33.4961-17.9199 31.7871-18.6035 30.0781-18.6035C28.5156-18.6035 26.9531-17.8711 25.3906-16.5527L11.2793-4.49219C11.2793 2.92969 15.2832 6.73828 22.7539 6.73828ZM38.623-24.2676C43.457-24.2676 47.3633-28.2715 47.3633-33.1055C47.3633-37.8418 43.457-41.7969 38.623-41.7969C33.7891-41.7969 29.8828-37.8418 29.8828-33.1055C29.8828-28.2715 33.7891-24.2676 38.623-24.2676ZM22.2168 7.76367L77.5391 7.76367C85.8398 7.76367 89.9902 3.71094 89.9902-4.49219L89.9902-43.5547C89.9902-51.709 85.8398-55.8105 77.5391-55.8105L22.2168-55.8105C13.8672-55.8105 9.76562-51.7578 9.76562-43.5547L9.76562-4.49219C9.76562 3.71094 13.8672 7.76367 22.2168 7.76367ZM22.3145 0.732422C18.7988 0.732422 16.7969-1.17188 16.7969-4.88281L16.7969-43.1641C16.7969-46.875 18.7988-48.7793 22.3145-48.7793L77.4414-48.7793C80.957-48.7793 82.959-46.875 82.959-43.1641L82.959-4.88281C82.959-1.17188 80.957 0.732422 77.4414 0.732422ZM17.7734-61.7188L82.0801-61.7188C81.3477-65.7227 79.541-67.8711 75.1465-67.8711L24.707-67.8711C20.2637-67.8711 18.457-65.7227 17.7734-61.7188ZM25.7812-72.8027L74.0234-72.8027C73.7305-76.5137 71.6797-78.3691 67.627-78.3691L32.1777-78.3691C28.1738-78.3691 26.0742-76.5137 25.7812-72.8027Z"/>
|
||||
</g>
|
||||
<g id="Light-S" transform="matrix(1 0 0 1 1103.35 696)">
|
||||
<path d="M21.9365 5.34571L77.6631 5.34571C84.6191 5.34571 88.2598 1.82472 88.2598-5.16162L88.2598-7.98144L69.3057-25.7925C67.686-27.333 65.7144-28.0771 63.6401-28.0771C61.5508-28.0771 59.7861-27.3818 58.0386-25.8413L41.3731-11.1826L34.8013-17.1094C33.2236-18.5557 31.6055-19.2695 29.7905-19.2695C28.1069-19.2695 26.6201-18.522 25.0576-17.1582L11.3247-5.14306C11.3247 1.82472 14.9805 5.34571 21.9365 5.34571ZM38.5625-24.9639C43.3813-24.9639 47.3027-28.9526 47.3027-33.8018C47.3027-38.5532 43.3813-42.5386 38.5625-42.5386C33.7285-42.5386 29.8223-38.5532 29.8223-33.8018C29.8223-28.9526 33.7285-24.9639 38.5625-24.9639ZM21.3994 6.44679L78.1597 6.44679C85.8701 6.44679 89.7935 2.56056 89.7935-5.05224L89.7935-44.5386C89.7935-52.1328 85.8701-56.0376 78.1597-56.0376L21.3994-56.0376C13.6553-56.0376 9.76562-52.1968 9.76562-44.5386L9.76562-5.05224C9.76562 2.59083 13.6553 6.44679 21.3994 6.44679ZM21.4971 1.02002C17.4214 1.02002 15.1924-1.1416 15.1924-5.35205L15.1924-44.2539C15.1924-48.4492 17.4214-50.626 21.4971-50.626L78.062-50.626C82.0771-50.626 84.3667-48.4492 84.3667-44.2539L84.3667-5.35205C84.3667-1.1416 82.0771 1.02002 78.062 1.02002ZM17.9097-62.3999L81.7017-62.3999C81.2114-65.4653 79.7378-67.2202 76.4028-67.2202L23.2236-67.2202C19.8398-67.2202 18.3813-65.4653 17.9097-62.3999ZM25.6299-72.606L73.9629-72.606C73.7607-75.4541 72.1338-77.022 69.0195-77.022L30.5733-77.022C27.4927-77.022 25.832-75.4541 25.6299-72.606Z"/>
|
||||
</g>
|
||||
<g id="Thin-S" transform="matrix(1 0 0 1 806.773 696)">
|
||||
<path d="M20.8555 3.50393L78.3437 3.50393C84.6191 3.50393 87.7793 0.363301 87.7793-5.98241L87.7793-9.30272L69.2656-26.4531C67.5059-28.0937 65.5742-28.918 63.3398-28.918C61.0703-28.918 59.4258-28.1426 57.4981-26.5019L40.8125-12.0234L34.4609-17.9101C32.8633-19.3965 31.3652-20.1504 29.4102-20.1504C27.5664-20.1504 26.1797-19.3828 24.6172-17.959L11.3848-6.00389C11.3848 0.363301 14.5801 3.50393 20.8555 3.50393ZM38.4824-25.8848C43.2813-25.8848 47.2227-29.8535 47.2227-34.7226C47.2227-39.4941 43.2813-43.5195 38.4824-43.5195C33.6484-43.5195 29.7422-39.4941 29.7422-34.7226C29.7422-29.8535 33.6484-25.8848 38.4824-25.8848ZM20.3184 4.7051L78.9805 4.7051C85.9102 4.7051 89.5332 1.03908 89.5332-5.79296L89.5332-45.8398C89.5332-52.6934 85.9102-56.3379 78.9805-56.3379L20.3184-56.3379C13.375-56.3379 9.76562-52.7773 9.76562-45.8398L9.76562-5.79296C9.76562 1.1094 13.375 4.7051 20.3184 4.7051ZM20.416 1.40039C15.5996 1.40039 13.0703-1.10156 13.0703-5.97265L13.0703-45.6953C13.0703-50.5312 15.5996-53.0683 20.416-53.0683L78.8828-53.0683C83.5586-53.0683 86.2285-50.5312 86.2285-45.6953L86.2285-5.97265C86.2285-1.10156 83.5586 1.40039 78.8828 1.40039ZM18.0898-63.3008L81.2012-63.3008C81.0313-65.125 79.998-66.3594 78.0644-66.3594L21.2617-66.3594C19.2793-66.3594 18.2813-65.125 18.0898-63.3008ZM25.4297-72.3457L73.8828-72.3457C73.8008-74.0528 72.7344-75.2403 70.8613-75.2403L28.4512-75.2403C26.5918-75.2403 25.5117-74.0528 25.4297-72.3457Z"/>
|
||||
</g>
|
||||
<g id="Ultralight-S" transform="matrix(1 0 0 1 510.128 696)">
|
||||
<path d="M20.3018 2.56058L78.6924 2.56058C84.6191 2.56058 87.5332-0.385228 87.5332-6.40282L87.5332-9.97947L69.2451-26.7915C67.4136-28.4834 65.5024-29.3486 63.186-29.3486C60.8242-29.3486 59.2412-28.5322 57.2212-26.8403L40.5254-12.4541L34.2866-18.3203C32.6787-19.8271 31.2422-20.6015 29.2153-20.6015C27.2896-20.6015 25.9541-19.8237 24.3916-18.3691L11.4155-6.44481C11.4155-0.385228 14.375 2.56058 20.3018 2.56058ZM38.4414-26.3564C43.23-26.3564 47.1816-30.3149 47.1816-35.1943C47.1816-39.9761 43.23-44.022 38.4414-44.022C33.6074-44.022 29.7012-39.9761 29.7012-35.1943C29.7012-30.3149 33.6074-26.3564 38.4414-26.3564ZM19.7647 3.81302L79.4009 3.81302C85.9307 3.81302 89.3999 0.259793 89.3999-6.17235L89.3999-46.5063C89.3999-52.9805 85.9307-56.4917 79.4009-56.4917L19.7647-56.4917C13.2315-56.4917 9.76562-53.0747 9.76562-46.5063L9.76562-6.17235C9.76562 0.350612 13.2315 3.81302 19.7647 3.81302ZM19.8623 1.59521C14.6665 1.59521 11.9834-1.08106 11.9834-6.29052L11.9834-46.4336C11.9834-51.5976 14.6665-54.3193 19.8623-54.3193L79.3032-54.3193C84.3174-54.3193 87.1821-51.5976 87.1821-46.4336L87.1821-6.29052C87.1821-1.08106 84.3174 1.59521 79.3032 1.59521ZM18.1821-63.7622L80.9448-63.7622C80.939-64.9507 80.1313-65.9185 78.9155-65.9185L20.2569-65.9185C18.9922-65.9185 18.23-64.9507 18.1821-63.7622ZM25.3272-72.2124L73.8418-72.2124C73.8213-73.335 73.042-74.3277 71.8047-74.3277L27.3643-74.3277C26.1304-74.3277 25.3477-73.335 25.3272-72.2124Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 51 KiB |
@@ -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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -25,7 +25,7 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fCL-eV-Fib">
|
||||
<rect key="frame" x="436" y="13" width="122" height="32"/>
|
||||
<rect key="frame" x="440" y="20" width="111" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Set as artwork" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="rMb-PC-yTA">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -38,7 +38,7 @@ DQ
|
||||
</connections>
|
||||
</button>
|
||||
<slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fMj-Ew-Qej">
|
||||
<rect key="frame" x="449" y="48" width="104" height="20"/>
|
||||
<rect key="frame" x="451" y="54" width="100" height="18"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="100" id="o7H-4a-ogx"/>
|
||||
</constraints>
|
||||
@@ -49,8 +49,8 @@ DQ
|
||||
</connections>
|
||||
</slider>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="iH5-SJ-sDV">
|
||||
<rect key="frame" x="13" y="13" width="159" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Load more artwork..." bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="40h-Rv-m31">
|
||||
<rect key="frame" x="20" y="20" width="145" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Load more artworks" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="40h-Rv-m31">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<string key="keyEquivalent">l</string>
|
||||
@@ -61,7 +61,7 @@ DQ
|
||||
</connections>
|
||||
</button>
|
||||
<button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zyu-WY-ltM">
|
||||
<rect key="frame" x="371" y="13" width="67" height="32"/>
|
||||
<rect key="frame" x="371" y="20" width="57" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UDG-fN-bQH">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -74,13 +74,13 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c0O-We-pZd">
|
||||
<rect key="frame" x="20" y="74" width="531" height="461"/>
|
||||
<rect key="frame" x="20" y="80" width="531" height="455"/>
|
||||
<clipView key="contentView" id="cHe-z7-drT">
|
||||
<rect key="frame" x="1" y="1" width="529" height="459"/>
|
||||
<rect key="frame" x="1" y="1" width="529" height="453"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<collectionView selectable="YES" allowsMultipleSelection="YES" id="234-cJ-3Un" customClass="ArtworkCollectionView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="529" height="459"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="529" height="453"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
|
||||
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="lte-fF-bVi">
|
||||
<size key="itemSize" width="154" height="194"/>
|
||||
@@ -99,7 +99,7 @@ Gw
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="nbX-9d-w82">
|
||||
<rect key="frame" x="486" y="1" width="16" height="457"/>
|
||||
<rect key="frame" x="513" y="1" width="17" height="453"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
@@ -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>
|
||||
@@ -36,8 +36,14 @@
|
||||
<action selector="checkOnlyTracksWithSameLanguage:" target="-2" id="3Gg-ed-oeo"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check only selected tracks" id="KMR-fY-lFl">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="checkOnlySelectedTracks:" target="-2" id="6Fc-pF-u5c"/>
|
||||
</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"/>
|
||||
@@ -104,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">
|
||||
@@ -136,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">
|
||||
@@ -168,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">
|
||||
@@ -200,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">
|
||||
@@ -232,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">
|
||||
@@ -267,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>
|
||||
@@ -303,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,13 +1,14 @@
|
||||
<?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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="GeneralPrefsViewController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="saveLocationPopUp" destination="saveLocationPopUp" id="saveLocationOutlet"/>
|
||||
<outlet property="view" destination="76" id="u5x-9E-WAf"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
@@ -21,33 +22,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="374"/>
|
||||
<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="132" y="0.0" width="397" height="374"/>
|
||||
<subviews>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
||||
<rect key="frame" x="147" y="139" width="57" height="14"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
|
||||
<rect key="frame" x="152" y="172" width="57" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Beginning" id="3Vs-qA-7Z6">
|
||||
<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 focusRingType="none" verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="249">
|
||||
<rect key="frame" x="134" y="122" width="165" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
|
||||
<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="136" y="54" width="172" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -57,7 +59,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="136" y="276" width="117" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -70,16 +72,16 @@
|
||||
</binding>
|
||||
</connections>
|
||||
</button>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
|
||||
<rect key="frame" x="18" y="54" width="107" height="16"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
|
||||
<rect key="frame" x="18" y="58" width="112" 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="136" y="216" width="232" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Create Preview Images at position:" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -92,16 +94,16 @@
|
||||
</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="154" y="192" width="214" height="16"/>
|
||||
<sliderCell key="cell" state="on" alignment="left" maxValue="1" doubleValue="0.5" tickMarkPosition="below" numberOfTickMarks="7" sliderType="linear" id="iKX-dX-4IV"/>
|
||||
<connections>
|
||||
<binding destination="3" name="value" keyPath="values.SBChaptersPreviewPosition" id="JtQ-lM-MNU"/>
|
||||
<binding destination="3" name="enabled" keyPath="values.chaptersPreviewTrack" id="hNU-uO-zsL"/>
|
||||
</connections>
|
||||
</slider>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
|
||||
<rect key="frame" x="18" y="115" width="107" height="16"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
|
||||
<rect key="frame" x="18" y="142" width="112" 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 +111,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="136" y="20" width="172" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -118,8 +120,8 @@
|
||||
<action selector="deleteCachedMetadata:" target="-2" id="141"/>
|
||||
</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"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
|
||||
<rect key="frame" x="18" y="216" width="112" 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 +129,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="136" y="316" width="242" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Automatically check for update daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="2Pf-pq-4IX">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -136,32 +138,48 @@
|
||||
<binding destination="3" name="value" keyPath="values.SUEnableAutomaticChecks" id="6AF-uh-wt7"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
||||
<rect key="frame" x="18" y="263" width="107" height="16"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
|
||||
<rect key="frame" x="18" y="338" width="112" 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"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
|
||||
<rect key="frame" x="337" y="139" width="24" height="14"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
|
||||
<rect key="frame" x="346" y="172" width="24" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="End" id="He0-rl-DBi">
|
||||
<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="78">
|
||||
<rect key="frame" x="18" y="205" width="107" height="16"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="78">
|
||||
<rect key="frame" x="18" y="276" width="112" 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="136" y="90" width="160" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="logFormatCell">
|
||||
<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="136" y="338" width="126" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Show open panel" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -170,16 +188,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="136" y="138" width="180" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="237">
|
||||
<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"/>
|
||||
@@ -187,79 +205,138 @@
|
||||
<binding destination="123" name="selectedValue" keyPath="values.SBRatingsCountry" previousBinding="245" id="248"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
|
||||
<rect key="frame" x="232" y="139" width="44" height="14"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
|
||||
<rect key="frame" x="239" y="172" width="44" height="14"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Middle" id="2o1-dB-mt1">
|
||||
<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 focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatLabel">
|
||||
<rect key="frame" x="18" y="94" width="112" 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>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="saveLocationLabel">
|
||||
<rect key="frame" x="18" y="246" width="112" height="16"/>
|
||||
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Save As Location:" id="saveLocationLabelCell">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="saveLocationPopUp">
|
||||
<rect key="frame" x="136" y="242" width="180" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" title="Automatic" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="saveLocationLastUsed" id="saveLocationCell">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="saveLocationMenu">
|
||||
<items>
|
||||
<menuItem title="Automatic" state="on" id="saveLocationLastUsed">
|
||||
<connections>
|
||||
<action selector="setSaveLocation:" target="-2" id="saveLocationLastUsedAction"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Same as File" tag="1" id="saveLocationSameAsFile">
|
||||
<connections>
|
||||
<action selector="setSaveLocation:" target="-2" id="saveLocationSameAsFileAction"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="saveLocationSeparator"/>
|
||||
<menuItem title="Other…" tag="3" id="saveLocationOther">
|
||||
<connections>
|
||||
<action selector="chooseSaveLocation:" target="-2" id="saveLocationOtherAction"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="saveLocationWidth"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="saveLocationLabel" id="saveLocationAccessibility"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
</subviews>
|
||||
<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="saveLocationPopUp" secondAttribute="bottom" constant="10" id="ELH-2G-UJe"/>
|
||||
<constraint firstItem="mNP-6I-gV4" firstAttribute="firstBaseline" secondItem="tVb-Qq-sU7" secondAttribute="firstBaseline" id="ElQ-mv-Pfd"/>
|
||||
<constraint firstItem="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="saveLocationLabel" firstAttribute="firstBaseline" secondItem="saveLocationPopUp" secondAttribute="firstBaseline" id="saveLocationBaseline"/>
|
||||
<constraint firstItem="saveLocationPopUp" firstAttribute="leading" secondItem="saveLocationLabel" secondAttribute="trailing" constant="8" symbolic="YES" id="saveLocationHorizontalSpace"/>
|
||||
<constraint firstItem="saveLocationLabel" firstAttribute="width" secondItem="206" secondAttribute="width" id="saveLocationLabelWidth"/>
|
||||
<constraint firstItem="saveLocationLabel" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="saveLocationLeading"/>
|
||||
<constraint firstItem="saveLocationPopUp" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="saveLocationTop"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="saveLocationPopUp" secondAttribute="trailing" id="saveLocationTrailing"/>
|
||||
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="uK9-gt-tF8"/>
|
||||
<constraint firstItem="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>
|
||||
|
||||
@@ -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="25098" 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="25098"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
@@ -23,12 +23,6 @@
|
||||
<action selector="orderFrontStandardAboutPanel:" target="-2" id="142"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check for Updates…" id="529">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="checkForUpdates:" target="530" id="531"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Donate…" id="ojS-sZ-qGM">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
@@ -38,7 +32,7 @@
|
||||
<menuItem isSeparatorItem="YES" id="236">
|
||||
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
|
||||
</menuItem>
|
||||
<menuItem title="Preferences…" keyEquivalent="," id="129" userLabel="121">
|
||||
<menuItem title="Preferences…" preferredImageVisibility="hidden" keyEquivalent="," id="129" userLabel="121">
|
||||
<connections>
|
||||
<action selector="showPrefsWindow:" target="-1" id="558"/>
|
||||
</connections>
|
||||
@@ -147,12 +141,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,15 +179,18 @@
|
||||
<menuItem isSeparatorItem="YES" id="74" 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"/>
|
||||
<menuItem title="Start Queue" keyEquivalent="B" id="TRh-ZN-Id8">
|
||||
<connections>
|
||||
<action selector="runPageLayout:" target="-1" id="87"/>
|
||||
<action selector="toggleStartStop:" target="449" id="ea4-oe-9YQ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Print…" keyEquivalent="p" id="78" userLabel="6">
|
||||
<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="printDocument:" target="-1" id="373"/>
|
||||
<action selector="removeCompletedItems:" target="-1" id="ouO-db-qWo"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
@@ -241,8 +239,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 +307,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>
|
||||
@@ -456,7 +454,7 @@
|
||||
<menuItem title="Show Queue" keyEquivalent="p" id="595">
|
||||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="showBatchWindow:" target="-1" id="596"/>
|
||||
<action selector="showQueueWindow:" target="-1" id="596"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Show Message Log" id="9t4-R8-Exy">
|
||||
@@ -488,7 +486,7 @@
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
<point key="canvasLocation" x="-244" y="-303"/>
|
||||
<point key="canvasLocation" x="214" y="-221"/>
|
||||
</menu>
|
||||
<customObject id="419" customClass="NSFontManager"/>
|
||||
<customObject id="449" userLabel="AppDelegate" customClass="AppDelegate" customModule="Subler" customModuleProvider="target">
|
||||
@@ -496,6 +494,5 @@
|
||||
<outlet property="sendToExternalApp" destination="597" id="Kz4-8d-I4D"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="530" customClass="SPUStandardUpdaterController"/>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -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>
|
||||
@@ -79,11 +79,11 @@
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="DCh-vc-Yl1">
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="DCh-vc-Yl1">
|
||||
<rect key="frame" x="0.0" y="188" width="250" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="Ys0-qT-KV5">
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="Ys0-qT-KV5">
|
||||
<rect key="frame" x="224" y="17" width="15" height="102"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
|
||||
@@ -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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -32,11 +32,11 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<view id="1lR-dE-p3x">
|
||||
<rect key="frame" x="0.0" y="0.0" width="550" height="466"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="550" height="505"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bfj-tB-Wq2">
|
||||
<rect key="frame" x="439" y="13" width="98" height="32"/>
|
||||
<rect key="frame" x="446" y="20" width="84" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PqB-NK-OtT">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -49,7 +49,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zM1-YP-Au2">
|
||||
<rect key="frame" x="343" y="13" width="98" height="32"/>
|
||||
<rect key="frame" x="350" y="20" width="84" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="PJC-dF-B1z">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -64,55 +64,34 @@ Gw
|
||||
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="QEr-1S-JZX">
|
||||
<rect key="frame" x="20" y="20" width="16" height="16"/>
|
||||
</progressIndicator>
|
||||
<tabView translatesAutoresizingMaskIntoConstraints="NO" id="6hW-RR-cfF">
|
||||
<rect key="frame" x="-12" y="347" width="574" height="115"/>
|
||||
<tabView horizontalHuggingPriority="249" verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="6hW-RR-cfF">
|
||||
<rect key="frame" x="-11" y="383" width="572" height="118"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="102" id="bDZ-xh-EwQ"/>
|
||||
</constraints>
|
||||
<font key="font" metaFont="system"/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Movie" identifier="1" id="apc-8c-iyM">
|
||||
<view key="view" id="e2g-GX-p4j">
|
||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
||||
<rect key="frame" x="10" y="33" width="552" height="72"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" 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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
|
||||
<rect key="frame" x="67" y="42" width="395" height="21"/>
|
||||
<rect key="frame" x="20" y="44" width="434" height="24"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="gBb-mO-eZD" id="V6J-SK-ibX"/>
|
||||
<outlet property="delegate" destination="-2" id="HI8-qI-i23"/>
|
||||
</connections>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qsS-B6-c2q">
|
||||
<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"/>
|
||||
<menu key="menu" id="obN-m7-G5Q"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="t4t-2B-C6I"/>
|
||||
</constraints>
|
||||
<accessibility description="Language"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderLanguageSelected:" target="-2" id="WiO-tU-ojJ"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton translatesAutoresizingMaskIntoConstraints="NO" id="0aO-Wz-ASZ">
|
||||
<rect key="frame" x="424" y="6" width="117" height="25"/>
|
||||
<popUpButton horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0aO-Wz-ASZ">
|
||||
<rect key="frame" x="20" y="10" width="125" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="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"/>
|
||||
@@ -120,17 +99,14 @@ Gw
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="110" id="4MR-8H-PO9"/>
|
||||
</constraints>
|
||||
<accessibility description="Metadata Provider"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderSelected:" target="-2" id="Z6X-nl-ffA"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="x4l-iV-xgr">
|
||||
<rect key="frame" x="467" y="36" width="77" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HF1-WK-lv1">
|
||||
<rect key="frame" x="466" y="44" width="66" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HF1-WK-lv1">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<string key="keyEquivalent" base64-UTF8="YES">
|
||||
@@ -141,51 +117,112 @@ DQ
|
||||
<action selector="searchForResults:" target="-2" id="Oy5-RZ-YGX"/>
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qsS-B6-c2q">
|
||||
<rect key="frame" x="153" y="10" width="130" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="tuc-lL-n0W">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="obN-m7-G5Q"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="130" id="TL8-uD-R6K"/>
|
||||
</constraints>
|
||||
<accessibility description="Language"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderLanguageSelected:" target="-2" id="WiO-tU-ojJ"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="qsS-B6-c2q" secondAttribute="trailing" constant="20" id="9UN-0q-TUf"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="gBb-mO-eZD" secondAttribute="trailing" constant="7" id="Gas-Hm-DaP"/>
|
||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="Hk6-CI-CYe"/>
|
||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="80g-EC-tOh"/>
|
||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="centerY" secondItem="Dyr-Xb-8vA" secondAttribute="centerY" id="Hvk-C7-byp"/>
|
||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="leading" secondItem="Dyr-Xb-8vA" secondAttribute="trailing" constant="12" id="LJF-Kf-dQD"/>
|
||||
<constraint firstItem="qsS-B6-c2q" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="39" id="M8Q-0P-nWB"/>
|
||||
<constraint firstItem="qsS-B6-c2q" firstAttribute="bottom" secondItem="0aO-Wz-ASZ" secondAttribute="bottom" id="OEE-wC-5np"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="firstBaseline" secondItem="gBb-mO-eZD" secondAttribute="firstBaseline" id="WeN-uo-QVa"/>
|
||||
<constraint firstItem="gBb-mO-eZD" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="8" id="Y39-sC-lfw"/>
|
||||
<constraint firstItem="x4l-iV-xgr" firstAttribute="trailing" secondItem="0aO-Wz-ASZ" secondAttribute="trailing" id="crX-q8-6xo"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="gBb-mO-eZD" secondAttribute="trailing" constant="7" id="cxE-Kb-aJS"/>
|
||||
<constraint firstItem="gBb-mO-eZD" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="feD-8w-Skn"/>
|
||||
<constraint firstAttribute="trailing" secondItem="x4l-iV-xgr" secondAttribute="trailing" constant="17" id="fhM-i9-sRG"/>
|
||||
<constraint firstAttribute="bottom" secondItem="qsS-B6-c2q" secondAttribute="bottom" constant="10" id="pUJ-uL-Hfg"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="qsS-B6-c2q" secondAttribute="leading" id="ylB-Fv-roN"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="top" secondItem="e2g-GX-p4j" secondAttribute="top" constant="4" id="RJf-nv-Vmc"/>
|
||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="centerY" secondItem="qsS-B6-c2q" secondAttribute="centerY" id="T91-4a-kLt"/>
|
||||
<constraint firstItem="Dyr-Xb-8vA" firstAttribute="leading" secondItem="e2g-GX-p4j" secondAttribute="leading" constant="20" symbolic="YES" id="TD7-Np-2g0"/>
|
||||
<constraint firstAttribute="bottom" secondItem="0aO-Wz-ASZ" secondAttribute="bottom" constant="10" id="bqC-Gj-KcW"/>
|
||||
<constraint firstAttribute="trailing" secondItem="x4l-iV-xgr" secondAttribute="trailing" constant="20" symbolic="YES" id="fhM-i9-sRG"/>
|
||||
<constraint firstItem="0aO-Wz-ASZ" firstAttribute="top" secondItem="Dyr-Xb-8vA" secondAttribute="bottom" constant="10" id="g1y-qg-YWU"/>
|
||||
<constraint firstItem="qsS-B6-c2q" firstAttribute="leading" secondItem="0aO-Wz-ASZ" secondAttribute="trailing" constant="8" symbolic="YES" id="ubq-To-aMP"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qsS-B6-c2q" secondAttribute="trailing" constant="20" symbolic="YES" id="ydk-pF-yHc"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="TV Episode" identifier="2" id="GPk-3A-rQI">
|
||||
<view key="view" id="pC0-6X-DbE">
|
||||
<rect key="frame" x="10" y="33" width="554" height="69"/>
|
||||
<rect key="frame" x="10" y="33" width="552" height="72"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textField focusRingType="none" 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">
|
||||
<comboBox focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
|
||||
<rect key="frame" x="20" y="44" width="434" height="24"/>
|
||||
<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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
|
||||
<rect key="frame" x="14" y="13" width="61" height="16"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</comboBoxCell>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="-2" id="1TN-qD-O3Q"/>
|
||||
<outlet property="delegate" destination="-2" id="24Y-25-ZbJ"/>
|
||||
</connections>
|
||||
</comboBox>
|
||||
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4yY-id-JNb">
|
||||
<rect key="frame" x="153" y="10" width="130" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="6dD-ZJ-fLf">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="eDp-3G-Kg4"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="130" id="Jj5-aw-h6y"/>
|
||||
</constraints>
|
||||
<accessibility description="Language"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderLanguageSelected:" target="-2" id="7uv-wc-CIQ"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton horizontalCompressionResistancePriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="UTG-O0-5RG">
|
||||
<rect key="frame" x="20" y="10" width="125" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="j44-FV-Lpy" id="O3t-4h-3zl">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="message"/>
|
||||
<menu key="menu" id="OYz-qX-3i2">
|
||||
<items>
|
||||
<menuItem title="iTunes Store" state="on" id="j44-FV-Lpy"/>
|
||||
<menuItem title="TheMovieDB" id="FoR-26-u9n"/>
|
||||
<menuItem title="TheTVDB" id="xjQ-ex-5kU"/>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<accessibility description="Metadata provider"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderSelected:" target="-2" id="nMq-JN-KOa"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-F6-30O">
|
||||
<rect key="frame" x="466" y="44" width="66" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Mu-cI-Uiu">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<string key="keyEquivalent" base64-UTF8="YES">
|
||||
DQ
|
||||
</string>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="searchForResults:" target="-2" id="dCt-ma-lyj"/>
|
||||
</connections>
|
||||
</button>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
|
||||
<rect key="frame" x="289" y="14" width="61" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="kz7-mH-DuT">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
|
||||
<rect key="frame" x="80" y="10" width="30" height="21"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
|
||||
<rect key="frame" x="355" y="10" width="30" height="24"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="30" id="9CR-ib-DtF"/>
|
||||
<constraint firstAttribute="width" constant="30" id="j6g-V9-PJF"/>
|
||||
</constraints>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="7S1-uI-qok">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -197,10 +234,10 @@ 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">
|
||||
<rect key="frame" x="184" y="10" width="30" height="21"/>
|
||||
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
|
||||
<rect key="frame" x="460" y="10" width="30" height="24"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="30" id="JnI-dd-MkA"/>
|
||||
<constraint firstAttribute="width" constant="30" id="ojN-7h-wgW"/>
|
||||
</constraints>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="Xvo-B4-9Wa">
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -213,100 +250,34 @@ DQ
|
||||
</connections>
|
||||
</textField>
|
||||
<textField focusRingType="none" 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"/>
|
||||
<rect key="frame" x="391" y="14" width="64" height="16"/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Episode #" id="Zik-QU-m81">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<comboBox focusRingType="none" 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"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</comboBoxCell>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="PoJ-z7-u2L" id="Mqw-FY-8Ae"/>
|
||||
<outlet property="dataSource" destination="-2" id="1TN-qD-O3Q"/>
|
||||
<outlet property="delegate" destination="-2" id="24Y-25-ZbJ"/>
|
||||
</connections>
|
||||
</comboBox>
|
||||
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4yY-id-JNb">
|
||||
<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"/>
|
||||
<menu key="menu" id="eDp-3G-Kg4"/>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="153" id="aRl-QK-caF"/>
|
||||
</constraints>
|
||||
<accessibility description="Language"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderLanguageSelected:" target="-2" id="7uv-wc-CIQ"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<popUpButton horizontalCompressionResistancePriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="UTG-O0-5RG">
|
||||
<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"/>
|
||||
<menu key="menu" id="OYz-qX-3i2">
|
||||
<items>
|
||||
<menuItem title="iTunes Store" state="on" id="j44-FV-Lpy"/>
|
||||
<menuItem title="TheMovieDB" id="FoR-26-u9n"/>
|
||||
<menuItem title="TheTVDB" id="xjQ-ex-5kU"/>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="110" id="yze-MC-pfr"/>
|
||||
</constraints>
|
||||
<accessibility description="Metadata provider"/>
|
||||
<connections>
|
||||
<action selector="metadataProviderSelected:" target="-2" id="nMq-JN-KOa"/>
|
||||
</connections>
|
||||
</popUpButton>
|
||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EpM-F6-30O">
|
||||
<rect key="frame" x="467" y="37" width="77" height="32"/>
|
||||
<buttonCell key="cell" type="push" title="Search" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5Mu-cI-Uiu">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
<string key="keyEquivalent" base64-UTF8="YES">
|
||||
DQ
|
||||
</string>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<action selector="searchForResults:" target="-2" id="dCt-ma-lyj"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="gWo-ag-3S4" secondAttribute="trailing" constant="20" symbolic="YES" id="1cf-QH-GoS"/>
|
||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="leading" id="3XJ-NW-2OT"/>
|
||||
<constraint firstItem="nYS-Uo-Puv" firstAttribute="baseline" secondItem="r32-v1-g3U" secondAttribute="baseline" id="5Yy-LG-A13"/>
|
||||
<constraint firstItem="UTG-O0-5RG" firstAttribute="leading" secondItem="4yY-id-JNb" secondAttribute="trailing" constant="60" id="5bZ-A2-oAt"/>
|
||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="baseline" secondItem="nYS-Uo-Puv" secondAttribute="baseline" id="7w2-5k-loo"/>
|
||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="8" id="EVi-oc-tqE"/>
|
||||
<constraint firstItem="r32-v1-g3U" firstAttribute="baseline" secondItem="PmP-Uz-mXF" secondAttribute="baseline" id="IcC-EN-90a"/>
|
||||
<constraint firstItem="PmP-Uz-mXF" firstAttribute="leading" secondItem="r32-v1-g3U" secondAttribute="trailing" constant="7" id="Nlc-DQ-qvf"/>
|
||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="width" secondItem="PoJ-z7-u2L" secondAttribute="width" id="PI1-1C-eAU"/>
|
||||
<constraint firstItem="EpM-F6-30O" firstAttribute="trailing" secondItem="UTG-O0-5RG" secondAttribute="trailing" id="PKp-73-Vbb"/>
|
||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="leading" secondItem="pC0-6X-DbE" secondAttribute="leading" constant="16" id="YbU-68-uWT"/>
|
||||
<constraint firstAttribute="trailing" secondItem="EpM-F6-30O" secondAttribute="trailing" constant="17" id="baJ-gT-gpq"/>
|
||||
<constraint firstItem="EpM-F6-30O" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="trailing" constant="12" id="e0P-Oe-Tz3"/>
|
||||
<constraint firstAttribute="bottom" secondItem="nYS-Uo-Puv" secondAttribute="bottom" constant="10" id="ehG-Fz-i2o"/>
|
||||
<constraint firstItem="r32-v1-g3U" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="trailing" constant="7" id="iUT-w5-MQJ"/>
|
||||
<constraint firstItem="4yY-id-JNb" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="PmP-Uz-mXF" secondAttribute="trailing" priority="750" constant="8" symbolic="YES" id="lc1-tA-1Gj"/>
|
||||
<constraint firstItem="4yY-id-JNb" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="39" id="n3d-4T-yVM"/>
|
||||
<constraint firstItem="4yY-id-JNb" firstAttribute="bottom" secondItem="UTG-O0-5RG" secondAttribute="bottom" id="r9M-rQ-1OL"/>
|
||||
<constraint firstItem="PoJ-z7-u2L" firstAttribute="firstBaseline" secondItem="yxL-hY-Wvf" secondAttribute="firstBaseline" constant="1" id="txE-Mz-IYh"/>
|
||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="leading" secondItem="PoJ-z7-u2L" secondAttribute="leading" id="uwV-a4-QuX"/>
|
||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="PoJ-z7-u2L" secondAttribute="trailing" constant="7" id="xNm-xS-fGk"/>
|
||||
<constraint firstItem="EpM-F6-30O" firstAttribute="centerY" secondItem="yxL-hY-Wvf" secondAttribute="centerY" id="xVF-6P-gxR"/>
|
||||
<constraint firstItem="PmP-Uz-mXF" firstAttribute="bottom" secondItem="4yY-id-JNb" secondAttribute="bottom" id="xd7-a0-KTM"/>
|
||||
<constraint firstAttribute="bottom" secondItem="UTG-O0-5RG" secondAttribute="bottom" constant="10" id="0jz-eZ-PYZ"/>
|
||||
<constraint firstItem="PmP-Uz-mXF" firstAttribute="leading" secondItem="r32-v1-g3U" secondAttribute="trailing" constant="7" id="76f-1f-IhA"/>
|
||||
<constraint firstItem="EpM-F6-30O" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="trailing" constant="12" id="Bbw-ih-qSD"/>
|
||||
<constraint firstItem="UTG-O0-5RG" firstAttribute="top" secondItem="yxL-hY-Wvf" secondAttribute="bottom" constant="10" id="Drk-HP-jyl"/>
|
||||
<constraint firstAttribute="trailing" secondItem="EpM-F6-30O" secondAttribute="trailing" constant="20" symbolic="YES" id="EpQ-oZ-M1N"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="PmP-Uz-mXF" secondAttribute="trailing" constant="20" symbolic="YES" id="GX9-Ax-mrl"/>
|
||||
<constraint firstItem="nYS-Uo-Puv" firstAttribute="firstBaseline" secondItem="r32-v1-g3U" secondAttribute="firstBaseline" id="OVu-Br-svU"/>
|
||||
<constraint firstItem="EpM-F6-30O" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="4" id="RoW-MN-5l8"/>
|
||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="firstBaseline" secondItem="nYS-Uo-Puv" secondAttribute="firstBaseline" id="Shj-mM-Vg8"/>
|
||||
<constraint firstItem="4yY-id-JNb" firstAttribute="leading" secondItem="UTG-O0-5RG" secondAttribute="trailing" constant="8" symbolic="YES" id="U32-Nz-YfN"/>
|
||||
<constraint firstItem="nYS-Uo-Puv" firstAttribute="leading" secondItem="gWo-ag-3S4" secondAttribute="trailing" constant="7" id="YqB-c1-I3n"/>
|
||||
<constraint firstItem="4yY-id-JNb" firstAttribute="centerY" secondItem="gWo-ag-3S4" secondAttribute="centerY" id="eLh-kH-KNh"/>
|
||||
<constraint firstItem="r32-v1-g3U" firstAttribute="leading" secondItem="nYS-Uo-Puv" secondAttribute="trailing" constant="8" symbolic="YES" id="fVO-St-Aez"/>
|
||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="leading" secondItem="pC0-6X-DbE" secondAttribute="leading" constant="20" symbolic="YES" id="hTu-YS-Eeh"/>
|
||||
<constraint firstItem="UTG-O0-5RG" firstAttribute="leading" secondItem="yxL-hY-Wvf" secondAttribute="leading" id="hp6-qT-uGH"/>
|
||||
<constraint firstItem="gWo-ag-3S4" firstAttribute="leading" secondItem="4yY-id-JNb" secondAttribute="trailing" constant="8" symbolic="YES" id="lRS-M6-Cxr"/>
|
||||
<constraint firstItem="UTG-O0-5RG" firstAttribute="centerY" secondItem="4yY-id-JNb" secondAttribute="centerY" id="nVx-52-jdh"/>
|
||||
<constraint firstItem="r32-v1-g3U" firstAttribute="firstBaseline" secondItem="PmP-Uz-mXF" secondAttribute="firstBaseline" id="rMa-Q9-tLd"/>
|
||||
<constraint firstItem="yxL-hY-Wvf" firstAttribute="top" secondItem="pC0-6X-DbE" secondAttribute="top" constant="4" id="x6j-8D-FgH"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
@@ -324,20 +295,20 @@ DQ
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<splitView autosaveName="SBMetadataSearchSplitView" translatesAutoresizingMaskIntoConstraints="NO" id="BfX-EM-ktQ">
|
||||
<rect key="frame" x="20" y="60" width="510" height="289"/>
|
||||
<rect key="frame" x="20" y="64" width="510" height="321"/>
|
||||
<subviews>
|
||||
<customView misplaced="YES" id="8It-Zb-03g">
|
||||
<rect key="frame" x="0.0" y="0.0" width="510" height="103"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="510" height="115"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<scrollView misplaced="YES" autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VnH-EL-2bp">
|
||||
<rect key="frame" x="0.0" y="1" width="510" height="102"/>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="17" horizontalPageScroll="10" verticalLineScroll="17" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VnH-EL-2bp">
|
||||
<rect key="frame" x="0.0" y="0.0" width="510" height="120"/>
|
||||
<clipView key="contentView" id="I28-fS-tPQ">
|
||||
<rect key="frame" x="1" y="1" width="508" height="100"/>
|
||||
<rect key="frame" x="1" y="1" width="508" height="118"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowHeight="15" rowSizeStyle="automatic" headerView="Bv4-ow-7Qb" viewBased="YES" id="IDz-Ox-2sW">
|
||||
<rect key="frame" x="0.0" y="0.0" width="508" height="75"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="508" height="93"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -406,25 +377,29 @@ DQ
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="VnH-EL-2bp" secondAttribute="bottom" id="IF3-gK-AfW"/>
|
||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="top" secondItem="8It-Zb-03g" secondAttribute="top" id="JI5-nL-Cb4"/>
|
||||
<constraint firstAttribute="trailing" secondItem="VnH-EL-2bp" secondAttribute="trailing" id="JL5-2S-520"/>
|
||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="leading" secondItem="8It-Zb-03g" secondAttribute="leading" id="LAd-9v-90B"/>
|
||||
<constraint firstAttribute="trailing" secondItem="VnH-EL-2bp" secondAttribute="trailing" id="O4c-bt-Ef6"/>
|
||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="leading" secondItem="8It-Zb-03g" secondAttribute="leading" id="QPf-58-gaz"/>
|
||||
<constraint firstItem="VnH-EL-2bp" firstAttribute="top" secondItem="8It-Zb-03g" secondAttribute="top" id="k1y-Ov-GHp"/>
|
||||
<constraint firstAttribute="bottom" secondItem="VnH-EL-2bp" secondAttribute="bottom" id="kvH-Wg-mrC"/>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="120" id="oBd-XH-2sW"/>
|
||||
</constraints>
|
||||
</customView>
|
||||
<customView misplaced="YES" id="YFw-L1-xW7">
|
||||
<rect key="frame" x="0.0" y="112" width="510" height="177"/>
|
||||
<rect key="frame" x="0.0" y="124" width="510" height="197"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<subviews>
|
||||
<scrollView misplaced="YES" autohidesScrollers="YES" horizontalLineScroll="39" horizontalPageScroll="10" verticalLineScroll="39" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L9f-RN-ymm">
|
||||
<rect key="frame" x="0.0" y="-3" width="510" height="180"/>
|
||||
<scrollView autohidesScrollers="YES" horizontalLineScroll="39" horizontalPageScroll="10" verticalLineScroll="39" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="L9f-RN-ymm">
|
||||
<rect key="frame" x="0.0" y="0.0" width="510" height="192"/>
|
||||
<clipView key="contentView" ambiguous="YES" id="JKj-Cf-XlS">
|
||||
<rect key="frame" x="1" y="1" width="508" height="178"/>
|
||||
<rect key="frame" x="1" y="1" width="508" height="190"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="37" rowSizeStyle="automatic" headerView="8SH-1C-Y6N" viewBased="YES" id="7Te-u0-Sax" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="508" height="153"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="508" height="165"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -552,11 +527,15 @@ DQ
|
||||
</scrollView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="leading" secondItem="YFw-L1-xW7" secondAttribute="leading" id="CaQ-4M-NYe"/>
|
||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="top" secondItem="YFw-L1-xW7" secondAttribute="top" id="DDY-yc-xwu"/>
|
||||
<constraint firstAttribute="bottom" secondItem="L9f-RN-ymm" secondAttribute="bottom" id="Dji-UV-X83"/>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="160" id="MiB-Tq-jnd"/>
|
||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="top" secondItem="YFw-L1-xW7" secondAttribute="top" id="Y6z-es-GyW"/>
|
||||
<constraint firstAttribute="bottom" secondItem="L9f-RN-ymm" secondAttribute="bottom" id="Ylu-kT-cca"/>
|
||||
<constraint firstAttribute="trailing" secondItem="L9f-RN-ymm" secondAttribute="trailing" id="o50-sW-JjL"/>
|
||||
<constraint firstItem="L9f-RN-ymm" firstAttribute="leading" secondItem="YFw-L1-xW7" secondAttribute="leading" id="vYe-8Y-9O9"/>
|
||||
<constraint firstAttribute="trailing" secondItem="L9f-RN-ymm" secondAttribute="trailing" id="wuL-0U-r1i"/>
|
||||
</constraints>
|
||||
</customView>
|
||||
</subviews>
|
||||
@@ -567,25 +546,25 @@ DQ
|
||||
</splitView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="top" secondItem="6hW-RR-cfF" secondAttribute="bottom" constant="8" symbolic="YES" id="1xg-4I-ico"/>
|
||||
<constraint firstAttribute="bottom" secondItem="QEr-1S-JZX" secondAttribute="bottom" constant="20" id="27F-h3-4J5"/>
|
||||
<constraint firstItem="6hW-RR-cfF" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="-5" id="2VD-Jo-sCA"/>
|
||||
<constraint firstItem="6hW-RR-cfF" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="-4" id="2VD-Jo-sCA"/>
|
||||
<constraint firstItem="6hW-RR-cfF" firstAttribute="top" secondItem="1lR-dE-p3x" secondAttribute="top" constant="10" id="40o-r6-s4C"/>
|
||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="trailing" secondItem="Bfj-tB-Wq2" secondAttribute="trailing" id="Akd-YK-H0o"/>
|
||||
<constraint firstItem="QEr-1S-JZX" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="20" id="DRP-5G-W3e"/>
|
||||
<constraint firstAttribute="trailing" secondItem="BfX-EM-ktQ" secondAttribute="trailing" constant="20" symbolic="YES" id="EVf-1X-v1B"/>
|
||||
<constraint firstAttribute="bottom" secondItem="Bfj-tB-Wq2" secondAttribute="bottom" constant="20" id="LeM-a8-IMO"/>
|
||||
<constraint firstItem="dWj-kw-NVW" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="trailing" constant="7" id="Nv1-th-2ki"/>
|
||||
<constraint firstAttribute="trailing" secondItem="6hW-RR-cfF" secondAttribute="trailing" constant="-5" id="Rfl-Zu-KRL"/>
|
||||
<constraint firstAttribute="trailing" secondItem="6hW-RR-cfF" secondAttribute="trailing" constant="-4" id="Rfl-Zu-KRL"/>
|
||||
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="top" secondItem="BfX-EM-ktQ" secondAttribute="bottom" constant="20" symbolic="YES" id="ST5-KA-9jo"/>
|
||||
<constraint firstItem="zM1-YP-Au2" firstAttribute="baseline" secondItem="Bfj-tB-Wq2" secondAttribute="baseline" id="Ydc-dO-pHN"/>
|
||||
<constraint firstItem="dWj-kw-NVW" firstAttribute="centerY" secondItem="QEr-1S-JZX" secondAttribute="centerY" id="ZJK-aI-ebA"/>
|
||||
<constraint firstItem="zM1-YP-Au2" firstAttribute="width" secondItem="Bfj-tB-Wq2" secondAttribute="width" id="ain-gy-U2V"/>
|
||||
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="top" secondItem="BfX-EM-ktQ" secondAttribute="bottom" constant="20" id="amA-Vx-LBb"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Bfj-tB-Wq2" secondAttribute="trailing" constant="20" id="fSb-kG-oqW"/>
|
||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="top" secondItem="6hW-RR-cfF" secondAttribute="bottom" constant="8" id="gB2-uH-CDQ"/>
|
||||
<constraint firstItem="BfX-EM-ktQ" firstAttribute="leading" secondItem="1lR-dE-p3x" secondAttribute="leading" constant="20" symbolic="YES" id="g9K-ua-Yl9"/>
|
||||
<constraint firstItem="Bfj-tB-Wq2" firstAttribute="leading" secondItem="zM1-YP-Au2" secondAttribute="trailing" constant="12" id="hPx-74-Y3U"/>
|
||||
<constraint firstItem="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="130" y="71"/>
|
||||
</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"/>
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
<?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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="QueueController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="progressBar" destination="91" id="Pyo-9s-F6Q"/>
|
||||
<outlet property="startItem" destination="xeY-tT-tF2" id="MmM-v9-enw"/>
|
||||
<outlet property="statusLabel" destination="12" id="VYp-DC-guz"/>
|
||||
<outlet property="table" destination="7" id="KrN-pl-mlK"/>
|
||||
<outlet property="window" destination="1" id="25"/>
|
||||
@@ -19,33 +18,33 @@
|
||||
<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="1920" height="1055"/>
|
||||
<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="1049"/>
|
||||
<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"/>
|
||||
<view key="contentView" wantsLayer="YES" misplaced="YES" id="2">
|
||||
<rect key="frame" x="0.0" y="0.0" width="450" height="505"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="21" horizontalPageScroll="10" verticalLineScroll="21" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3">
|
||||
<rect key="frame" x="-1" y="46" width="380" height="306"/>
|
||||
<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="69" width="452" height="437"/>
|
||||
<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="431" height="435"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" tableStyle="plain" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowSizeStyle="automatic" viewBased="YES" id="7" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="378" height="304"/>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="sequential" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowHeight="19" rowSizeStyle="automatic" viewBased="YES" id="7" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="452" height="435"/>
|
||||
<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="375" minWidth="40" maxWidth="3000" id="8">
|
||||
<tableColumn identifier="nameColumn" editable="NO" width="452" minWidth="40" maxWidth="3000" id="8">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="nameColumn">
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableHeaderCell>
|
||||
<textFieldCell key="dataCell" lineBreakMode="charWrapping" selectable="YES" editable="YES" alignment="left" id="11">
|
||||
<textFieldCell key="dataCell" lineBreakMode="truncatingMiddle" selectable="YES" editable="YES" alignment="left" id="11">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -53,26 +52,23 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView id="ofF-gY-wBR">
|
||||
<rect key="frame" x="1" y="2" width="375" height="17"/>
|
||||
<rect key="frame" x="1" y="2" width="428" 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="-1" width="317" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="srx-EJ-mK6">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="pjh-GC-aOA">
|
||||
<rect key="frame" x="29" y="2" width="370" height="16"/>
|
||||
<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"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Xeb-eQ-90j">
|
||||
<rect key="frame" x="7" y="0.0" width="16" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Xeb-eQ-90j">
|
||||
<rect key="frame" x="7" y="2" width="16" height="16"/>
|
||||
<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="352" y="0.0" width="16" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
|
||||
<button toolTip="Show item info" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="o98-wM-YAQ">
|
||||
<rect key="frame" x="405" y="2" width="16" height="16"/>
|
||||
<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"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -83,6 +79,15 @@
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="Xeb-eQ-90j" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="90b-BW-lff"/>
|
||||
<constraint firstItem="o98-wM-YAQ" firstAttribute="leading" secondItem="pjh-GC-aOA" secondAttribute="trailing" constant="8" symbolic="YES" id="CaB-q0-ftY"/>
|
||||
<constraint firstItem="Xeb-eQ-90j" firstAttribute="leading" secondItem="ofF-gY-wBR" secondAttribute="leading" constant="7" id="G9p-cq-HKH"/>
|
||||
<constraint firstItem="o98-wM-YAQ" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="USV-VJ-xKf"/>
|
||||
<constraint firstItem="pjh-GC-aOA" firstAttribute="leading" secondItem="Xeb-eQ-90j" secondAttribute="trailing" constant="8" symbolic="YES" id="ZBk-XN-nd9"/>
|
||||
<constraint firstAttribute="trailing" secondItem="o98-wM-YAQ" secondAttribute="trailing" constant="7" id="mX3-LL-ent"/>
|
||||
<constraint firstItem="pjh-GC-aOA" firstAttribute="centerY" secondItem="ofF-gY-wBR" secondAttribute="centerY" id="odE-Gg-80F"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<outlet property="imageView" destination="Xeb-eQ-90j" id="Q6V-gj-mwY"/>
|
||||
<outlet property="textField" destination="pjh-GC-aOA" id="PQK-Y7-IFu"/>
|
||||
@@ -101,7 +106,7 @@
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6">
|
||||
<rect key="frame" x="1" y="271" width="378" height="15"/>
|
||||
<rect key="frame" x="1" y="420" width="431" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="4">
|
||||
@@ -110,7 +115,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="39" width="267" 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"/>
|
||||
@@ -118,7 +123,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="281" y="14" width="140" height="41"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="140" id="zk9-SM-dx0"/>
|
||||
</constraints>
|
||||
@@ -136,61 +141,10 @@
|
||||
<constraint firstItem="12" firstAttribute="top" secondItem="91" secondAttribute="top" id="lVR-wY-vXK"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="7CCC4E53-430A-4EDF-8C9B-E7533A5972A1" autosavesConfiguration="NO" displayMode="iconOnly" sizeMode="regular" id="DiU-kc-8B9">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="4Tn-KL-e86"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="Iau-lm-QMb"/>
|
||||
<toolbarItem implicitItemIdentifier="3A987BC3-AE8F-4D56-8562-D2F37B9DA021" label="Add Item" paletteLabel="Add Item" toolTip="Add an item to the queue" image="NSAddTemplate" sizingBehavior="auto" id="mbj-v3-fFG" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="sUh-2y-iie">
|
||||
<rect key="frame" x="14" y="14" width="26" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ZQu-If-3ju">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="open:" target="-2" id="sdm-Bo-vsx"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="403860A1-8562-4F5B-BBEE-E8C1270A9077" label="Settings" paletteLabel="Settings" toolTip="Show/hide settings" image="NSActionTemplate" sizingBehavior="auto" id="Qif-lh-Rps" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="tU5-DL-6vU">
|
||||
<rect key="frame" x="12" y="14" width="27" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSActionTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Zdg-cC-Bdm">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="toggleOptions:" target="-2" id="f6O-LF-uNy"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="90FECCE0-5997-4C12-9158-9F7391313970" label="Start" paletteLabel="Start" toolTip="Start/stop queue" image="playBackTemplate" sizingBehavior="auto" id="xeY-tT-tF2" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="sOU-an-jdB">
|
||||
<rect key="frame" x="1" y="14" width="31" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="playBackTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="NP2-Hq-1TK">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="toggleStartStop:" target="-2" id="hYg-up-ePS"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
</allowedToolbarItems>
|
||||
<defaultToolbarItems>
|
||||
<toolbarItem reference="xeY-tT-tF2"/>
|
||||
<toolbarItem reference="Iau-lm-QMb"/>
|
||||
<toolbarItem reference="Qif-lh-Rps"/>
|
||||
<toolbarItem reference="mbj-v3-fFG"/>
|
||||
</defaultToolbarItems>
|
||||
</toolbar>
|
||||
<connections>
|
||||
<outlet property="delegate" destination="-2" id="c4X-w0-NMZ"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="-66" y="113"/>
|
||||
<point key="canvasLocation" x="294.5" y="35.5"/>
|
||||
</window>
|
||||
<menu id="78">
|
||||
<items>
|
||||
@@ -228,10 +182,7 @@
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="EncodeComplete" width="16" height="16"/>
|
||||
<image name="NSActionTemplate" width="20" height="20"/>
|
||||
<image name="NSAddTemplate" width="18" height="17"/>
|
||||
<image name="info" width="16" height="16"/>
|
||||
<image name="info-pressed" width="16" height="16"/>
|
||||
<image name="playBackTemplate" width="19" height="18"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -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>
|
||||
|
||||
@@ -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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -16,18 +16,15 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView id="UlG-O3-eNc" userLabel="OptionsView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="382" height="642"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="395" height="687"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<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="112" y="89" width="65" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Optimize" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nig-pN-efw">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="67" id="st2-UI-Qkc"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<binding destination="-2" name="value" keyPath="self.options.optimize" id="2oW-EB-1dq">
|
||||
<dictionary key="options">
|
||||
@@ -37,7 +34,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="112" y="653" width="142" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Clear existing metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="QNO-e1-WUJ">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -51,7 +48,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="113" y="40" width="129" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Auto-Start the queue" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="LYO-G0-9jA">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -65,7 +62,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="112" y="466" width="107" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Organize Groups" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="240-c7-2UW">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -79,7 +76,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="112" y="426" width="138" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Load external subtitles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="59T-kp-mV1">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -93,7 +90,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="132" width="130" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="6jC-r9-LzT" id="8bb-Gy-KAS">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -121,24 +118,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="135" 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="159" width="62" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Apply Set:" id="9gt-mI-zIV">
|
||||
<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="608" 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 +145,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="554" 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 +156,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="653" width="58" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Add item:" id="9ls-xq-YGz">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -176,7 +173,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="156" width="130" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bQx-xN-b3H">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -208,7 +205,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="605" width="150" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CbR-eu-sGI">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -235,7 +232,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="551" width="150" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UOb-Qe-IPw">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -261,8 +258,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="530" width="63" height="14"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="58" id="vbR-Os-38g"/>
|
||||
</constraints>
|
||||
@@ -275,8 +272,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="498" width="54" height="14"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="98L-OX-PB1"/>
|
||||
</constraints>
|
||||
@@ -290,7 +287,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="527" width="150" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nqF-p0-mT7">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -317,8 +314,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="584" 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 +326,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="581" width="150" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -358,14 +355,11 @@
|
||||
</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="112" y="446" width="115" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Fix audio fallbacks" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="W6u-1c-BsI">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
</buttonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="117" id="8uL-Xd-FJM"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<binding destination="-2" name="value" keyPath="self.options.fixFallbacks" id="W1e-uB-NXG">
|
||||
<dictionary key="options">
|
||||
@@ -375,7 +369,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="112" y="346" width="156" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Complete tracks language" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="cxz-2q-RIP">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -388,8 +382,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="325" width="64" height="14"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="60" id="x6U-u1-ezQ"/>
|
||||
</constraints>
|
||||
@@ -403,7 +397,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="322" width="111" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kEh-SN-iHZ">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -430,8 +424,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="283" 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 +436,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="280" width="111" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="tj2-P4-OCU">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -470,7 +464,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="112" y="303" width="192" height="14"/>
|
||||
<string key="toolTip">In files with multiple audio tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language audio to play by default. An audio track labeled with the selected language and tagged as main program content must exist. </string>
|
||||
<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,9 +479,9 @@
|
||||
</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="112" y="262" width="208" height="14"/>
|
||||
<string key="toolTip">In files with multiple subtitle tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language subtitles to play by default. A subtitle track labeled with the preferred language must exist in the file.</string>
|
||||
<buttonCell key="cell" type="check" title="Enabled subtitles track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="LD5-Kv-x0M" userLabel="Change Subtitle Language Track">
|
||||
<buttonCell key="cell" type="check" title="Enable subtitles track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="LD5-Kv-x0M" userLabel="Change Subtitle Language Track">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
@@ -500,7 +494,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="113" y="20" width="175" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Show Notification When Done" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="n6P-IC-SEp">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -514,7 +508,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="112" y="406" width="119" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Clear tracks names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="mtK-5C-Pzh">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -528,7 +522,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="112" y="386" width="156" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Prettify audio track names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="akF-dR-OPB" userLabel="Prettify audio track names">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -542,7 +536,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="112" y="366" width="139" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Rename chapters titles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="yFm-Nq-s66" userLabel="Prettify audio track names">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -556,7 +550,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="495" width="90" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" title="Poster" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="YjX-6f-SPu" id="1t8-o9-ckI">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -587,7 +581,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="112" y="221" width="112" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Apply color space" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="0By-RQ-4mS">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -600,8 +594,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="201" width="76" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="tMS-Tg-pPf">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -612,7 +606,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="198" width="150" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" title="Implicit" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="psY-0V-t0k" id="QT5-Bh-4Hc">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -641,7 +635,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="112" y="633" width="100" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="h5x-un-6cJ">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -655,7 +649,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="112" y="70" width="142" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Send to AppleTV/iTunes" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="4an-VK-S2u">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -669,7 +663,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="283" y="495" width="92" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" title="Standard" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="goC-ck-how" id="obA-0k-yqE">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -693,8 +687,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="242" 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 +699,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="239" width="111" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="muE-Km-mrP">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -733,7 +727,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="112" y="179" width="121" height="14"/>
|
||||
<buttonCell key="cell" type="check" title="Set output filename" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="Qld-0F-DsX">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -743,7 +737,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="108" width="130" height="20"/>
|
||||
<popUpButtonCell key="cell" type="roundRect" title="mp4" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="10" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="iXb-rA-1f3" id="Tgc-fW-mN5">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="label" size="11"/>
|
||||
@@ -762,8 +756,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="111" width="59" height="14"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="File Type:" id="UbR-KJ-8iR">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -778,30 +772,29 @@
|
||||
<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 firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="81E-pQ-vyQ" secondAttribute="trailing" constant="20" symbolic="YES" id="HI8-BQ-BTo"/>
|
||||
<constraint firstItem="swT-iM-shZ" firstAttribute="leading" secondItem="slL-2h-MPl" secondAttribute="leading" constant="16" id="IET-Co-LEB"/>
|
||||
<constraint firstItem="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 firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="etc-K7-Atw" secondAttribute="trailing" constant="20" symbolic="YES" id="LBm-Pp-APA"/>
|
||||
<constraint firstItem="tLh-V3-OfB" firstAttribute="leading" secondItem="bDo-OD-bck" secondAttribute="trailing" constant="8" symbolic="YES" id="LkT-ae-DtF"/>
|
||||
<constraint 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 +804,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 +816,13 @@
|
||||
<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="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="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="X54-PH-kRj"/>
|
||||
<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"/>
|
||||
@@ -843,22 +835,25 @@
|
||||
<constraint firstItem="22k-mA-HyA" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="gf1-Gn-HmD"/>
|
||||
<constraint firstItem="ZVm-yi-3cE" firstAttribute="top" secondItem="s8r-Cf-VfB" secondAttribute="bottom" constant="8" symbolic="YES" id="guH-Zh-HOj"/>
|
||||
<constraint firstItem="9GN-f6-r2j" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="h8R-Ut-8qp"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="TV6-Sk-Bqr" secondAttribute="trailing" constant="20" symbolic="YES" id="hcL-c5-CaR"/>
|
||||
<constraint firstItem="08Q-2k-0Gb" firstAttribute="leading" secondItem="Ns9-7q-hsh" secondAttribute="trailing" constant="9" id="iQj-1h-1cO"/>
|
||||
<constraint firstItem="2Hf-2V-95U" firstAttribute="baseline" secondItem="s2g-Iz-52P" secondAttribute="baseline" id="iuc-CH-gRQ"/>
|
||||
<constraint firstItem="86l-GG-SpO" firstAttribute="leading" secondItem="vJ5-JB-k1m" secondAttribute="trailing" constant="9" id="jVT-Dw-cxd"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="k33-Yf-DbF" secondAttribute="trailing" constant="20" symbolic="YES" id="kql-Sm-3Q6"/>
|
||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="baseline" secondItem="9GN-f6-r2j" secondAttribute="baseline" id="lQw-5e-sOv"/>
|
||||
<constraint firstItem="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 firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="0qr-Nt-Pan" secondAttribute="trailing" constant="20" symbolic="YES" id="p6g-Q8-2JO"/>
|
||||
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="20" id="qfC-zl-k6y"/>
|
||||
<constraint firstItem="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 +862,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="-1250" y="-137"/>
|
||||
</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>
|
||||
@@ -0,0 +1,262 @@
|
||||
# CHANGES — SublerMKV fork
|
||||
|
||||
Executive summary of everything this fork adds or changes relative to the
|
||||
original Subler checkout.
|
||||
|
||||
- **Baseline**: upstream commit `0c3d7de` (2026-10-20, "Fix wobbling preference
|
||||
panels switch animation caused by macOS 27.2") — the last commit inherited
|
||||
from the GitHub Subler project.
|
||||
- **Since then**: 18 commits in the app repository and 15 in the
|
||||
**MP42Foundation** submodule (2026-11-25 → 2026-11-28).
|
||||
- **Fork identity**: version `1.9.5mkv2` (upstream base + `mkv` + a fork
|
||||
change counter), builds as `SublerMKV.app` (`org.galad.SublerMKV`);
|
||||
development moved from GitHub to Gitea (`git.technomancer.com:Scott-Files/`).
|
||||
|
||||
## Executive summary
|
||||
|
||||
Two headline capabilities, plus the packaging to support them:
|
||||
|
||||
1. **Matroska files can now be opened and edited in place.** Subler previously
|
||||
forced `.mkv`/`.mka`/`.mks` through a convert-to-MP4 import. The fork opens
|
||||
them directly as documents: metadata, cover art, track fields, chapters,
|
||||
subtitle-track additions, and track deletions all save back *as Matroska*,
|
||||
without a lossy transcode and without ever writing QuickTime atoms over an
|
||||
MKV.
|
||||
2. **A complete BLU-RAY PGS subtitle pipeline.** Raw `.sup` PGS files import
|
||||
natively; PGS tracks inside MKVs convert to VobSub (`subp`) at the stream's
|
||||
**own resolution** (e.g. 1920x1080, not the old forced 720x480 DVD frame);
|
||||
and subtitle filenames are recognized for language and type flags (SDH,
|
||||
forced, commentary, …) the way mkvmerge does it.
|
||||
|
||||
Supporting work: direct metadata lookups from IDs embedded in filenames, the
|
||||
project + submodules re-hosted on Gitea, the Sparkle auto-updater removed, and
|
||||
two command-line helpers (`extractsubs`, `sup2vob`) now built and shipped
|
||||
inside the app bundle so they never drift from the app's own code.
|
||||
|
||||
## 1. Matroska in-place editing
|
||||
|
||||
*App: `eb386a5`, `3302367`, `8520d72`, `f457b4e`, `06ecb0a` — Framework: `1040f47`, `8ba3f25`, `0cf79ec`, `10dcee3`, `e8231de`*
|
||||
|
||||
- **Direct open**: `.mkv/.mka/.mks` open into a tags-only `MP42File` model
|
||||
instead of the convert-import sheet. MP4-only properties stay read-only;
|
||||
the four fields Matroska actually stores per track — **name, language,
|
||||
enabled, subtitle-forced** — are editable, along with all metadata and
|
||||
cover art.
|
||||
- **Two save engines** (in MP42Foundation), chosen automatically:
|
||||
- `MP42MkvTagWriter` — mkvpropedit-style **in-place** rewrite of the `Tags`
|
||||
element, cover-art attachment, and per-track fields. Reuses the old extent
|
||||
+ Void padding when the payload fits; otherwise rebuilds the file tail
|
||||
with recomputed SeekHead/Cues positions (temp file + atomic replace).
|
||||
Untouched tracks diff to **byte-for-byte no-ops**; foreign tag groups,
|
||||
unknown TrackEntry children, and non-cover attachments are preserved
|
||||
verbatim; a size+mtime staleness guard refuses writes on changed files.
|
||||
- `MP42MkvRemuxer` — stream-copy **rebuild** used when the structure must
|
||||
change: deleted tracks, added subtitle tracks, chapter edits, Save-As, or
|
||||
File ▸ Optimize. Every block is copied bit-for-bit (blocks of removed
|
||||
tracks dropped by unmarked-vint track number), clusters are header-only
|
||||
scanned, SeekHead positions are patched at the end, Cues are regenerated
|
||||
only when the source had them, and `Info/Duration` is recomputed from
|
||||
written block extents.
|
||||
- **Track management**: real tracks can be deleted (pairing TrackEntry ↔ model
|
||||
by object identity, immune to index shifts); `.srt`/`.ssa`/`.ass` subtitle
|
||||
tracks can be **added** (re-parsed from source at save time, written as
|
||||
`S_TEXT/UTF8` with proper `BlockGroup` framing and synthesized clusters
|
||||
when timestamps demand it). Reordering stays blocked on MKV to protect the
|
||||
pairing; destinations must remain mkv/mka/mks.
|
||||
- **Chapters are first-class**: editable rows, `.txt` (mp4chaps) import to
|
||||
bootstrap chapters on a chapter-less file, `.csv` update, single-chapter
|
||||
insertion (timestamped 1 s past the latest start, clamped), bulk "insert
|
||||
every N", deletion of the whole chapter track (removes the `Chapters`
|
||||
element). Chapter changes ride the remuxer (detected via a model snapshot),
|
||||
and chapter **language round-trips** at track level. TagsOnly mode mirrors
|
||||
the file's chapter atoms verbatim — no MP4-path normalization — so an
|
||||
untouched save never shifts or drops atoms.
|
||||
- **AppleScript**: `save as` routes Matroska documents through the proper
|
||||
Matroska save path (the raw MP4 writer would corrupt them); direct file
|
||||
import mirrors the panel's extension dispatch; PGS/MKV naming conventions
|
||||
respected without MP4-only model reshuffling.
|
||||
- **Queue parity**: batched MKVs are retagged **in place** instead of being
|
||||
converted to MP4. The window's whole save branching moved into a shared
|
||||
`MatroskaSaver` (baseline snapshots + tag-writer-vs-remuxer choice) used
|
||||
by both `Document` and `QueueItem`: queue items import tags-only, keep the
|
||||
mkv/mka/mks extension (in place, or stream-copy into a destination folder),
|
||||
and remux only when an edit demands it (found `.srt/.ass/.ssa` additions,
|
||||
renamed chapters, optimize, renamed output). MP4-only queue actions
|
||||
(organize groups, fix fallbacks, color space, atom optimize) no-op on MKV;
|
||||
send-to-queue from a window hands the item the document's model *and*
|
||||
pairing baseline; editing a queued MKV opens a real MKV document.
|
||||
- **Spec traps handled** (all verified against mkvtoolnix-written files):
|
||||
correct `Language`/`LanguageIETF`/`TrackFlagEnabled` element ids,
|
||||
`ChapterAtom = 0xB6`, chapter timecodes in absolute nanoseconds, mandatory
|
||||
`ChapterUID`/`EditionUID` derived deterministically from content, and
|
||||
community-style SimpleTags (`RATING`, `CONTENTRATING`, `MEDIAKIND`, `HD`,
|
||||
`CAST`, `NETWORK`, `EPISODEID`) so Movie-tab fields with no Matroska-spec
|
||||
tag still round-trip.
|
||||
|
||||
## 2. Subtitle pipeline
|
||||
|
||||
*App: `5d6c0cd`, `dd956fa`, `87e0c82`, `401584a` — Framework: `e02f60b`, `5777208`, `837aa1c`, `30dd96f`, `e7c7b80`, `e428558`*
|
||||
|
||||
- **BLU-RAY PGS `.sup` import**: `MP42VobSubImporter` claims `.sup` directly,
|
||||
converting via **sup2vob** — the upstream Swift sources vendored into
|
||||
MP42Foundation (`MP42/Sup2Vob/`) with only the CLI globals and facade
|
||||
adapted, so upstream fixes re-merge cleanly. Result: a real VobSub track
|
||||
(muxable into MP4 as `subp`, or tx3g-convertible), language taken from the
|
||||
filename, track URL kept on the user's `.sup`.
|
||||
- **PGS inside MKV → VobSub**: the import sheet offers a VobSub conversion
|
||||
action for PGS-format tracks. Requires rebuilding the `.sup` stream from
|
||||
mkvmerge's stripped-envelope, zlib-compressed blocks (reconstructing the
|
||||
13-byte `PG` segment framing byte-identically to mkvextract) before the
|
||||
same sup2vob machinery runs.
|
||||
- **Full source resolution**: the conversion always runs sup2vob's `--full`
|
||||
passthrough — frames keep the PGS's own PCS canvas (typically 1920x1080)
|
||||
instead of being downscaled to the 720x480/576 DVD frame the old code
|
||||
forced. Verified end-to-end: framework output is **byte-identical** to
|
||||
`sup2vob --full`, and ffprobe reports `dvd_subtitle 1920x1080` on muxed
|
||||
output from both the `.sup` and the MKV path.
|
||||
- **VobSub frame sizes honored**: `.sub`/`.idx` additions now mux at the
|
||||
frame size declared in the idx rather than a default.
|
||||
- **Filename intelligence** (mkvmerge-style, right-to-left token scan):
|
||||
ISO 639-2/B and B-code language tags (`pt-BR` extended tags survive), and
|
||||
community type tokens (`sdh`, `cc`, `commentary`, `forced`, `lyrics`,
|
||||
deaf/hearing-impaired variants) — any flagged track is named **SDH**, the
|
||||
one recognizable convention players show, which then picks up media
|
||||
characteristics automatically. MKV track names run through the same
|
||||
recognizer on the conversion path (track name, falling back to the MKV's
|
||||
own filename).
|
||||
- **Bug fix**: SSA files without a `[V4+ Styles]` section no longer fail to
|
||||
parse.
|
||||
|
||||
## 3. Metadata
|
||||
|
||||
*App: `f20ad7e`*
|
||||
|
||||
- **Direct metadata lookup from filename IDs**: names like
|
||||
`Movie (2024) {tmdb-1015812}` or embedded IMDb/TVDB IDs are parsed
|
||||
(ParseFilename now handles parenthesized years and brace-wrapped service
|
||||
IDs, IMDb IDs widened to 7–9 digits) and emitted as `id:<kind>:<value>`.
|
||||
The search sheet, the queue metadata action, and the AppleScript
|
||||
fetch-metadata command try the direct TMDb lookup first and fall back to
|
||||
title search when the ID is unknown or unsupported.
|
||||
- **ID lookup now fires on already-tagged files**: `extractSearchTerms`
|
||||
short-circuited to the file's existing name/release-date/media-kind when a
|
||||
movie was already tagged, returning a bare title and **dropping the
|
||||
embedded ID** — so a second search on a tagged (or previously-searched)
|
||||
file ignored its `{tmdb-…}`. That branch now also parses the file name, so
|
||||
the direct lookup works regardless of prior tagging.
|
||||
- **Search-result ranking**: movie title-search results are re-ordered (in the
|
||||
sheet, the queue metadata action, and both AppleScript commands, with
|
||||
identical ranking so scripted indexes stay aligned) so **exact title matches
|
||||
sort to the top** of the fuzzy TMDb list, with a **parsed release year**
|
||||
used to pick the default entry — exact+year first, then exact, then
|
||||
year-only, then the provider's own order (a stable sort, so relevance
|
||||
survives within each band). The year is recovered from the file name in
|
||||
Swift (ParseFilename strips it from the title without reporting it);
|
||||
bracketed years `(2026)` win over bare dot/space years so resolutions like
|
||||
`.1920.1080p` don't win. The chosen default is also highlighted in the
|
||||
results list.
|
||||
|
||||
## 4. Fork infrastructure and distribution
|
||||
|
||||
*App: `0f8d251`, `628ccfe`, `20438f3`, `475737a`, `e96773f` — Framework: `79c251c`, `7ff1ed4`, `a287ea6`*
|
||||
|
||||
- **Gitea migration**: project, README clone URLs, and the `contrib`
|
||||
submodule all moved from GitHub to Gitea (SSH for development, public
|
||||
HTTPS URLs in the README/submodule config).
|
||||
- **Sparkle removed**: the auto-updater integration (framework, updater menu
|
||||
item, feed URL/public key, SPM package reference) is gone — this fork
|
||||
updates itself however its users choose.
|
||||
- **Fork version scheme `<upstream>.mkv<N>`** distinguishes fork builds from
|
||||
upstream without touching the forked-from version: the trailing counter in
|
||||
`MARKETING_VERSION`/`CURRENT_PROJECT_VERSION` (currently `1.9.5mkv2`)
|
||||
increments with each batch of fork changes, and restarts at 1 whenever
|
||||
upstream's base version moves.
|
||||
- **Build output renamed `SublerMKV.app`**: target renamed and `PRODUCT_NAME`
|
||||
set to `SublerMKV`; the interpolated bundle id becomes
|
||||
`org.galad.SublerMKV`, so fork builds are fully independent of an installed
|
||||
upstream `Subler.app` — own preferences (API tokens re-entered once), own
|
||||
queue defaults, and its own LaunchServices registration instead of two
|
||||
same-idded apps competing to open files.
|
||||
- **Own storage folder**: all App Support data moved from
|
||||
`Application Support/Subler/` to `Application Support/SublerMKV/` — the
|
||||
queue (renamed `queue.sbmkvqueue`), presets, downloaded OCR tessdata, and
|
||||
the debug log — so both apps can run without sharing any file.
|
||||
`Queue.saveToDisk` also gained the missing parent-directory creation the
|
||||
old (always-existing) folder had masked; without it the atomic write error
|
||||
is swallowed and the queue silently never persists.
|
||||
- **Spec trap found**: the Swift **module name** feeds every class's
|
||||
ObjC-runtime registration (`Subler.LanguageTransformer`), and XIB binding
|
||||
value-transformers reference that exact name — renaming the product alone
|
||||
made the queue-options nib throw `Cannot find value transformer` mid-load
|
||||
(dead popups, frozen checkboxes). `PRODUCT_MODULE_NAME = Subler` pins the
|
||||
module whatever the product is called; no XIB edits.
|
||||
- **Xcode 27.2 project migration** for both the app and the framework.
|
||||
|
||||
## 5. Command-line tools shipped in the app bundle
|
||||
|
||||
*App: `c08d607`, `5111294`, `56d843c` — Framework: `72e879e`*
|
||||
|
||||
- **`extractsubs`** bundles into `Contents/Resources/`: extracts subtitle
|
||||
tracks from mkv/mp4 files via ffmpeg stream copy, named
|
||||
`<input>.<track>[.<type>].<lang>.<ext>` — exactly the shape Subler's
|
||||
filename recognizer probes, so results drag straight back into the app —
|
||||
and runs `sup2vob --full` on extracted PGS. Defaults to English tracks
|
||||
(`--all` for everything); up-front dependency checks with clear messages;
|
||||
single-invocation extraction with per-track retry; a mkvmerge/mkvextract
|
||||
rescue path for `S_TEXT/WEBVTT` tracks ffmpeg cannot read.
|
||||
- **`sup2vob` slim CLI** (`MP42Foundation/sup2vob/`): only `main.swift` + a
|
||||
Makefile — it compiles the framework's own `MP42/Sup2Vob/` sources, so CLI
|
||||
and app conversion code can never drift, and the CLI doubles as the
|
||||
byte-identity oracle for the framework converter.
|
||||
- **Built into the app**: the Subler build runs that Makefile (incremental)
|
||||
and installs the binary at `Contents/MacOS/sup2vob`, so building Subler
|
||||
refreshes the CLI, and the bundled `extractsubs` finds it as a bundle
|
||||
sibling — the shipped pair needs no install beyond ffmpeg/ffprobe.
|
||||
|
||||
## Appendix — commit index
|
||||
|
||||
### SublerMKV (app), since `0c3d7de`
|
||||
|
||||
| Commit | Subject |
|
||||
|---|---|
|
||||
| `eb386a5` | Open and edit Matroska files in place, including track removal |
|
||||
| `3302367` | Add subtitle tracks to open Matroska documents |
|
||||
| `8520d72` | Edit and add chapters in Matroska documents |
|
||||
| `f457b4e` | Make chapter tracks deletable, insertable, and language-editable |
|
||||
| `06ecb0a` | Route AppleScript chapter imports and make File > Optimize work on MKV |
|
||||
| `401584a` | Mux added VobSub tracks at the frame size declared in the idx |
|
||||
| `f20ad7e` | Search metadata directly from IDs embedded in file names |
|
||||
| `0f8d251` | Point the project at Gitea and document the fork |
|
||||
| `628ccfe` | Use the gitea SSH login in clone URLs |
|
||||
| `20438f3` | Pull the contrib dependency from Gitea too |
|
||||
| `475737a` | Drop the Sparkle updater and stamp the fork version 1.9.5mkv |
|
||||
| `e96773f` | Point the submodule and README at the public HTTPS URLs |
|
||||
| `5d6c0cd` | Add PGS .sup subtitle import and filename flag recognition |
|
||||
| `dd956fa` | Offer VobSub conversion for PGS subtitle tracks |
|
||||
| `87e0c82` | Document the sup2vob full-frame passthrough for PGS conversions |
|
||||
| `c08d607` | Ship the extractsubs subtitle-extraction helper with the app |
|
||||
| `56d843c` | Document the slim sup2vob CLI in the submodule |
|
||||
| `5111294` | Build sup2vob into the app bundle so it ships and stays fresh |
|
||||
|
||||
### MP42Foundation (submodule), same period
|
||||
|
||||
| Commit | Subject |
|
||||
|---|---|
|
||||
| `1040f47` | Add Matroska tagging and track-removal support |
|
||||
| `e428558` | Fix SSA header parsing for files without a [V4+ Styles] section |
|
||||
| `8ba3f25` | Write added subtitle tracks during Matroska remux |
|
||||
| `0cf79ec` | Rebuild Matroska chapters on remux and recompute Info Duration |
|
||||
| `10dcee3` | Round trip the chapter language between model and Matroska |
|
||||
| `e8231de` | Mirror the file's chapter atoms verbatim in tagsOnly mode |
|
||||
| `e7c7b80` | Mux VobSub subpic tracks at the frame size declared by the idx |
|
||||
| `79c251c` | Move the contrib submodule to Gitea |
|
||||
| `a287ea6` | Adopt Xcode 27.2 project migration |
|
||||
| `7ff1ed4` | Serve the contrib submodule URL over HTTPS |
|
||||
| `30dd96f` | Recognize subtitle language and type tokens in filenames |
|
||||
| `e02f60b` | Import BLU-RAY PGS .sup files via vendored sup2vob |
|
||||
| `5777208` | Convert Matroska PGS tracks to VobSub and name flagged tracks SDH |
|
||||
| `837aa1c` | Keep the PGS source resolution through the sup2vob conversion |
|
||||
| `72e879e` | Add a slim sup2vob CLI built from the vendored Sup2Vob sources |
|
||||
|
||||
*(The submodule's pre-fork history was re-hosted on Gitea, so its commits are
|
||||
listed by date range rather than as a range from the base checkout.)*
|
||||
@@ -0,0 +1,69 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
Subler is a macOS AppKit application for muxing and tagging MP4/M4V/M4A files: it demuxes video/audio/subtitle/chapter tracks from mov, mp4, mkv, and raw formats, muxes them into QuickTime-compatible MP4 files (including Apple-compatible tx3g subtitle tracks), and edits metadata with lookups against TMDb, TVDB, and the iTunes Store.
|
||||
|
||||
- App layer (`Classes/`) is pure Swift 5; the app has no storyboards — UI is XIB-based AppKit (`MainMenu.xib` plus per-controller `.xib`/`.strings`).
|
||||
- All container-level demux/mux/encode work lives in the **MP42Foundation** git submodule (Objective-C/Objective-C++), built as a framework.
|
||||
- Single app target (named `SublerMKV`, builds `SublerMKV.app` via `PRODUCT_NAME`; legacy productName "MP4Sub"; bundle id `org.galad.SublerMKV`, so fork builds keep their own prefs/LaunchServices registration apart from an installed upstream `org.galad.Subler`). `PRODUCT_MODULE_NAME = Subler` deliberately **pins the Swift module to the original name**: XIB binding value-transformers reference Swift classes module-qualified (`Subler.LanguageTransformer`), and Swift registers runtime names by module — letting the module follow the product made the QueueOptions nib throw `Cannot find value transformer with name "Subler.LanguageTransformer"` mid-binding-load (queue-settings checkboxes/popups dead, frozen at design-time state), so any product rename must keep this setting fixed), deployment target `$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)` (upstream was 10.13). No external package dependencies: the fork removed the Sparkle auto-update integration (updater menu item, `SPUStandardUpdaterController` in MainMenu.xib, `SUFeedURL`/`SUPublicEDKey` in Info.plist, the SPM package reference in the pbxproj).
|
||||
|
||||
## Build
|
||||
|
||||
The MP42Foundation submodule must be initialized or the app will not compile:
|
||||
|
||||
```
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
Build with Xcode (Subler scheme) or CLI:
|
||||
|
||||
```
|
||||
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build
|
||||
```
|
||||
|
||||
No deployment-target override is needed: the projects moved from upstream's 10.13 to `$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)` (recent toolchains refuse 10.13).
|
||||
|
||||
There is **no test target and no CI** — changes are verified by building and running the app manually. Of the `Utilities/` tools, MP4Dump (legacy ObjC debugging) is not part of the app build, but `ParseFilename/` **is** — it's copied into the app bundle and executed at runtime by `MetadataHelper.parseFilename` via `Process`. `extractsubs` is also copied into the bundle (Resources phase → `Contents/Resources/extractsubs`, exec bit preserved by the copy) but **nothing in the app invokes it** — it's a user-facing CLI helper shipped with the app: it extracts subtitle tracks from mkv/mp4 files via ffmpeg stream copy (named `<input>.<track>[.<type>].<lang>.<ext>` — the shape `getFilenameLanguage`/`getFilenameSubtitlesTrackName` probe, so results drag straight back in) and runs `sup2vob --full` on extracted PGS `.sup` files. It needs ffprobe/ffmpeg on PATH; sup2vob comes from PATH **or from the bundle next to the script** (`Contents/MacOS/sup2vob`, built by the app — see the submodule section), so the bundled pair needs no install. mkvtoolnix and python3 are only needed for its `S_TEXT/WEBVTT` rescue path, and it skips extraction with a clear message rather than failing per-track mid-pipeline.
|
||||
|
||||
## Architecture
|
||||
|
||||
Two layers with a strict boundary:
|
||||
|
||||
### 1. App layer (`Classes/`, Swift)
|
||||
|
||||
- **Document flow**: `Document.swift` (NSDocument subclass) owns the opened file; `read(from:)` produces an `MP42File`. `DocumentWindowController` hosts the per-document window (tracks table, property view tabs). Export goes through `Document.save(to:...)` / `SaveOptions` and runs asynchronously; `sendToQueue` hands the document to the queue instead.
|
||||
- **MKV tags-only mode**: `.mkv/.mka/.mks` open directly (`DocumentController.openDocument` in `AppDelegate.swift` passes them through instead of forcing the convert-import sheet). `Document.isMatroska` then drives everything: the model is an in-memory `MP42File` filled from `MP42FileImporter` in **tagsOnly mode** (`initWithURL:tagsOnly:` — mirrors the file's own `TrackFlagEnabled` instead of the MP4 "first-of-type enabled" heuristic, so untouched tracks don't look edited), The save branching lives in **`MatroskaSaver`** (`Classes/MatroskaSaver.swift`, shared by `Document.writeMatroska` and `QueueItem` so a queued MKV saves exactly like the window): plain edits rewrite metadata + per-track fields in place via `MP42MkvTagWriter` (never touching clusters), while **deleted/added tracks, chapter edits, a forced rebuild (optimize/Save-As) or a destination different from the source** trigger the stream-copy rebuild via `MP42MkvRemuxer` (temp file + atomic rename even in place; destination must stay mkv/mka/mks — validated in `MatroskaSaver.save`). `MatroskaSaver.buildModel(from:)` is the shared tags-only model builder (conversion settings for un-muxable codecs to satisfy `addTrack:`, 1-based display trackIds; the caller wires `undo` afterwards so read opens no undo groups). MKV documents' `sendToQueue` skips the save panel and queues an in-place retag item carrying the document's model *and* its `MatroskaSaver` (`attachMatroskaSaver:` — the pairing is object identity and cannot be rebuilt from a bare model); the AppleScript send-to-queue does the same but keeps the script's destination URL (validated Matroska at save time). The remuxer pairs `TrackEntry` elements against the `MatroskaSaver`'s importer-order snapshot (built in `readMatroska`) with keep/drop decided by **object identity**, so the deletion check is immune to model index shifts; after a successful remux the snapshot is re-filtered in the same order **plus the added tracks appended** (matching the order the remuxer writes their TrackEntry elements last in the output). Subtitle tracks can be **added** to MKV docs (`.srt`/`.ssa`/`.ass` only): `DocumentWindowController.selectFile`/`showImportSheet` route MKV docs to `importSubtitleTracksForMatroska` (direct `MP42FileImporter` per file, no track-selection sheet; the accepted-extension list `matroskaSubtitleExtensions` must stay in sync with the remuxer's gate), and the `didSelect`/AppleScript `importFilesDirectly` path skips `organizeAlternateGroups`/`inferMediaCharacteristics` for MKV for the same pairing-protection reason. The AppleScript `save as` command (ScriptCommand.swift) must route Matroska docs through `Document.save(...)` — the raw `mp4.write(to:)` path would mux QuickTime atoms over an MKV document. Reordering must never happen on MKV docs (it would break the pairing): drag stays blocked and `DocumentWindowController.delete(tracks:)` skips `organizeAlternateGroups`/`inferMediaCharacteristics` for MKV. Save-As is enabled for MKV, and so is **File ▸ Optimize** (`saveAndOptimize`): on Matroska documents optimize means `writeMatroska`'s forced structural branch — a full remuxer rebuild of the file from the existing tracks (the container-equivalent of QuickTime atom-ordering), not `MP42File optimize`. Its validation precondition is `fileURL != nil` on MKV, because tags-only models answer `hasFileRepresentation == false` (their tracks are never muxed) and would otherwise keep the menu disabled forever. NSDocument Duplicate needs no MKV gate because **no nib wires `duplicateDocument:`** — that menu item doesn't exist for any container. Track **reorder and MP4-only properties stay gated** (`PropertyView.isReadOnly` disables the tabs; metadata tabs stay editable; adding stays restricted to the subtitle files and chapter txt/csv described here), but real tracks **and the chapter pseudo-track** can be **deleted** (deleting the chapter track empties the model, so the save remuxes and removes the `Chapters` element — same as emptying the Chapters tab), and the four fields Matroska actually stores per track are editable and saved — name, language, enabled, subtitle forced. UI split: `TracksViewController.isReadOnly` gates drag/reorder while `isFieldEditable(_:)` re-enables the name/language/enabled cells on real (non-chapter) rows; `PropertyView.allowsTrackEditing` lets `VideoViewController` re-enable just the subtitle forced popup (Never/All only — the per-sample "Any samples" option has no Matroska equivalent).Chapters are **editable** on MKV docs (`didSelect` exempts `ChapterViewController` from the read-only blanket alongside `MovieViewController`) and chapter-less docs can **gain chapters** via `.txt` import (OGG/mp4chaps format → `addChapters`, which replaces the model's chapter track since `MP42File addTrack:` replaces previous chapter tracks) or update an existing track via `.csv` (`updateChapters`) — routed from `selectFile`'s MKV branch, drag-drop, and the AppleScript `impLine truncated
|
||||
- **Queue engine**: `QueueController` (window UI) → `Queue` (serial `DispatchQueue` worker, persists `[QueueItem]` to disk via `NSKeyedArchiver` at `Application Support/SublerMKV/queue.sbmkvqueue` — the fork's storage folder, shared by presets/tessdata/logs; `saveToDisk` creates the folder, as the swallowed write error would otherwise mean silent non-persistence — holds IOKit sleep assertions while working) → `QueueItem` (imports a source file into an `MP42File`, then muxes to the destination) → `QueueAction` objects (`QueueActionProtocol`, `.pre`/`.post` types) apply individual transformations (set metadata, force subtitles, language fixes, etc.) to a queue item. Watch for `Queue.Working/Completed/Failed/Cancelled` notifications driving UI updates. **Matroska items match the window's save instead of converting**: `QueueItem.isMatroska` (derived from the source file's extension, never archived) makes `prepare()` do the tags-only import (`MatroskaSaver.buildModel`) and `process()` write back through the same `MatroskaSaver` — `QueueController.destination(for:)` keeps the mkv/mka/mks extension for it (the file itself, or the same name inside a queue destination folder → stream-copy remux there, the Save-As equivalent). On MKV items the queue's Optimize forces the remux rebuild (`QueueOptimizeAction` itself no-ops — `MP4Optimize` has nothing to reorder on a tags-only model), `QueueOrganizeGroupsAction`/`QueueFixFallbacksAction`/`QueueColorSpaceAction` no-op (MP4-only concepts; organize churn would corrupt the tag writer's positional TrackEntry diff), while `QueueSubtitlesAction`'s adjacent `.srt/.ass/.ssa` finds ride the remuxer as added tracks (it sets conversion settings to satisfy `addTrack:` like the window's MKV import path). Queue restores never carry the tags-only model (identity pairing can't be archived; the item re-imports and pre-actions re-run), and decoding normalizes legacy items' retired convert-to-mp4 destinations back to the source; editing an MKV item opens the source file as a real MKV document rather than wrapping the item's model.
|
||||
- **Import**: `FileImportController` wraps `MP42FileImporter` to let users pick which source tracks to import; `isTrackMuxable` / `trackNeedConversion` (in `Utilities.swift`) gate which tracks pass through vs. get converted. BLU-RAY PGS `.sup` files flow through this same machinery automatically (the open panel and drag-drop key off `MP42FileImporter.supportedFileFormats()/supportedContentTypes()`): they're produced by `MP42VobSubImporter`, which converts them to VobSub first — see the submodule section. They stay out of Matroska documents: `matroskaSubtitleExtensions` deliberately does not list `sup` (the remuxer only writes S_TEXT/UTF8 additions). All three subtitle importers (`MP42SrtImporter`/`MP42SSAImporter`/`MP42VobSubImporter`) take language from the filename via `getFilenameLanguage`, which scans separator-split tokens **right-to-left** (mkvmerge-style: 3-char tokens try ISO 639-2/T then the library's B codes `fre`/`ger`/`dut`/`chi`; the dash is deliberately not a separator, so `pt-BR` survives as one extended tag instead of its region half being misread as ISO 639-1 `br`=Breton); `und` when nothing decodes lets SRT/SSA fall back to `guessStringLanguage` and the sup path keep the converter's idx default. Community type tokens in the name (`sdh`/`hearing_impaired`/`impaired`/`deaf`, `cc`/`closed caption`, `commentary`/`commentaries`, `forced`, `lyrics`/`lyric`) make `getFilenameSubtitlesTrackName` name **any** flagged track `SDH` — one recognizable name serves users better than one name per type, and MP4 has no flag anyway, the name is the convention players show (the `SDH` name then picks up `transcribes-spoken-dialog`/`describes-music-and-sound` through `MP42File organizeMediaCharacteristicsForMediaType:`; the old per-type name→tag choreography like `forced-only` no longer fires from filenames — deliberate). The language deliberately stays out of the name since it rides its own element. MKV container tracks run through the same recognizer on the **conversion path** (`getSubtitleTypeTokenFromString` applied to the `TrackEntry Name` in `MP42MkvImporter`; a track without a TrackName inherits the token from the MKV's own filename — the decision keys on the TrackName element's presence, never the model name, because every track starts life with a default localized "<type> Track" name); tagsOnly mode is exempt — that model is the tag writer's diff baseline. MKV-added subtitle tracks carry the name via the remuxer's `Name` element.
|
||||
- **Metadata**: `Classes/MetadataImporters/` holds a `MetadataImporter` protocol with concrete importers (TheMovieDB, TheTVDB, iTunesStore, AppleTV, SquaredTVArt, chapter DBs). Note: the chapter-DB search (`DocumentWindowController.searchChapters`, which stays in the always-valid branch of `validateUserInterfaceItem`) is currently **orphaned** — no menu item, XIB connection or code path invokes it. Search results (`MetadataResult`/`MetadataResultMap`) are applied onto `MP42Metadata` via `MetadataSearchController`. API credentials are **compiled-in constants** in the service classes (TMDb `TheMovieDBService.key`, TVDB `TheTVDBService.apiKey`, SquaredTVArt's URL key), so they need no user setup and don't live in prefs; only the short-lived TVDB bearer-token session is cached in `UserDefaults` (`SBTheTVBDv4Token`, ~4 h validity) and re-fetched automatically on expiry. (`Token.swift` is unrelated — it's the filename-template tokenizer.)
|
||||
- **Presets**: `Preset` / `QueuePreset` / `MetadataPreset` + `PresetManager` — user-defined rule sets that auto-apply actions and metadata to queue items.
|
||||
- **Preferences**: `Prefs.swift` is the single source of truth for settings — nested enums of `@Stored` / `@StoredEnum` property-wrapped `UserDefaults` keys (defaults are auto-registered at startup). Add new settings here, not ad-hoc `UserDefaults` calls.
|
||||
- **AppleScript**: `Subler.sdef` defines the scripting dictionary; `ScriptCommand.swift` / `QueueScriptCommand.swift` implement the commands (e.g., "send to queue").
|
||||
- **Logging**: `Logger.shared` is the app-wide log sink; `ActivityWindowController` renders the log UI.
|
||||
|
||||
### 2. MP42Foundation (git submodule, own `MP42Foundation.xcodeproj`)
|
||||
|
||||
Referenced by the main project; `MP42Foundation.framework` is linked and copied into the app bundle. Imported throughout the app as `import MP42Foundation`. Key types: `MP42File` (in-memory MP4 model + muxing/writing), `MP42FileImporter` (demuxing mov/mp4/mkv/subtitle sources, FFmpeg-based), track classes (`MP42VideoTrack`, `MP42AudioTrack`, `MP42SubtitleTrack`, `MP42ChapterTrack`), `MP42Metadata` / `MP42MetadataItem`, `MP42AudioMixdown` / `MP42AudioConversionSettings`, `MP42Languages`.
|
||||
|
||||
The app never parses MP4/atom data directly — codec, container, and subtitle-conversion work belongs in the submodule, not in `Classes/`. `Classes/MP42FileAdditions.swift` extends framework types with app-level conveniences.
|
||||
|
||||
PGS `.sup` subtitle import: `MP42VobSubImporter` claims both `idx` and `sup`. A `.sup` is converted up-front to a private temp `.idx/.sub` pair via `MP42SupConverter` (the `@objc` façade over the sup2vob Swift sources vendored in `MP42/Sup2Vob/` from https://git.technomancer.com/Scott-Files/sup2vob — upstream logic is kept identical so upstream fixes re-merge cleanly; upstream's CLI-only globals and `main.swift` are the framework's only adaptations), then the existing VobSub machinery handles everything: the track comes out as `kMP42SubtitleCodecType_VobSub` (muxable straight into MP4 as `subp` via `MP4AddSubpicTrack`, or tx3g-convertible via `MP42BitmapSubConverter`), the frame size rides the idx `size:` line into `track.width/height`, language comes from the source filename (`getFilenameLanguage`, since PGS carries none — the generated idx `id:` is just "en"), and `track.URL` stays the user's `.sup`. The façade always runs upstream's `--full` mode (`fullFramePassthrough = true`, set in the adaptation layer `MP42SupConverter.swift`): frames keep the geometry the PGS itself defines — the idx size line is the **PCS canvas** (e.g. 1920x1080) and nothing is downscaled to the 720x480/576 DVD frame, which now only survives as fallback for a stream with no usable canvas (the framework's output is byte-identical to `sup2vob --full`). The temp pair is deleted in the importer's `dealloc` — safe because tracks hold the importer strongly through export. The ObjC→Swift hop uses the existing `MP42-Shared-Swift.h` shim (generated header), new Swift files must join both targets' Sources phases like `SampleDescription.swift`. The **same vendored sources** also build the CLI: `MP42Foundation/sup2vob/` holds only upstream's `main.swift` (adapted once: the two CLI globals `debugFrames`/`fullFramePassthrough` belong to the vendored `Convert.swift`, so main.swift drops its re-declaration) plus a `Makefile` compiling against `../MP42/Sup2Vob/` — one upstream merge updates app and CLI together, nothing can drift, and the CLI's `--full` output doubles as the byte-identical oracle for the framework converter. The Subler app build **invokes this same Makefile** (the "Build sup2vob CLI" run-script phase, `make -C MP42Foundation/sup2vob` — incremental, a no-op when unchanged) and installs the product into `Subler.app/Contents/MacOS/sup2vob`, so building Subler refreshes the CLI; a terminal `sup2vob` can just be a symlink to that bundle binary. The phase is why the Subler target sets `ENABLE_USER_SCRIPT_SANDBOXING = NO` (build-script file access within the source tree only — unrelated to the app's runtime security); the CLI itself also stays buildable standalone (`make && sudo make install`).
|
||||
|
||||
PGS-from-MKV → VobSub: a PGS track inside an MKV imports as a **real subp track**, not just OCR'd tx3g text. `FileImportController`'s subtitle action sheet gains a `VobSub` entry (tag 2, default follows `Prefs.subtitleConvertBitmap` like VobSub sources) for PGS-format tracks; selecting it sets `MP42ConversionSettings.subtitlesVobSubConversion`, and the muxer's bitmap-converter branch recognizes PGS-source + VobSub-target and uses `MP42PgsToVobSubConverter` instead of `MP42BitmapSubConverter`. That converter runs the whole sup2vob conversion synchronously in `initWithTrack:error:` (sup2vob derives one global palette/geometry for the track — the PGS canvas size — and the muxer needs `magicCookie` + `frameWidth/Height` before creating the subpic track); the live muxing stream is discarded and `copyEncodedSample` replays prepass-collected samples, ending on exactly one EOF-flagged buffer. **Matroska traps found empirically here:** mkvmerge stores each PGS segment with its 13-byte "PG" envelope removed (blocks are `type` + 2-byte-be `len` + payload repeated, blank frames are real blank presentations, everything zlib-compressed) — a plain concatenation of demuxed blocks is NOT a `.sup`; phase 1 must walk each block's stripped segments and rebuild `PG + pts:4(90kHz from the block's ns timestamp ×9/100000) + 4 zero bytes + type + len` (mkvextract reconstructs exactly this — the rebuilt stream is byte-identical to it; blocks that already carry envelopes pass through verbatim for other muxers). The rebuilt temp `.sup` is fed to a second `MP42VobSubImporter` (the same machinery as `.sup` drag-import) whose demux supplies the subpic samples/palette. The converter header isn't exported (matches `MP42BitmapSubConverter`'s non-Public Headers-phase convention), and it can't be exercised from outside the framework via `copyNextSample`/`MP42FileImporter+Private` — those are `objc_direct`/internal, so harnesses must stay in public API (see the `@selector`-on-direct-method constraint noted in the converter source).
|
||||
|
||||
Matroska tagging in the submodule: `MP42Ebml` provides EBML vint/ID primitives and a Segment top-level scanner (element extents + Void slack); `MP42MatroskaTagMapping` holds the read/write tag maps shared with `MP42MkvImporter` (reader and writer can't drift — a metadata key with no SimpleTag name in the map is **silently dropped** on save, so any new editable metadata key needs a map entry); `MP42MkvTagWriter.writeMetadata:tracks:` rewrites the `Tags` element, cover-art `AttachedFile`, and per-track `TrackEntry` fields (name/language/enabled/forced) in place (mkvpropedit-style: reuse the old extent + Void padding when the payload fits, otherwise rebuild the file tail with recomputed SeekHead/Cues positions through a temp file + atomic replace; size+mtime staleness guard refuses writes on files changed since open; foreign tag groups, unknown TrackEntry children, and non-cover attachments are preserved verbatim; each TrackEntry is diffed against the model's **effective** values so an untouched save is byte-for-byte a no-op). `MP42MkvTagWriter+Internal.h` (framework-internal, not in the umbrella) shares its kid/file model types and payload builders with `MP42MkvRemuxer`, the stream-copy track-removal/subtitle-addition engine: it rebuilds the whole file, copying every block verbatim except blocks whose unmarked-vint track number (`MP42Ebml.blockTrackNumberAt:`, ≤255) belongs to a removed track — kept tracks keep their original TrackNumbers, so **gaps after a removal are intentional** and no block header is ever rewritten; clusters are scanned header-only (BlockGroup track decided from a ≤64KB peek at its `Block` child), emptied clusters skipped, the trailing unknown-size cluster materialized; SeekHead is written with 8-wide placeholder positions pwrite-patched at the end, and Cues are regenerated at EOF (per-track `CueTrackPositions` incl. `CueRelativePosition`) only when the source had them; `Info` copies verbatim except that an existing `Duration` is recomputed: the pass tracks the greatest written block start+1ms (`_writtenMaxBlockEnd`) and pwrite-patches an 8-byte double slot at the Info write site (never +BlockDuration — added blocks must measure exactly like source blocks or remux idempotence breaks); files without a source Duration keep having none; values are TimecodeScale units. Dangling `DefaultTrackUID`/`ChapterTrackUID` refs are preserved. Chapters: the source `Chapters` element copies verbatim unless `replacementChapters` is set — non-nil rebuilds `EditionEntry{ChapterAtom{...}}` from the model track (sorted ascending, ties clamped to previous+1ms, "Chapter N" fallback titles), and a track with `chapterCount == 0` removes the element and its SeekHead entry. Chapter writing lives in the remuxer only because `Chapters` sits before the Clusters — any size change shifts every following byte, which the tag writer's tail-only in-place machinery can't absorb. It refuses multiple Segments, stray unknown-size elements, count mismatches between TrackEntry and the passed-in `sourceTracks`, and zero-remaining-track remuxes (the drop-all guard fires before additions, so drop-all-plus-add stays refused). Added tracks = `currentTracks` members absent from `sourceTracks` (identity); each must be an `MP42SubtitleTrack` whose `URL.pathExtension` is srt/ssa/ass (kept in sync with `DocumentWindowController.matroskaSubtitleExtensions`) — the model never holds subtitle text, so lines are **re-parsed from `track.URL` at save time** (SRT via `LoadSRTFromURL` + serializer drain; SSA/ASS via `MP42SSAParser`, styling stripped) and written as `S_TEXT/UTF8`. Each added track gets an appended `TrackEntry` (TrackNumber = max of all entries + 1 ≤ 0x3FFF, CodecID `S_TEXT/UTF8`, ISO `0x22B59C` + IETF `0x22B59D` language). Blocks are `BlockGroup{Block(unmarked-vint TrackNumber + int16 BE relative TC + UTF-8), BlockDuration}` — the `BlockGroup` wrapper is **mandatory**: a bare `Block` as a direct Cluster child is silently ignored by libebml readers even though ffmpeg tolerates it. Each line rides in the last existing Cluster whose Timecode ≤ its start time (negative relTCs are legal); lines whose relTC would exceed ±32767 go into **synthesized Clusters** emitted right after that cluster, original clusters are never rewritten or split.
|
||||
|
||||
Movie-tab fields that have no Matroska-spec tag (Rating, ContentRating, MediaKind, HDVideo, Cast, TVNetwork, TVEpisodeID) round-trip through community-style SimpleTag names `RATING`/`CONTENTRATING`/`MEDIAKIND`/`HD`/`CAST`/`NETWORK`/`EPISODEID`. Array-typed model values (Cast, Director, Producer, Screenwriters) are written joined with `", "` and re-split by the importer. The importer only synthesizes a TVEpisodeID from season/episode on the **conversion** path — in tagsOnly mode a synthesized value would leak into the file as a tag the user never set.
|
||||
|
||||
The Matroska track-field element ids are a trap: the ids that actually work in the wild (libebml/mkvtoolnix/ffmpeg and every reader) are `0x22B59C` = ISO-639-2/B `Language`, `0x22B59D` = BCP-47 `LanguageIETF`, `0xB9` = `TrackFlagEnabled`. The EBML spec's later `0x447A` carries the same ISO value but mkvtoolnix never writes it — `MatroskaParser.c` reads it defensively, the writer normalizes it to `0x22B59C`. Modern mkvtoolnix files may carry **only** `0x22B59D` (mkvmerge derives the ISO code from the IETF tag), so `Language` can be absent; the importer/writer prefer `LanguageIETF` when present and fall back to the ISO element. Match TrackEntry↔model by file order (chapter pseudo-track filtered); a count mismatch refuses the write.
|
||||
|
||||
Chapter elements are their own trap set (all verified empirically against mkvmerge-written files): `ChapterAtom` is `0xB6` — **not** `0xB0`, which is PixelWidth in TrackEntry scope (`MatroskaParser.c` has always parsed 0xB6 correctly; don't "fix" it). Chapter timecodes are absolute **nanoseconds**, not TimecodeScale units like nearly every other Matroska time — libmatroska writes and mkvtoolnix/ffmpeg both read them as ns regardless of segment scale, so the importer's plain `/1e6` to ms and the remuxer's plain `×1e6` back are right. `ChapterUID` (`0x73C4`) is mandatory in practice: ffmpeg **silently skips** atoms without it (mkvtoolnix still lists them, which makes the loss easy to miss); `EditionUID` likewise. The writer derives both deterministically from the chapter content so re-saving unchanged input reproduces the file. The importer's chapter normalization (force first start to 0, drop non-first zero-start atoms) is an **MP4 conversion-path** quirk only — **tagsOnly mode mirrors the file's atoms verbatim**, offset first starts and duplicate zero starts included (mkvmerge writes both shapes). That asymmetry matters because the tagsOnly model is the baseline a Chapters rewrite rebuilds from: dropping or shifting atoms at read time would silently corrupt them on the first edit, so instead the remuxer's strictly-ascending clamp shifts tied starts by +1 ms at write time and nothing is lost. Chapter language round-trips at **track level**: the importer adopts the first `ChapterDisplay/ChapterLanguage` (0x437C) it finds as the model track's `language`, and the remuxer stamps that track language into every atom — omitted when nil/absent or when it maps to ISO `eng` (the spec default; keeps rewrites byte-identical to language-less files). `MP42Languages ISO_639_2CodeForExtendedTag:` answers unknown tags with `"und"`, so a garbage language explicitly writes `und` rather than silently defaulting — extended tags are locale-identifier style (`"en"`, `"it"`), not English names. The chapter-row language popup stays enabled on MKV (`TracksViewController.isLanguageEditable`) because the value rides the remuxer's chapter rebuild, not the tag writer (no TrackEntry), and the saver's chapter-snapshot rows carry the language so a language-only edit flips `chaptersChanged`. Note: `ffprobe -show_chapters` does NOT surface ChapterLanguage in its chapter tags — assert it with `mkvinfo` ("Chapter language: …").
|
||||
|
||||
## Cross-cutting concerns
|
||||
|
||||
- **Sandbox vs non-sandbox builds**: `#if SB_SANDBOX` guards App Store code paths (security-scoped bookmarks via `MP42SecurityAccessToken`); the default build is the non-sandboxed variant (`Subler.entitlements` exist for the sandboxed config).
|
||||
- **Localization**: 183 `.strings` files live in per-locale `.lproj` directories scattered next to the code/XIBs they localize (repo root, `Classes/`, `Classes/PropertyView/`), not one central file. Locales: Base (English), it, fr, es-419, pt-BR, zh-CN, zh-Hans. When adding a UI string, find the sibling `.strings` used by that XIB/view.
|
||||
- **Static data**: `Resources/*.json` — `Alpha2.json` (ISO language codes, used by `LanguageTransformer`), `iTunesStores.json`, `Storefronts.json`, `Ratings.json`.
|
||||
@@ -40,7 +40,10 @@ final class DocumentController : NSDocumentController {
|
||||
override func openDocument(withContentsOf url: URL, display displayDocument: Bool, completionHandler: @escaping (NSDocument?, Bool, Error?) -> Void) {
|
||||
let ext = url.pathExtension.lowercased()
|
||||
|
||||
if ["mkv", "mka", "mks", "mov", "264", "h264"].contains(ext) {
|
||||
// Matroska files open directly as tags-only documents (see
|
||||
// Document.read); the remaining formats below can only be converted
|
||||
// to MP4, so offer the import sheet on a fresh untitled document.
|
||||
if ["mov", "264", "h264"].contains(ext) {
|
||||
do {
|
||||
let doc = try self.openUntitledDocumentAndDisplay(displayDocument)
|
||||
completionHandler(doc, false, nil)
|
||||
@@ -62,38 +65,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 +216,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) {
|
||||
@@ -243,7 +242,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
QueueController.shared.open(sender)
|
||||
}
|
||||
|
||||
@IBAction func showBatchWindow(_ sender: Any) {
|
||||
@IBAction func showQueueWindow(_ sender: Any) {
|
||||
QueueController.shared.showWindow(self)
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import Quartz
|
||||
import MP42Foundation
|
||||
|
||||
private protocol ArtworkImageObjectDelegate: AnyObject {
|
||||
@@ -187,7 +186,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
||||
view.wantsLayer = true
|
||||
|
||||
imageBrowser.register(ArtworkSelectorViewItem.self, forItemWithIdentifier: ArtworkSelectorController.itemView)
|
||||
loadMoreArtworks(count: 8)
|
||||
loadMoreArtworks(count: 11)
|
||||
|
||||
let type = metadata.mediaKind.description
|
||||
|
||||
@@ -205,9 +204,9 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
||||
}
|
||||
|
||||
override func viewWillAppear() {
|
||||
if let layout = imageBrowser.collectionViewLayout as? NSCollectionViewFlowLayout {
|
||||
layout.itemSize = standardSize
|
||||
}
|
||||
let zoomValue = Prefs.artworkSelectorZoomLevel
|
||||
setZoomValue(zoomValue)
|
||||
slider.floatValue = zoomValue
|
||||
}
|
||||
|
||||
@IBAction func loadMoreArtwork(_ sender: Any) {
|
||||
@@ -216,23 +215,28 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
||||
|
||||
// MARK: - User Interface
|
||||
|
||||
@IBAction func zoomSliderDidChange(_ sender: Any) {
|
||||
private func setZoomValue(_ newZoomValue: Float) {
|
||||
if let layout = imageBrowser.collectionViewLayout as? NSCollectionViewFlowLayout {
|
||||
if slider.floatValue == 50 {
|
||||
if newZoomValue == 50 {
|
||||
layout.itemSize = standardSize
|
||||
} else if slider.floatValue < 50 {
|
||||
let zoomValue = (CGFloat(slider.floatValue) + 50) / 100
|
||||
} else if newZoomValue < 50 {
|
||||
let zoomValue = (CGFloat(newZoomValue) + 50) / 100
|
||||
layout.itemSize = NSSize(width: Int(standardSize.width * zoomValue),
|
||||
height: Int((standardSize.height - 32) * zoomValue + 32))
|
||||
|
||||
} else {
|
||||
let zoomValue = pow((CGFloat(slider.floatValue) + 50) / 100, 2.4)
|
||||
let zoomValue = pow((CGFloat(newZoomValue) + 50) / 100, 2.4)
|
||||
layout.itemSize = NSSize(width: Int(standardSize.width * zoomValue),
|
||||
height: Int((standardSize.height - 32) * zoomValue + 32))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func zoomSliderDidChange(_ sender: Any) {
|
||||
setZoomValue(slider.floatValue)
|
||||
Prefs.artworkSelectorZoomLevel = slider.floatValue
|
||||
}
|
||||
|
||||
fileprivate func reloadItem(_ item: ArtworkImageObject) {
|
||||
let selectionIndexPaths = imageBrowser.selectionIndexPaths
|
||||
|
||||
@@ -241,7 +245,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
||||
imageBrowser.reloadItems(at: [indexPath])
|
||||
}
|
||||
|
||||
imageBrowser.selectionIndexPaths = selectionIndexPaths
|
||||
imageBrowser.selectionIndexPaths = selectionIndexPaths
|
||||
}
|
||||
|
||||
private func selectArtwork(at index: Int) {
|
||||
@@ -290,7 +294,8 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
|
||||
}
|
||||
|
||||
private func selectedArtworks() -> [ArtworkImageObject] {
|
||||
return imageBrowser.selectionIndexPaths.map { artworks[$0.item] }
|
||||
let indexes = imageBrowser.selectionIndexPaths.map { $0.item } .sorted()
|
||||
return indexes.map { artworks[$0] }
|
||||
}
|
||||
|
||||
// MARK - UI state
|
||||
|
||||
@@ -10,7 +10,8 @@ import AVFoundation
|
||||
|
||||
final class ArtworkSelectorViewItemLabel : NSTextField {
|
||||
|
||||
@IBInspectable var highlightColor: NSColor = .alternateSelectedControlColor
|
||||
|
||||
@IBInspectable var highlightColor: NSColor = .alternateSelectedControlColor //.selectedContentBackgroundColor
|
||||
@IBInspectable var highlightTextColor: NSColor = .alternateSelectedControlTextColor
|
||||
@IBInspectable var cornerRadius: CGFloat = 3
|
||||
|
||||
@@ -162,7 +163,11 @@ final class ArtworkSelectorViewItemView: NSView {
|
||||
|
||||
backgroundLayer.anchorPoint = CGPoint.zero
|
||||
backgroundLayer.position = CGPoint(x: 0, y: paddingBottom)
|
||||
backgroundLayer.backgroundColor = NSColor.controlHighlightColor.cgColor
|
||||
if #available(macOS 10.14, *) {
|
||||
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
} else {
|
||||
backgroundLayer.backgroundColor = NSColor.controlHighlightColor.cgColor
|
||||
}
|
||||
backgroundLayer.cornerRadius = 8
|
||||
backgroundLayer.isHidden = true
|
||||
backgroundLayer.isOpaque = true
|
||||
@@ -171,7 +176,11 @@ final class ArtworkSelectorViewItemView: NSView {
|
||||
emptyLayer.position = CGPoint(x: padding, y: padding + paddingBottom)
|
||||
emptyLayer.lineWidth = 3.0
|
||||
emptyLayer.lineDashPattern = [12,5]
|
||||
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
||||
if #available(macOS 10.14, *) {
|
||||
emptyLayer.strokeColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
} else {
|
||||
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
||||
}
|
||||
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||
emptyLayer.isOpaque = true
|
||||
|
||||
@@ -197,12 +206,21 @@ final class ArtworkSelectorViewItemView: NSView {
|
||||
}
|
||||
|
||||
private func updateBackgroundColor() {
|
||||
if #available(OSX 10.14, *) {
|
||||
if #available(macOS 11, *) {
|
||||
effectiveAppearance.performAsCurrentDrawingAppearance {
|
||||
imageLayer.shadowColor = NSColor.labelColor.cgColor
|
||||
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
emptyLayer.strokeColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||
}
|
||||
} else {
|
||||
let saved = NSAppearance.current
|
||||
NSAppearance.current = effectiveAppearance
|
||||
|
||||
imageLayer.shadowColor = NSColor.labelColor.cgColor
|
||||
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
if #available(macOS 10.14, *) {
|
||||
backgroundLayer.backgroundColor = NSColor.unemphasizedSelectedContentBackgroundColor.cgColor
|
||||
}
|
||||
emptyLayer.strokeColor = NSColor.secondarySelectedControlColor.cgColor
|
||||
emptyLayer.fillColor = NSColor.windowBackgroundColor.cgColor
|
||||
|
||||
@@ -276,6 +294,9 @@ final class ArtworkSelectorViewItem: NSCollectionViewItem {
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
textField?.layer?.isOpaque = true
|
||||
let recognizer = NSClickGestureRecognizer(target: self, action: #selector(handleGesture))
|
||||
recognizer.numberOfClicksRequired = 2
|
||||
self.view.addGestureRecognizer(recognizer)
|
||||
}
|
||||
|
||||
private func updateLabels() {
|
||||
@@ -337,11 +358,9 @@ final class ArtworkSelectorViewItem: NSCollectionViewItem {
|
||||
|
||||
// MARK: Actions
|
||||
|
||||
override func mouseUp(with event: NSEvent) {
|
||||
if event.clickCount > 1, let action = doubleAction {
|
||||
@objc func handleGesture() {
|
||||
if let action = doubleAction {
|
||||
target?.performSelector(onMainThread: action, with: nil, waitUntilDone: true)
|
||||
} else {
|
||||
super.mouseUp(with: event)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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="25098" 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="25098"/>
|
||||
<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" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wkh-6c-0tU" customClass="ArtworkSelectorViewItemLabel" customModule="Subler" customModuleProvider="target">
|
||||
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wkh-6c-0tU" customClass="ArtworkSelectorViewItemLabel" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="-4" y="17" width="136" height="15"/>
|
||||
<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" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
||||
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fGU-Kh-WjD">
|
||||
<rect key="frame" x="-4" y="4" width="136" height="13"/>
|
||||
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" alignment="center" title="Label" usesSingleLineMode="YES" id="ggX-Q2-CZ0">
|
||||
<font key="font" metaFont="system" size="10"/>
|
||||
@@ -40,7 +40,6 @@
|
||||
<constraint firstItem="fGU-Kh-WjD" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="0Wf-6t-6Lg"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Wkh-6c-0tU" secondAttribute="trailing" constant="-2" id="9df-FA-2lX"/>
|
||||
<constraint firstAttribute="bottom" secondItem="Wkh-6c-0tU" secondAttribute="bottom" constant="17" id="EOh-x3-ntT"/>
|
||||
<constraint firstItem="Wkh-6c-0tU" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="HaR-VX-NRg"/>
|
||||
<constraint firstAttribute="bottom" secondItem="fGU-Kh-WjD" secondAttribute="bottom" constant="4" id="Xx6-ak-lcw"/>
|
||||
<constraint firstItem="Wkh-6c-0tU" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="-2" id="cPi-y8-nFz"/>
|
||||
<constraint firstAttribute="trailing" secondItem="fGU-Kh-WjD" secondAttribute="trailing" constant="-2" id="fLm-DU-mGT"/>
|
||||
|
||||
@@ -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,205 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22154" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22154"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="DocumentWindowController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="addTracks" destination="FY3-O2-t3T" id="fcf-d9-3eB"/>
|
||||
<outlet property="deleteTrack" destination="rhw-S4-nZ8" id="VaB-n8-rPm"/>
|
||||
<outlet property="searchMetadata" destination="uiq-J2-uPs" id="lv3-UJ-53r"/>
|
||||
<outlet property="sendToQueue" destination="app-IS-8EB" id="jdh-iz-uSq"/>
|
||||
<outlet property="window" destination="s5f-yH-26m" id="YRM-He-gQ6"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="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"/>
|
||||
<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" fullSizeContentView="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="59" y="509" width="520" height="510"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
|
||||
<rect key="contentRect" x="200" y="500" width="520" height="510"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1049"/>
|
||||
<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="486"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="520" height="510"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
</view>
|
||||
<toolbar key="toolbar" implicitIdentifier="61E0A00C-CBF2-4937-9418-AC0758672070" explicitIdentifier="SBDocumentToolbar26" displayMode="iconOnly" sizeMode="regular" id="PRH-t4-qwh">
|
||||
<allowedToolbarItems>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="Af5-ai-sw9"/>
|
||||
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="qX7-s1-81X"/>
|
||||
<toolbarItem implicitItemIdentifier="D2E8E21C-DCD4-456F-B15A-9AC0AA5556DF" label="Import" paletteLabel="Import" toolTip="Import tracks from external files" image="NSAddTemplate" sizingBehavior="auto" id="FY3-O2-t3T" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="UZy-eh-ZBz">
|
||||
<rect key="frame" x="8" y="14" width="26" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSAddTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="r0z-KC-Ehd">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="selectFile:" target="-2" id="mTY-vt-vsv"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="5B6FDF6D-9486-49B2-8EA4-184D76D0864C" label="Delete Track" paletteLabel="Delete Track" toolTip="Delete the selected track" image="ToolbarRemoveTemplate" sizingBehavior="auto" id="rhw-S4-nZ8" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="e81-Qg-Ncc">
|
||||
<rect key="frame" x="23" y="14" width="28" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToolbarRemoveTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="HWd-4N-V3A">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="deleteTrack:" target="-2" id="N1h-dg-CaR"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="66402BE4-4A7B-4048-A584-2BC0F5E69600" label="Search Metadata" paletteLabel="Search Metadata" toolTip="Search metadata on the web" image="NSRevealFreestandingTemplate" sizingBehavior="auto" id="uiq-J2-uPs" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="Nes-H1-fbL">
|
||||
<rect key="frame" x="35" y="14" width="27" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSRevealFreestandingTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="hLF-cH-6MQ">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="searchMetadata:" target="-2" id="3Jl-xK-nb3"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="9F789D5F-C25E-449F-ABCE-DDF99B4FF988" label="Send to Queue" paletteLabel="Send to Queue" toolTip="Send the current document to the queue" image="ToolbarActionTemplate" sizingBehavior="auto" id="app-IS-8EB" customClass="ButtonToolbarItem" customModule="Subler" customModuleProvider="target">
|
||||
<button key="view" verticalHuggingPriority="750" id="c38-NC-1I2">
|
||||
<rect key="frame" x="28" y="14" width="30" height="23"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToolbarActionTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ZbH-ut-l4n">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
<connections>
|
||||
<action selector="sendToQueue:" target="-1" id="rIw-6k-8we"/>
|
||||
</connections>
|
||||
</toolbarItem>
|
||||
<toolbarItem implicitItemIdentifier="2E3AB086-491A-436E-A610-14E36AEE8F49" label="Action" paletteLabel="Action" image="NSActionTemplate" bordered="YES" sizingBehavior="auto" id="V6w-Ey-bjV">
|
||||
<nil key="toolTip"/>
|
||||
<popUpButton key="view" verticalHuggingPriority="750" id="QuP-nB-KsX">
|
||||
<rect key="frame" x="0.0" y="14" width="50" height="25"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="LML-iW-skB" id="LNp-Kr-404">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="menu"/>
|
||||
<menu key="menu" id="VNR-O6-D9w">
|
||||
<items>
|
||||
<menuItem state="on" image="NSActionTemplate" hidden="YES" id="LML-iW-skB"/>
|
||||
<menuItem title="Insert a chapter every" id="0vu-Jl-QDb">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Insert a chapter every" id="o5I-IO-kDx">
|
||||
<items>
|
||||
<menuItem title="1 minute" tag="1" id="5Fm-fy-9es">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="89f-wa-n6U"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="2 minutes" tag="2" id="2M2-Yg-cgc">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="Sdq-Mm-1zi"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="5 minutes" tag="5" id="8ah-BL-bge">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="s3s-EG-fNY"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="10 minutes" tag="10" id="lJT-6k-8XM">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="zT1-7g-Dhw"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="15 minutes" tag="15" id="0bq-Ez-KMl">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="CKK-mb-yau"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="20 minutes" tag="20" id="xWX-8M-yu0">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="4SM-8E-UH8"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="30 minutes" tag="30" id="bmM-jp-jgC">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="addChaptersEvery:" target="-2" id="YWf-yb-tYK"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
<menuItem title="Organize alternate groups" id="lIX-K2-pbc">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="iTunesFriendlyTrackGroups:" target="-2" id="2bI-YD-rCZ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Clear tracks names" id="pB8-A8-7tv">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="clearTrackNames:" target="-2" id="MeX-3f-VXG"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Prettify audio track names" id="SN3-Fe-fRS">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="prettifyAudioTrackNames:" target="-2" id="Sde-MB-ZdJ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Fix audio fallbacks" id="rGe-lx-aht">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="fixAudioFallbacks:" target="-2" id="0By-xS-vpS"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="gUx-Ht-5aq"/>
|
||||
<menuItem title="Offset…" id="9r1-yN-sCW">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="showTrackOffsetSheet:" target="-2" id="0CQ-FC-l5B"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
</toolbarItem>
|
||||
</allowedToolbarItems>
|
||||
<defaultToolbarItems>
|
||||
<toolbarItem reference="FY3-O2-t3T"/>
|
||||
<toolbarItem reference="V6w-Ey-bjV"/>
|
||||
<toolbarItem reference="rhw-S4-nZ8"/>
|
||||
<toolbarItem reference="qX7-s1-81X"/>
|
||||
<toolbarItem reference="Af5-ai-sw9"/>
|
||||
<toolbarItem reference="uiq-J2-uPs"/>
|
||||
</defaultToolbarItems>
|
||||
</toolbar>
|
||||
<connections>
|
||||
<outlet property="delegate" destination="-2" id="ifJ-VT-BdP"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="212" y="-864"/>
|
||||
</window>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="NSActionTemplate" width="20" height="20"/>
|
||||
<image name="NSAddTemplate" width="18" height="17"/>
|
||||
<image name="NSRevealFreestandingTemplate" width="20" height="20"/>
|
||||
<image name="ToolbarActionTemplate" width="24" height="24"/>
|
||||
<image name="ToolbarRemoveTemplate" width="16" height="16"/>
|
||||
</resources>
|
||||
</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="25098" 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="25098"/>
|
||||
<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="518"/>
|
||||
<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="167" width="456" height="307"/>
|
||||
<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="305"/>
|
||||
<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="282"/>
|
||||
<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="88" 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="229" y="135" width="38" height="24"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
|
||||
<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="166" y="135" width="61" height="24"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
|
||||
<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,31 +173,18 @@
|
||||
</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">
|
||||
<rect key="frame" x="1" y="1" width="136" height="309"/>
|
||||
<rect key="frame" x="20" y="167" width="138" height="307"/>
|
||||
<clipView key="contentView" ambiguous="YES" id="KId-fX-q1q">
|
||||
<rect key="frame" x="1" y="1" width="136" height="305"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="Eh9-8P-dr0" viewBased="YES" id="nXW-oy-rtu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="136" height="286"/>
|
||||
<tableView verticalHuggingPriority="750" ambiguous="YES" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="Eh9-8P-dr0" viewBased="YES" id="nXW-oy-rtu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="136" height="282"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -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="111" 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="498" y="135" width="124" height="24"/>
|
||||
<buttonCell key="cell" type="push" title="Restore Defaults" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
@@ -290,47 +277,82 @@
|
||||
</connections>
|
||||
</button>
|
||||
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZpH-Zy-mAt">
|
||||
<rect key="frame" x="18" y="461" width="323" height="16"/>
|
||||
<rect key="frame" x="18" y="482" width="323" height="16"/>
|
||||
<textFieldCell key="cell" lineBreakMode="clipping" title="Map the providers' metadata to the MP4 annotations" id="cUW-9F-EvO">
|
||||
<font key="font" usesAppearanceFont="YES"/>
|
||||
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
|
||||
<rect key="frame" x="20" y="64" width="169" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Keep empty annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7Ek-lI-5Lo">
|
||||
<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>
|
||||
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="SZd-pK-hWX">
|
||||
<rect key="frame" x="20" y="42" width="206" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Overwrite existing annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7KC-Up-hGn">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataOverwriteExistingAnnotations" id="gMZ-eG-GV4"/>
|
||||
</connections>
|
||||
</button>
|
||||
<button toolTip="4K metadata may cause streaming issues with some Apple TV and iTunes configurations" translatesAutoresizingMaskIntoConstraints="NO" id="cEs-iS-fwI">
|
||||
<rect key="frame" x="20" y="20" width="232" height="16"/>
|
||||
<buttonCell key="cell" type="check" title="Autodetect 4K HD Video Metadata" bezelStyle="regularSquare" imagePosition="left" inset="2" id="vyR-ib-B9Q">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
</buttonCell>
|
||||
<connections>
|
||||
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBSet4KHDVideoMetadata" id="OKn-J3-W8a"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="SZd-pK-hWX" firstAttribute="leading" secondItem="ZMK-Xt-bJh" secondAttribute="leading" id="00b-Uc-cOS"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="bottom" secondItem="sd5-qb-K5v" secondAttribute="bottom" id="0SP-GV-ri1"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="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 firstItem="SZd-pK-hWX" firstAttribute="top" secondItem="ZMK-Xt-bJh" secondAttribute="bottom" constant="6" symbolic="YES" id="DHM-ZO-C7P"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="20" id="GLC-tk-eTl"/>
|
||||
<constraint 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 firstAttribute="bottom" secondItem="cEs-iS-fwI" secondAttribute="bottom" constant="20" symbolic="YES" id="HUg-bO-NbS"/>
|
||||
<constraint firstItem="h1q-Xr-y6R" firstAttribute="centerY" secondItem="1XK-zr-YdW" secondAttribute="centerY" id="JHk-tE-xQI"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" symbolic="YES" id="NcZ-Os-USj"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="SZd-pK-hWX" secondAttribute="trailing" constant="20" symbolic="YES" id="MBW-h8-eD8"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" id="NcZ-Os-USj"/>
|
||||
<constraint 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"/>
|
||||
<constraint firstItem="BkU-sx-jUf" firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" id="bp9-bU-BRc"/>
|
||||
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="h1q-Xr-y6R" secondAttribute="trailing" constant="8" symbolic="YES" id="cCT-Qp-Bxz"/>
|
||||
<constraint firstItem="cEs-iS-fwI" firstAttribute="top" secondItem="SZd-pK-hWX" secondAttribute="bottom" constant="6" symbolic="YES" id="d8X-hu-sZn"/>
|
||||
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="sd5-qb-K5v" secondAttribute="top" id="ewc-at-D5g"/>
|
||||
<constraint firstItem="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="cEs-iS-fwI" firstAttribute="leading" secondItem="SZd-pK-hWX" secondAttribute="leading" id="wdD-k6-Agx"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="cEs-iS-fwI" secondAttribute="trailing" constant="20" symbolic="YES" id="we6-QF-WHA"/>
|
||||
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="166" id="yZg-V9-bxH"/>
|
||||
</constraints>
|
||||
<point key="canvasLocation" x="-295.5" y="-469.5"/>
|
||||
<point key="canvasLocation" x="-296" y="-459"/>
|
||||
</customView>
|
||||
<arrayController objectClassName="NSString" id="RId-BH-Y2G" userLabel="Types Controller">
|
||||
<classReference key="objectClass" className="NSString"/>
|
||||
@@ -343,58 +365,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"/>
|
||||
|
||||
@@ -7,20 +7,96 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
extension NSToolbarItem {
|
||||
func setSymbol(symbolName: String?, fallbackName: String) {
|
||||
var image: NSImage?
|
||||
|
||||
if #available(macOS 11, *) {
|
||||
if let symbolName {
|
||||
image = NSImage.init(systemSymbolName: symbolName, accessibilityDescription: nil)
|
||||
if image == nil {
|
||||
image = NSImage(named: symbolName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if image == nil {
|
||||
image = NSImage(named: fallbackName)
|
||||
}
|
||||
|
||||
self.image = image
|
||||
}
|
||||
}
|
||||
|
||||
final class ButtonToolbarItem : NSToolbarItem {
|
||||
|
||||
override init(itemIdentifier: NSToolbarItem.Identifier) {
|
||||
super.init(itemIdentifier: itemIdentifier)
|
||||
}
|
||||
|
||||
init(itemIdentifier: NSToolbarItem.Identifier, label: String, toolTip: String, image: String, symbolName: String? = nil, target: AnyObject?, action: Selector) {
|
||||
super.init(itemIdentifier: itemIdentifier)
|
||||
|
||||
self.label = label
|
||||
self.paletteLabel = label
|
||||
self.toolTip = toolTip
|
||||
self.target = target
|
||||
self.action = action
|
||||
self.setSymbol(symbolName: symbolName, fallbackName: image)
|
||||
|
||||
if #available(macOS 14, *) {
|
||||
self.isBordered = true
|
||||
} else {
|
||||
let button = NSButton.init(image: self.image!, target: self.target, action: self.action)
|
||||
button.isBordered = true
|
||||
button.bezelStyle = .toolbar
|
||||
|
||||
if #available(macOS 11, *) {
|
||||
self.isBordered = true
|
||||
let views = ["button" : button];
|
||||
let constraint = NSLayoutConstraint.constraints(withVisualFormat: "H:[button(>=40)]",
|
||||
options: [], metrics: nil, views: views)
|
||||
NSLayoutConstraint.activate(constraint)
|
||||
} else {
|
||||
self.minSize = NSMakeSize(32, 16)
|
||||
}
|
||||
|
||||
self.view = button
|
||||
}
|
||||
}
|
||||
|
||||
override func validate() {
|
||||
if let target = target {
|
||||
isEnabled = target.validateToolbarItem(self)
|
||||
guard let action else { return }
|
||||
|
||||
if let target = NSApplication.shared.target(forAction: action, to: target, from: self) as? AnyObject {
|
||||
if target.responds(to: #selector(NSUserInterfaceValidations.validateUserInterfaceItem(_:))) {
|
||||
self.isEnabled = target.validateUserInterfaceItem(self)
|
||||
} else if target.responds(to: #selector(NSToolbarItemValidation.validateToolbarItem(_:))) {
|
||||
self.isEnabled = target.validateToolbarItem(self)
|
||||
} else {
|
||||
super.validate()
|
||||
}
|
||||
} else {
|
||||
super.validate()
|
||||
}
|
||||
}
|
||||
|
||||
override var menuFormRepresentation: NSMenuItem? {
|
||||
get {
|
||||
let menuItem = NSMenuItem(title: label, action: action, keyEquivalent: "")
|
||||
menuItem.target = target
|
||||
menuItem.isEnabled = target?.validateToolbarItem(self) ?? false
|
||||
return menuItem
|
||||
if let menu = self.view?.menu {
|
||||
let menuItem = NSMenuItem()
|
||||
menuItem.title = self.label
|
||||
|
||||
if menu.numberOfItems > 0 {
|
||||
menuItem.submenu = menu
|
||||
} else {
|
||||
menuItem.action = self.action
|
||||
}
|
||||
|
||||
return menuItem
|
||||
} else {
|
||||
return NSMenuItem(title: self.label, action: self.action, keyEquivalent: "")
|
||||
}
|
||||
}
|
||||
set (menuItem) {
|
||||
super.menuFormRepresentation = menuItem
|
||||
|
||||
@@ -41,7 +41,7 @@ final class ChapterSearchController: ViewController, NSTableViewDataSource, NSTa
|
||||
|
||||
switch info {
|
||||
|
||||
case .movie(let title):
|
||||
case .movie(let title, _, _):
|
||||
searchTerm = title
|
||||
case .tvShow, .none:
|
||||
searchTerm = title
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
final class CheckBoxCellView : NSTableCellView {
|
||||
final class CheckBoxCellView : NSTableCellView, ExpandedTableViewCellActionable {
|
||||
@IBOutlet var checkboxButton: NSButton!
|
||||
|
||||
func performAction() {
|
||||
self.checkboxButton.performClick(self)
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ import Cocoa
|
||||
@MainActor @objc optional func collectionViewPaste(to collectionView: NSCollectionView)
|
||||
}
|
||||
|
||||
class CollectionView: NSCollectionView, NSMenuItemValidation {
|
||||
class CollectionView: NSCollectionView, NSUserInterfaceValidations {
|
||||
|
||||
var pasteboardTypes: [NSPasteboard.PasteboardType]
|
||||
var pasteboardHasSupportedType: Bool {
|
||||
@@ -67,6 +67,14 @@ class CollectionView: NSCollectionView, NSMenuItemValidation {
|
||||
else if key == 27 && isSelected {
|
||||
deselectAll(self)
|
||||
}
|
||||
else if self.isSelectionEmpty && (key == NSUpArrowFunctionKey || key == NSDownArrowFunctionKey) {
|
||||
let indexPathSet = Set([IndexPath(item: 0, section: 0)])
|
||||
animator().selectItems(at: indexPathSet, scrollPosition: .bottom)
|
||||
delegate?.collectionView?(self, didSelectItemsAt: indexPathSet)
|
||||
}
|
||||
else if self.isSelectionEmpty && (key == NSRightArrowFunctionKey || key == NSLeftArrowFunctionKey) {
|
||||
self.window?.windowController?.keyDown(with: event)
|
||||
}
|
||||
else {
|
||||
super.keyDown(with: event)
|
||||
}
|
||||
@@ -104,8 +112,8 @@ class CollectionView: NSCollectionView, NSMenuItemValidation {
|
||||
}
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
if let action = menuItem.action {
|
||||
func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
if let action = item.action {
|
||||
switch action {
|
||||
case #selector(delete(_:)):
|
||||
if isSelectionEmpty || implements(selector: #selector(CollectionViewDelegate.collectionViewDelete(in:))) == false {
|
||||
|
||||
@@ -9,19 +9,35 @@ import Cocoa
|
||||
import IOKit.pwr_mgt
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBDocument)
|
||||
final class Document: NSDocument {
|
||||
|
||||
private(set) var mp4: MP42File
|
||||
private var unsupportedMp4Brand: Bool
|
||||
|
||||
// Matroska documents open in tags-only mode: the model is an in-memory
|
||||
// MP42File whose tracks are demuxed for display and whose metadata is
|
||||
// written back into the original file (Tags + cover attachment) by
|
||||
// MP42MkvTagWriter on save.
|
||||
private(set) var isMatroska = false
|
||||
// The pairing/staleness baseline (importer track snapshot, chapter rows,
|
||||
// file size/mtime) and the branching write-back (in-place tag writer vs
|
||||
// stream-copy remuxer) live in MatroskaSaver — shared with QueueItem so a
|
||||
// queued Matroska file saves exactly like the window does.
|
||||
private(set) var mkvSaver: MatroskaSaver?
|
||||
|
||||
override init() {
|
||||
self.cancelled = false
|
||||
self.options = [:]
|
||||
self.optimize = false
|
||||
self.unsupportedMp4Brand = false
|
||||
self.mp4 = MP42File()
|
||||
super.init()
|
||||
self.mp4.undo = undoManager
|
||||
}
|
||||
|
||||
init(mp4: MP42File) {
|
||||
self.cancelled = false
|
||||
self.options = [:]
|
||||
self.optimize = false
|
||||
self.unsupportedMp4Brand = false
|
||||
@@ -33,6 +49,7 @@ final class Document: NSDocument {
|
||||
} else {
|
||||
updateChangeCount(.changeDone)
|
||||
}
|
||||
self.mp4.undo = undoManager
|
||||
}
|
||||
|
||||
override func makeWindowControllers() {
|
||||
@@ -54,27 +71,62 @@ final class Document: NSDocument {
|
||||
override public var isEntireFileLoaded: Bool { get { return false } }
|
||||
|
||||
override func read(from url: URL, ofType typeName: String) throws {
|
||||
if MP42FileImporter.isMatroskaFileType(url.pathExtension) {
|
||||
try readMatroska(from: url)
|
||||
return
|
||||
}
|
||||
|
||||
do {
|
||||
mp4 = try MP42File(url: url)
|
||||
mp4.undo = undoManager
|
||||
} catch {
|
||||
unsupportedMp4Brand = true
|
||||
}
|
||||
}
|
||||
|
||||
override func revert(toContentsOf url: URL, ofType typeName: String) throws {
|
||||
mp4 = try MP42File(url: url)
|
||||
if isMatroska || MP42FileImporter.isMatroskaFileType(url.pathExtension) {
|
||||
try readMatroska(from: url)
|
||||
} else {
|
||||
mp4 = try MP42File(url: url)
|
||||
mp4.undo = undoManager
|
||||
}
|
||||
|
||||
if let docController = windowControllers.first as? DocumentWindowController {
|
||||
docController.reloadData()
|
||||
undoManager?.removeAllActions()
|
||||
}
|
||||
|
||||
updateChangeCount(.changeCleared)
|
||||
}
|
||||
|
||||
private func readMatroska(from url: URL) throws {
|
||||
// tagsOnly: the importer mirrors the file's own track flags instead of
|
||||
// applying the MP4 conversion heuristic, so the model matches the file
|
||||
// (MP42MkvTagWriter diffs track fields against it on save).
|
||||
let importer = try MP42FileImporter(url: url, tagsOnly: true)
|
||||
let file = MatroskaSaver.buildModel(from: importer)
|
||||
mp4 = file
|
||||
// (file.undo was not wired during buildModel's addTrack calls, so
|
||||
// those did not open undo groups.)
|
||||
mp4.undo = undoManager
|
||||
isMatroska = true
|
||||
let saver = MatroskaSaver(sourceURL: url, importer: importer, model: file)
|
||||
// The save sheet listens on the model's progress handler (see
|
||||
// DocumentWindowController.startProgressReporting); forward through it.
|
||||
saver.progressHandler = { [weak self] progress in
|
||||
self?.mp4.progressHandler?(progress)
|
||||
}
|
||||
mkvSaver = saver
|
||||
}
|
||||
|
||||
// MARK: Save
|
||||
|
||||
override nonisolated class var autosavesInPlace: Bool { return false }
|
||||
|
||||
private var optimize: Bool
|
||||
private var options: [String : Any]
|
||||
private var cancelled: Bool
|
||||
|
||||
private func saveOptions(for saveOperation: NSDocument.SaveOperationType) -> [String : Any] {
|
||||
var options = [String : Any]()
|
||||
@@ -113,10 +165,18 @@ final class Document: NSDocument {
|
||||
|
||||
if let error = error {
|
||||
completionHandler(error);
|
||||
} else if self.isMatroska {
|
||||
// The file was retagged in place; the tracks in the model are
|
||||
// still the ones on disk, so only the undo stack needs reset.
|
||||
self.undoManager?.removeAllActions()
|
||||
docController?.reloadData()
|
||||
completionHandler(error)
|
||||
} else {
|
||||
do {
|
||||
let reloadedFile = try MP42File(url: url)
|
||||
self.mp4 = reloadedFile
|
||||
self.mp4.undo = self.undoManager
|
||||
self.undoManager?.removeAllActions()
|
||||
docController?.reloadData()
|
||||
completionHandler(error)
|
||||
} catch {
|
||||
@@ -132,6 +192,12 @@ final class Document: NSDocument {
|
||||
super.save(to: url, ofType: typeName, for: saveOperation, completionHandler: modifiedCompletionhandler)
|
||||
}
|
||||
|
||||
func cancelSave() {
|
||||
cancelled = true
|
||||
mkvSaver?.cancel()
|
||||
mp4.cancel()
|
||||
}
|
||||
|
||||
private var sleepAssertion: IOPMAssertionID = IOPMAssertionID(0)
|
||||
private var sleepAssertionSuccess: IOReturn = kIOReturnInvalid
|
||||
|
||||
@@ -154,6 +220,18 @@ final class Document: NSDocument {
|
||||
unblockUserInteraction()
|
||||
preventSleep()
|
||||
|
||||
defer {
|
||||
allowSleep()
|
||||
optimize = false
|
||||
options = [:]
|
||||
}
|
||||
|
||||
if isMatroska {
|
||||
try writeMatroska(to: url, for: saveOperation)
|
||||
cancelled = false
|
||||
return
|
||||
}
|
||||
|
||||
if Prefs.organizeAlternateGroups {
|
||||
mp4.organizeAlternateGroups()
|
||||
if Prefs.inferMediaCharacteristics {
|
||||
@@ -162,28 +240,36 @@ final class Document: NSDocument {
|
||||
}
|
||||
}
|
||||
|
||||
defer {
|
||||
allowSleep()
|
||||
optimize = false
|
||||
options = [:]
|
||||
}
|
||||
|
||||
switch saveOperation {
|
||||
case .saveOperation:
|
||||
try mp4.update(options: options)
|
||||
case .saveAsOperation:
|
||||
try mp4.write(to: url, options: options)
|
||||
default:
|
||||
fatalError("Unsupported save operation")
|
||||
throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError,
|
||||
userInfo: [NSLocalizedDescriptionKey: NSLocalizedString("The save operation is not supported.", comment: "Document unsupported save operation error.")])
|
||||
}
|
||||
|
||||
if optimize {
|
||||
if optimize && cancelled == false {
|
||||
DispatchQueue.main.async {
|
||||
let docController = self.windowControllers.first as? DocumentWindowController
|
||||
docController?.setProgress(title: NSLocalizedString("Optimizing…", comment: "Document Optimize sheet."))
|
||||
}
|
||||
mp4.optimize()
|
||||
}
|
||||
|
||||
cancelled = false
|
||||
}
|
||||
|
||||
private func writeMatroska(to url: URL, for saveOperation: NSDocument.SaveOperationType) throws {
|
||||
guard let saver = mkvSaver else {
|
||||
throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError,
|
||||
userInfo: [NSLocalizedDescriptionKey: NSLocalizedString("The Matroska source file is unknown.", comment: "Document MKV remux missing source error.")])
|
||||
}
|
||||
// `optimize` (Save and Optimize) forces the structural rebuild, as
|
||||
// does Save-As; the saver branches in-place tag writer vs stream-copy
|
||||
// remuxer (see MatroskaSaver.save).
|
||||
try saver.save(model: mp4, to: url, forceStructural: optimize || saveOperation != .saveOperation)
|
||||
}
|
||||
|
||||
// MARK: Save panel
|
||||
@@ -191,6 +277,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)
|
||||
@@ -211,6 +299,19 @@ final class Document: NSDocument {
|
||||
guard let windowForSheet = windowForSheet else { return }
|
||||
|
||||
let queue = QueueController.shared
|
||||
// Matroska document: match the window's save semantics — the queue
|
||||
// item writes metadata back into the original file instead of muxing
|
||||
// a converted copy, so the destination is the file itself (no save
|
||||
// panel) and the item inherits the document's Matroska baseline: the
|
||||
// TrackEntry↔track pairing is by object identity and cannot be
|
||||
// rebuilt from the model.
|
||||
if isMatroska, let fileURL = fileURL, let saver = mkvSaver {
|
||||
let item = QueueItem(mp4: mp4, fileURL: fileURL, destURL: fileURL)
|
||||
item.attachMatroskaSaver(saver)
|
||||
queue.add(item)
|
||||
close()
|
||||
return
|
||||
}
|
||||
if mp4.hasFileRepresentation {
|
||||
let item = QueueItem(mp4: mp4)
|
||||
queue.add(item, applyPreset: true)
|
||||
@@ -244,10 +345,20 @@ final class Document: NSDocument {
|
||||
return true
|
||||
case #selector(save(_:)) where isDocumentEdited == true:
|
||||
return true
|
||||
case #selector(saveAs(_:)),
|
||||
#selector(sendToQueue(_:)):
|
||||
case #selector(saveAs(_:)):
|
||||
// MKV Save-As runs through MP42MkvRemuxer (stream copy, same
|
||||
// container — the destination must stay .mkv/.mka/.mks, checked
|
||||
// in writeMatroska).
|
||||
return true
|
||||
case #selector(saveAndOptimize(_:)) where isDocumentEdited == false && mp4.hasFileRepresentation == true:
|
||||
case #selector(sendToQueue(_:)):
|
||||
return true
|
||||
// On a Matroska document optimize = full remuxer rebuild (see
|
||||
// writeMatroska), the container-equivalent of the atom-order optimize.
|
||||
// Tags-only models report hasFileRepresentation == false (their tracks
|
||||
// are never muxed), so the on-disk precondition there is just the
|
||||
// remux source: fileURL.
|
||||
case #selector(saveAndOptimize(_:)) where isDocumentEdited == false
|
||||
&& (isMatroska ? fileURL != nil : mp4.hasFileRepresentation == true):
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
//
|
||||
// DocumentToolbarDelegate.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 18/07/24.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
private extension NSToolbarItem.Identifier {
|
||||
static let importTracks: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "AddTracks")
|
||||
static let deleteTracks: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "DeleteTracks")
|
||||
static let actions: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "Actions")
|
||||
static let searchMetadata: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "SearchMetadata")
|
||||
static let sendToQueue: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "SendToQueue")
|
||||
static let showQueue: NSToolbarItem.Identifier = NSToolbarItem.Identifier(rawValue: "ShowQueue")
|
||||
}
|
||||
|
||||
class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
|
||||
weak var target: AnyObject?
|
||||
|
||||
@MainActor func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: NSToolbarItem.Identifier, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? {
|
||||
|
||||
if itemIdentifier == .importTracks {
|
||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||
label: NSLocalizedString("Import", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Import tracks from external files", comment: "Toolbar"),
|
||||
image: "NSAddTemplate",
|
||||
symbolName: "doc.badge.plus",
|
||||
target: target,
|
||||
action: #selector(DocumentWindowController.selectFile(_:)))
|
||||
} else if itemIdentifier == .deleteTracks {
|
||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||
label: NSLocalizedString("Delete", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Delete the selected track", comment: "Toolbar"),
|
||||
image: "NSRemoveTemplate",
|
||||
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") :
|
||||
String(format: NSLocalizedString("%@ minutes", comment: "Toolbar"), "\(minutes)")
|
||||
|
||||
menuItem.title = title
|
||||
menuItem.action = #selector(DocumentWindowController.addChaptersEvery(_:))
|
||||
menuItem.tag = minutes
|
||||
submenu.addItem(menuItem)
|
||||
}
|
||||
|
||||
let insertChapter = NSMenuItem()
|
||||
insertChapter.title = NSLocalizedString("Insert a chapter", comment: "Toolbar")
|
||||
insertChapter.action = #selector(DocumentWindowController.insertChapter(_:))
|
||||
|
||||
let chapters = NSMenuItem()
|
||||
chapters.title = NSLocalizedString("Insert a chapter every", comment: "Toolbar")
|
||||
chapters.submenu = submenu
|
||||
|
||||
let menu = NSMenu()
|
||||
menu.addItem(insertChapter)
|
||||
menu.addItem(chapters)
|
||||
menu.addItem(NSMenuItem.separator())
|
||||
menu.addItem(withTitle: NSLocalizedString("Organize alternate groups", comment: "Toolbar"),
|
||||
action: #selector(DocumentWindowController.iTunesFriendlyTrackGroups(_:)),
|
||||
keyEquivalent: "")
|
||||
menu.addItem(withTitle: NSLocalizedString("Clear tracks names", comment: "Toolbar"),
|
||||
action: #selector(DocumentWindowController.clearTrackNames(_:)),
|
||||
keyEquivalent: "")
|
||||
menu.addItem(withTitle: NSLocalizedString("Prettify audio track names", comment: "Toolbar"),
|
||||
action: #selector(DocumentWindowController.prettifyAudioTrackNames(_:)),
|
||||
keyEquivalent: "")
|
||||
menu.addItem(withTitle: NSLocalizedString("Fix audio fallbacks", comment: "Toolbar"),
|
||||
action: #selector(DocumentWindowController.fixAudioFallbacks(_:)),
|
||||
keyEquivalent: "")
|
||||
menu.addItem(NSMenuItem.separator())
|
||||
menu.addItem(withTitle: NSLocalizedString("Offset…", comment: "Toolbar"),
|
||||
action: #selector(DocumentWindowController.showTrackOffsetSheet(_:)),
|
||||
keyEquivalent: "")
|
||||
|
||||
let label = NSLocalizedString("Action", comment: "Toolbar")
|
||||
|
||||
if #available(macOS 10.15, *) {
|
||||
let item = NSMenuToolbarItem(itemIdentifier: itemIdentifier)
|
||||
item.label = label
|
||||
item.paletteLabel = label
|
||||
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 11.0, *) {
|
||||
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)
|
||||
} else {
|
||||
item.image = NSImage(named:"NSActionTemplate")
|
||||
}
|
||||
item.menu = menu
|
||||
return item
|
||||
} else {
|
||||
let imageItem = NSMenuItem()
|
||||
imageItem.image = NSImage(named:"NSActionTemplate")
|
||||
imageItem.title = ""
|
||||
menu.insertItem(imageItem, at: 0)
|
||||
|
||||
let popUpButton = NSPopUpButton()
|
||||
popUpButton.bezelStyle = .toolbar
|
||||
popUpButton.pullsDown = true
|
||||
popUpButton.menu = menu
|
||||
|
||||
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)
|
||||
|
||||
return item
|
||||
}
|
||||
} else if itemIdentifier == .searchMetadata {
|
||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||
label: NSLocalizedString("Search Metadata", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Search metadata on the web", comment: "Toolbar"),
|
||||
image: "NSRevealFreestandingTemplate",
|
||||
symbolName: "doc.text.magnifyingglass",
|
||||
target: target,
|
||||
action: #selector(DocumentWindowController.searchMetadata(_:)))
|
||||
} else if itemIdentifier == .sendToQueue {
|
||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||
label: NSLocalizedString("Send to Queue", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Send the current document to the queue", comment: "Toolbar"),
|
||||
image: "ToolbarActionTemplate",
|
||||
symbolName: "photo.badge.plus",
|
||||
target: target,
|
||||
action: #selector(Document.sendToQueue(_:)))
|
||||
} else if itemIdentifier == .showQueue {
|
||||
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
|
||||
label: NSLocalizedString("Queue", comment: "Toolbar"),
|
||||
toolTip: NSLocalizedString("Show the Queue window", comment: "Toolbar"),
|
||||
image: "ToolbarActionTemplate",
|
||||
symbolName: "photo.stack",
|
||||
target: nil,
|
||||
action: #selector(AppDelegate.showQueueWindow(_:)))
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
@MainActor func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||
return [.importTracks, .searchMetadata, .space, .actions, .space, .deleteTracks, .flexibleSpace, .sendToQueue, .showQueue,]
|
||||
}
|
||||
|
||||
@MainActor func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
|
||||
return [.importTracks, .deleteTracks, .actions, .searchMetadata, .sendToQueue, .showQueue, .flexibleSpace, .space]
|
||||
}
|
||||
|
||||
}
|
||||
@@ -7,8 +7,9 @@
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
import UniformTypeIdentifiers
|
||||
|
||||
final class DocumentWindowController: NSWindowController, TracksViewControllerDelegate, MetadataSearchViewControllerDelegate, FileImportControllerDelegate, ProgressViewControllerDelegate, NSDraggingDestination, NSMenuItemValidation, NSToolbarItemValidation {
|
||||
final class DocumentWindowController: NSWindowController, NSWindowDelegate, TracksViewControllerDelegate, MetadataSearchViewControllerDelegate, ChapterSearchControllerDelegate, FileImportControllerDelegate, ProgressViewControllerDelegate, NSDraggingDestination, NSUserInterfaceValidations {
|
||||
|
||||
private var doc: Document {
|
||||
return document as! Document
|
||||
@@ -30,6 +31,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
private let toolbarDelegate = DocumentToolbarDelegate()
|
||||
|
||||
override func windowDidLoad() {
|
||||
super.windowDidLoad()
|
||||
|
||||
@@ -41,24 +44,50 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
window.toolbarStyle = .expanded
|
||||
}
|
||||
|
||||
sendToQueue.image = NSImage(named: NSImage.shareTemplateName);
|
||||
toolbarDelegate.target = self
|
||||
|
||||
let toolbar = NSToolbar(identifier: "SublerDocumentToolbar")
|
||||
toolbar.delegate = toolbarDelegate
|
||||
toolbar.allowsUserCustomization = true
|
||||
toolbar.autosavesConfiguration = true
|
||||
if #available(macOS 26, *) {
|
||||
toolbar.displayMode = .iconOnly
|
||||
} else {
|
||||
toolbar.displayMode = .iconAndLabel
|
||||
}
|
||||
self.window?.toolbar = toolbar
|
||||
|
||||
window.contentViewController = splitViewController
|
||||
window.registerForDraggedTypes([NSPasteboard.PasteboardType.fileURL])
|
||||
|
||||
if Prefs.rememberDocumentWindowSize {
|
||||
window.setFrameAutosaveName("documentSave")
|
||||
window.setFrame(from: "documentSave")
|
||||
window.setFrameUsingName("documentSave")
|
||||
|
||||
splitViewController.splitView.autosaveName = DocumentWindowController.splitViewResorationAutosaveName
|
||||
splitViewController.splitView.identifier = DocumentWindowController.splitViewResorationIdentifier
|
||||
}
|
||||
else {
|
||||
window.setContentSize(NSSize(width: 690, height: 510))
|
||||
splitViewController.splitView.setPosition(160, ofDividerAt: 0)
|
||||
window.setContentSize(NSSize(width: 692, height: 600))
|
||||
splitViewController.splitView.setPosition(240, ofDividerAt: 0)
|
||||
}
|
||||
|
||||
didSelect(tracks: [])
|
||||
|
||||
let update: (Notification) -> Void = { [weak self] notification in
|
||||
guard let s = self else { return }
|
||||
s.reloadDataAfterAnUndo()
|
||||
}
|
||||
|
||||
NotificationCenter.default.addObserver(forName: NSNotification.Name.NSUndoManagerDidUndoChange,
|
||||
object: doc.undoManager,
|
||||
queue: OperationQueue.main,
|
||||
using: update)
|
||||
|
||||
NotificationCenter.default.addObserver(forName: NSNotification.Name.NSUndoManagerDidRedoChange,
|
||||
object: doc.undoManager,
|
||||
queue: OperationQueue.main,
|
||||
using: update)
|
||||
}
|
||||
|
||||
private static let splitViewResorationIdentifier = NSUserInterfaceItemIdentifier(rawValue: "splitViewSave")
|
||||
@@ -97,7 +126,24 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
private var multiViewController: MultiSelectViewController?
|
||||
private var emptyViewController: EmptyViewController?
|
||||
|
||||
private var selectedTabIndexesDict: [String:Int] = [:]
|
||||
|
||||
private func saveTabIndex(_ propertyView: PropertyView?) {
|
||||
if let propertyView {
|
||||
selectedTabIndexesDict[String(describing: type(of: propertyView))] = propertyView.selectedViewIndex()
|
||||
}
|
||||
}
|
||||
|
||||
private func selectTabViewItem(for propertyView: PropertyView) {
|
||||
let key = String(describing: type(of: propertyView))
|
||||
if let tabIndex = selectedTabIndexesDict[key] {
|
||||
propertyView.selectTabViewItem(at: tabIndex)
|
||||
selectedTabIndexesDict.removeValue(forKey: key)
|
||||
}
|
||||
}
|
||||
|
||||
private func clearDetailsViewControllers() {
|
||||
saveTabIndexes()
|
||||
metadataViewController = nil
|
||||
videoViewController = nil
|
||||
soundViewController = nil
|
||||
@@ -105,7 +151,13 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
multiViewController = nil
|
||||
}
|
||||
|
||||
private func detailsViewController(_ tracks: [MP42Track]) -> NSViewController {
|
||||
private func saveTabIndexes() {
|
||||
saveTabIndex(metadataViewController)
|
||||
saveTabIndex(videoViewController)
|
||||
saveTabIndex(soundViewController)
|
||||
}
|
||||
|
||||
private func detailsViewController(_ tracks: [MP42Track]) -> PropertyView {
|
||||
if tracks.count > 1 {
|
||||
let controller = MultiSelectViewController(numberOfTracks: UInt(tracks.count))
|
||||
return controller
|
||||
@@ -143,7 +195,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
return emptyViewController!
|
||||
|
||||
default:
|
||||
if metadataViewController == nil {
|
||||
if let metadataViewController = metadataViewController {
|
||||
metadataViewController.metadata = mp4.metadata
|
||||
}
|
||||
else {
|
||||
metadataViewController = MovieViewController(mp4: mp4, metadata: mp4.metadata)
|
||||
}
|
||||
return metadataViewController!
|
||||
@@ -156,12 +211,20 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
tracksViewController.mp4 = doc.mp4
|
||||
}
|
||||
|
||||
func reloadDataAfterAnUndo() {
|
||||
let firstResponder = self.window?.firstResponder;
|
||||
saveTabIndexes()
|
||||
tracksViewController.reloadData()
|
||||
if let firstResponder = firstResponder as? NSView, firstResponder.window != nil {
|
||||
self.window?.makeFirstResponder(firstResponder)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Tracks controller delegate
|
||||
|
||||
func didSelect(tracks: [MP42Track]) {
|
||||
let detailsItem = splitViewController.splitViewItems[1]
|
||||
if let detailsViewController = detailsItem.viewController.children.first {
|
||||
doc.undoManager?.removeAllActions(withTarget: detailsViewController)
|
||||
detailsViewController.view.removeFromSuperviewWithoutNeedingDisplay()
|
||||
detailsItem.viewController.removeChild(at: 0)
|
||||
}
|
||||
@@ -171,59 +234,75 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
trackViewController.view.frame = detailsItem.viewController.view.bounds
|
||||
trackViewController.view.autoresizingMask = [NSView.AutoresizingMask.width, NSView.AutoresizingMask.height]
|
||||
detailsItem.viewController.view.addSubview(trackViewController.view)
|
||||
|
||||
// Tags-only mode: tracks are displayed but cannot be modified, except
|
||||
// for the fields MP42MkvTagWriter writes back (see allowsTrackEditing)
|
||||
// and the chapters tab (ChapterViewController edits ride the remuxer's
|
||||
// replacementChapters). Set after the view is loaded so it wins over
|
||||
// controls that the view controllers enable during their own updates.
|
||||
trackViewController.isMatroskaDocument = doc.isMatroska
|
||||
if doc.isMatroska, !(trackViewController is MovieViewController),
|
||||
!(trackViewController is ChapterViewController) {
|
||||
trackViewController.allowsTrackEditing = true
|
||||
trackViewController.isReadOnly = true
|
||||
} else {
|
||||
trackViewController.allowsTrackEditing = false
|
||||
trackViewController.isReadOnly = false
|
||||
}
|
||||
|
||||
selectTabViewItem(for: trackViewController)
|
||||
}
|
||||
|
||||
func delete(tracks: [MP42Track]) {
|
||||
// On MKV docs the save path stream-copy-remuxes removed real tracks'
|
||||
// blocks away (MP42MkvRemuxer); a removed chapter pseudo-track makes
|
||||
// the model report "no chapters", which deletes the Chapters element.
|
||||
if tracks.isEmpty == false {
|
||||
mp4.removeTracks(tracks)
|
||||
|
||||
if Prefs.organizeAlternateGroups { mp4.organizeAlternateGroups() }
|
||||
if Prefs.inferMediaCharacteristics { mp4.inferMediaCharacteristics() }
|
||||
if doc.isMatroska == false {
|
||||
// Both heuristics reorder the track model, which would break
|
||||
// the TrackEntry/order pairing the MKV writers depend on.
|
||||
if Prefs.organizeAlternateGroups { mp4.organizeAlternateGroups() }
|
||||
if Prefs.inferMediaCharacteristics { mp4.inferMediaCharacteristics() }
|
||||
}
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Validation
|
||||
|
||||
@IBOutlet var addTracks: NSToolbarItem!
|
||||
@IBOutlet var deleteTrack: NSToolbarItem!
|
||||
@IBOutlet var searchMetadata: NSToolbarItem!
|
||||
@IBOutlet var searchChapters: NSToolbarItem!
|
||||
@IBOutlet var sendToQueue: NSToolbarItem!
|
||||
func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
switch item.action {
|
||||
|
||||
func validateToolbarItem(_ item: NSToolbarItem) -> Bool {
|
||||
if item == addTracks ||
|
||||
item == searchMetadata ||
|
||||
item == searchChapters ||
|
||||
item == sendToQueue {
|
||||
return true;
|
||||
}
|
||||
|
||||
if item == deleteTrack {
|
||||
return tracksViewController.selectedTracks.isEmpty == false && NSApp.isActive;
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
switch menuItem.action {
|
||||
case #selector(selectFile(_:)),
|
||||
#selector(selectMetadataFile(_:)),
|
||||
case #selector(selectMetadataFile(_:)),
|
||||
#selector(searchMetadata(_:)),
|
||||
#selector(sendToQueue(_:)),
|
||||
#selector(insertChapter(_:)),
|
||||
#selector(addChaptersEvery(_:)),
|
||||
#selector(iTunesFriendlyTrackGroups(_:)),
|
||||
#selector(searchChapters(_:)):
|
||||
return true
|
||||
|
||||
// Matroska documents may import subtitle text files (written as
|
||||
// S_TEXT/UTF8 by the stream-copy remuxer on save).
|
||||
case #selector(selectFile(_:)):
|
||||
return true
|
||||
|
||||
// Track bulk modifications: unavailable in Matroska tags-only mode.
|
||||
// Chapter actions (searchChapters, the Insert-a-chapter commands) are
|
||||
// NOT on this list — chapter changes ride the stream-copy remuxer,
|
||||
// so they work on MKV too.
|
||||
case #selector(iTunesFriendlyTrackGroups(_:)),
|
||||
#selector(clearTrackNames(_:)),
|
||||
#selector(prettifyAudioTrackNames(_:)),
|
||||
#selector(fixAudioFallbacks(_:)):
|
||||
return true
|
||||
return !doc.isMatroska
|
||||
|
||||
case #selector(sendToExternalApp(_:)) where mp4.hasFileRepresentation && doc.isDocumentEdited == false:
|
||||
return true
|
||||
|
||||
case #selector(showTrackOffsetSheet(_:)) where tracksViewController.selectedTracks.isEmpty == false:
|
||||
case #selector(showTrackOffsetSheet(_:)) where doc.isMatroska == false && tracksViewController.selectedTracks.isEmpty == false:
|
||||
return true
|
||||
|
||||
case #selector(export(_:)) where tracksViewController.selectedTracks.isEmpty == false:
|
||||
@@ -233,6 +312,12 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
return false
|
||||
}
|
||||
|
||||
case #selector(DocumentWindowController.deleteTrack(_:)):
|
||||
// MKV documents allow deleting real tracks (stream-copy remux on
|
||||
// save) and the chapter pseudo-track (the Chapters element is
|
||||
// removed on save), so any non-empty selection is deletable.
|
||||
return tracksViewController.selectedTracks.isEmpty == false && NSApp.isActive
|
||||
|
||||
default:
|
||||
return false
|
||||
}
|
||||
@@ -269,12 +354,16 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
}
|
||||
}
|
||||
|
||||
func cancel() {
|
||||
mp4.cancel()
|
||||
func cancelSave() {
|
||||
doc.cancelSave()
|
||||
}
|
||||
|
||||
// MARK: Actions
|
||||
|
||||
@IBAction func sendToQueue(_ sender: Any) {
|
||||
doc.sendToQueue(self)
|
||||
}
|
||||
|
||||
@IBAction func sendToExternalApp(_ sender: Any) {
|
||||
if let fileURL = doc.fileURL {
|
||||
_ = sendToFileExternalApp(fileURL: fileURL)
|
||||
@@ -285,21 +374,75 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
delete(tracks: tracksViewController.selectedTracks)
|
||||
}
|
||||
|
||||
// Single-chapter insert that also bootstraps the chapter track, so it
|
||||
// works on documents without any chapters yet (both containers: on MKV
|
||||
// the new rows ride the remuxer on save, like the Chapters tab's edits).
|
||||
@IBAction func insertChapter(_ sender: Any) {
|
||||
let track: MP42ChapterTrack
|
||||
if let existing = mp4.chapters {
|
||||
track = existing
|
||||
} else {
|
||||
track = MP42ChapterTrack()
|
||||
mp4.addTrack(track) // addTrack: replaces any previous chapter track
|
||||
if doc.isMatroska {
|
||||
// addTrack: zeroes trackId; keep the table numbering dense.
|
||||
track.trackId = (mp4.tracks.map { $0.trackId }.max() ?? 0) + 1
|
||||
}
|
||||
}
|
||||
|
||||
// A brand-new track gets its first chapter at 0; inserting into an
|
||||
// existing track places the chapter 1s after the latest start, so it
|
||||
// never ties with a stored chapter (ties get clamped +1ms on write,
|
||||
// which would silently shift the user's own chapter times). The user
|
||||
// retimes/renames the row either way.
|
||||
var newTimestamp: UInt64 = 0
|
||||
if let last = track.chapters.max(by: { $0.timestamp < $1.timestamp }) {
|
||||
newTimestamp = last.timestamp + 1000
|
||||
if track.duration > last.timestamp + 1, newTimestamp >= track.duration {
|
||||
newTimestamp = track.duration - 1
|
||||
}
|
||||
}
|
||||
let index = track.addChapter("Chapter", timestamp: newTimestamp)
|
||||
|
||||
if doc.isMatroska {
|
||||
// The tags-only model has no muxing step to mark the document.
|
||||
doc.updateChangeCount(.changeDone)
|
||||
}
|
||||
|
||||
tracksViewController.reloadData()
|
||||
tracksViewController.selectTracks([track])
|
||||
chapterViewController?.selectChapter(at: Int(index))
|
||||
}
|
||||
|
||||
@IBAction func addChaptersEvery(_ sender: NSMenuItem) {
|
||||
let track: MP42ChapterTrack = mp4.chapters ?? { let track = MP42ChapterTrack(); self.mp4.addTrack(track); return track }()
|
||||
// Creates the chapter track when the document has none (same
|
||||
// bookkeeping as insertChapter: addTrack: zeroes trackId and the
|
||||
// tags-only model has no muxing step to mark the document dirty).
|
||||
let existing = mp4.chapters
|
||||
let track: MP42ChapterTrack = existing ?? MP42ChapterTrack()
|
||||
if existing == nil {
|
||||
mp4.addTrack(track) // addTrack: replaces any previous chapter track
|
||||
if doc.isMatroska {
|
||||
track.trackId = (mp4.tracks.map { $0.trackId }.max() ?? 0) + 1
|
||||
}
|
||||
}
|
||||
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)
|
||||
}
|
||||
|
||||
if doc.isMatroska {
|
||||
doc.updateChangeCount(.changeDone)
|
||||
}
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
tracksViewController.selectTracks([track])
|
||||
}
|
||||
|
||||
@IBAction func iTunesFriendlyTrackGroups(_ sender: Any) {
|
||||
@@ -307,7 +450,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
mp4.inferTracksLanguages()
|
||||
mp4.inferMediaCharacteristics()
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
}
|
||||
|
||||
@@ -316,7 +458,6 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
track.name = ""
|
||||
}
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
}
|
||||
|
||||
@@ -326,13 +467,11 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
track.name = track.prettyTrackName
|
||||
}
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
}
|
||||
|
||||
@IBAction func fixAudioFallbacks(_ sender: Any) {
|
||||
mp4.setAutoFallback()
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
}
|
||||
|
||||
@@ -381,9 +520,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
func didSelect(metadata: MetadataResult) {
|
||||
let map = metadata.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
|
||||
let keepEmptyKeys = MetadataPrefs.keepEmptyAnnotations
|
||||
let overwriteExisting = MetadataPrefs.overwriteExistingAnnotations
|
||||
|
||||
let result = metadata.mappedMetadata(to: map, keepEmptyKeys: keepEmptyKeys)
|
||||
mp4.metadata.merge(result)
|
||||
mp4.metadata.merge(result, overwrite: overwriteExisting)
|
||||
|
||||
if let hdType = mp4.hdType {
|
||||
for item in mp4.metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyHDVideo) {
|
||||
@@ -392,25 +532,60 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
mp4.metadata.addItem(MP42MetadataItem(identifier: MP42MetadataKeyHDVideo, value: NSNumber(value: hdType.rawValue),
|
||||
dataType: .integer, extendedLanguageTag: nil))
|
||||
}
|
||||
doc.updateChangeCount(.changeDone)
|
||||
metadataViewController?.metadata = mp4.metadata
|
||||
tracksViewController.selectTracks([])
|
||||
}
|
||||
|
||||
@IBAction func searchChapters(_ sender: Any?) {
|
||||
let name = mp4.metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyName).first?.stringValue
|
||||
let url = mp4.firstSourceURL ?? doc.fileURL
|
||||
let title = (name?.isEmpty == false ? name : url?.lastPathComponent) ?? ""
|
||||
let duration = UInt64(mp4.duration)
|
||||
|
||||
let controller = ChapterSearchController(delegate: self, title: title, duration: duration)
|
||||
contentViewController?.presentAsSheet(controller)
|
||||
}
|
||||
|
||||
func didSelect(chapters: [MP42TextSample]) {
|
||||
let chapterTrack = MP42ChapterTrack()
|
||||
for chapter in chapters {
|
||||
chapterTrack.addChapter(chapter)
|
||||
}
|
||||
|
||||
mp4.addTrack(chapterTrack) // addTrack: replaces any previous chapter track
|
||||
if doc.isMatroska {
|
||||
// Tags-only bookkeeping, same as addChapters/insertChapter:
|
||||
// addTrack: zeroes trackId, and nothing else marks the document.
|
||||
chapterTrack.trackId = (mp4.tracks.map { $0.trackId }.max() ?? 0) + 1
|
||||
doc.updateChangeCount(.changeDone)
|
||||
}
|
||||
tracksViewController.reloadData()
|
||||
tracksViewController.selectTracks([chapterTrack])
|
||||
}
|
||||
|
||||
// MARK: File import
|
||||
|
||||
private func addChapters(fileURL: URL) {
|
||||
mp4.addTrack(MP42ChapterTrack(fromFile: fileURL))
|
||||
|
||||
doc.updateChangeCount(.changeDone)
|
||||
let track = MP42ChapterTrack(fromFile: fileURL)
|
||||
mp4.addTrack(track) // replaces any previous chapter track
|
||||
if doc.isMatroska {
|
||||
// addTrack: zeroes trackId; keep the table numbering dense, and
|
||||
// flag the document dirty (the tags-only model has no muxing to
|
||||
// mark it, same as importSubtitleTracksForMatroska).
|
||||
track.trackId = (mp4.tracks.map { $0.trackId }.max() ?? 0) + 1
|
||||
doc.updateChangeCount(.changeDone)
|
||||
}
|
||||
tracksViewController.reloadData()
|
||||
tracksViewController.selectTracks([track])
|
||||
}
|
||||
|
||||
private func updateChapters(fileURL: URL) {
|
||||
do {
|
||||
try mp4.chapters?.update(fromCSVFile: fileURL)
|
||||
doc.updateChangeCount(.changeDone)
|
||||
if let track = mp4.chapters {
|
||||
chapterViewController?.track = track
|
||||
tracksViewController.selectTracks([track])
|
||||
if doc.isMatroska { doc.updateChangeCount(.changeDone) }
|
||||
}
|
||||
}
|
||||
catch {
|
||||
@@ -425,13 +600,13 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
private func addMetadata(fileURL: URL) {
|
||||
let ext = fileURL.pathExtension.lowercased()
|
||||
if ext == "xml" || ext == "nfo", let metadata = MP42Metadata(url: fileURL) {
|
||||
mp4.metadata.merge(metadata)
|
||||
doc.updateChangeCount(.changeDone)
|
||||
mp4.metadata.merge(metadata, overwrite: true)
|
||||
metadataViewController?.metadata = mp4.metadata
|
||||
tracksViewController.selectTracks([])
|
||||
} else if let file = try? MP42File(url: fileURL) {
|
||||
mp4.metadata.merge(file.metadata)
|
||||
doc.updateChangeCount(.changeDone)
|
||||
mp4.metadata.merge(file.metadata, overwrite: true)
|
||||
metadataViewController?.metadata = mp4.metadata
|
||||
tracksViewController.selectTracks([])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -441,7 +616,13 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
panel.allowsMultipleSelection = false
|
||||
panel.canChooseFiles = true
|
||||
panel.canChooseDirectories = false
|
||||
panel.allowedFileTypes = ["mp4", "m4v", "m4a", "xml", "nfo"]
|
||||
if #available(macOS 12, *) {
|
||||
panel.allowedContentTypes = [.mpeg4Movie, .mpeg4Audio,
|
||||
.appleProtectedMPEG4Video,
|
||||
.xml, UTType(filenameExtension: "nfo")!]
|
||||
} else {
|
||||
panel.allowedFileTypes = ["mp4", "m4v", "m4a", "xml", "nfo"]
|
||||
}
|
||||
|
||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||
if response == NSApplication.ModalResponse.OK, let url = panel.url {
|
||||
@@ -452,13 +633,47 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
|
||||
@IBAction func selectFile(_ sender: Any) {
|
||||
guard let windowForSheet = doc.windowForSheet else { return }
|
||||
let supportedFileFormats = MP42FileImporter.supportedFileFormats() + ["txt", "csv"]
|
||||
|
||||
let panel = NSOpenPanel()
|
||||
panel.allowsMultipleSelection = true
|
||||
panel.canChooseFiles = true
|
||||
panel.canChooseDirectories = false
|
||||
panel.allowedFileTypes = supportedFileFormats
|
||||
|
||||
if doc.isMatroska {
|
||||
// A Matroska document can gain subtitle text tracks (the
|
||||
// stream-copy remuxer writes them as S_TEXT/UTF8) and chapters
|
||||
// (.txt creates/replaces the chapter track, .csv updates an
|
||||
// existing one — same dispatch the MP4 branch uses below).
|
||||
let chapterExtensions = ["txt", "csv"]
|
||||
if #available(macOS 11, *) {
|
||||
panel.allowedContentTypes = (DocumentWindowController.matroskaSubtitleExtensions + chapterExtensions).compactMap {
|
||||
UTType(filenameExtension: $0)
|
||||
}
|
||||
} else {
|
||||
panel.allowedFileTypes = DocumentWindowController.matroskaSubtitleExtensions + chapterExtensions
|
||||
}
|
||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||
guard response == NSApplication.ModalResponse.OK else { return }
|
||||
var subtitleURLs: [URL] = []
|
||||
for url in panel.urls {
|
||||
switch url.pathExtension.lowercased() {
|
||||
case "txt": self.addChapters(fileURL: url)
|
||||
case "csv": self.updateChapters(fileURL: url)
|
||||
default: subtitleURLs.append(url)
|
||||
}
|
||||
}
|
||||
if subtitleURLs.isEmpty == false {
|
||||
self.showImportSheet(fileURLs: subtitleURLs)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if #available(macOS 11, *) {
|
||||
panel.allowedContentTypes = MP42FileImporter.supportedContentTypes() + [.text, .commaSeparatedText]
|
||||
} else {
|
||||
panel.allowedFileTypes = MP42FileImporter.supportedFileFormats() + ["txt", "csv"]
|
||||
}
|
||||
|
||||
panel.beginSheetModal(for: windowForSheet) { (response) in
|
||||
if response == NSApplication.ModalResponse.OK {
|
||||
@@ -476,7 +691,16 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
}
|
||||
}
|
||||
|
||||
/// Subtitle text files a Matroska document can gain — must stay in sync
|
||||
/// with the extension gate in MP42MkvRemuxer's added-track validation.
|
||||
static let matroskaSubtitleExtensions = ["srt", "ssa", "ass"]
|
||||
|
||||
func showImportSheet(fileURLs: [URL]) {
|
||||
if doc.isMatroska {
|
||||
importSubtitleTracksForMatroska(fileURLs: fileURLs)
|
||||
return
|
||||
}
|
||||
|
||||
do {
|
||||
let controller = try FileImportController(fileURLs: fileURLs, delegate: self)
|
||||
|
||||
@@ -496,14 +720,92 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
}
|
||||
}
|
||||
|
||||
// A Matroska document gains subtitle tracks by re-parsing the source text
|
||||
// file at save time (MP42MkvRemuxer writes S_TEXT/UTF8 BlockGroups), so
|
||||
// the model only needs the track object with its URL — no FileImportController
|
||||
// sheet, and crucially none of didSelect's organizeAlternateGroups/
|
||||
// inferMediaCharacteristics churn, which would shift model indices and
|
||||
// break the remuxer's TrackEntry↔sourceTracks identity pairing.
|
||||
func importSubtitleTracksForMatroska(fileURLs: [URL]) {
|
||||
let allowed = DocumentWindowController.matroskaSubtitleExtensions
|
||||
let subtitleURLs = fileURLs.filter { allowed.contains($0.pathExtension.lowercased()) }
|
||||
guard subtitleURLs.isEmpty == false else { return }
|
||||
|
||||
var addedTracks: [MP42Track] = []
|
||||
var nextDisplayId: MP42TrackId = (mp4.tracks.map { $0.trackId }.max() ?? 0) + 1
|
||||
for url in subtitleURLs {
|
||||
do {
|
||||
let importer = try MP42FileImporter(url: url)
|
||||
for track in importer.tracks {
|
||||
guard track.isMember(of: MP42ChapterTrack.self) == false else { continue }
|
||||
// Same addTrack: invariant the tags-only read establishes
|
||||
// (see Document.readMatroska) — codecs MP4 cannot carry
|
||||
// as-is must carry conversion settings.
|
||||
if trackNeedConversion(track.format) {
|
||||
(track as? MP42SubtitleTrack)?.conversionSettings = MP42ConversionSettings.subtitlesConversion()
|
||||
}
|
||||
mp4.addTrack(track)
|
||||
// addTrack: zeroes trackId; keep the table numbering dense.
|
||||
track.trackId = nextDisplayId
|
||||
nextDisplayId += 1
|
||||
addedTracks.append(track)
|
||||
}
|
||||
}
|
||||
catch {
|
||||
if let windowForSheet = doc.windowForSheet {
|
||||
presentError(error, modalFor: windowForSheet, delegate: nil, didPresent: nil, contextInfo: nil)
|
||||
} else {
|
||||
presentError(error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
guard addedTracks.isEmpty == false else { return }
|
||||
doc.updateChangeCount(.changeDone)
|
||||
tracksViewController.reloadData()
|
||||
tracksViewController.selectTracks(addedTracks)
|
||||
}
|
||||
|
||||
@objc func importFilesDirectly(_ fileURLs: [URL]) {
|
||||
// Mirror the open panel's extension routing (selectFile): chapter
|
||||
// text files go to the chapter commands — addChapters bootstraps the
|
||||
// chapter track on both containers — everything else to the regular
|
||||
// track importer.
|
||||
var mediaURLs: [URL] = []
|
||||
for url in fileURLs {
|
||||
switch url.pathExtension.lowercased() {
|
||||
case "txt": addChapters(fileURL: url)
|
||||
case "csv": updateChapters(fileURL: url)
|
||||
default: mediaURLs.append(url)
|
||||
}
|
||||
}
|
||||
guard mediaURLs.isEmpty == false else { return }
|
||||
|
||||
do {
|
||||
let controller = try FileImportController(fileURLs: mediaURLs, 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)
|
||||
}
|
||||
|
||||
if tracks.isEmpty == false {
|
||||
doc.updateChangeCount(.changeDone)
|
||||
|
||||
// Reordering must never touch a Matroska document: the remuxer pairs
|
||||
// TrackEntry elements against the saver's importer-order snapshot by
|
||||
// identity, and a reordered model would mispair them (same rule as
|
||||
// delete(tracks:)).
|
||||
if tracks.isEmpty == false, doc.isMatroska == false {
|
||||
if Prefs.organizeAlternateGroups {
|
||||
mp4.organizeAlternateGroups()
|
||||
if Prefs.inferMediaCharacteristics {
|
||||
@@ -513,13 +815,17 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
}
|
||||
}
|
||||
|
||||
if let metadata = metadata {
|
||||
mp4.metadata.merge(metadata)
|
||||
doc.updateChangeCount(.changeDone)
|
||||
metadataViewController?.metadata = mp4.metadata
|
||||
if let metadata, metadata.items.isEmpty == false {
|
||||
mp4.metadata.merge(metadata, overwrite: true)
|
||||
}
|
||||
|
||||
tracksViewController.reloadData()
|
||||
|
||||
if let metadata, metadata.items.isEmpty == false {
|
||||
tracksViewController.selectTracks([])
|
||||
} else if tracks.isEmpty == false {
|
||||
tracksViewController.selectTracks(tracks)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Drag & drop
|
||||
@@ -540,8 +846,18 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
let items = pasteboard.readObjects(forClasses: [NSURL.classForCoder()], options: [:]) as? [URL]
|
||||
else { return false }
|
||||
|
||||
let chapters = items.filter { $0.pathExtension.lowercased() == "txt" }
|
||||
if let url = chapters.first {
|
||||
// Metadata drops are fine in tags-only mode. Chapters ride the
|
||||
// remuxer on Matroska documents, so txt/csv drops route there too;
|
||||
// everything else that would add a track goes through the import
|
||||
// panel (which routes Matroska docs to the subtitle-only path).
|
||||
if doc.isMatroska {
|
||||
if let url = items.first(where: { $0.pathExtension.lowercased() == "txt" }) {
|
||||
addChapters(fileURL: url)
|
||||
}
|
||||
if let url = items.first(where: { $0.pathExtension.lowercased() == "csv" }) {
|
||||
updateChapters(fileURL: url)
|
||||
}
|
||||
} else if let url = items.first(where: { $0.pathExtension.lowercased() == "txt" }) {
|
||||
addChapters(fileURL: url)
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,11 @@ import Cocoa
|
||||
@MainActor @objc optional func paste(to tableview: NSTableView)
|
||||
}
|
||||
|
||||
class ExpandedTableView: NSTableView, NSMenuItemValidation {
|
||||
protocol ExpandedTableViewCellActionable {
|
||||
func performAction()
|
||||
}
|
||||
|
||||
class ExpandedTableView: NSTableView {
|
||||
|
||||
var pasteboardTypes: [NSPasteboard.PasteboardType]
|
||||
var pasteboardHasSupportedType: Bool {
|
||||
@@ -59,12 +63,20 @@ class ExpandedTableView: NSTableView, NSMenuItemValidation {
|
||||
super.init(coder: coder)
|
||||
}
|
||||
|
||||
private func performAction() {
|
||||
if let view = self.view(atColumn: defaultEditingColumn, row: selectedRow, makeIfNecessary: false) as? ExpandedTableViewCellActionable {
|
||||
view.performAction()
|
||||
} else {
|
||||
editColumn(defaultEditingColumn, row: selectedRow, with: nil, select: true)
|
||||
}
|
||||
}
|
||||
|
||||
override func keyDown(with event: NSEvent) {
|
||||
|
||||
guard let key = event.charactersIgnoringModifiers?.utf16.first else { super.keyDown(with: event); return }
|
||||
|
||||
if (key == NSEnterCharacter || key == NSCarriageReturnCharacter) && defaultEditingColumn > 0 {
|
||||
editColumn(defaultEditingColumn, row: selectedRow, with: nil, select: true)
|
||||
performAction()
|
||||
}
|
||||
else if (key == NSDeleteCharacter || key == NSDeleteFunctionKey) && implements(selector: #selector(ExpandedTableViewDelegate.deleteSelection(in:))) {
|
||||
if selectedRow == -1 {
|
||||
@@ -73,6 +85,9 @@ class ExpandedTableView: NSTableView, NSMenuItemValidation {
|
||||
expandedDelegate?.deleteSelection!(in: self)
|
||||
}
|
||||
}
|
||||
else if key == NSRightArrowFunctionKey || key == NSLeftArrowFunctionKey {
|
||||
self.window?.windowController?.keyDown(with: event)
|
||||
}
|
||||
else if key == 27 && selectedRow != -1 {
|
||||
deselectAll(self)
|
||||
}
|
||||
@@ -114,8 +129,8 @@ class ExpandedTableView: NSTableView, NSMenuItemValidation {
|
||||
}
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
if let action = menuItem.action {
|
||||
override func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
if let action = item.action {
|
||||
switch action {
|
||||
case #selector(delete(_:)):
|
||||
if selectedRow == -1 || implements(selector: #selector(ExpandedTableViewDelegate.deleteSelection(in:))) == false {
|
||||
@@ -137,6 +152,6 @@ class ExpandedTableView: NSTableView, NSMenuItemValidation {
|
||||
break
|
||||
}
|
||||
}
|
||||
return true
|
||||
return super.validateUserInterfaceItem(item)
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ protocol FileImportControllerDelegate : AnyObject {
|
||||
func didSelect(tracks: [MP42Track], metadata: MP42Metadata?)
|
||||
}
|
||||
|
||||
final class FileImportController: ViewController, NSTableViewDataSource, NSTableViewDelegate, NSMenuItemValidation {
|
||||
final class FileImportController: ViewController, NSTableViewDataSource, NSTableViewDelegate, NSUserInterfaceValidations {
|
||||
|
||||
private enum ItemType {
|
||||
case file(MP42FileImporter)
|
||||
@@ -55,7 +55,16 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
tag: 0,
|
||||
enabled: needsConversion == false)
|
||||
actions.append(action)
|
||||
|
||||
|
||||
// PGS can be kept as bitmap subtitles: the muxer converts the
|
||||
// stream to VobSub (sup2vob) and writes a real MP4 subp track.
|
||||
if track.format == kMP42SubtitleCodecType_PGS {
|
||||
let bitmapAction = Action(title: NSLocalizedString("VobSub", comment: "File Import action menu item."),
|
||||
tag: 2,
|
||||
enabled: true)
|
||||
actions.append(bitmapAction)
|
||||
}
|
||||
|
||||
if (needsConversion || track.format == kMP42SubtitleCodecType_VobSub) {
|
||||
let conversionAction = Action(title: NSLocalizedString("Tx3g", comment: "File Import action menu item."),
|
||||
tag: 1,
|
||||
@@ -115,6 +124,17 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
enabled: true)
|
||||
actions.append(conversionAction)
|
||||
}
|
||||
|
||||
let audioTrack = track as! MP42AudioTrack
|
||||
let channelCount = audioTrack.channels
|
||||
|
||||
if track.format == kMP42AudioCodecType_MPEG4AAC && channelCount > 2 {
|
||||
let conversionAction = Action(title: NSLocalizedString("AAC + Passthru", comment: "File Import action menu item."),
|
||||
tag: 6,
|
||||
enabled: true)
|
||||
actions.append(conversionAction)
|
||||
}
|
||||
|
||||
default:
|
||||
break
|
||||
}
|
||||
@@ -146,6 +166,11 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
}
|
||||
}
|
||||
}
|
||||
// PGS: keep it bitmap — VobSub by default, tx3g only if the
|
||||
// user's bitmap-subtitles-to-tx3g preference says so
|
||||
else if track.format == kMP42SubtitleCodecType_PGS {
|
||||
self.selectedActionTag = Prefs.subtitleConvertBitmap ? 1 : 2
|
||||
}
|
||||
// Vobsub
|
||||
else if track.format == kMP42SubtitleCodecType_VobSub && Prefs.subtitleConvertBitmap {
|
||||
self.selectedActionTag = 1
|
||||
@@ -233,6 +258,7 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
}
|
||||
|
||||
private func setCheck(value: Bool, forIndexes indexes: IndexSet) {
|
||||
var modifiedIndexes = IndexSet()
|
||||
for index in indexes {
|
||||
let item = items[index]
|
||||
switch item {
|
||||
@@ -240,16 +266,18 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
break
|
||||
case .track(let settings):
|
||||
settings.checked = value && settings.importable
|
||||
modifiedIndexes.insert(index)
|
||||
}
|
||||
}
|
||||
reloadCheckColumn(forRowIndexes: indexes)
|
||||
reloadCheckColumn(forRowIndexes: modifiedIndexes)
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
if let action = menuItem.action,
|
||||
func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
if let action = item.action,
|
||||
action == #selector(self.checkSelected(_:)) ||
|
||||
action == #selector(self.uncheckSelected(_:)) ||
|
||||
action == #selector(self.checkOnlyTracksWithSameLanguage(_:)) {
|
||||
action == #selector(self.checkOnlyTracksWithSameLanguage(_:)) ||
|
||||
action == #selector(self.checkOnlySelectedTracks(_:)) {
|
||||
if tracksTableView.selectedRow != -1 || tracksTableView.clickedRow != -1 {
|
||||
return true
|
||||
}
|
||||
@@ -276,8 +304,36 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
}
|
||||
}
|
||||
|
||||
settings.forEach { $0.checked = $0.importable && languages.contains($0.track.language) }
|
||||
reloadCheckColumn(forRowIndexes: IndexSet(integersIn: items.indices))
|
||||
var modifiedIndexes = IndexSet()
|
||||
|
||||
items.enumerated().forEach { (index, item) in
|
||||
switch item {
|
||||
case .file(_):
|
||||
break
|
||||
case .track(let settings):
|
||||
settings.checked = settings.importable && languages.contains(settings.track.language)
|
||||
modifiedIndexes.insert(index)
|
||||
}
|
||||
}
|
||||
|
||||
reloadCheckColumn(forRowIndexes: modifiedIndexes)
|
||||
}
|
||||
|
||||
@IBAction func checkOnlySelectedTracks(_ sender: Any) {
|
||||
let targetedIndices = tracksTableView.targetedRowIndexes;
|
||||
var modifiedIndexes = IndexSet()
|
||||
|
||||
items.enumerated().forEach { (index, item) in
|
||||
switch item {
|
||||
case .file(_):
|
||||
break
|
||||
case .track(let settings):
|
||||
settings.checked = targetedIndices.contains(index)
|
||||
modifiedIndexes.insert(index)
|
||||
}
|
||||
}
|
||||
|
||||
reloadCheckColumn(forRowIndexes: modifiedIndexes)
|
||||
}
|
||||
|
||||
// MARK: IBActions
|
||||
@@ -287,6 +343,8 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
}
|
||||
|
||||
@IBAction func addTracks(_ sender: Any) {
|
||||
logTracksTable()
|
||||
|
||||
var selectedTracks: [MP42Track] = []
|
||||
|
||||
for trackSettings in settings where trackSettings.checked {
|
||||
@@ -327,7 +385,10 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
|
||||
case let track as MP42SubtitleTrack:
|
||||
|
||||
if trackSettings.selectedActionTag > 0 {
|
||||
if trackSettings.selectedActionTag == 2 {
|
||||
// PGS → VobSub: mux as a bitmap subp track (sup2vob)
|
||||
track.conversionSettings = MP42ConversionSettings.subtitlesVobSubConversion()
|
||||
} else if trackSettings.selectedActionTag > 0 {
|
||||
track.conversionSettings = MP42ConversionSettings.subtitlesConversion()
|
||||
}
|
||||
selectedTracks.append(trackSettings.track)
|
||||
@@ -411,6 +472,7 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
||||
case checkColumn?:
|
||||
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
|
||||
cell?.checkboxButton?.state = settings.checked ? .on : .off
|
||||
cell?.checkboxButton?.isEnabled = settings.importable
|
||||
return cell
|
||||
|
||||
case trackIdColumn?:
|
||||
@@ -479,4 +541,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"))
|
||||
}
|
||||
}
|
||||
@@ -23,6 +23,84 @@ class GeneralPrefsViewController: NSViewController {
|
||||
return "GeneralPrefsViewController"
|
||||
}
|
||||
|
||||
// MARK: Save As location popUp
|
||||
|
||||
@IBOutlet var saveLocationPopUp: NSPopUpButton!
|
||||
|
||||
private let customLocationTag = 2
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
prepareSaveLocationPopUp()
|
||||
}
|
||||
|
||||
private func menuItem(url: URL) -> NSMenuItem {
|
||||
let icon = NSWorkspace.shared.icon(forFile: url.path)
|
||||
icon.size = NSSize(width: 16, height: 16)
|
||||
|
||||
let values = try? url.resourceValues(forKeys: [.localizedNameKey])
|
||||
let title = values?.localizedName ?? url.lastPathComponent
|
||||
|
||||
let item = NSMenuItem(title: title, action: #selector(setSaveLocation(_:)), keyEquivalent: "")
|
||||
item.image = icon
|
||||
item.target = self
|
||||
item.representedObject = url
|
||||
item.toolTip = url.path
|
||||
item.tag = customLocationTag
|
||||
return item
|
||||
}
|
||||
|
||||
/// Rebuilds the custom folder item, then selects the current location.
|
||||
private func prepareSaveLocationPopUp() {
|
||||
guard let menu = saveLocationPopUp.menu else { return }
|
||||
|
||||
if let item = menu.items.first(where: { $0.tag == customLocationTag }) {
|
||||
menu.removeItem(item)
|
||||
}
|
||||
|
||||
if let url = Prefs.saveAsCustomLocation {
|
||||
menu.insertItem(NSMenuItem.separator(), at: 2)
|
||||
menu.insertItem(menuItem(url: url), at: 3)
|
||||
}
|
||||
|
||||
selectCurrentSaveLocation()
|
||||
}
|
||||
|
||||
private func selectCurrentSaveLocation() {
|
||||
let location = Prefs.saveAsLocation
|
||||
|
||||
if location == .custom && Prefs.saveAsCustomLocation == nil {
|
||||
saveLocationPopUp.selectItem(withTag: SaveAsLocation.automatic.rawValue)
|
||||
} else {
|
||||
saveLocationPopUp.selectItem(withTag: location.rawValue)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func setSaveLocation(_ sender: NSMenuItem) {
|
||||
if let url = sender.representedObject as? URL {
|
||||
Prefs.saveAsCustomLocation = url
|
||||
Prefs.saveAsLocation = .custom
|
||||
} else {
|
||||
Prefs.saveAsLocation = SaveAsLocation(rawValue: sender.tag) ?? .automatic
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func chooseSaveLocation(_ sender: Any) {
|
||||
let panel = NSOpenPanel()
|
||||
panel.allowsMultipleSelection = false
|
||||
panel.canChooseFiles = false
|
||||
panel.canChooseDirectories = true
|
||||
panel.canCreateDirectories = true
|
||||
|
||||
panel.begin { response in
|
||||
if response == .OK, let url = panel.url {
|
||||
Prefs.saveAsCustomLocation = url
|
||||
Prefs.saveAsLocation = .custom
|
||||
}
|
||||
self.prepareSaveLocationPopUp()
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func clearRecentSearches(_ sender: Any) {
|
||||
MetadataSearchController.clearRecentSearches()
|
||||
}
|
||||
@@ -37,4 +115,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: "")
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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("SublerMKV") {
|
||||
|
||||
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")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@ extension MP42File {
|
||||
var hdType: TrackHDType? {
|
||||
for track in tracks(withMediaType: kMP42MediaType_Video) as! [MP42VideoTrack] {
|
||||
if (track.width > 1920 && track.height > 1088) {
|
||||
return nil // .hd4k 4k breaks AppleTV streaming
|
||||
return Prefs.set4KHDVideoMetadata ? .hd4k : nil
|
||||
} else if (track.width > 1280 || track.height > 720) && track.width <= 1920 && track.height <= 1088 {
|
||||
return .hd1080p
|
||||
} else if track.width >= 960 && track.height >= 720 || track.width >= 1280 {
|
||||
@@ -51,15 +51,26 @@ extension MP42File {
|
||||
let _ = metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyReleaseDate).first?.stringValue,
|
||||
let mediaKind = metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyMediaKind).first?.numberValue?.intValue,
|
||||
mediaKind == MediaKind.movie.rawValue {
|
||||
return MetadataSearchTerms.movie(title: title)
|
||||
// Only the file name can carry a service ID or release year, so parse
|
||||
// it even when the metadata already describes the movie: an already
|
||||
// tagged file (or one tagged by an earlier search) still gets the
|
||||
// direct ID lookup and the year preference from `{tmdb-…}`-style names.
|
||||
var fileID: MetadataFileID?
|
||||
var fileYear: Int?
|
||||
if let url = firstSourceURL ?? fallbackURL,
|
||||
case let .movie(_, urlID, urlYear) = url.deletingPathExtension().lastPathComponent.parsedAsFilename() {
|
||||
fileID = urlID
|
||||
fileYear = urlYear
|
||||
}
|
||||
return MetadataSearchTerms.movie(title: title, id: fileID, year: fileYear)
|
||||
}
|
||||
else if let url = firstSourceURL ?? fallbackURL {
|
||||
let parsed = url.deletingPathExtension().lastPathComponent.parsedAsFilename()
|
||||
|
||||
switch parsed {
|
||||
case .none:
|
||||
let title = url.deletingPathExtension().lastPathComponent
|
||||
return MetadataSearchTerms.movie(title: title)
|
||||
let name = url.deletingPathExtension().lastPathComponent
|
||||
return MetadataSearchTerms.movie(title: name, year: name.parsedAsFilenameYear())
|
||||
|
||||
case .tvShow, .movie:
|
||||
return parsed
|
||||
@@ -91,6 +102,10 @@ extension MP42File {
|
||||
}
|
||||
}
|
||||
|
||||
func firstSourceDirectoryURL() -> URL? {
|
||||
return tracks.compactMap { $0.url }.first?.deletingLastPathComponent()
|
||||
}
|
||||
|
||||
func formattedFileName() -> String? {
|
||||
guard let mediaKindValue = metadata.metadataItemsFiltered(byIdentifier: MP42MetadataKeyMediaKind).first?.numberValue?.intValue,
|
||||
let mediaKind = MediaKind(rawValue: mediaKindValue)
|
||||
|
||||
@@ -0,0 +1,229 @@
|
||||
//
|
||||
// MatroskaSaver.swift
|
||||
// Subler
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
/// Owns the on-disk baseline of a tags-only Matroska source file and writes
|
||||
/// model changes back into it with the window's save semantics: in-place
|
||||
/// metadata/track-field retagging via MP42MkvTagWriter, or a stream-copy
|
||||
/// rebuild via MP42MkvRemuxer when the edit is structural (deleted/added
|
||||
/// tracks, chapter changes), when a full rebuild is forced (optimize,
|
||||
/// Save-As-style different destination), never producing an MP4.
|
||||
///
|
||||
/// Shared by Document (window saves) and QueueItem (queue retags MKVs in
|
||||
/// place instead of converting them) so the pairing/staleness bookkeeping
|
||||
/// cannot drift between the two save paths.
|
||||
final class MatroskaSaver {
|
||||
|
||||
private var sourceURL: URL
|
||||
// Tracks exactly as the importer produced them (file order, chapter
|
||||
// pseudo-track filtered): the baseline MP42MkvRemuxer pairs TrackEntry
|
||||
// elements against, so a deleted track is detected by object identity.
|
||||
private var sourceTracks: [MP42Track]
|
||||
// Chapter rows as the file's baseline holds them (model milliseconds,
|
||||
// plus the track-level chapter language the remuxer stamps as
|
||||
// ChapterLanguage). nil when the last read/written file had no chapters.
|
||||
// Compared model-vs-snapshot against the model on save: because the
|
||||
// importer itself drops some atoms (duplicate zero timestamps), those
|
||||
// silently-dropped atoms must not look like edits.
|
||||
private var chaptersSnapshot: [(timestamp: UInt64, title: String, language: String)]?
|
||||
// The tag writer refuses to overwrite a file that changed on disk since
|
||||
// we read it; NSDocument doesn't perform that check for us here (and the
|
||||
// queue certainly doesn't).
|
||||
private var fileSize: UInt64 = 0
|
||||
private var fileModificationDate: Date?
|
||||
|
||||
private var activeWriter: MP42MkvTagWriter?
|
||||
private var activeRemuxer: MP42MkvRemuxer?
|
||||
|
||||
// Called on the writing thread; hosts forward it to their progress UI
|
||||
// (the window's save sheet listens on the model's progress handler, the
|
||||
// queue on its delegate).
|
||||
var progressHandler: ((Double) -> Void)?
|
||||
|
||||
/// Builds the tags-only display model for a Matroska importer: metadata
|
||||
/// merged in, every importer track added (chapter pseudo-track included)
|
||||
/// with 1-based display trackIds like MKV players number tracks.
|
||||
///
|
||||
/// The returned file's undo manager is deliberately not wired yet — the
|
||||
/// caller wires it after this returns so these addTrack: calls do not
|
||||
/// open undo groups.
|
||||
static func buildModel(from importer: MP42FileImporter) -> MP42File {
|
||||
let file = MP42File()
|
||||
file.metadata.merge(importer.metadata, overwrite: true)
|
||||
var displayTrackId: MP42TrackId = 0
|
||||
for track in importer.tracks {
|
||||
// -[MP42File addTrack:] asserts that tracks whose codec cannot be
|
||||
// muxed into MP4 as-is (mp3, vorbis, srt, pgs, …) carry conversion
|
||||
// settings. Tags-only documents never mux these tracks, but
|
||||
// satisfy the invariant with the same defaults the convert-import
|
||||
// flow uses (see FileImportController.addTracks).
|
||||
if trackNeedConversion(track.format), track.isMember(of: MP42ChapterTrack.self) == false {
|
||||
switch track {
|
||||
case let audioTrack as MP42AudioTrack:
|
||||
audioTrack.conversionSettings = MP42AudioConversionSettings.audioConversion(withBitRate: Prefs.audioBitrate,
|
||||
mixDown: MP42AudioMixdown(Prefs.audioMixdown),
|
||||
drc: Prefs.audioDRC)
|
||||
case let subtitleTrack as MP42SubtitleTrack:
|
||||
subtitleTrack.conversionSettings = MP42ConversionSettings.subtitlesConversion()
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
file.addTrack(track)
|
||||
// addTrack: zeroes trackId (pending-mux bookkeeping, the real
|
||||
// IDs come from the muxer) and tags-only documents are never
|
||||
// muxed, so assign display IDs 1-based like MKV players number
|
||||
// tracks. The chapter track is numbered too, matching how the
|
||||
// muxer would eventually number it.
|
||||
displayTrackId += 1
|
||||
track.trackId = displayTrackId
|
||||
}
|
||||
return file
|
||||
}
|
||||
|
||||
/// - parameter model: the tags-only model built by `buildModel(from:)`
|
||||
/// from this same `importer` (track identity is the pairing baseline).
|
||||
init(sourceURL: URL, importer: MP42FileImporter, model: MP42File) {
|
||||
self.sourceURL = sourceURL
|
||||
// Order-sensitive snapshot for the remuxer's TrackEntry pairing; the
|
||||
// chapter pseudo-track has no TrackEntry and must not shift positions.
|
||||
self.sourceTracks = importer.tracks.filter { $0.isMember(of: MP42ChapterTrack.self) == false }
|
||||
self.chaptersSnapshot = Self.chapterRows(model.chapters)
|
||||
snapshotSourceFile()
|
||||
}
|
||||
|
||||
// MARK: Save
|
||||
|
||||
/// Writes the model back with the window's save branching.
|
||||
///
|
||||
/// - parameter forceStructural: forces the remuxer rebuild even without
|
||||
/// detected model changes — what the window passes for optimize and
|
||||
/// Save-As, and what the queue passes when the destination differs
|
||||
/// from the source (a renamed output or a queue destination folder).
|
||||
func save(model: MP42File, to url: URL, forceStructural: Bool) throws {
|
||||
guard MP42FileImporter.isMatroskaFileType(url.pathExtension) else {
|
||||
throw NSError(domain: NSCocoaErrorDomain, code: NSFileWriteUnknownError,
|
||||
userInfo: [NSLocalizedDescriptionKey: NSLocalizedString("Matroska documents can only be saved as a .mkv, .mka or .mks file.", comment: "Document MKV save destination type error.")])
|
||||
}
|
||||
|
||||
let currentTracks = model.tracks.filter { $0.isMember(of: MP42ChapterTrack.self) == false }
|
||||
// Structural change == some importer-created track is gone, or the
|
||||
// model carries a track the importer never produced (an imported
|
||||
// subtitle). Tracks are paired by object identity, so a reordered
|
||||
// (impossible: reorder is gated on MKV docs) or merely renamed track
|
||||
// still compares equal.
|
||||
let tracksChanged = currentTracks.count != sourceTracks.count ||
|
||||
currentTracks.contains { track in sourceTracks.contains(where: { $0 === track }) == false }
|
||||
// Chapters ride the remuxer too: the Chapters element sits before the
|
||||
// Clusters, so any size change shifts every following byte (the tag
|
||||
// writer's in-place machinery is tail-only). An added-but-empty
|
||||
// chapter track means "delete every chapter" — the remuxer removes
|
||||
// the element.
|
||||
let modelChapterRows = Self.chapterRows(model.chapters)
|
||||
let chaptersChanged: Bool
|
||||
switch (modelChapterRows, chaptersSnapshot) {
|
||||
case (nil, nil): chaptersChanged = false
|
||||
case let (model?, snapshot?):
|
||||
chaptersChanged = model.count != snapshot.count ||
|
||||
zip(model, snapshot).contains { $0.timestamp != $1.timestamp
|
||||
|| $0.title != $1.title || $0.language != $1.language }
|
||||
default: chaptersChanged = true
|
||||
}
|
||||
|
||||
// A forced rebuild is the Matroska equivalent of reordering atoms:
|
||||
// rebuilding the whole file — blocks stream-copied verbatim,
|
||||
// Tracks/Tags rewritten, SeekHead and Cues regenerated — i.e.
|
||||
// exactly the Save-As pass, done in place through the remuxer's
|
||||
// temp file + atomic rename when the destination is the source.
|
||||
if tracksChanged || chaptersChanged || forceStructural {
|
||||
// An absent model track means "no chapters" — pass an empty
|
||||
// track so the remuxer removes the element rather than copying
|
||||
// the old one verbatim (nil replacement = verbatim).
|
||||
try remux(model: model, to: url, currentTracks: currentTracks,
|
||||
replacementChapters: chaptersChanged ? (model.chapters ?? MP42ChapterTrack()) : nil)
|
||||
return
|
||||
}
|
||||
|
||||
let writer = MP42MkvTagWriter(url: url)
|
||||
writer.expectedFileSize = fileSize
|
||||
writer.expectedModificationDate = fileModificationDate
|
||||
writer.progressHandler = { [weak self] progress in
|
||||
self?.progressHandler?(progress)
|
||||
}
|
||||
activeWriter = writer
|
||||
defer { activeWriter = nil }
|
||||
// Track edits (name/language/enabled/subtitle forced) ride along; the
|
||||
// chapter pseudo-track is skipped by the writer.
|
||||
try writer.write(model.metadata, tracks: model.tracks)
|
||||
// The file we just wrote is the new baseline for the staleness check.
|
||||
snapshotSourceFile()
|
||||
}
|
||||
|
||||
func cancel() {
|
||||
activeWriter?.cancel()
|
||||
activeRemuxer?.cancel()
|
||||
}
|
||||
|
||||
// MARK: Remux
|
||||
|
||||
// Stream-copy rebuild: blocks are copied verbatim except those of removed
|
||||
// tracks, and metadata/cover/track-field edits ride in the same pass.
|
||||
// Writes a temp file and renames atomically; see MP42MkvRemuxer.h.
|
||||
private func remux(model: MP42File, to url: URL, currentTracks: [MP42Track],
|
||||
replacementChapters: MP42ChapterTrack?) throws {
|
||||
let remuxer = MP42MkvRemuxer(sourceURL: sourceURL)
|
||||
remuxer.expectedFileSize = fileSize
|
||||
remuxer.expectedModificationDate = fileModificationDate
|
||||
remuxer.progressHandler = { [weak self] progress in
|
||||
self?.progressHandler?(progress)
|
||||
}
|
||||
// nil keeps the source Chapters element verbatim.
|
||||
remuxer.replacementChapters = replacementChapters
|
||||
activeRemuxer = remuxer
|
||||
defer { activeRemuxer = nil }
|
||||
try remuxer.remux(to: url, metadata: model.metadata,
|
||||
sourceTracks: sourceTracks, currentTracks: currentTracks)
|
||||
// The written file's chapters are exactly what the model holds now
|
||||
// (modulo the writer's own sort/clamp, which the model then absorbs
|
||||
// on the next read — an untouched save must not look "changed").
|
||||
chaptersSnapshot = Self.chapterRows(model.chapters)
|
||||
// The output keeps the surviving TrackEntry elements in source file
|
||||
// order and appends one TrackEntry per added subtitle track last
|
||||
// (MP42MkvRemuxer), so re-snapshot the pairing baseline in that same
|
||||
// order — otherwise the appended track would look "added" again on
|
||||
// the next save and the TrackEntry count would mispair.
|
||||
let addedTracks = currentTracks.filter { track in
|
||||
sourceTracks.contains(where: { $0 === track }) == false
|
||||
}
|
||||
sourceTracks = sourceTracks.filter { track in
|
||||
currentTracks.contains(where: { $0 === track })
|
||||
} + addedTracks
|
||||
// A Save-As-style different destination becomes the new source: the
|
||||
// next save reads/pairs against the file we just wrote.
|
||||
if url != sourceURL {
|
||||
sourceURL = url
|
||||
}
|
||||
snapshotSourceFile()
|
||||
}
|
||||
|
||||
// MARK: Baseline helpers
|
||||
|
||||
private func snapshotSourceFile() {
|
||||
let attributes = try? FileManager.default.attributesOfItem(atPath: sourceURL.path)
|
||||
fileSize = (attributes?[.size] as? NSNumber)?.uint64Value ?? 0
|
||||
fileModificationDate = attributes?[.modificationDate] as? Date
|
||||
}
|
||||
|
||||
private static func chapterRows(_ track: MP42ChapterTrack?)
|
||||
-> [(timestamp: UInt64, title: String, language: String)]? {
|
||||
guard let track else { return nil }
|
||||
// The language is track-level; repeated per row so the zip comparison
|
||||
// above covers language-only edits.
|
||||
let language = track.language
|
||||
return track.chapters.map { ($0.timestamp, $0.title, language) }
|
||||
}
|
||||
}
|
||||
@@ -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,13 +59,14 @@ 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)
|
||||
}
|
||||
|
||||
self.remoteArtworks = [item.images.coverArt16X9, item.images.coverArt].compactMap { $0?.artwork(type: .poster) }
|
||||
self.remoteArtworks += [item.images.previewFrame].compactMap { $0?.artwork(type: .backdrop) }
|
||||
self.remoteArtworks += [episode.seasonImages.coverArt16X9, episode.seasonImages.coverArt].compactMap { $0?.artwork(type: .season) }
|
||||
self.remoteArtworks += [episode.images.previewFrame].compactMap { $0?.artwork(type: .episode) }
|
||||
}
|
||||
@@ -130,7 +131,7 @@ public struct AppleTV: MetadataService {
|
||||
private let detailsURL = "https://uts-api.itunes.apple.com/uts/v2/view/product/"
|
||||
private let episodesURL = "https://uts-api.itunes.apple.com/uts/v2/view/show/"
|
||||
private let seasonsURL = "https://uts-api.itunes.apple.com/uts/v2/show/"
|
||||
private let options = "&utsk=0&caller=wta&v=58&pfm=desktop"
|
||||
private let options = "&utsk=0&caller=wta&v=58&pfm=appletv"
|
||||
|
||||
private func normalize(_ term: String) -> String {
|
||||
return term.replacingOccurrences(of: " (Dubbed)", with: "")
|
||||
@@ -156,16 +157,21 @@ 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)
|
||||
|
||||
if let season = metadata[.season] as? Int {
|
||||
let index = metadata.remoteArtworks.count > 1 ? 1 : 0
|
||||
metadata.remoteArtworks.insert(contentsOf: searchSeasons(id: id, season: season, store: store), at: index)
|
||||
let seasonArtworks = searchSeasons(id: id, season: season, store: store)
|
||||
|
||||
if let season16x9 = seasonArtworks.first(where: { $0.size == .rectangle } ) {
|
||||
metadata.remoteArtworks.insert(season16x9, at: index)
|
||||
}
|
||||
}
|
||||
|
||||
metadata.remoteArtworks.sortTopPicks(service: self.name)
|
||||
return metadata
|
||||
}
|
||||
|
||||
@@ -221,7 +227,8 @@ public struct AppleTV: MetadataService {
|
||||
let urlString = "\(seasonsURL)\(id)/itunesSeasons?sf=\(store.storeCode)&locale=\(store.language2)\(options)"
|
||||
if let url = URL(string: urlString), let results = sendJSONRequest(url: url, type: Wrapper<Seasons>.self) {
|
||||
let filteredResults = results.data.seasons.values.joined().filter { $0.seasonNumber == season }
|
||||
return filteredResults.compactMap { $0.images.coverArt16X9?.artwork(type: .season) }
|
||||
return filteredResults.compactMap { $0.images.coverArt16X9?.artwork(type: .season) } +
|
||||
filteredResults.compactMap { $0.images.coverArt?.artwork(type: .season) }
|
||||
}
|
||||
return []
|
||||
}
|
||||
@@ -236,9 +243,9 @@ public struct AppleTV: MetadataService {
|
||||
let items = results.data.canvas?.shelves.first?.items
|
||||
.filter { $0.type == type.description }
|
||||
|
||||
if let result = items?.filter({ $0.title == normalizedTerm }).first {
|
||||
if let result = items?.filter({ $0.title?.caseInsensitiveCompare(normalizedTerm) == .orderedSame }).first {
|
||||
return result
|
||||
} else if let result = items?.first {
|
||||
} else if let result = items?.filter({ $0.title?.minimumEditDistance(other: normalizedTerm) ?? Int.max < 8 }).first {
|
||||
return result
|
||||
} else {
|
||||
return nil
|
||||
@@ -247,15 +254,29 @@ public struct AppleTV: MetadataService {
|
||||
|
||||
if let filteredResult = filteredResult {
|
||||
|
||||
if let artworks = filteredResult.images.coverArt16X9?.artwork(type: .poster) {
|
||||
var artworksSet = Set<Artwork>()
|
||||
|
||||
if case let MediaType.tvShow(season) = type {
|
||||
if let season = season {
|
||||
return [artworks] + searchSeasons(id: filteredResult.id, season: season, store: store)
|
||||
if let poster = filteredResult.images.coverArt16X9?.artwork(type: .poster) {
|
||||
artworksSet.insert(poster)
|
||||
}
|
||||
|
||||
if let poster = filteredResult.images.coverArt?.artwork(type: .poster) {
|
||||
artworksSet.insert(poster)
|
||||
}
|
||||
|
||||
if case let MediaType.tvShow(season) = type {
|
||||
if let season = season {
|
||||
let seasonArtworks = searchSeasons(id: filteredResult.id, season: season, store: store)
|
||||
if let season16x9 = seasonArtworks.first(where: { $0.size == .rectangle } ) {
|
||||
artworksSet.insert(season16x9)
|
||||
}
|
||||
if let seasonSquare = seasonArtworks.first(where: { $0.size == .square } ) {
|
||||
artworksSet.insert(seasonSquare)
|
||||
}
|
||||
}
|
||||
return [artworks]
|
||||
}
|
||||
|
||||
return Array(artworksSet)
|
||||
}
|
||||
}
|
||||
return []
|
||||
@@ -360,11 +381,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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,9 +9,20 @@ import Foundation
|
||||
|
||||
// MARK: - Filename
|
||||
|
||||
/// A metadata service ID embedded in the file name (e.g. `{tmdb-1015812}`).
|
||||
public enum MetadataFileID: Equatable {
|
||||
case tmdb(Int)
|
||||
case tvdb(Int)
|
||||
/// Normalized to the `tt…` form, leading zeros preserved.
|
||||
case imdb(String)
|
||||
}
|
||||
|
||||
public enum MetadataSearchTerms {
|
||||
case none
|
||||
case movie(title: String)
|
||||
/// `id` is a metadata service ID parsed from the file name, when present.
|
||||
/// `year` is a release year parsed from the file name, when present; it
|
||||
/// lets search-result ranking prefer the same-year entry.
|
||||
case movie(title: String, id: MetadataFileID? = nil, year: Int? = nil)
|
||||
case tvShow(seriesName: String, season: Int?, episode: Int?)
|
||||
|
||||
public var isMovie: Bool { get {
|
||||
@@ -54,6 +65,50 @@ private func parseAnimeFilename(_ filename: String) -> MetadataSearchTerms? {
|
||||
return result
|
||||
}
|
||||
|
||||
/// Parses the `id:<kind>:<value>` line emitted by ParseFilename.pl, when present.
|
||||
private func parseFileID(_ lines: [Substring]) -> MetadataFileID? {
|
||||
guard let idLine = lines.first(where: { $0.hasPrefix("id:") }) else { return nil }
|
||||
|
||||
let components = idLine.dropFirst(3).split(separator: ":", omittingEmptySubsequences: false)
|
||||
guard components.count == 2, components[1].isEmpty == false else { return nil }
|
||||
|
||||
let kind = components[0]
|
||||
let value = components[1]
|
||||
|
||||
switch kind {
|
||||
case "tmdb":
|
||||
return Int(value).map(MetadataFileID.tmdb)
|
||||
case "tvdb":
|
||||
return Int(value).map(MetadataFileID.tvdb)
|
||||
case "imdb", "tt":
|
||||
// The parser strips the `tt` prefix from IMDb IDs; the find API wants it back.
|
||||
return .imdb("tt" + value)
|
||||
default:
|
||||
// A bare number with no known prefix is too ambiguous for a direct lookup.
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// 1950–2099 keeps resolutions (720/1080) and tiny numbers out of the match.
|
||||
// Group 1 is the year in both; the class metacharacters must be escaped or
|
||||
// ICU refuses to compile the pattern at all.
|
||||
private let bracketedYearRegex = try? NSRegularExpression(pattern: "[\\(\\[\\{](19[5-9][0-9]|20[0-9][0-9])[\\)\\]\\}]")
|
||||
private let delimitedYearRegex = try? NSRegularExpression(pattern: "[._ ](19[5-9][0-9]|20[0-9][0-9])(?:[._ ]|$)")
|
||||
|
||||
/// Extracts a release year from the file name. ParseFilename strips the year
|
||||
/// from the title it emits but never reports it, so it is recovered here.
|
||||
/// Bracketed years (`(2026)`, `[2026]`, `{2026}`) are the authoritative
|
||||
/// release-name decoration and win over bare dot/space-delimited ones, which
|
||||
/// can also hit resolution numbers (`Movie.1920.1080p.x264`).
|
||||
private func parseFilenameYear(_ filename: String) -> Int? {
|
||||
for regex in [bracketedYearRegex, delimitedYearRegex].compactMap({ $0 }) {
|
||||
guard let match = regex.firstMatch(in: filename, range: NSRange(filename.startIndex..., in: filename)),
|
||||
let yearRange = Range(match.range(at: 1), in: filename) else { continue }
|
||||
return Int(filename[yearRange])
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
private func parseFilename(_ filename: String) -> MetadataSearchTerms? {
|
||||
guard let path = Bundle.main.path(forResource: "ParseFilename", ofType: "") else { return nil }
|
||||
|
||||
@@ -86,7 +141,7 @@ private func parseFilename(_ filename: String) -> MetadataSearchTerms? {
|
||||
.replacingOccurrences(of: "[", with: " ")
|
||||
.replacingOccurrences(of: "]", with: " ")
|
||||
.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
|
||||
return MetadataSearchTerms.movie(title: newTitle)
|
||||
return MetadataSearchTerms.movie(title: newTitle, id: parseFileID(lines), year: parseFilenameYear(filename))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,4 +163,53 @@ extension String {
|
||||
func trimmingWhitespacesAndNewlinews() -> String {
|
||||
return trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
|
||||
}
|
||||
|
||||
/// The release year decorated in a file name (`Title (2026)`, `Title.2026`), when present.
|
||||
func parsedAsFilenameYear() -> Int? {
|
||||
return parseFilenameYear(self)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Movie result ranking
|
||||
|
||||
private func normalizedSearchTitle(_ title: String) -> String {
|
||||
let folded = title.folding(options: [.caseInsensitive, .diacriticInsensitive], locale: nil)
|
||||
return String(String.UnicodeScalarView(folded.unicodeScalars.filter { CharacterSet.alphanumerics.contains($0) }))
|
||||
}
|
||||
|
||||
/// The release year of a search result, as far as its (usually ISO) release
|
||||
/// date string exposes it.
|
||||
private func movieResultYear(_ result: MetadataResult) -> Int? {
|
||||
guard let releaseDate = result[.releaseDate] as? String else { return nil }
|
||||
return Int(releaseDate.split(separator: "-").first ?? "")
|
||||
}
|
||||
|
||||
/// Orders movie title-search results so the most likely match for a searched
|
||||
/// title comes first: exact title matches on top (year-matching ones before
|
||||
/// the rest), then year-matching fuzzy hits, then the service's own order.
|
||||
/// The sort is stable, so the provider's relevance ranking survives inside
|
||||
/// each band — it only stops exact matches from being scattered among the
|
||||
/// fuzzy ones. Keep every caller indexing into the same list ranking the same
|
||||
/// way (the AppleScript result list and its index-based fetch must agree).
|
||||
func rankMovieResults(_ results: [MetadataResult], title: String, year: Int?) -> [MetadataResult] {
|
||||
let wanted = normalizedSearchTitle(title)
|
||||
|
||||
func rank(_ result: MetadataResult) -> Int {
|
||||
let name = (result[.name] as? String).map(normalizedSearchTitle)
|
||||
let titleMatch = wanted.isEmpty == false && name == wanted
|
||||
let yearMatch = year != nil && movieResultYear(result) == year
|
||||
switch (titleMatch, yearMatch) {
|
||||
case (true, true): return 3
|
||||
case (true, false): return 2
|
||||
case (false, true): return 1
|
||||
case (false, false): return 0
|
||||
}
|
||||
}
|
||||
|
||||
struct Ranked { let offset: Int; let result: MetadataResult; let rank: Int }
|
||||
let ranked = results.enumerated().map { Ranked(offset: $0.offset, result: $0.element, rank: rank($0.element)) }
|
||||
let ordered: [Ranked] = ranked.sorted { (a: Ranked, b: Ranked) -> Bool in
|
||||
return a.rank != b.rank ? a.rank > b.rank : a.offset < b.offset
|
||||
}
|
||||
return ordered.map { $0.result }
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -44,10 +62,22 @@ public protocol MetadataService {
|
||||
func loadTVMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult
|
||||
|
||||
func search(movie: String, language: String) -> [MetadataResult]
|
||||
func search(movieID id: MetadataFileID, language: String) -> [MetadataResult]
|
||||
func loadMovieMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult
|
||||
|
||||
}
|
||||
|
||||
public extension MetadataService {
|
||||
|
||||
/// Direct lookup of a movie by an ID embedded in the file name.
|
||||
/// The default implementation answers an empty result, which callers treat
|
||||
/// as "not supported/not found" and fall back to the title search.
|
||||
func search(movieID id: MetadataFileID, language: String) -> [MetadataResult] {
|
||||
return []
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum MetadataNameSearch {
|
||||
case tvNameSearch(service: MetadataService, tvShow: String, language: String)
|
||||
|
||||
@@ -77,6 +107,7 @@ public enum MetadataType : Int, CustomStringConvertible, Codable {
|
||||
|
||||
public enum MetadataSearch {
|
||||
case movieSeach(service: MetadataService, movie: String, language: String)
|
||||
case movieIDSearch(service: MetadataService, id: MetadataFileID, language: String)
|
||||
case tvSearch(service: MetadataService, tvShow: String, season: Int?, episode: Int?, language: String)
|
||||
|
||||
public func search(completionHandler: @escaping ([MetadataResult]) -> Void) -> Runnable {
|
||||
@@ -84,6 +115,9 @@ public enum MetadataSearch {
|
||||
case let .movieSeach(service, movie, language):
|
||||
return RunnableTask(search: service.search(movie: movie, language: language),
|
||||
completionHandler: completionHandler)
|
||||
case let .movieIDSearch(service, id, language):
|
||||
return RunnableTask(search: service.search(movieID: id, language: language),
|
||||
completionHandler: completionHandler)
|
||||
case let .tvSearch(service, tvShow, season, episode, language):
|
||||
return RunnableTask(search: service.search(tvShow: tvShow, language: language, season: season, episode: episode),
|
||||
completionHandler: completionHandler)
|
||||
@@ -95,6 +129,10 @@ public enum MetadataSearch {
|
||||
case let .movieSeach(service, _, language):
|
||||
return RunnableTask(search: service.loadMovieMetadata(metadata, language: language),
|
||||
completionHandler: completionHandler)
|
||||
case .movieIDSearch:
|
||||
// The ID lookup already returns the full movie details.
|
||||
return RunnableTask(search: metadata,
|
||||
completionHandler: completionHandler)
|
||||
case let .tvSearch(service, _, _, _, language):
|
||||
return RunnableTask(search: service.loadTVMetadata(metadata, language: language),
|
||||
completionHandler: completionHandler)
|
||||
@@ -103,7 +141,7 @@ public enum MetadataSearch {
|
||||
|
||||
public var type: MetadataType {
|
||||
switch self {
|
||||
case .movieSeach:
|
||||
case .movieSeach, .movieIDSearch:
|
||||
return .movie
|
||||
case .tvSearch:
|
||||
return .tvShow
|
||||
@@ -113,7 +151,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 +185,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")
|
||||
}
|
||||
|
||||
}
|
||||
@@ -19,12 +19,36 @@ public enum ArtworkSize : Int, CustomStringConvertible {
|
||||
return "square"
|
||||
case .rectangle:
|
||||
return "rectangle"
|
||||
case .vertical:
|
||||
return "vertical"
|
||||
case .fullscreen:
|
||||
return "fullscreen"
|
||||
case .widescreen:
|
||||
return "widescreen"
|
||||
case .maxres:
|
||||
return "maxres"
|
||||
case .low:
|
||||
return "low"
|
||||
case .medium:
|
||||
return "medium"
|
||||
case .high:
|
||||
return "high"
|
||||
case .`default`:
|
||||
return "default"
|
||||
}
|
||||
}
|
||||
|
||||
case standard
|
||||
case square
|
||||
case rectangle
|
||||
case vertical
|
||||
case fullscreen
|
||||
case widescreen
|
||||
case maxres
|
||||
case low
|
||||
case medium
|
||||
case high
|
||||
case `default`
|
||||
}
|
||||
|
||||
public enum ArtworkType : Int, CustomStringConvertible {
|
||||
@@ -38,6 +62,8 @@ public enum ArtworkType : Int, CustomStringConvertible {
|
||||
return "episode"
|
||||
case .backdrop:
|
||||
return "backdrop"
|
||||
case .person:
|
||||
return "person"
|
||||
|
||||
case .none:
|
||||
return NSLocalizedString("None", comment: "Queue metadata search artwork type")
|
||||
@@ -57,15 +83,83 @@ public enum ArtworkType : Int, CustomStringConvertible {
|
||||
case season
|
||||
case episode
|
||||
case backdrop
|
||||
case none
|
||||
case person = 5
|
||||
case none = 4
|
||||
}
|
||||
|
||||
public struct Artwork {
|
||||
public struct Artwork: Equatable, Hashable {
|
||||
public let url: URL
|
||||
public let thumbURL: URL
|
||||
public let service: String
|
||||
public let type: ArtworkType
|
||||
public let size: ArtworkSize
|
||||
|
||||
public static func == (lhs: Artwork, rhs: Artwork) -> Bool {
|
||||
return lhs.url == rhs.url
|
||||
}
|
||||
|
||||
public func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(url)
|
||||
}
|
||||
|
||||
public static func unique(artworks: [Artwork]) -> [Artwork] {
|
||||
var uniques = [Artwork]()
|
||||
for artwork in artworks {
|
||||
if !uniques.contains(artwork) {
|
||||
uniques.append(artwork)
|
||||
}
|
||||
}
|
||||
return uniques
|
||||
}
|
||||
}
|
||||
|
||||
extension Array where Element == Artwork {
|
||||
|
||||
func first(by type: ArtworkType, size: ArtworkSize, service: String) -> Artwork? {
|
||||
if type == .backdrop || type == .episode {
|
||||
let serviceArtwork = self.filter { $0.type == type && $0.service == service }.first
|
||||
let artwork = self.filter { $0.type == type }.first
|
||||
return serviceArtwork != nil ? serviceArtwork : artwork
|
||||
}
|
||||
else {
|
||||
let serviceArtwork = self.filter { $0.type == type && $0.size == size && $0.service == service }.first
|
||||
let artwork = self.filter { $0.type == type && $0.size == size}.first
|
||||
return serviceArtwork != nil ? serviceArtwork : artwork
|
||||
}
|
||||
}
|
||||
|
||||
mutating func sortTopPicks(service: String) {
|
||||
let poster = first(by: .poster, size: .standard, service: service)
|
||||
let posterRect = first(by: .poster, size: .rectangle, service: AppleTV().name)
|
||||
let posterSquare = first(by: .poster, size: .square, service: AppleTV().name)
|
||||
let season = first(by: .season, size: .standard, service: service)
|
||||
let seasonRect = first(by: .season, size: .rectangle, service: AppleTV().name)
|
||||
let seasonSquare = first(by: .season, size: .square, service: AppleTV().name)
|
||||
let backdrop = first(by: .backdrop, size: .standard, service: service)
|
||||
let episode = first(by: .episode, size: .standard, service: service)
|
||||
|
||||
let topPicks = [poster, posterRect, posterSquare,
|
||||
season, seasonRect, seasonSquare,
|
||||
backdrop, episode]
|
||||
|
||||
for pick in topPicks {
|
||||
if let pick, let index = firstIndex(of: pick) {
|
||||
remove(at: index)
|
||||
}
|
||||
}
|
||||
|
||||
for pick in topPicks.reversed() {
|
||||
if let pick {
|
||||
insert(pick, at: 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func sortedTopPicks(service: String) -> [Self.Element] {
|
||||
var sorted = self
|
||||
sorted.sortTopPicks(service: service)
|
||||
return sorted
|
||||
}
|
||||
}
|
||||
|
||||
public enum MediaKind: Int {
|
||||
@@ -113,8 +207,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 {
|
||||
@@ -156,10 +251,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,
|
||||
@@ -178,7 +273,11 @@ public final class MetadataResult {
|
||||
.copyright,
|
||||
.contentID,
|
||||
.artistID,
|
||||
.iTunesCountry]
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID]
|
||||
}
|
||||
|
||||
fileprivate static var tvShowKeys: [Key] {
|
||||
@@ -211,6 +310,10 @@ public final class MetadataResult {
|
||||
.artistID,
|
||||
.playlistID,
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID
|
||||
]
|
||||
}
|
||||
|
||||
@@ -247,8 +350,8 @@ public final class MetadataResult {
|
||||
.iTunesURL,
|
||||
.iTunesCountry,
|
||||
|
||||
.serviceSeriesID,
|
||||
.serviceAdditionalSeriesID,
|
||||
.serviceContentID,
|
||||
.serviceAdditionalContentID,
|
||||
.serviceEpisodeID
|
||||
]
|
||||
}
|
||||
@@ -305,7 +408,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;
|
||||
@@ -52,6 +52,20 @@ public struct TheMovieDB: MetadataService {
|
||||
return results.map { metadata(forMoviePartialResult: $0, language: nil) }
|
||||
}
|
||||
|
||||
public func search(movieID id: MetadataFileID, language: String) -> [MetadataResult] {
|
||||
let result: TMDBMovie?
|
||||
switch id {
|
||||
case .tmdb(let movieID):
|
||||
result = session.fetch(movieID: movieID, language: language)
|
||||
case .imdb(let imdbID):
|
||||
result = session.findMovie(id: imdbID, externalSource: "imdb_id", language: language)
|
||||
case .tvdb:
|
||||
// A TVDB ID identifies a series: no direct movie to fetch, fall back to the title search.
|
||||
return []
|
||||
}
|
||||
return result.map { [metadata(forResult: $0, language: language)] } ?? []
|
||||
}
|
||||
|
||||
// MARK: - Helpers
|
||||
|
||||
private func cleanList(items: [TMDBTuple]?) -> String? {
|
||||
@@ -111,16 +125,9 @@ public struct TheMovieDB: MetadataService {
|
||||
private func loadMovieArtworks(result: TMDBMovie) -> [Artwork] {
|
||||
var artworks: [Artwork] = []
|
||||
|
||||
var iTunesImage = [Artwork](), appleTV = [Artwork]()
|
||||
var appleTV = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
|
||||
DispatchQueue.global().async(group: group) {
|
||||
// add iTunes artwork
|
||||
if let title = result.title, let iTunesMetadata = iTunesStore.quickiTunesSearch(movieName: title) {
|
||||
iTunesImage = iTunesMetadata.remoteArtworks
|
||||
}
|
||||
}
|
||||
|
||||
DispatchQueue.global().async(group: group) {
|
||||
if let title = result.title,
|
||||
let store = iTunesStore.Store(language: "USA (English)") {
|
||||
@@ -130,7 +137,6 @@ public struct TheMovieDB: MetadataService {
|
||||
group.wait()
|
||||
|
||||
artworks.append(contentsOf: appleTV)
|
||||
artworks.append(contentsOf: iTunesImage)
|
||||
|
||||
// Add TheMovieDB artworks
|
||||
if let config = session.fetchConfiguration()?.images,
|
||||
@@ -154,7 +160,7 @@ public struct TheMovieDB: MetadataService {
|
||||
|
||||
}
|
||||
|
||||
return artworks
|
||||
return artworks.sortedTopPicks(service: self.name)
|
||||
}
|
||||
|
||||
private func metadata(forResult result: TMDBMovie, language: String?) -> MetadataResult {
|
||||
@@ -184,12 +190,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 +235,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 +286,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 +367,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)
|
||||
@@ -378,17 +385,8 @@ public struct TheMovieDB: MetadataService {
|
||||
|
||||
artworks.insert(contentsOf: metadata.remoteArtworks, at: 0)
|
||||
|
||||
var iTunesImage = [Artwork](), appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||
var appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
DispatchQueue.global().async(group: group) {
|
||||
// add iTunes artwork
|
||||
if let name = metadata[.seriesName] as? String,
|
||||
let iTunesMetadata = iTunesStore.quickiTunesSearch(tvSeriesName: name,
|
||||
seasonNum: metadata[.season] as? Int,
|
||||
episodeNum: metadata[.episodeNumber] as? Int) {
|
||||
iTunesImage = iTunesMetadata.remoteArtworks
|
||||
}
|
||||
}
|
||||
DispatchQueue.global().async(group: group) {
|
||||
if let name = metadata[.seriesName] as? String,
|
||||
let season = metadata[.season] as? Int,
|
||||
@@ -403,11 +401,10 @@ public struct TheMovieDB: MetadataService {
|
||||
}
|
||||
group.wait()
|
||||
|
||||
artworks.insert(contentsOf: iTunesImage, at: 0)
|
||||
artworks.insert(contentsOf: squareTVArt, at: 0)
|
||||
artworks.insert(contentsOf: appleTV, at: 0)
|
||||
|
||||
metadata.remoteArtworks = artworks
|
||||
metadata.remoteArtworks = artworks.sortedTopPicks(service: self.name)
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
@@ -285,6 +285,21 @@ final public class TheMovieDBService {
|
||||
return result
|
||||
}
|
||||
|
||||
/// Resolves an external ID (e.g. an `tt…` IMDb ID with `external_source=imdb_id`)
|
||||
/// to a movie and fetches its full details.
|
||||
public func findMovie(id externalID: String, externalSource: String, language: String) -> TMDBMovie? {
|
||||
guard let url = URL(string: basePath + "find/" + externalID + "?api_key=" + key + "&external_source=" + externalSource),
|
||||
let result = sendJSONRequest(url: url, language: language, type: FindResults.self),
|
||||
let movieID = result.movie_results?.first?.id
|
||||
else { return nil }
|
||||
|
||||
return fetch(movieID: movieID, language: language)
|
||||
}
|
||||
|
||||
private struct FindResults : Codable {
|
||||
let movie_results: [TMDBMovieSearchResult]?
|
||||
}
|
||||
|
||||
public func search(series: String, language: String) -> [TMDBTVSearchResult] {
|
||||
let encodedName = series.urlEncoded()
|
||||
|
||||
|
||||
@@ -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] ?? $0.name } )
|
||||
|
||||
if results.isEmpty {
|
||||
return TheMovieDB().search(tvShow: tvShow, language: language)
|
||||
@@ -55,31 +49,37 @@ 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, language: String) -> Bool {
|
||||
if let seriesName = series.translations?[language] ?? 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, language: String) -> [String] {
|
||||
let series = session.fetch(series: seriesName)
|
||||
let sorted = series.sorted { el1, el2 -> Bool in
|
||||
return el1.seriesName?.caseInsensitiveCompare(seriesName) == .orderedSame ? true : false
|
||||
let name = el1.translations?[language] ?? el1.name
|
||||
let order = name?.caseInsensitiveCompare(seriesName)
|
||||
return order == .orderedSame ? true : false
|
||||
}
|
||||
let filteredSeries = sorted.filter { $0.status.isEmpty == false && match(series: $0, name: seriesName) }.map { $0.id }
|
||||
let filteredSeries = sorted.filter {
|
||||
$0.status?.isEmpty == false && match(series: $0, name: seriesName, language: language)
|
||||
}.map { $0.tvdb_id }
|
||||
|
||||
if filteredSeries.isEmpty == false {
|
||||
return filteredSeries
|
||||
}
|
||||
else if let firstItemsID = series.first?.id {
|
||||
} else if let firstItemsID = series.first?.tvdb_id {
|
||||
return [firstItemsID]
|
||||
}
|
||||
else {
|
||||
@@ -89,12 +89,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 +127,127 @@ public struct TheTVDB : MetadataService {
|
||||
}
|
||||
}
|
||||
|
||||
private func merge(episode: TVDBEpisode, info: TVDBSeriesInfo, actors: [TVDBActor]) -> MetadataResult {
|
||||
fileprivate func cleanArtworks(_ records: [TVDBArtworBaseRecord]) -> [Artwork] {
|
||||
var artworks: [Artwork] = []
|
||||
let artworkTypes = session.fetchArtworkTypes()
|
||||
|
||||
for artwork in records {
|
||||
let url = URL(string: artwork.image)
|
||||
let thumbnailURL = URL(string: artwork.thumbnail)
|
||||
|
||||
var type: ArtworkType?
|
||||
var size: ArtworkSize = .default
|
||||
|
||||
let artworkType = artworkTypes.first(where: { $0.id == artwork.type })
|
||||
switch (artworkType?.name, artworkType?.recordType) {
|
||||
case ("Poster", "movie"):
|
||||
type = .poster
|
||||
case ("Background", "movie"):
|
||||
type = .backdrop
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
switch (artworkType?.width ?? 1, artworkType?.height ?? 1) {
|
||||
case (let width, let height) where width == height:
|
||||
size = .square
|
||||
case (let width, let height) where width >= height:
|
||||
size = .rectangle
|
||||
case (let width, let height) where height > width:
|
||||
size = .standard
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
if let url, let thumbnailURL, let type {
|
||||
let entry = Artwork(url: url,
|
||||
thumbURL: thumbnailURL,
|
||||
service: self.name,
|
||||
type: type,
|
||||
size: size)
|
||||
artworks.append(entry)
|
||||
}
|
||||
}
|
||||
|
||||
return artworks
|
||||
}
|
||||
|
||||
fileprivate func cleanArtworks(_ records: [TVDBArtworkExtendedRecord]) -> [Artwork] {
|
||||
var artworks: [Artwork] = []
|
||||
let artworkTypes = session.fetchArtworkTypes()
|
||||
|
||||
for artwork in records {
|
||||
let url = URL(string: artwork.image)
|
||||
let thumbnailURL = URL(string: artwork.thumbnail)
|
||||
|
||||
var type: ArtworkType?
|
||||
var size: ArtworkSize = .default
|
||||
|
||||
let artworkType = artworkTypes.first(where: { $0.id == artwork.type })
|
||||
switch (artworkType?.name, artworkType?.recordType) {
|
||||
case ("Poster", "series"):
|
||||
type = .poster
|
||||
case ("Poster", "season"):
|
||||
type = .season
|
||||
case ("Background", "series"),
|
||||
("Background", "season"):
|
||||
type = .backdrop
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
switch (artworkType?.width ?? 1, artworkType?.height ?? 1) {
|
||||
case (let width, let height) where width == height:
|
||||
size = .square
|
||||
case (let width, let height) where width >= height:
|
||||
size = .rectangle
|
||||
case (let width, let height) where height > width:
|
||||
size = .standard
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
if let url, let thumbnailURL, let type {
|
||||
let entry = Artwork(url: url,
|
||||
thumbURL: thumbnailURL,
|
||||
service: self.name,
|
||||
type: type,
|
||||
size: size)
|
||||
artworks.append(entry)
|
||||
}
|
||||
}
|
||||
|
||||
return artworks
|
||||
}
|
||||
|
||||
private func merge(episode: TVDBEpisodeBaseRecord,
|
||||
info: TVDBSeriesExtendedRecord,
|
||||
translation: TVDBTranslation?,
|
||||
episodeTranslation: TVDBTranslation?) -> MetadataResult {
|
||||
let result = MetadataResult()
|
||||
|
||||
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 +255,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 +328,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,70 +344,38 @@ 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, language: language)
|
||||
|
||||
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
|
||||
|
||||
private func loadiTunesArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
||||
guard let name = metadata[.seriesName] as? String,
|
||||
let seasonNum = metadata[.season] as? Int,
|
||||
let episodeNum = metadata[.episodeNumber] as? Int,
|
||||
let result = iTunesStore.quickiTunesSearch(tvSeriesName: name, seasonNum: seasonNum, episodeNum: episodeNum)
|
||||
else { return [] }
|
||||
|
||||
return result.remoteArtworks
|
||||
}
|
||||
|
||||
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
|
||||
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 +389,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,51 +407,91 @@ 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 appleTV = [Artwork](), squareTVArt = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
DispatchQueue.global().async(group: group) {
|
||||
iTunesImage = self.loadiTunesArtwork(metadata)
|
||||
}
|
||||
DispatchQueue.global().async(group: group) {
|
||||
squareTVArt = self.loadSquareTVArtwork(metadata)
|
||||
}
|
||||
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 = artworks
|
||||
metadata.remoteArtworks.insert(contentsOf: artworks, at: 0)
|
||||
metadata.remoteArtworks.sortTopPicks(service: self.name)
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
// MARK: - Unimplemented movie search
|
||||
// MARK: - Movie search
|
||||
|
||||
private func metadata(forMoviePartialResult result: TVDBSearchResult, language: String?) -> MetadataResult {
|
||||
let metadata = MetadataResult()
|
||||
|
||||
metadata.mediaKind = .movie
|
||||
|
||||
metadata[.serviceContentID] = result.tvdb_id
|
||||
metadata[.name] = result.translations?[language ?? defaultLanguage] ?? result.name
|
||||
metadata[.releaseDate] = result.first_air_time
|
||||
metadata[.longDescription] = (result.overviews?[language ?? defaultLanguage] ?? result.overview)?.trimmingWhitespacesAndNewlinews()
|
||||
metadata[.studio] = result.studios?.first
|
||||
|
||||
return metadata
|
||||
}
|
||||
|
||||
public func search(movie: String, language: String) -> [MetadataResult] {
|
||||
return []
|
||||
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 name = metadata[.name] as? String,
|
||||
let info = session.fetch(movieInfo: movieID)
|
||||
else { return metadata }
|
||||
|
||||
metadata[.releaseDate] = info.first_release?.date
|
||||
metadata[.rating] = cleanList(ratings: info.contentRatings ?? [], mediaKind: .movie)
|
||||
metadata[.genre] = cleanList(genres: info.genres)
|
||||
metadata[.studio] = cleanList(companies: info.companies?.studio ?? [])
|
||||
metadata[.cast] = cleanList(characters: info.characters ?? [], type: "Actor")
|
||||
metadata[.director] = cleanList(characters: info.characters ?? [], type: "Director")
|
||||
metadata[.screenwriters] = cleanList(characters: info.characters ?? [], type: "Writer")
|
||||
metadata[.producers] = cleanList(characters: info.characters ?? [], type: "Producer")
|
||||
metadata[.executiveProducer] = cleanList(characters: info.characters ?? [], type: "Executive Producer")
|
||||
metadata[.composer] = cleanList(characters: info.characters ?? [], type: "Original Music Composer")
|
||||
|
||||
metadata[.serviceContentID] = info.id
|
||||
|
||||
var artworks: [Artwork] = []
|
||||
artworks += cleanArtworks(info.artworks)
|
||||
|
||||
var appleTV = [Artwork]()
|
||||
let group = DispatchGroup()
|
||||
let queue = DispatchQueue.global()
|
||||
|
||||
queue.async(group: group) {
|
||||
if let store = iTunesStore.Store(language: "USA (English)") {
|
||||
appleTV = AppleTV().searchArtwork(term: name, store: store, type: .movie)
|
||||
}
|
||||
}
|
||||
group.wait()
|
||||
|
||||
artworks.insert(contentsOf: appleTV, at: 0)
|
||||
|
||||
metadata.remoteArtworks = artworks.sortedTopPicks(service: self.name)
|
||||
|
||||
return metadata
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -8,44 +8,6 @@
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
private extension String {
|
||||
|
||||
// All content is licensed under the terms of the MIT open source license.
|
||||
// Copyright (c) 2016 Matthijs Hollemans and contributors
|
||||
|
||||
func minimumEditDistance(other: String) -> Int {
|
||||
let m = self.count
|
||||
let n = other.count
|
||||
var matrix = [[Int]](repeating: [Int](repeating: 0, count: n + 1), count: m + 1)
|
||||
|
||||
// initialize matrix
|
||||
for index in 1...m {
|
||||
// the distance of any first string to an empty second string
|
||||
matrix[index][0] = index
|
||||
}
|
||||
|
||||
for index in 1...n {
|
||||
// the distance of any second string to an empty first string
|
||||
matrix[0][index] = index
|
||||
}
|
||||
|
||||
// compute Levenshtein distance
|
||||
for (i, selfChar) in self.enumerated() {
|
||||
for (j, otherChar) in other.enumerated() {
|
||||
if otherChar == selfChar {
|
||||
// substitution of equal symbols with cost 0
|
||||
matrix[i + 1][j + 1] = matrix[i][j]
|
||||
} else {
|
||||
// minimum of the cost of insertion, deletion, or substitution
|
||||
// added to the already computed costs in the corresponding cells
|
||||
matrix[i + 1][j + 1] = Swift.min(matrix[i][j] + 1, matrix[i + 1][j] + 1, matrix[i][j + 1] + 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
return matrix[m][n]
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Data Types
|
||||
|
||||
extension KeyedDecodingContainer {
|
||||
@@ -514,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 {
|
||||
@@ -528,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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -603,7 +565,7 @@ public struct iTunesStore: MetadataService {
|
||||
}
|
||||
|
||||
if let part = part {
|
||||
metadata[.serviceAdditionalSeriesID] = part;
|
||||
metadata[.serviceAdditionalContentID] = part;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -614,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
|
||||
}
|
||||
@@ -660,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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// ChapterSearchController.swift
|
||||
// MetadataSearchController.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 31/07/2017.
|
||||
@@ -57,6 +57,13 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
|
||||
private var state: MetadataSearchState = .none
|
||||
|
||||
/// Service ID parsed from the file name: consumed by the first automatic movie search.
|
||||
private var pendingMovieID: MetadataFileID?
|
||||
|
||||
/// Release year parsed from the file name: consumed by the first completed
|
||||
/// movie search, so it only steers the search seeded by the file name.
|
||||
private var pendingMovieYear: Int?
|
||||
|
||||
private var movieService: MetadataService = MetadataSearch.defaultMovieService
|
||||
private var tvShowService: MetadataService = MetadataSearch.defaultTVService
|
||||
|
||||
@@ -122,10 +129,12 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
case .none:
|
||||
updateUI()
|
||||
|
||||
case .movie(let title):
|
||||
case .movie(let title, let id, let year):
|
||||
searchMode.selectTabViewItem(at: 0)
|
||||
movieName.stringValue = title
|
||||
tvSeriesName.stringValue = title
|
||||
pendingMovieID = id
|
||||
pendingMovieYear = year
|
||||
searchForResults(searchMovieButton)
|
||||
|
||||
case .tvShow(let tvShow, let season, let episode):
|
||||
@@ -193,7 +202,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: "")]
|
||||
|
||||
@@ -242,8 +251,27 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
}
|
||||
|
||||
private func searchMovie() {
|
||||
let language = movieService.languageType.tag(displayName: movieLanguage.titleOfSelectedItem ?? "en")
|
||||
|
||||
if let id = pendingMovieID {
|
||||
// The file name carried a service ID: try a direct lookup first and
|
||||
// consume it either way, so later searches follow the text field.
|
||||
pendingMovieID = nil
|
||||
let searcher = MetadataSearch.movieIDSearch(service: movieService, id: id, language: language)
|
||||
let task = searcher.search(completionHandler: { results in
|
||||
if results.isEmpty {
|
||||
// Not supported by this provider, or unknown ID: fall back to the title search.
|
||||
DispatchQueue.main.async { self.searchForResults(self.searchMovieButton) }
|
||||
}
|
||||
else {
|
||||
self.searchDone(search: searcher, results: results)
|
||||
}
|
||||
}).runAsync()
|
||||
state = .searching(search: searcher, task: task)
|
||||
return
|
||||
}
|
||||
|
||||
let title = movieName.stringValue
|
||||
let language = movieService.languageType.extendedTag(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 +279,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)
|
||||
@@ -272,6 +300,14 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
|
||||
private func searchDone(search: MetadataSearch, results: [MetadataResult]) {
|
||||
DispatchQueue.main.async {
|
||||
var results = results
|
||||
if search.type == .movie {
|
||||
// Exact title matches first, the file-name year preferred among
|
||||
// them; the parsed year steers only the search seeded by the
|
||||
// file name, so it is consumed here.
|
||||
results = rankMovieResults(results, title: self.movieName.stringValue, year: self.pendingMovieYear)
|
||||
self.pendingMovieYear = nil
|
||||
}
|
||||
if let first = results.first {
|
||||
self.state = .completed(search: search, results: results, selectedResult: first)
|
||||
}
|
||||
@@ -331,14 +367,14 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
switch state {
|
||||
case .searching(let search, _):
|
||||
switch search {
|
||||
case .movieSeach(let service, _, _):
|
||||
case .movieSeach(let service, _, _), .movieIDSearch(let service, _, _):
|
||||
progressText.stringValue = String.localizedStringWithFormat(NSLocalizedString("Searching %@ for movie information…", comment: ""), service.name)
|
||||
case .tvSearch(let service, _, _ , _, _):
|
||||
progressText.stringValue = String.localizedStringWithFormat(NSLocalizedString("Searching %@ for episode information…", comment: ""), service.name)
|
||||
}
|
||||
case .additionalSearch(let search, _, _):
|
||||
switch search {
|
||||
case .movieSeach:
|
||||
case .movieSeach, .movieIDSearch:
|
||||
progressText.stringValue = NSLocalizedString("Downloading additional movie metadata…", comment: "")
|
||||
case .tvSearch:
|
||||
progressText.stringValue = NSLocalizedString("Downloading additional TV metadata…", comment: "")
|
||||
@@ -395,9 +431,14 @@ final class MetadataSearchController: NSViewController, NSTableViewDataSource, N
|
||||
startProgressReport()
|
||||
reloadTableData()
|
||||
swithDefaultButton(from: addButton, to: visibleSearchButton(), disableOldButton: true)
|
||||
case .completed:
|
||||
case .completed(_, let results, let selectedResult):
|
||||
stopProgressReport()
|
||||
reloadTableData()
|
||||
// Highlight the default pick (the ranked first result) so the
|
||||
// user sees what Add would apply.
|
||||
if let index = results.firstIndex(where: { $0 === selectedResult }) {
|
||||
resultsTable.selectRowIndexes(IndexSet(integer: index), byExtendingSelection: false)
|
||||
}
|
||||
swithDefaultButton(from: searchMovieButton, to: addButton, disableOldButton: nil)
|
||||
swithDefaultButton(from: searchTvButton, to: addButton, disableOldButton: nil)
|
||||
updateSearchButtonVisibility()
|
||||
|
||||
@@ -38,6 +38,10 @@ class MetadataSearchViewController: ViewController, MetadataSearchControllerDele
|
||||
view.addSubview(metadataViewController.view)
|
||||
}
|
||||
|
||||
override func viewDidAppear() {
|
||||
self.view.window?.autorecalculatesKeyViewLoop = true
|
||||
}
|
||||
|
||||
override func addChild(_ childViewController: NSViewController) {
|
||||
childViewController.view.frame.size = view.frame.size
|
||||
childViewController.view.autoresizingMask = [NSView.AutoresizingMask.width, NSView.AutoresizingMask.height]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="25098" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15504"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -14,9 +14,9 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<view wantsLayer="YES" id="HYk-Hf-rvN">
|
||||
<rect key="frame" x="0.0" y="0.0" width="540" height="520"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="590" height="520"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<point key="canvasLocation" x="111.5" y="68.5"/>
|
||||
<point key="canvasLocation" x="327" y="14"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -230,7 +230,7 @@ final class OCRManager {
|
||||
}
|
||||
|
||||
private lazy var destinationURL = {
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("Subler", isDirectory: true).appendingPathComponent("tessdata", isDirectory: true).appendingPathComponent("v4", isDirectory: true)
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("SublerMKV", isDirectory: true).appendingPathComponent("tessdata", isDirectory: true).appendingPathComponent("v4", isDirectory: true)
|
||||
}()
|
||||
|
||||
private lazy var baseURL = {
|
||||
|
||||
@@ -37,7 +37,6 @@ final class OffsetViewController: NSViewController {
|
||||
@IBAction func setOffset(_ sender: Any) {
|
||||
if track.startOffset != offsetField.doubleValue {
|
||||
track.startOffset = offsetField.doubleValue
|
||||
doc.updateChangeCount(.changeDone)
|
||||
}
|
||||
presentingViewController?.dismiss(self)
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
final class OptionsViewController: NSViewController, NSMenuItemValidation {
|
||||
final class OptionsViewController: NSViewController, NSUserInterfaceValidations {
|
||||
|
||||
@IBOutlet weak var sendToExternalApp: NSButton!
|
||||
@IBOutlet var destButton: NSPopUpButton!
|
||||
@@ -98,8 +98,8 @@ final class OptionsViewController: NSViewController, NSMenuItemValidation {
|
||||
preparePresetsPopUp()
|
||||
}
|
||||
|
||||
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
switch menuItem.action {
|
||||
func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
switch item.action {
|
||||
case #selector(chooseDestination(_:)),
|
||||
#selector(destination(_:)):
|
||||
return true
|
||||
@@ -124,7 +124,11 @@ final class OptionsViewController: NSViewController, NSMenuItemValidation {
|
||||
private func menuItem(url: URL) -> NSMenuItem {
|
||||
let icon = NSWorkspace.shared.icon(forFile: url.path)
|
||||
icon.size = NSSize(width: 16, height: 16)
|
||||
let item = NSMenuItem(title: url.lastPathComponent, action: #selector(destination(_:)), keyEquivalent: "")
|
||||
|
||||
let values = try? url.resourceValues(forKeys: [.localizedNameKey])
|
||||
let title = values?.localizedName ?? url.lastPathComponent
|
||||
|
||||
let item = NSMenuItem(title: title, action: #selector(destination(_:)), keyEquivalent: "")
|
||||
item.image = icon
|
||||
item.target = self
|
||||
item.representedObject = url
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
//
|
||||
// PasteboardItem.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 22/09/2026.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
extension NSPasteboard.PasteboardType {
|
||||
static let tableViewIndex = NSPasteboard.PasteboardType("org.subler.tableViewIndex")
|
||||
}
|
||||
|
||||
class PasteboardItem: NSObject, NSPasteboardWriting {
|
||||
let index: Int
|
||||
let type: NSPasteboard.PasteboardType
|
||||
|
||||
init(index: Int, type: NSPasteboard.PasteboardType) {
|
||||
self.index = index
|
||||
self.type = type
|
||||
}
|
||||
|
||||
func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
|
||||
return [type]
|
||||
}
|
||||
|
||||
func pasteboardPropertyList(forType type: NSPasteboard.PasteboardType) -> Any? {
|
||||
switch type {
|
||||
case self.type:
|
||||
return index
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension NSPasteboardItem {
|
||||
func integer(forType type: NSPasteboard.PasteboardType) -> Int? {
|
||||
guard let data = data(forType: type) else { return nil }
|
||||
let plist = try? PropertyListSerialization.propertyList(
|
||||
from: data,
|
||||
options: .mutableContainers,
|
||||
format: nil)
|
||||
return plist as? Int
|
||||
}
|
||||
}
|
||||
|
||||
extension Array {
|
||||
mutating func move(from start: Index, to end: Index) {
|
||||
guard (0..<count) ~= start, (0...count) ~= end else { return }
|
||||
if start == end { return }
|
||||
let targetIndex = start < end ? end - 1 : end
|
||||
insert(remove(at: start), at: targetIndex)
|
||||
}
|
||||
|
||||
mutating func move(with indexes: IndexSet, to toIndex: Index) {
|
||||
let movingData = indexes.map{ self[$0] }
|
||||
let targetIndex = toIndex - indexes.filter{ $0 < toIndex }.count
|
||||
for (i, e) in indexes.enumerated() {
|
||||
remove(at: e - i)
|
||||
}
|
||||
insert(contentsOf: movingData, at: targetIndex)
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
final class PopUpCellView : NSTableCellView {
|
||||
final class PopUpCellView : NSTableCellView, ExpandedTableViewCellActionable {
|
||||
@IBOutlet var popUpButton: NSPopUpButton!
|
||||
|
||||
func performAction() {
|
||||
self.popUpButton.performClick(self)
|
||||
}
|
||||
}
|
||||
@@ -26,11 +26,6 @@ struct Stored<T> : Registable {
|
||||
let key: String
|
||||
let defaultValue: T
|
||||
|
||||
init(key: String, defaultValue: T) {
|
||||
self.key = key
|
||||
self.defaultValue = defaultValue
|
||||
}
|
||||
|
||||
var wrappedValue: T {
|
||||
get { ud.object(forKey: key) as? T ?? defaultValue }
|
||||
set { ud.set(newValue, forKey: key) }
|
||||
@@ -41,16 +36,41 @@ struct Stored<T> : Registable {
|
||||
}
|
||||
}
|
||||
|
||||
@propertyWrapper
|
||||
struct StoredEnum<T: RawRepresentable> : Registable {
|
||||
let key: String
|
||||
let defaultValue: T
|
||||
|
||||
var wrappedValue: T {
|
||||
get { T(rawValue: (ud.object(forKey: key) as? T.RawValue) ?? defaultValue.rawValue) ?? defaultValue }
|
||||
set { ud.set(newValue.rawValue, forKey: key) }
|
||||
}
|
||||
|
||||
func register(in dictionary: inout [String :Any]) {
|
||||
dictionary[key] = defaultValue.rawValue
|
||||
}
|
||||
}
|
||||
|
||||
@propertyWrapper
|
||||
struct StoredURL : Registable {
|
||||
let key: String
|
||||
let defaultValue: URL?
|
||||
|
||||
var wrappedValue: URL? {
|
||||
get { ud.url(forKey: key) ?? defaultValue }
|
||||
set { ud.set(newValue, forKey: key) }
|
||||
}
|
||||
|
||||
func register(in dictionary: inout [String :Any]) {
|
||||
dictionary[key] = defaultValue
|
||||
}
|
||||
}
|
||||
|
||||
@propertyWrapper
|
||||
struct StoredCodable<T: Codable> : Registable {
|
||||
let key: String
|
||||
let defaultValue: T
|
||||
|
||||
init(key: String, defaultValue: T) {
|
||||
self.key = key
|
||||
self.defaultValue = defaultValue
|
||||
}
|
||||
|
||||
var wrappedValue: T {
|
||||
get {
|
||||
guard let data = ud.data(forKey: key) else { return defaultValue }
|
||||
@@ -70,14 +90,21 @@ struct StoredCodable<T: Codable> : Registable {
|
||||
}
|
||||
}
|
||||
|
||||
enum SaveAsLocation: Int {
|
||||
case automatic = 0
|
||||
case sameAsFile = 1
|
||||
case custom = 2
|
||||
}
|
||||
|
||||
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, _saveAsLocation, _set4KHDVideoMetadata])
|
||||
}
|
||||
|
||||
@Stored(key: "NSApplicationCrashOnException", defaultValue: true)
|
||||
@@ -95,11 +122,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
|
||||
@@ -151,6 +175,28 @@ enum Prefs {
|
||||
|
||||
@Stored(key: "SBForceHvc1", defaultValue: true)
|
||||
static var forceHvc1: Bool
|
||||
|
||||
@Stored(key: "SBSet4KHDVideoMetadata", defaultValue: false)
|
||||
static var set4KHDVideoMetadata: Bool
|
||||
|
||||
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
static var artworkSelectorZoomLevel: Float
|
||||
|
||||
@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
|
||||
|
||||
@StoredEnum(key: "SBSaveAsLocationMode", defaultValue: .automatic)
|
||||
static var saveAsLocation: SaveAsLocation
|
||||
|
||||
/// The folder used when saveAsLocation is set to custom.
|
||||
@StoredURL(key: "SBSaveAsCustomLocation", defaultValue: nil)
|
||||
static var saveAsCustomLocation: URL?
|
||||
}
|
||||
|
||||
enum MetadataPrefs {
|
||||
@@ -158,8 +204,10 @@ enum MetadataPrefs {
|
||||
static func register() {
|
||||
ud.register(defaults: [_setMovieFormat, _setTVShowFormat,
|
||||
_movieImporter, _movieiTunesStoreLanguage,
|
||||
_tvShowImporter, _tvShowiTunesStoreLanguage, _tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
|
||||
_keepEmptyAnnotations, _keepImportedFilesMetadata])
|
||||
_tvShowImporter, _tvShowiTunesStoreLanguage,
|
||||
_tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
|
||||
_keepEmptyAnnotations, _overwriteExistingAnnotations,
|
||||
_keepImportedFilesMetadata])
|
||||
}
|
||||
|
||||
@StoredCodable(key: "SBMovieFormatTokens", defaultValue: [Token(text: "{Name}")])
|
||||
@@ -208,6 +256,9 @@ enum MetadataPrefs {
|
||||
@Stored(key: "SBMetadataKeepEmptyAnnotations", defaultValue: false)
|
||||
static var keepEmptyAnnotations: Bool
|
||||
|
||||
@Stored(key: "SBMetadataOverwriteExistingAnnotations", defaultValue: true)
|
||||
static var overwriteExistingAnnotations: Bool
|
||||
|
||||
@Stored(key: "SBFileImporterImportMetadata", defaultValue: false)
|
||||
static var keepImportedFilesMetadata: Bool
|
||||
}
|
||||
@@ -9,11 +9,11 @@ import Cocoa
|
||||
|
||||
class PrefsWindow: NSWindow {
|
||||
|
||||
override func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
|
||||
if menuItem.action == #selector(NSWindow.toggleToolbarShown(_:)) {
|
||||
override func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool {
|
||||
if item.action == #selector(NSWindow.toggleToolbarShown(_:)) {
|
||||
return false
|
||||
}
|
||||
return super.validateMenuItem(menuItem)
|
||||
return super.validateUserInterfaceItem(item)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -67,14 +67,14 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate {
|
||||
|
||||
// MARK: Panel switching
|
||||
|
||||
private func view(for identifier: NSToolbarItem.Identifier) -> NSView? {
|
||||
private func view(for identifier: NSToolbarItem.Identifier) -> NSView {
|
||||
if identifier == general { return generalController.view }
|
||||
if identifier == metadata { return metadataController.view }
|
||||
if identifier == presets { return presetController.view }
|
||||
if identifier == output { return outputController.view }
|
||||
if identifier == ocr { return ocrController.view }
|
||||
if identifier == advanced { return advancedController.view }
|
||||
return nil
|
||||
return generalController.view
|
||||
}
|
||||
|
||||
private func animationDuration(view: NSView, previousView: NSView?) -> TimeInterval {
|
||||
@@ -82,33 +82,61 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate {
|
||||
return TimeInterval(abs(previousView.frame.size.height - view.frame.height)) * 0.0011
|
||||
}
|
||||
|
||||
func resizeWindow(toFitView view: NSView) {
|
||||
guard let window, let contentView = window.contentView else {
|
||||
return
|
||||
}
|
||||
|
||||
view.setFrameSize(view.fittingSize)
|
||||
|
||||
let viewFrame = view.frame
|
||||
let windowFrame = window.frame
|
||||
let contentViewFrame = contentView.frame
|
||||
|
||||
let windowWidth = max(windowFrame.width, viewFrame.width)
|
||||
let deltaHeight = contentViewFrame.height - viewFrame.height
|
||||
let heightForWindow = windowFrame.height - deltaHeight
|
||||
let windowOriginY = windowFrame.minY + deltaHeight
|
||||
|
||||
var updatedWindowFrame = windowFrame
|
||||
updatedWindowFrame.size.height = heightForWindow
|
||||
updatedWindowFrame.origin.y = windowOriginY
|
||||
updatedWindowFrame.size.width = windowWidth
|
||||
|
||||
var updatedViewFrame = viewFrame
|
||||
updatedViewFrame.origin = NSPoint.zero
|
||||
updatedViewFrame.size.width = windowWidth
|
||||
if viewFrame != updatedViewFrame {
|
||||
view.frame = updatedViewFrame
|
||||
}
|
||||
|
||||
if windowFrame != updatedWindowFrame {
|
||||
contentView.isHidden = true
|
||||
window.setFrame(updatedWindowFrame, display: true, animate: true)
|
||||
contentView.isHidden = false
|
||||
}
|
||||
}
|
||||
|
||||
var currentView: NSView? {
|
||||
window?.contentView?.subviews.first
|
||||
}
|
||||
|
||||
private func selectItem(_ item: NSToolbarItem, animate: Bool) {
|
||||
guard let window = self.window,
|
||||
let view = self.view(for: item.itemIdentifier),
|
||||
window.contentView != view
|
||||
else { return }
|
||||
guard let window, let contentView = window.contentView else { return }
|
||||
|
||||
let duration = animationDuration(view: view, previousView: window.contentView)
|
||||
window.contentView = view
|
||||
|
||||
if window.isVisible && animate {
|
||||
NSAnimationContext.runAnimationGroup({ context in
|
||||
context.allowsImplicitAnimation = true
|
||||
context.duration = duration
|
||||
window.layoutIfNeeded()
|
||||
|
||||
NSAnimationContext.beginGrouping()
|
||||
NSAnimationContext.current.duration = 0
|
||||
view.isHidden = true
|
||||
NSAnimationContext.endGrouping()
|
||||
}, completionHandler: {
|
||||
view.isHidden = false
|
||||
window.title = item.label
|
||||
})
|
||||
}
|
||||
else {
|
||||
window.title = item.label
|
||||
let newView = view(for: item.itemIdentifier)
|
||||
if newView == currentView {
|
||||
return
|
||||
}
|
||||
|
||||
currentView?.removeFromSuperview()
|
||||
|
||||
resizeWindow(toFitView: newView)
|
||||
|
||||
contentView.addSubview(newView)
|
||||
|
||||
window.title = item.label
|
||||
window.makeFirstResponder(newView)
|
||||
}
|
||||
|
||||
@IBAction func setPrefView(_ sender: NSToolbarItem) {
|
||||
|
||||
@@ -18,7 +18,7 @@ protocol Preset: NSSecureCoding, NSCopying {
|
||||
extension Preset {
|
||||
|
||||
private func appSupportURL() -> URL? {
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("Subler")
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("SublerMKV")
|
||||
}
|
||||
|
||||
var fileURL: URL {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ final class PresetManager {
|
||||
}
|
||||
|
||||
private func appSupportURL() -> URL? {
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("Subler")
|
||||
return FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.appendingPathComponent("SublerMKV")
|
||||
}
|
||||
|
||||
private func version(of fileURL: URL) -> Int? {
|
||||
@@ -117,12 +117,12 @@ final class PresetManager {
|
||||
let resourceValues = try fileURL.resourceValues(forKeys: [.isDirectoryKey])
|
||||
if resourceValues.isDirectory == false, let version = version(of: fileURL) {
|
||||
let data = try Data(contentsOf: fileURL)
|
||||
let unarchiver = NSKeyedUnarchiver(forReadingWith: data)
|
||||
unarchiver.requiresSecureCoding = true
|
||||
defer { unarchiver.finishDecoding() }
|
||||
if let unarchiver = try? NSKeyedUnarchiver(forReadingFrom: data) {
|
||||
defer { unarchiver.finishDecoding() }
|
||||
|
||||
if version == 2, let preset = try? unarchiver.decodeTopLevelObject(of: [MetadataPreset.self], forKey: NSKeyedArchiveRootObjectKey) as? MetadataPreset {
|
||||
return preset
|
||||
if version == 2, let preset = try? unarchiver.decodeTopLevelObject(of: [MetadataPreset.self], forKey: NSKeyedArchiveRootObjectKey) as? MetadataPreset {
|
||||
return preset
|
||||
}
|
||||
}
|
||||
}
|
||||
throw LoadError.unsupportedFile
|
||||
@@ -148,13 +148,11 @@ final class PresetManager {
|
||||
}
|
||||
|
||||
private func save(preset: Preset) throws {
|
||||
let data = NSMutableData()
|
||||
let archiver = NSKeyedArchiver(forWritingWith: data)
|
||||
archiver.requiresSecureCoding = true
|
||||
let archiver = NSKeyedArchiver(requiringSecureCoding: true)
|
||||
archiver.encode(preset, forKey: NSKeyedArchiveRootObjectKey)
|
||||
archiver.finishEncoding()
|
||||
|
||||
try data.write(to: preset.fileURL, options: [.atomic])
|
||||
try archiver.encodedData.write(to: preset.fileURL, options: [.atomic])
|
||||
preset.changed = false
|
||||
}
|
||||
|
||||
|
||||
@@ -159,7 +159,10 @@ class PresetPrefsViewController: NSViewController, SectionsTableViewDataSource,
|
||||
}
|
||||
}
|
||||
|
||||
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
||||
let count = presetManager.metadataPresets.count + presetManager.queuePresets.count
|
||||
if let index = rowIndexes.last, index < count {
|
||||
tableView.selectRowIndexes(rowIndexes, byExtendingSelection: false)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func editPreset(_ sender: NSView) {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Cocoa
|
||||
|
||||
protocol ProgressViewControllerDelegate : AnyObject {
|
||||
func cancel()
|
||||
func cancelSave()
|
||||
}
|
||||
|
||||
final class ProgressViewController: NSViewController {
|
||||
@@ -53,7 +53,7 @@ final class ProgressViewController: NSViewController {
|
||||
}
|
||||
|
||||
@IBAction func cancel(_ sender: Any) {
|
||||
delegate?.cancel()
|
||||
delegate?.cancelSave()
|
||||
cancelButton.isEnabled = false
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,14 @@
|
||||
<?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="25098" 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="25098"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="ChapterViewController" customModule="Subler" customModuleProvider="target">
|
||||
<connections>
|
||||
<outlet property="actions" destination="IvH-Ff-dyN" id="EiR-xB-dq9"/>
|
||||
<outlet property="removeChapter" destination="31" id="faJ-CI-g36"/>
|
||||
<outlet property="tabView" destination="10" id="CC8-n9-JPu"/>
|
||||
<outlet property="tableView" destination="22" id="7Za-v5-yKx"/>
|
||||
@@ -29,15 +30,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="44" width="719" height="187"/>
|
||||
<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="185"/>
|
||||
<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"/>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnSelection="YES" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="717" height="168"/>
|
||||
<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 +383,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="17" y="16" width="32" height="20"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
|
||||
<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="90" y="16" width="53" height="20"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
|
||||
<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 +413,35 @@
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="31">
|
||||
<rect key="frame" x="50" y="16" width="32" height="20"/>
|
||||
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
|
||||
<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="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,25 +20,26 @@
|
||||
<outlet property="tabView" destination="10" id="nrf-df-lqq"/>
|
||||
<outlet property="tagsPopUp" destination="30" id="1v4-T2-oDW"/>
|
||||
<outlet property="view" destination="1" id="2"/>
|
||||
<outlet property="zoomSlider" destination="235" id="Lbq-eP-7Mp"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<customView misplaced="YES" id="1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="769" height="256"/>
|
||||
<customView id="1">
|
||||
<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="240"/>
|
||||
<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="202"/>
|
||||
<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">
|
||||
@@ -49,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">
|
||||
@@ -84,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="160"/>
|
||||
<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="158"/>
|
||||
<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="135"/>
|
||||
<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"/>
|
||||
@@ -307,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="248"/>
|
||||
<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>
|
||||
@@ -366,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="206"/>
|
||||
<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="204"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<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="204"/>
|
||||
<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"/>
|
||||
@@ -391,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="204"/>
|
||||
<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>
|
||||
@@ -420,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="19529" 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="19529"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -325,9 +325,6 @@
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="ERY-K2-cCj">
|
||||
<rect key="frame" x="160" y="24" width="198" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="190" id="tR3-Ay-aDb"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="No" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="KOg-FR-dr6" id="Tx6-IV-D1K">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -339,6 +336,9 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="190" id="tR3-Ay-aDb"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="cbR-yR-H9l" id="GZC-Cu-awU"/>
|
||||
<action selector="setForcedSubtitles:" target="-2" id="n1Z-pH-esH"/>
|
||||
@@ -396,9 +396,6 @@
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="RpH-28-y5s">
|
||||
<rect key="frame" x="160" y="2" width="198" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="190" id="8ks-py-KoB"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="Implicit" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="6PY-Np-Y3s" id="G6U-LQ-v4b">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -414,9 +411,14 @@
|
||||
<menuItem title="P3-DCI (11-17-6)" tag="8" id="z4V-UV-xor"/>
|
||||
<menuItem title="P3-D65 (12-17-6)" tag="9" id="fNy-M4-iaz"/>
|
||||
<menuItem title="sRGB (1-13-1)" tag="10" id="l0E-aL-LGd"/>
|
||||
<menuItem title="IPT-C2 (9-16-15)" tag="11" id="J66-Ah-thQ"/>
|
||||
<menuItem title="Undefined (2-2-2)" tag="12" id="Pxl-vS-IAs"/>
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="190" id="8ks-py-KoB"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="xfb-DL-1Pr" id="OIM-4J-sWM"/>
|
||||
<action selector="setColorProfile:" target="-2" id="xtd-k4-x1K"/>
|
||||
@@ -449,9 +451,6 @@
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="b24-td-FnZ">
|
||||
<rect key="frame" x="160" y="69" width="259" height="22"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="251" id="ALj-JO-YYW"/>
|
||||
</constraints>
|
||||
<popUpButtonCell key="cell" type="push" title="Current profile: unknown" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="NIA-f8-VWx" id="Ehv-0f-dPW">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="controlContent" size="11"/>
|
||||
@@ -470,6 +469,9 @@
|
||||
</items>
|
||||
</menu>
|
||||
</popUpButtonCell>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="251" id="ALj-JO-YYW"/>
|
||||
</constraints>
|
||||
<connections>
|
||||
<accessibilityConnection property="title" destination="jin-Xn-WJl" id="xvo-aC-czO"/>
|
||||
<action selector="setProfileLevel:" target="-2" id="fhj-D3-61K"/>
|
||||
|
||||