79 Commits
Author SHA1 Message Date
Damiano Galassi 5de48ff7c9 Update NEWS 2025-09-18 16:38:47 +02:00
Damiano Galassi 9fb9665b36 Align bottom chapters UI 2025-09-18 16:20:10 +02:00
Damiano Galassi e352888937 Fix some UI elements alignments on macOS 10.13 2025-09-18 16:16:47 +02:00
Damiano Galassi 56a424ca7e Hide the actions toolbar item indicator on macOS 26 2025-09-18 15:41:49 +02:00
Damiano Galassi 6e9be6c89e Update the actions item toolbar icon 2025-09-18 15:38:37 +02:00
Damiano Galassi a50ba3910e Update toolbars icons and default orders 2025-09-18 15:28:13 +02:00
Damiano Galassi f8388175d8 Fix an Italian loc string 2025-09-18 15:27:56 +02:00
Damiano Galassi 1fe4d225bf App icon tweaks 2025-09-18 15:27:37 +02:00
Damiano Galassi eaa28f9efd Update Italian localization 2025-09-18 14:21:44 +02:00
Damiano Galassi 770e15d1a5 Bump version to 1.9.0 2025-09-18 14:10:14 +02:00
Damiano Galassi 2f1bb0a51c Set some info labels color to secondary color 2025-09-18 13:54:00 +02:00
Damiano Galassi 21682cd1a4 Fourth test 2025-09-18 12:29:29 +02:00
Damiano Galassi cda042d5e8 Third test 2025-09-18 12:14:37 +02:00
Damiano Galassi 81d3c565e8 A second icon experiment 2025-09-18 12:02:16 +02:00
Damiano Galassi b152c18e2f Fix queue column size 2025-09-17 17:53:42 +02:00
Damiano Galassi c0d36f5767 Fix autolayout constrains 2025-09-17 17:50:44 +02:00
Damiano Galassi 72a7288834 Fix file extension in the save panel 2025-09-17 17:36:36 +02:00
Damiano Galassi 0b35d88f8d Work in progress of a new icon 2025-09-17 16:46:07 +02:00
Damiano Galassi dfc2e86ec3 Update Metadata prefs delete button state 2025-09-17 16:01:33 +02:00
Damiano Galassi d6b72cafce Switch the latest NSButtons 2025-09-17 15:55:08 +02:00
Damiano Galassi aa350a876b Switch more NSButtons to default style 2025-09-17 15:46:08 +02:00
Damiano Galassi c2ad5130df Switch to standard push buttons 2025-09-17 15:04:56 +02:00
Damiano Galassi 23aaff4933 Update XIBs 2025-09-16 12:39:39 +02:00
Damiano Galassi 3b62db369f Update submodule 2025-09-16 11:56:15 +02:00
Damiano Galassi 40b32a8cca Fix build on Xcode 26 2025-09-16 11:53:58 +02:00
Damiano Galassi df8facbcbe Update again the app category 2025-09-16 11:53:04 +02:00
Damiano Galassi 3a3d2cdf8d Update Sparkle to version 2.8.0 2025-09-16 11:51:06 +02:00
Damiano Galassi dcc8281d20 Add app category 2025-09-16 11:49:23 +02:00
Damiano Galassi a029d2bf23 Fix imports 2025-09-16 11:48:58 +02:00
Damiano Galassi 91cf78c0cc Update submodule 2025-09-16 11:48:48 +02:00
Damiano Galassi 2e34a3affd Update localization 2025-09-11 16:29:41 +02:00
Damiano Galassi e016c5fc60 Hook up the service content id to all the metadata providers 2025-09-11 16:29:29 +02:00
Damiano Galassi f270e3dca7 Update submodule 2025-09-08 14:39:08 +02:00
Damiano Galassi d78b320322 Use modern UTI API in the save panel 2025-09-08 14:38:24 +02:00
Damiano Galassi 80e561d88c Update Sparkle to 2.7.1 2025-08-12 16:28:59 +02:00
Damiano Galassi 210cb96196 Bump version to 1.8.9 2025-08-12 16:22:21 +02:00
Damiano Galassi 56c7f01d07 Update NEWS 2025-08-12 16:21:12 +02:00
Damiano Galassi 04eab36031 Update submodule 2025-08-12 16:14:56 +02:00
Michael Mock d88285ece2 Subler Automation Support (#67)
Expand the AppleScript dictionary to support many additional commands.
2025-08-12 11:52:16 +02:00
Michael Mock 20a8714974 Menu Items and Hotkeys 2025-08-08 17:11:39 +02:00
Damiano Galassi 13f1f301e3 Add a "At the Beginning" item to the action menu 2025-08-08 17:09:35 +02:00
Damiano Galassi 5890c9abe2 Fix the none artwork queue option
Fix #59.
2025-07-25 18:06:51 +02:00
Damiano Galassi 2a1d8b08e1 Fix Swedish Rating
Fix #73.
2025-07-25 17:42:56 +02:00
Damiano Galassi 971adb6342 Fix the insert a chapter at the beginning action
Fix #74.
2025-07-25 17:36:46 +02:00
Damiano Galassi 87837a0f5e Cleanup logger 2025-07-05 09:30:19 +02:00
Michael Mock a4e4b6027d Logging functionality (#71)
Enhancing logging functionality, including log format options
2025-07-05 09:29:41 +02:00
Damiano Galassi bf012927b4 Expose the services ids in the metadata map 2025-06-24 10:02:42 +02:00
Damiano Galassi 3f5c5e7459 Autorecalculate key view loop 2025-06-24 09:53:59 +02:00
Damiano Galassi 1fd17a5cd0 Update NEWS 2025-03-22 10:10:06 +01:00
Damiano Galassi 5965ce4836 Bump version to 1.8.8 2025-03-22 10:07:35 +01:00
Damiano Galassi d9f2681bba Save movie view and presets editor view zoom level to a separate key 2025-03-22 10:06:47 +01:00
Damiano Galassi c256d87e50 Connect the zoom slider outlet 2025-03-19 16:19:54 +01:00
Damiano Galassi 7e1e9c148c Update NEWS 2025-03-17 16:32:05 +01:00
Damiano Galassi 7aa1674c08 Bump version to 1.8.7 2025-03-17 14:35:09 +01:00
Damiano Galassi e44a786b72 Update submodule 2025-03-17 14:33:52 +01:00
Damiano Galassi f0faeb066a Fix queue toolbar items validation 2025-03-13 09:50:35 +01:00
Damiano Galassi 7abffdda03 Bump version to 1.8.6 2025-03-11 11:58:38 +01:00
Damiano Galassi bc2597499b Update submodule 2025-03-11 11:57:31 +01:00
Damiano Galassi b6163b4d80 Update NEWS 2025-03-11 11:33:00 +01:00
Damiano Galassi 9ea235a35e Fix the checkOnlySelectedTracks function to make it work with multiple files 2025-03-11 11:23:22 +01:00
Karsten 5fdf9efa80 Added Check-Only-Selected Item
** How was it Changed? **
- importing media to a video, a dialog appears with the tracks to be imported. All tracks are enabled
- there is already a context-menu-item to only check the selected language
- i added another item to the context menu to only check the selected tracks
- the logic is simple:
   - if nothing is selected, the target item is the only checked item
   - if there's selection, these items will then be checked
   - target-item has precedence from selected items because it's more precise but can also be fixed by reopening the menu by targeting the selection

** Why was it changed? **
- i often encounter videos that have all required languages and after conversion but they lack the forced subtitle track
- dragging the source media on the video will open a dialog and tons of subtitle tracks are all selected
- even choosing the "check selected language" item would still select multiple tracks, most of which would need to be deselected in a second step
2025-03-11 11:01:57 +01:00
Damiano Galassi b26bcea29a Revert "Add a check all and uncheck all menu items to the file importer"
This reverts commit e520b13a4f.
2025-03-11 10:59:28 +01:00
Damiano Galassi 73f3fee7b0 Use a weak target to avoid reference cycles 2025-03-10 11:19:13 +01:00
Damiano Galassi ae2addbac4 Set toolbar items target 2025-03-10 11:01:03 +01:00
Damiano Galassi 8071145c7f Update only modified rows 2025-03-10 10:22:01 +01:00
Damiano Galassi e520b13a4f Add a check all and uncheck all menu items to the file importer 2025-03-10 10:19:14 +01:00
Damiano Galassi e07c39b039 Modernize MP4Dump 2025-03-10 10:00:05 +01:00
Damiano Galassi f3226469d7 Add experimental AppleTV v3 importer by Are Digranes 2025-02-05 11:38:36 +01:00
Damiano Galassi aa6e15f99b Update submodule 2025-02-05 11:38:17 +01:00
Michael Mock 3fe294f582 Fix the issue where Apple TV metadata isn't returned for TV/Movies that Apple doesn't currently sell in the given region. 2024-12-19 09:05:47 +01:00
Damiano Galassi 0ea41244f5 Set autosavesInPlace to false, the default will change in a future sdk 2024-12-16 12:14:20 +01:00
Damiano Galassi 9671e40708 Xcode 16.1 project recommended settings 2024-11-29 16:00:35 +01:00
Stephen Flynn 22df3e92db Added ability to set imported multichannel channel AAC track to Passthru + AAC (#39) 2024-11-29 13:40:19 +01:00
Damiano Galassi 8bbb34298a Remember artworks size in the movie view 2024-11-29 13:32:36 +01:00
Damiano Galassi b022bb460d Remember artworks size in the artwork selector view 2024-11-29 13:24:24 +01:00
Damiano Galassi 2d0cb8b827 Add IPT-C2 and Undefined color profiles 2024-11-29 12:53:43 +01:00
Damiano Galassi e38c5c2f87 Update submodule 2024-11-29 12:53:16 +01:00
Damiano Galassi 43d56d7851 Do not run the optimize pass if writing was cancelled 2024-11-29 12:53:12 +01:00
Stephen Flynn 5e0e5b677e Updated readme with documentation on build and run basics for future contributors (#38) 2024-11-24 08:39:14 +01:00
94 changed files with 4473 additions and 982 deletions

No files matched your search

+251
View File
@@ -0,0 +1,251 @@
{
"AF": "Afghanistan",
"AX": "Aland Islands",
"AL": "Albania",
"DZ": "Algeria",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
"AI": "Anguilla",
"AQ": "Antarctica",
"AG": "Antigua and Barbuda",
"AR": "Argentina",
"AM": "Armenia",
"AW": "Aruba",
"AU": "Australia",
"AT": "Austria",
"AZ": "Azerbaijan",
"BS": "Bahamas",
"BH": "Bahrain",
"BD": "Bangladesh",
"BB": "Barbados",
"BY": "Belarus",
"BE": "Belgium",
"BZ": "Belize",
"BJ": "Benin",
"BM": "Bermuda",
"BT": "Bhutan",
"BO": "Bolivia",
"BQ": "Bonaire, Sint Eustatius and Saba",
"BA": "Bosnia and Herzegovina",
"BW": "Botswana",
"BV": "Bouvet Island",
"BR": "Brazil",
"IO": "British Indian Ocean Territory",
"BN": "Brunei Darussalam",
"BG": "Bulgaria",
"BF": "Burkina Faso",
"BI": "Burundi",
"CV": "Cabo Verde",
"KH": "Cambodia",
"CM": "Cameroon",
"CA": "Canada",
"KY": "Cayman Islands",
"CF": "Central African Republic",
"TD": "Chad",
"CL": "Chile",
"CN": "China",
"CX": "Christmas Island",
"CC": "Cocos Keeling Islands",
"CO": "Colombia",
"KM": "Comoros",
"CG": "Congo",
"CD": "Congo, DR",
"CK": "Cook Islands",
"CR": "Costa Rica",
"CI": "Cote d'Ivoire",
"HR": "Croatia",
"CU": "Cuba",
"CY": "Cyprus",
"CZ": "Czechia",
"DK": "Denmark",
"DJ": "Djibouti",
"DM": "Dominica",
"DO": "Dominican Republic",
"EC": "Ecuador",
"EG": "Egypt",
"SV": "El Salvador",
"GQ": "Equatorial Guinea",
"ER": "Eritrea",
"EE": "Estonia",
"SZ": "Eswatini",
"ET": "Ethiopia",
"FK": "Falkland Islands Malvinas",
"FO": "Faroe Islands",
"FJ": "Fiji",
"FI": "Finland",
"FR": "France",
"GF": "French Guiana",
"PF": "French Polynesia",
"TF": "French Southern Territories",
"GA": "Gabon",
"GM": "Gambia",
"GE": "Georgia",
"DE": "Germany",
"GH": "Ghana",
"GI": "Gibraltar",
"GR": "Greece",
"GL": "Greenland",
"GD": "Grenada",
"GP": "Guadeloupe",
"GU": "Guam",
"GT": "Guatemala",
"GG": "Guernsey",
"GN": "Guinea",
"GW": "Guinea Bissau",
"GY": "Guyana",
"HT": "Haiti",
"HM": "Heard Island and Mcdonald Islands",
"VA": "Holy See",
"HN": "Honduras",
"HK": "Hong Kong",
"HU": "Hungary",
"IS": "Iceland",
"IN": "India",
"ID": "Indonesia",
"IR": "Iran",
"IQ": "Iraq",
"IE": "Ireland",
"IM": "Isle of Man",
"IL": "Israel",
"IT": "Italy",
"JM": "Jamaica",
"JP": "Japan",
"JE": "Jersey",
"JO": "Jordan",
"KZ": "Kazakhstan",
"KE": "Kenya",
"KI": "Kiribati",
"KR": "Korea",
"KP": "Korea, DPR",
"KW": "Kuwait",
"KG": "Kyrgyzstan",
"LA": "Lao People's Democratic Republic",
"LV": "Latvia",
"LB": "Lebanon",
"LS": "Lesotho",
"LR": "Liberia",
"LY": "Libya",
"LI": "Liechtenstein",
"LT": "Lithuania",
"LU": "Luxembourg",
"MO": "Macao",
"MG": "Madagascar",
"MW": "Malawi",
"MY": "Malaysia",
"MV": "Maldives",
"ML": "Mali",
"MT": "Malta",
"MH": "Marshall Islands",
"MQ": "Martinique",
"MR": "Mauritania",
"MU": "Mauritius",
"YT": "Mayotte",
"MX": "Mexico",
"FM": "Micronesia",
"MD": "Moldova",
"MC": "Monaco",
"MN": "Mongolia",
"ME": "Montenegro",
"MS": "Montserrat",
"MA": "Morocco",
"MZ": "Mozambique",
"MM": "Myanmar",
"NA": "Namibia",
"NR": "Nauru",
"NP": "Nepal",
"NL": "Netherlands",
"NT": "Neutral Zone",
"NC": "New Caledonia",
"NZ": "New Zealand",
"NI": "Nicaragua",
"NE": "Niger",
"NG": "Nigeria",
"NU": "Niue",
"NF": "Norfolk Island",
"MK": "North Macedonia",
"MP": "Northern Mariana Islands",
"NO": "Norway",
"OM": "Oman",
"PK": "Pakistan",
"PW": "Palau",
"PS": "Palestine",
"PA": "Panama",
"PG": "Papua New Guinea",
"PY": "Paraguay",
"PE": "Peru",
"PH": "Philippines",
"PN": "Pitcairn",
"PL": "Poland",
"PT": "Portugal",
"PR": "Puerto Rico",
"QA": "Qatar",
"RE": "Reunion",
"RO": "Romania",
"RU": "Russian Federation",
"RW": "Rwanda",
"BL": "Saint Barthelemy",
"SH": "Saint Helena, Ascension and Tristan da Cunha",
"KN": "Saint Kitts and Nevis",
"LC": "Saint Lucia",
"MF": "Saint Martin",
"PM": "Saint Pierre and Miquelon",
"VC": "Saint Vincent and the Grenadines",
"WS": "Samoa",
"SM": "San Marino",
"ST": "Sao Tome and Principe",
"SA": "Saudi Arabia",
"SN": "Senegal",
"RS": "Serbia",
"SC": "Seychelles",
"SL": "Sierra Leone",
"SG": "Singapore",
"SX": "Sint Maarten",
"SK": "Slovakia",
"SI": "Slovenia",
"SB": "Solomon Islands",
"SO": "Somalia",
"ZA": "South Africa",
"GS": "South Georgia And South Sandwich Islands",
"SS": "South Sudan",
"ES": "Spain",
"LK": "Sri Lanka",
"SD": "Sudan",
"SR": "Suriname",
"SJ": "Svalbard and Jan Mayen",
"SE": "Sweden",
"CH": "Switzerland",
"SY": "Syrian Arab Republic",
"TW": "Taiwan",
"TJ": "Tajikistan",
"TZ": "Tanzania",
"TH": "Thailand",
"TL": "Timor-Leste",
"TG": "Togo",
"TK": "Tokelau",
"TO": "Tonga",
"TT": "Trinidad and Tobago",
"TN": "Tunisia",
"TR": "Turkiye",
"TM": "Turkmenistan",
"TC": "Turks and Caicos Islands",
"TV": "Tuvalu",
"UG": "Uganda",
"UA": "Ukraine",
"AE": "United Arab Emirates",
"GB": "United Kingdom",
"US": "United States of America",
"UM": "United States Minor Outlying Islands",
"UY": "Uruguay",
"UZ": "Uzbekistan",
"VU": "Vanuatu",
"VE": "Venezuela",
"VN": "Viet Nam",
"VG": "Virgin Islands, British",
"VI": "Virgin Islands, U.S.",
"WF": "Wallis and Futuna",
"EH": "Western Sahara",
"YE": "Yemen",
"ZM": "Zambia",
"ZW": "Zimbabwe"
}
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="60px" height="848px" viewBox="0 0 60 848" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Film Strip</title>
<g id="Film-Strip" stroke="none" fill="none" fill-rule="evenodd" stroke-width="1">
<g id="Film-Strip-Right" fill="#FFFFFF">
<rect id="Rectangle" fill-rule="nonzero" x="0" y="297" width="60" height="56" rx="8"></rect>
<rect id="Rectangle" fill-rule="nonzero" x="0" y="198" width="60" height="56" rx="8"></rect>
<rect id="Rectangle" fill-rule="nonzero" x="0" y="99" width="60" height="56" rx="8"></rect>
<rect id="Rectangle" fill-rule="nonzero" x="0" y="0" width="60" height="56" rx="8"></rect>
<rect id="Rectangle" fill-rule="nonzero" x="0" y="792" width="60" height="56" rx="8"></rect>
<rect id="Rectangle-Copy" fill-rule="nonzero" x="0" y="396" width="60" height="56" rx="8"></rect>
<rect id="Rectangle-Copy-2" fill-rule="nonzero" x="0" y="495" width="60" height="56" rx="8"></rect>
<rect id="Rectangle-Copy-3" fill-rule="nonzero" x="0" y="594" width="60" height="56" rx="8"></rect>
<rect id="Rectangle-Copy-4" fill-rule="nonzero" x="0" y="693" width="60" height="56" rx="8"></rect>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="573px" height="420px" viewBox="0 0 573 420" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Rectangle</title>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<rect id="Rectangle" fill="#D8D8D8" x="0" y="0" width="573" height="420" rx="45"></rect>
</g>
</svg>

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

+250
View File
@@ -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"
}
}
+37 -37
View File
@@ -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"/>
+4 -4
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -106,7 +106,7 @@ Gw
<progressIndicator hidden="YES" wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="AYL-Jp-agY">
<rect key="frame" x="20" y="20" width="16" height="16"/>
</progressIndicator>
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="NEi-uU-Lh7">
<rect key="frame" x="41" y="21" width="86" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="TbL-2H-ra9">
<font key="font" metaFont="smallSystem"/>
@@ -135,7 +135,7 @@ Gw
<constraint firstItem="c0O-We-pZd" firstAttribute="trailing" secondItem="fMj-Ew-Qej" secondAttribute="trailing" id="yFF-Hd-SSn"/>
<constraint firstItem="AYL-Jp-agY" firstAttribute="centerY" secondItem="NEi-uU-Lh7" secondAttribute="centerY" id="zvc-Fx-gsf"/>
</constraints>
<point key="canvasLocation" x="72.5" y="129.5"/>
<point key="canvasLocation" x="239" y="56"/>
</view>
</objects>
</document>
+16 -10
View File
@@ -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"/>
+118 -89
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16085" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16085"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -21,33 +21,34 @@
<string>windowSize</string>
<string>rememberWindowSize</string>
<string>chaptersPreviewTrack</string>
<string>SBLogFormat</string>
</declaredKeys>
</userDefaultsController>
<customView id="76">
<rect key="frame" x="0.0" y="0.0" width="660" height="299"/>
<rect key="frame" x="0.0" y="0.0" width="660" height="328"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="dxI-5Q-gDD">
<rect key="frame" x="136" y="0.0" width="389" height="299"/>
<rect key="frame" x="133" y="0.0" width="394" height="328"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
<rect key="frame" x="147" y="139" width="57" height="14"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="XPF-Mh-XYC">
<rect key="frame" x="147" y="156" width="57" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Beginning" id="3Vs-qA-7Z6">
<font key="font" metaFont="message" size="11"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="249">
<rect key="frame" x="129" y="95" width="165" height="14"/>
<textField verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="249">
<rect key="frame" x="129" y="110" width="165" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
<font key="font" metaFont="message" size="11"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="133">
<rect key="frame" x="125" y="44" width="188" height="32"/>
<rect key="frame" x="124" y="43" width="182" height="32"/>
<buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -57,7 +58,7 @@
</connections>
</button>
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="80">
<rect key="frame" x="129" y="204" width="117" height="18"/>
<rect key="frame" x="129" y="229" width="121" height="18"/>
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -71,15 +72,15 @@
</connections>
</button>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="139">
<rect key="frame" x="18" y="54" width="107" height="16"/>
<rect key="frame" x="18" y="53" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="82">
<rect key="frame" x="129" y="180" width="232" height="18"/>
<button verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="82">
<rect key="frame" x="129" y="203" width="236" height="18"/>
<buttonCell key="cell" type="check" title="Create Preview Images at position:" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -92,8 +93,8 @@
</binding>
</connections>
</button>
<slider verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
<rect key="frame" x="147" y="152" width="214" height="24"/>
<slider verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="JhA-jk-CGt">
<rect key="frame" x="147" y="170" width="220" height="28"/>
<sliderCell key="cell" state="on" alignment="left" maxValue="1" doubleValue="0.5" tickMarkPosition="below" numberOfTickMarks="7" sliderType="linear" id="iKX-dX-4IV"/>
<connections>
<binding destination="3" name="value" keyPath="values.SBChaptersPreviewPosition" id="JtQ-lM-MNU"/>
@@ -101,7 +102,7 @@
</connections>
</slider>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="206">
<rect key="frame" x="18" y="115" width="107" height="16"/>
<rect key="frame" x="18" y="129" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Show ratings for:" id="207">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -109,7 +110,7 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="136">
<rect key="frame" x="125" y="13" width="188" height="32"/>
<rect key="frame" x="124" y="13" width="182" height="32"/>
<buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -119,7 +120,7 @@
</connections>
</button>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
<rect key="frame" x="18" y="181" width="107" height="16"/>
<rect key="frame" x="18" y="204" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Chapters:" id="85">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -127,7 +128,7 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="B5v-6Q-3Qa">
<rect key="frame" x="129" y="242" width="242" height="18"/>
<rect key="frame" x="129" y="269" width="246" height="18"/>
<buttonCell key="cell" type="check" title="Automatically check for update daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="2Pf-pq-4IX">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -137,7 +138,7 @@
</connections>
</button>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="77">
<rect key="frame" x="18" y="263" width="107" height="16"/>
<rect key="frame" x="18" y="292" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="At Launch:" id="89">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -145,7 +146,7 @@
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tVb-Qq-sU7">
<rect key="frame" x="337" y="139" width="24" height="14"/>
<rect key="frame" x="343" y="156" width="24" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="End" id="He0-rl-DBi">
<font key="font" metaFont="message" size="11"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -153,15 +154,31 @@
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="78">
<rect key="frame" x="18" y="205" width="107" height="16"/>
<rect key="frame" x="18" y="230" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Window:" id="88">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatPopup">
<rect key="frame" x="128" y="78" width="167" height="25"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="logFormatCell">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="logFormatMenu"/>
</popUpButtonCell>
<constraints>
<constraint firstAttribute="width" constant="160" id="uY6-hv-UcE"/>
</constraints>
<connections>
<accessibilityConnection property="title" destination="logFormatLabel" id="logFormatAccessibility"/>
<binding destination="-2" name="content" keyPath="logFormatOptions" id="logFormatContentBinding"/>
<binding destination="3" name="selectedTag" keyPath="values.SBLogFormat" previousBinding="logFormatContentBinding" id="logFormatBinding"/>
</connections>
</popUpButton>
<button verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="79">
<rect key="frame" x="129" y="262" width="126" height="18"/>
<rect key="frame" x="129" y="291" width="130" height="18"/>
<buttonCell key="cell" type="check" title="Show open panel" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
@@ -170,16 +187,16 @@
<binding destination="3" name="value" keyPath="values.SBShowOpenPanelAtLaunch" id="T36-sT-wu3"/>
</connections>
</button>
<popUpButton verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="236">
<rect key="frame" x="129" y="108" width="185" height="25"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="mhj-Zx-MME"/>
</constraints>
<popUpButton verticalHuggingPriority="1000" verticalCompressionResistancePriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="236">
<rect key="frame" x="128" y="122" width="187" height="25"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="237">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="238"/>
</popUpButtonCell>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="180" id="2hc-oc-YJo"/>
</constraints>
<connections>
<accessibilityConnection property="title" destination="206" id="SzO-00-e3U"/>
<action selector="updateRatingsCountry:" target="-2" id="242"/>
@@ -188,78 +205,90 @@
</connections>
</popUpButton>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mNP-6I-gV4">
<rect key="frame" x="232" y="139" width="44" height="14"/>
<rect key="frame" x="235" y="156" width="44" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Middle" id="2o1-dB-mt1">
<font key="font" metaFont="message" size="11"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="logFormatLabel">
<rect key="frame" x="18" y="85" width="107" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Log Format:" id="logFormatLabelCell">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="236" secondAttribute="trailing" constant="20" symbolic="YES" id="1oW-ke-hqe"/>
<constraint firstItem="tVb-Qq-sU7" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="27C-Ly-Tkt"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="82" secondAttribute="trailing" constant="20" symbolic="YES" id="3hd-ph-Nok"/>
<constraint firstItem="136" firstAttribute="leading" secondItem="133" secondAttribute="leading" id="4f8-7e-F9H"/>
<constraint firstItem="236" firstAttribute="firstBaseline" secondItem="206" secondAttribute="firstBaseline" id="5Vz-H5-wjk"/>
<constraint firstItem="tVb-Qq-sU7" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="mNP-6I-gV4" secondAttribute="trailing" constant="8" symbolic="YES" id="7eN-Xm-Z9h"/>
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="7kk-gt-dXa"/>
<constraint firstItem="78" firstAttribute="leading" secondItem="77" secondAttribute="leading" id="8JN-XP-DsB"/>
<constraint firstItem="139" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="98n-sk-tTI"/>
<constraint firstItem="mNP-6I-gV4" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="A3z-Gk-hqC"/>
<constraint firstItem="79" firstAttribute="leading" secondItem="77" secondAttribute="trailing" constant="8" id="AmK-53-V7H"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" constant="20" symbolic="YES" id="BUH-t3-FKl"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="79" secondAttribute="trailing" constant="20" symbolic="YES" id="C2B-fq-5vM"/>
<constraint firstItem="81" firstAttribute="leading" secondItem="78" secondAttribute="leading" id="Ctg-6r-Vpm"/>
<constraint firstAttribute="bottom" secondItem="136" secondAttribute="bottom" constant="20" symbolic="YES" id="Cxf-3a-EqU"/>
<constraint firstItem="133" firstAttribute="top" secondItem="249" secondAttribute="bottom" constant="23" id="DFU-xm-8vq"/>
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="leading" secondItem="79" secondAttribute="leading" id="FJg-U6-HDs"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" constant="20" id="J3X-XR-5sZ"/>
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" id="LHd-r8-b8o"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="leading" secondItem="82" secondAttribute="leading" constant="18" id="NQL-dp-Vub"/>
<constraint firstItem="XPF-Mh-XYC" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" id="O6P-tC-NH3"/>
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" id="QlR-IC-jsI"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" id="QnP-ja-Gc7"/>
<constraint firstItem="XPF-Mh-XYC" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" id="Rfn-GF-l2N"/>
<constraint firstItem="82" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="Rh6-wr-DAJ"/>
<constraint firstItem="236" firstAttribute="top" secondItem="XPF-Mh-XYC" secondAttribute="bottom" constant="7" id="SB1-bz-e1K"/>
<constraint firstItem="tVb-Qq-sU7" firstAttribute="trailing" secondItem="JhA-jk-CGt" secondAttribute="trailing" id="UtU-8c-yJh"/>
<constraint firstAttribute="trailing" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" priority="750" constant="20" id="WZa-Od-APp"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="trailing" secondItem="82" secondAttribute="trailing" id="XmQ-xf-0Vu"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="133" secondAttribute="trailing" constant="20" symbolic="YES" id="Xma-7G-WMb"/>
<constraint firstItem="80" firstAttribute="firstBaseline" secondItem="78" secondAttribute="firstBaseline" id="YqB-Qi-X3l"/>
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="Z1U-c1-eRX"/>
<constraint firstItem="82" firstAttribute="firstBaseline" secondItem="81" secondAttribute="firstBaseline" id="aYU-OT-jre"/>
<constraint firstItem="mNP-6I-gV4" firstAttribute="centerX" secondItem="JhA-jk-CGt" secondAttribute="centerX" id="b0h-AX-P0j"/>
<constraint firstItem="249" firstAttribute="top" secondItem="236" secondAttribute="bottom" constant="2" id="bJo-qb-vyA"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="JhA-jk-CGt" secondAttribute="trailing" constant="20" symbolic="YES" id="cO3-0g-Ika"/>
<constraint firstItem="206" firstAttribute="width" secondItem="139" secondAttribute="width" id="cVB-T7-Lgd"/>
<constraint firstItem="77" firstAttribute="top" secondItem="dxI-5Q-gDD" secondAttribute="top" constant="20" symbolic="YES" id="dAn-q7-AND"/>
<constraint firstItem="77" firstAttribute="leading" secondItem="dxI-5Q-gDD" secondAttribute="leading" constant="20" symbolic="YES" id="e7R-TS-ubO"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="80" secondAttribute="trailing" constant="20" symbolic="YES" id="gEL-hv-NaH"/>
<constraint firstItem="206" firstAttribute="leading" secondItem="81" secondAttribute="leading" id="gu1-Mn-ct5"/>
<constraint firstItem="mNP-6I-gV4" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="XPF-Mh-XYC" secondAttribute="trailing" constant="8" symbolic="YES" id="jyx-OY-6tw"/>
<constraint firstItem="133" firstAttribute="firstBaseline" secondItem="139" secondAttribute="firstBaseline" id="kA6-a1-Krp"/>
<constraint firstItem="249" firstAttribute="leading" secondItem="236" secondAttribute="leading" id="kh1-gL-cmS"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="249" secondAttribute="trailing" constant="20" symbolic="YES" id="mef-Mj-rvp"/>
<constraint firstItem="236" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="8" id="n47-AS-gXR"/>
<constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" id="nPD-Zb-eKT"/>
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" id="sCG-e3-Wcb"/>
<constraint firstItem="77" firstAttribute="firstBaseline" secondItem="79" secondAttribute="firstBaseline" id="tSW-F5-J12"/>
<constraint firstItem="136" firstAttribute="width" secondItem="133" secondAttribute="width" id="u0D-8L-4Yl"/>
<constraint firstItem="81" firstAttribute="width" secondItem="206" secondAttribute="width" id="v43-RZ-P1e"/>
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="top" secondItem="79" secondAttribute="bottom" constant="6" id="vbo-wa-RS0"/>
<constraint firstItem="80" firstAttribute="top" secondItem="B5v-6Q-3Qa" secondAttribute="bottom" constant="24" id="wIZ-qs-cis"/>
<constraint firstItem="133" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" id="y4R-KJ-KyA"/>
<constraint firstItem="133" firstAttribute="width" secondItem="136" secondAttribute="width" id="05F-cw-fMw"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="79" secondAttribute="trailing" id="0bd-hZ-ylz"/>
<constraint firstItem="78" firstAttribute="firstBaseline" secondItem="80" secondAttribute="firstBaseline" id="1td-Oe-7AD"/>
<constraint firstItem="79" firstAttribute="leading" secondItem="B5v-6Q-3Qa" secondAttribute="leading" id="2Mr-Mj-vU1"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" symbolic="YES" id="2vm-yX-6Ce"/>
<constraint firstItem="80" firstAttribute="top" secondItem="B5v-6Q-3Qa" secondAttribute="bottom" constant="24" id="3ue-nN-QeE"/>
<constraint firstItem="B5v-6Q-3Qa" firstAttribute="top" secondItem="79" secondAttribute="bottom" constant="6" symbolic="YES" id="5ve-SK-Mci"/>
<constraint firstAttribute="bottom" secondItem="136" secondAttribute="bottom" constant="20" symbolic="YES" id="6Bj-Ao-4kA"/>
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" id="8Em-7b-7bc"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="JhA-jk-CGt" secondAttribute="trailing" id="8sB-JV-mUa"/>
<constraint firstItem="logFormatPopup" firstAttribute="top" secondItem="249" secondAttribute="bottom" constant="8" symbolic="YES" id="9n2-fa-iGe"/>
<constraint firstItem="logFormatLabel" firstAttribute="leading" secondItem="139" secondAttribute="leading" id="ACz-EL-4Hh"/>
<constraint firstItem="XPF-Mh-XYC" firstAttribute="firstBaseline" secondItem="mNP-6I-gV4" secondAttribute="firstBaseline" id="AFc-cn-ab1"/>
<constraint firstItem="77" firstAttribute="top" secondItem="dxI-5Q-gDD" secondAttribute="top" constant="20" symbolic="YES" id="D9x-E1-HxF"/>
<constraint firstItem="82" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" constant="-18" id="E8S-ti-ghL"/>
<constraint firstItem="82" firstAttribute="top" secondItem="80" secondAttribute="bottom" constant="10" id="ELH-2G-UJe"/>
<constraint firstItem="mNP-6I-gV4" firstAttribute="firstBaseline" secondItem="tVb-Qq-sU7" secondAttribute="firstBaseline" id="ElQ-mv-Pfd"/>
<constraint firstItem="206" firstAttribute="width" secondItem="logFormatLabel" secondAttribute="width" id="G5L-ax-8Io"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" id="Ies-Bx-zqg"/>
<constraint firstAttribute="trailing" secondItem="B5v-6Q-3Qa" secondAttribute="trailing" priority="750" constant="19" id="L97-mT-mLE"/>
<constraint firstItem="77" firstAttribute="firstBaseline" secondItem="79" secondAttribute="firstBaseline" id="LWO-5R-E6y"/>
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="MKK-lc-cU2"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="133" secondAttribute="trailing" id="MPl-R6-UUO"/>
<constraint firstItem="XPF-Mh-XYC" firstAttribute="top" secondItem="JhA-jk-CGt" secondAttribute="bottom" constant="6" id="MvX-7T-WjO"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="82" secondAttribute="trailing" id="N5X-3a-SM6"/>
<constraint firstItem="77" firstAttribute="leading" secondItem="dxI-5Q-gDD" secondAttribute="leading" constant="20" symbolic="YES" id="Ndo-DG-rTs"/>
<constraint firstItem="79" firstAttribute="leading" secondItem="77" secondAttribute="trailing" constant="8" symbolic="YES" id="Oa0-iG-Y8X"/>
<constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" symbolic="YES" id="OhX-HZ-gdU"/>
<constraint firstItem="236" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="8" symbolic="YES" id="Sgq-Ky-wad"/>
<constraint firstItem="206" firstAttribute="leading" secondItem="logFormatLabel" secondAttribute="leading" id="TIw-54-KF5"/>
<constraint firstItem="133" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" symbolic="YES" id="TQC-yN-iis"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="trailing" secondItem="tVb-Qq-sU7" secondAttribute="trailing" id="Tbj-IO-aVa"/>
<constraint firstItem="133" firstAttribute="leading" secondItem="136" secondAttribute="leading" id="TsE-6g-XG7"/>
<constraint firstItem="81" firstAttribute="leading" secondItem="206" secondAttribute="leading" id="UAx-iy-hxT"/>
<constraint firstItem="81" firstAttribute="firstBaseline" secondItem="82" secondAttribute="firstBaseline" id="VaX-EX-DOj"/>
<constraint firstItem="81" firstAttribute="width" secondItem="206" secondAttribute="width" id="X0h-iv-OhL"/>
<constraint firstItem="206" firstAttribute="firstBaseline" secondItem="236" secondAttribute="firstBaseline" id="Xab-xw-ax9"/>
<constraint firstItem="XPF-Mh-XYC" firstAttribute="leading" secondItem="JhA-jk-CGt" secondAttribute="leading" id="ZmN-hP-iwq"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="236" secondAttribute="trailing" id="abQ-h9-0wL"/>
<constraint firstItem="249" firstAttribute="top" secondItem="236" secondAttribute="bottom" constant="2" id="agf-iq-Fof"/>
<constraint firstItem="logFormatLabel" firstAttribute="firstBaseline" secondItem="logFormatPopup" secondAttribute="firstBaseline" id="fpM-Am-Shn"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="logFormatPopup" secondAttribute="trailing" id="gPM-A7-A88"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="width" secondItem="82" secondAttribute="width" multiplier="0.923077" id="jgz-Me-pjU"/>
<constraint firstItem="236" firstAttribute="top" secondItem="XPF-Mh-XYC" secondAttribute="bottom" constant="10" id="kR3-YO-JZD"/>
<constraint firstItem="78" firstAttribute="leading" secondItem="81" secondAttribute="leading" id="kaX-Td-UPd"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="80" secondAttribute="trailing" id="ltP-cz-uYy"/>
<constraint firstItem="236" firstAttribute="leading" secondItem="249" secondAttribute="leading" id="nFq-4a-rlf"/>
<constraint firstItem="JhA-jk-CGt" firstAttribute="centerX" secondItem="mNP-6I-gV4" secondAttribute="centerX" id="oJD-2R-bDt"/>
<constraint firstItem="logFormatLabel" firstAttribute="width" secondItem="139" secondAttribute="width" id="rof-yU-4Yg"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="136" secondAttribute="trailing" id="s3j-nY-Z3K"/>
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" id="uK9-gt-tF8"/>
<constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" symbolic="YES" id="v25-j6-krj"/>
<constraint firstItem="139" firstAttribute="firstBaseline" secondItem="133" secondAttribute="firstBaseline" id="w1s-Sg-fws"/>
<constraint firstItem="logFormatPopup" firstAttribute="leading" secondItem="logFormatLabel" secondAttribute="trailing" constant="8" symbolic="YES" id="x2X-oB-Otz"/>
<constraint firstItem="133" firstAttribute="top" secondItem="logFormatPopup" secondAttribute="bottom" constant="12" id="yqF-AO-Qdb"/>
<constraint firstItem="77" firstAttribute="leading" secondItem="78" secondAttribute="leading" id="zBN-dc-5DC"/>
</constraints>
</customView>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="dxI-5Q-gDD" secondAttribute="bottom" id="0Kk-6J-TZf"/>
<constraint firstItem="dxI-5Q-gDD" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="At8-0S-kG8"/>
<constraint firstItem="dxI-5Q-gDD" firstAttribute="top" secondItem="76" secondAttribute="top" id="EGu-f6-P6n"/>
<constraint firstItem="dxI-5Q-gDD" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="76" secondAttribute="leading" id="A10-FJ-fxP"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="dxI-5Q-gDD" secondAttribute="trailing" id="Q0g-0U-MoZ"/>
<constraint firstItem="dxI-5Q-gDD" firstAttribute="top" secondItem="76" secondAttribute="top" id="XWt-l9-pFF"/>
<constraint firstAttribute="bottom" secondItem="dxI-5Q-gDD" secondAttribute="bottom" id="wdL-pt-Rs9"/>
<constraint firstItem="dxI-5Q-gDD" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="xIO-0a-40f"/>
</constraints>
<point key="canvasLocation" x="-452" y="-1223"/>
<point key="canvasLocation" x="-452" y="-1218"/>
</customView>
<userDefaultsController representsSharedInstance="YES" id="123"/>
</objects>
+33 -15
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
@@ -147,12 +147,13 @@
<action selector="sendToQueue:" target="-1" id="599"/>
</connections>
</menuItem>
<menuItem title="Send To iTunes" id="597" userLabel="10">
<menuItem title="Send To iTunes" keyEquivalent="I" id="597" userLabel="10">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="sendToExternalApp:" target="-1" id="598"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="Wqy-Ps-5Qb"/>
<menuItem title="Import" id="544">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Import" id="545">
@@ -184,6 +185,23 @@
<menuItem isSeparatorItem="YES" id="74" userLabel="2">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<menuItem title="Start Queue" keyEquivalent="B" id="TRh-ZN-Id8">
<connections>
<action selector="toggleStartStop:" target="449" id="ea4-oe-9YQ"/>
</connections>
</menuItem>
<menuItem title="Remove completed items from queue" id="Cre-T6-PID">
<string key="keyEquivalent" base64-UTF8="YES">
CA
</string>
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
<connections>
<action selector="removeCompletedItems:" target="-1" id="ouO-db-qWo"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="7Ls-cX-HSz" userLabel="2">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<menuItem title="Page Setup..." keyEquivalent="P" id="77" userLabel="5">
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
<connections>
@@ -241,8 +259,8 @@
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="532"/>
<menuItem title="Offset…" id="567">
<modifierMask key="keyEquivalentModifierMask"/>
<menuItem title="Offset…" keyEquivalent="o" id="567">
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
<connections>
<action selector="showTrackOffsetSheet:" target="-1" id="570"/>
</connections>
@@ -309,31 +327,31 @@
</items>
</menu>
</menuItem>
<menuItem title="Organize alternate groups" id="652">
<modifierMask key="keyEquivalentModifierMask"/>
<menuItem title="Organize alternate groups" keyEquivalent="g" id="652">
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
<connections>
<action selector="iTunesFriendlyTrackGroups:" target="-1" id="654"/>
</connections>
</menuItem>
<menuItem title="Clear tracks names" id="hKY-N2-NzK">
<modifierMask key="keyEquivalentModifierMask"/>
<menuItem title="Clear tracks names" keyEquivalent="n" id="hKY-N2-NzK">
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
<connections>
<action selector="clearTrackNames:" target="-1" id="KsZ-tN-sdV"/>
</connections>
</menuItem>
<menuItem title="Prettify audio track names" id="fm8-d2-1Yi">
<modifierMask key="keyEquivalentModifierMask"/>
<menuItem title="Prettify audio track names" keyEquivalent="p" id="fm8-d2-1Yi">
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
<connections>
<action selector="prettifyAudioTrackNames:" target="-1" id="z63-Uv-MTO"/>
</connections>
</menuItem>
<menuItem title="Fix audio fallbacks" id="FXb-bX-0Wb">
<modifierMask key="keyEquivalentModifierMask"/>
<menuItem title="Fix audio fallbacks" keyEquivalent="f" id="FXb-bX-0Wb">
<modifierMask key="keyEquivalentModifierMask" option="YES"/>
<connections>
<action selector="fixAudioFallbacks:" target="-1" id="cpY-If-3df"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="568"/>
<menuItem isSeparatorItem="YES" id="yw4-pb-tNR"/>
<menuItem title="Find" id="218">
<menu key="submenu" title="Find" id="220">
<items>
@@ -488,7 +506,7 @@
</menu>
</menuItem>
</items>
<point key="canvasLocation" x="-244" y="-303"/>
<point key="canvasLocation" x="106" y="-246"/>
</menu>
<customObject id="419" customClass="NSFontManager"/>
<customObject id="449" userLabel="AppDelegate" customClass="AppDelegate" customModule="Subler" customModuleProvider="target">
+3 -3
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -88,7 +88,7 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uAC-d6-cWk">
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uAC-d6-cWk">
<rect key="frame" x="20" y="195" width="83" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Media tags:" id="xXI-Cs-cBg">
+20 -20
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -73,7 +73,7 @@ Gw
<rect key="frame" x="10" y="33" width="554" height="69"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="150" translatesAutoresizingMaskIntoConstraints="NO" id="gBb-mO-eZD">
<rect key="frame" x="18" y="45" width="44" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Movie:" id="uyt-vh-nv6">
<font key="font" metaFont="system"/>
@@ -81,7 +81,7 @@ Gw
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dyr-Xb-8vA">
<rect key="frame" x="67" y="42" width="395" height="21"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="sXD-8k-I7r">
<font key="font" metaFont="system"/>
@@ -97,7 +97,7 @@ Gw
<rect key="frame" x="64" y="6" width="187" height="25"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="tuc-lL-n0W">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="obN-m7-G5Q"/>
</popUpButtonCell>
<constraints>
@@ -112,7 +112,7 @@ Gw
<rect key="frame" x="424" y="6" width="117" height="25"/>
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="nn6-mR-Bh1" id="k9r-Fo-4Nl">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="Gqk-Gk-yG7">
<items>
<menuItem title="iTunes Store" state="on" id="nn6-mR-Bh1"/>
@@ -166,7 +166,7 @@ DQ
<rect key="frame" x="10" y="33" width="554" height="69"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="PoJ-z7-u2L">
<rect key="frame" x="14" y="45" width="61" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="TV Show:" id="lE4-J1-ySV">
<font key="font" metaFont="system"/>
@@ -174,7 +174,7 @@ DQ
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWo-ag-3S4">
<rect key="frame" x="14" y="13" width="61" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="kz7-mH-DuT">
<font key="font" metaFont="system"/>
@@ -182,7 +182,7 @@ DQ
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nYS-Uo-Puv">
<rect key="frame" x="80" y="10" width="30" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="9CR-ib-DtF"/>
@@ -197,7 +197,7 @@ DQ
<outlet property="delegate" destination="-2" id="wF7-SW-Zgw"/>
</connections>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PmP-Uz-mXF">
<rect key="frame" x="184" y="10" width="30" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="JnI-dd-MkA"/>
@@ -212,7 +212,7 @@ DQ
<outlet property="delegate" destination="-2" id="Em3-9Q-0I2"/>
</connections>
</textField>
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r32-v1-g3U">
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r32-v1-g3U">
<rect key="frame" x="115" y="13" width="64" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Episode #" id="Zik-QU-m81">
<font key="font" metaFont="system"/>
@@ -220,7 +220,7 @@ DQ
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<comboBox focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
<comboBox verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yxL-hY-Wvf">
<rect key="frame" x="79" y="42" width="386" height="23"/>
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesDataSource="YES" numberOfVisibleItems="5" id="o7O-s5-2MI">
<font key="font" metaFont="system"/>
@@ -237,7 +237,7 @@ DQ
<rect key="frame" x="211" y="6" width="160" height="25"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="6dD-ZJ-fLf">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="eDp-3G-Kg4"/>
</popUpButtonCell>
<constraints>
@@ -252,7 +252,7 @@ DQ
<rect key="frame" x="424" y="6" width="117" height="25"/>
<popUpButtonCell key="cell" type="push" title="iTunes Store" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" inset="2" selectedItem="j44-FV-Lpy" id="O3t-4h-3zl">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="OYz-qX-3i2">
<items>
<menuItem title="iTunes Store" state="on" id="j44-FV-Lpy"/>
@@ -315,7 +315,7 @@ DQ
<outlet property="delegate" destination="-2" id="1gw-D2-r7v"/>
</connections>
</tabView>
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
<textField hidden="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dWj-kw-NVW">
<rect key="frame" x="41" y="21" width="297" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Progress status" id="gYx-cY-5Xj">
<font key="font" metaFont="message" size="11"/>
@@ -359,7 +359,7 @@ DQ
<rect key="frame" x="1" y="1" width="505" height="15"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OFv-ne-Jzf">
<rect key="frame" x="0.0" y="1" width="505" height="14"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="wLe-r3-x0V">
<font key="font" metaFont="message" size="11"/>
@@ -446,7 +446,7 @@ DQ
<rect key="frame" x="1" y="1" width="101" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wDJ-re-Kse">
<rect key="frame" x="0.0" y="22" width="101" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" id="5mH-2x-szO">
<font key="font" metaFont="smallSystemBold"/>
@@ -482,7 +482,7 @@ DQ
<rect key="frame" x="105" y="1" width="401" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Szc-uj-Lea">
<rect key="frame" x="0.0" y="0.0" width="401" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="cXa-al-MIH">
<font key="font" metaFont="message" size="11"/>
@@ -505,7 +505,7 @@ DQ
<rect key="frame" x="105" y="17" width="401" height="37"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uJ3-OT-6fm">
<rect key="frame" x="0.0" y="12" width="401" height="14"/>
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" id="L0d-pm-lX4">
<font key="font" metaFont="message" size="11"/>
@@ -585,7 +585,7 @@ DQ
<constraint firstItem="BfX-EM-ktQ" firstAttribute="leading" secondItem="QEr-1S-JZX" secondAttribute="leading" id="mjk-ta-h2N"/>
<constraint firstItem="zM1-YP-Au2" firstAttribute="leading" secondItem="dWj-kw-NVW" secondAttribute="trailing" constant="14" id="vyk-qX-8IX"/>
</constraints>
<point key="canvasLocation" x="168" y="157"/>
<point key="canvasLocation" x="244" y="72"/>
</view>
</objects>
</document>
+5 -5
View File
@@ -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="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
<view key="contentView" id="2">
<rect key="frame" x="0.0" y="0.0" width="660" height="220"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</view>
<toolbar key="toolbar" implicitIdentifier="62479E7E-FF80-430F-8339-ECA67F66BBB3" autosavesConfiguration="NO" allowsUserCustomization="NO" displayMode="iconAndLabel" sizeMode="regular" id="Qgp-ap-Qwi">
<toolbar key="toolbar" implicitIdentifier="62479E7E-FF80-430F-8339-ECA67F66BBB3" autosavesConfiguration="NO" allowsUserCustomization="NO" showsBaselineSeparator="NO" displayMode="iconAndLabel" sizeMode="regular" id="Qgp-ap-Qwi">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="vqk-zF-m6l"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="R2N-58-umt"/>
+19 -19
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -18,28 +18,28 @@
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<window title="Queue" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="SBQueuePosition" animationBehavior="default" tabbingMode="disallowed" toolbarStyle="compact" id="1">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="98" y="651" width="378" height="351"/>
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="98" y="443" width="503" height="505"/>
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
<value key="minSize" type="size" width="378" height="200"/>
<view key="contentView" wantsLayer="YES" id="2">
<rect key="frame" x="0.0" y="0.0" width="378" height="351"/>
<rect key="frame" x="0.0" y="0.0" width="503" height="505"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="23" horizontalPageScroll="10" verticalLineScroll="23" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3">
<rect key="frame" x="-1" y="46" width="380" height="306"/>
<rect key="frame" x="-1" y="46" width="505" height="460"/>
<clipView key="contentView" id="ix7-yM-0F6">
<rect key="frame" x="1" y="1" width="378" height="304"/>
<rect key="frame" x="1" y="1" width="503" height="458"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowHeight="19" rowSizeStyle="automatic" viewBased="YES" id="7" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="390" height="304"/>
<rect key="frame" x="0.0" y="0.0" width="512" height="458"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="4"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="nameColumn" editable="NO" width="378" minWidth="40" maxWidth="3000" id="8">
<tableColumn identifier="nameColumn" editable="NO" width="500" minWidth="40" maxWidth="3000" id="8">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="nameColumn">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
@@ -52,13 +52,13 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
<prototypeCellViews>
<tableCellView id="ofF-gY-wBR">
<rect key="frame" x="1" y="2" width="387" height="19"/>
<rect key="frame" x="1" y="2" width="509" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="pjh-GC-aOA">
<rect key="frame" x="29" y="2" width="329" height="17"/>
<rect key="frame" x="29" y="2" width="451" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="srx-EJ-mK6">
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Name" id="srx-EJ-mK6">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -70,7 +70,7 @@
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="EncodeComplete" id="uXb-c3-MQO"/>
</imageView>
<button toolTip="Show item info" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="o98-wM-YAQ">
<rect key="frame" x="364" y="2" width="16" height="16"/>
<rect key="frame" x="486" y="2" width="16" height="16"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="bevel" bezelStyle="rounded" image="info" imagePosition="overlaps" alignment="center" alternateImage="info-pressed" imageScaling="proportionallyDown" inset="2" id="AFW-1U-iaL">
<behavior key="behavior" lightByContents="YES"/>
@@ -99,8 +99,8 @@
</tableView>
</subviews>
</clipView>
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="0.25" horizontal="YES" id="6">
<rect key="frame" x="1" y="289" width="378" height="16"/>
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="6">
<rect key="frame" x="1" y="443" width="503" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="4">
@@ -109,7 +109,7 @@
</scroller>
</scrollView>
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="12">
<rect key="frame" x="8" y="16" width="214" height="16"/>
<rect key="frame" x="8" y="16" width="339" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Queue items" id="13">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -117,7 +117,7 @@
</textFieldCell>
</textField>
<progressIndicator wantsLayer="YES" maxValue="100" indeterminate="YES" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="91">
<rect key="frame" x="228" y="13" width="140" height="20"/>
<rect key="frame" x="353" y="13" width="140" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="140" id="zk9-SM-dx0"/>
</constraints>
@@ -138,7 +138,7 @@
<connections>
<outlet property="delegate" destination="-2" id="c4X-w0-NMZ"/>
</connections>
<point key="canvasLocation" x="-66" y="113"/>
<point key="canvasLocation" x="165.5" y="60.5"/>
</window>
<menu id="78">
<items>
+10 -9
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -21,7 +21,7 @@
<rect key="frame" x="0.0" y="0.0" width="424" height="115"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ITP-pW-XrQ" propertyAccessControl="none">
<textField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ITP-pW-XrQ" propertyAccessControl="none">
<rect key="frame" x="18" y="91" width="388" height="14"/>
<textFieldCell key="cell" controlSize="small" selectable="YES" sendsActionOnEndEditing="YES" title="ItemName" id="5j3-R9-JdX">
<font key="font" metaFont="smallSystemBold"/>
@@ -32,7 +32,7 @@
<binding destination="-2" name="value" keyPath="self.name" id="KJR-7T-87z"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="MHQ-kr-DVS">
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="MHQ-kr-DVS">
<rect key="frame" x="18" y="51" width="73" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Destination:" id="9R2-ND-o8w">
<font key="font" metaFont="smallSystemBold"/>
@@ -40,7 +40,7 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="0Or-PU-gfk">
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="0Or-PU-gfk">
<rect key="frame" x="18" y="33" width="73" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Actions:" id="4B2-1n-ouM">
<font key="font" metaFont="smallSystemBold"/>
@@ -55,7 +55,7 @@
</binding>
</connections>
</textField>
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="eTa-uz-sjk" propertyAccessControl="none">
<textField focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="eTa-uz-sjk" propertyAccessControl="none">
<rect key="frame" x="95" y="51" width="311" height="14"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="charWrapping" selectable="YES" sendsActionOnEndEditing="YES" id="5mD-V5-53a">
<font key="font" metaFont="toolTip"/>
@@ -67,7 +67,7 @@
<binding destination="-2" name="value" keyPath="self.destPath" id="NW6-M3-Krl"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="990-0E-nlL">
<textField focusRingType="none" verticalHuggingPriority="750" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="990-0E-nlL">
<rect key="frame" x="18" y="69" width="73" height="14"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Source:" id="9De-A4-Oas">
<font key="font" metaFont="smallSystemBold"/>
@@ -75,7 +75,7 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="aBh-Is-f6Q" propertyAccessControl="none">
<textField focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" preferredMaxLayoutWidth="1200" translatesAutoresizingMaskIntoConstraints="NO" id="aBh-Is-f6Q" propertyAccessControl="none">
<rect key="frame" x="95" y="69" width="311" height="14"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="charWrapping" selectable="YES" sendsActionOnEndEditing="YES" id="OJa-Jm-vq4">
<font key="font" metaFont="toolTip"/>
@@ -181,9 +181,10 @@
<constraint firstItem="Skr-vw-eHq" firstAttribute="leading" secondItem="0Or-PU-gfk" secondAttribute="trailing" constant="8" id="rq3-29-5vx"/>
<constraint firstAttribute="bottom" secondItem="J0r-57-7ab" secondAttribute="bottom" constant="9" id="vQ6-oB-s7z"/>
</constraints>
<point key="canvasLocation" x="125" y="-121"/>
<point key="canvasLocation" x="200" y="-110"/>
</customView>
<arrayController objectClassName="SBQueueAction" id="J6Q-ls-Vzn">
<classReference key="objectClass" className="SBQueueAction"/>
<connections>
<binding destination="-2" name="contentArray" keyPath="item.actions" id="DPr-Hj-MPk"/>
</connections>
+71 -72
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22690"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -20,7 +20,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<button verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zEH-aV-Tl7">
<rect key="frame" x="111" y="95" width="68" height="16"/>
<rect key="frame" x="111" y="88" width="68" height="16"/>
<buttonCell key="cell" type="check" title="Optimize" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nig-pN-efw">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -37,7 +37,7 @@
</connections>
</button>
<button toolTip="Clear existing metadata" translatesAutoresizingMaskIntoConstraints="NO" id="9GN-f6-r2j">
<rect key="frame" x="111" y="612" width="145" height="16"/>
<rect key="frame" x="111" y="607" width="145" height="16"/>
<buttonCell key="cell" type="check" title="Clear existing metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="QNO-e1-WUJ">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -51,7 +51,7 @@
</connections>
</button>
<button verticalHuggingPriority="754" translatesAutoresizingMaskIntoConstraints="NO" id="MGZ-hB-jhx">
<rect key="frame" x="112" y="34" width="132" height="16"/>
<rect key="frame" x="112" y="39" width="132" height="16"/>
<buttonCell key="cell" type="check" title="Auto-Start the queue" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="LYO-G0-9jA">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -65,7 +65,7 @@
</connections>
</button>
<button toolTip="Organize the mp4 alternate groups" verticalHuggingPriority="757" translatesAutoresizingMaskIntoConstraints="NO" id="ccd-Xn-Dj3">
<rect key="frame" x="111" y="445" width="110" height="16"/>
<rect key="frame" x="111" y="440" width="110" height="16"/>
<buttonCell key="cell" type="check" title="Organize Groups" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="240-c7-2UW">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -79,7 +79,7 @@
</connections>
</button>
<button toolTip="Load the external srt subtitles file" verticalHuggingPriority="758" translatesAutoresizingMaskIntoConstraints="NO" id="etc-K7-Atw">
<rect key="frame" x="111" y="405" width="142" height="16"/>
<rect key="frame" x="111" y="400" width="142" height="16"/>
<buttonCell key="cell" type="check" title="Load external subtitles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="59T-kp-mV1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -93,7 +93,7 @@
</connections>
</button>
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="86l-GG-SpO">
<rect key="frame" x="195" y="134" width="130" height="17"/>
<rect key="frame" x="195" y="127" width="130" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="6jC-r9-LzT" id="8bb-Gy-KAS">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -121,24 +121,24 @@
<accessibilityConnection property="title" destination="vJ5-JB-k1m" id="D3Y-SD-Lcc"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="vJ5-JB-k1m">
<rect key="frame" x="132" y="136" width="56" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="vJ5-JB-k1m">
<rect key="frame" x="132" y="129" width="56" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Location:" id="17e-9u-rVn">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="NhN-Lg-awX">
<rect key="frame" x="126" y="156" width="62" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="NhN-Lg-awX">
<rect key="frame" x="126" y="149" width="62" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Apply Set:" id="9gt-mI-zIV">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-yP-QQ5">
<rect key="frame" x="126" y="570" width="48" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="eTL-yP-QQ5">
<rect key="frame" x="126" y="565" width="48" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -148,8 +148,8 @@
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="b58-Sd-wqT"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="bDo-OD-bck">
<rect key="frame" x="126" y="524" width="63" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="bDo-OD-bck">
<rect key="frame" x="126" y="519" width="63" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -159,16 +159,16 @@
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="VZ7-3B-gA7"/>
</connections>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="Uoo-hZ-D1f">
<rect key="frame" x="18" y="35" width="89" height="14"/>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="250" translatesAutoresizingMaskIntoConstraints="NO" id="Uoo-hZ-D1f">
<rect key="frame" x="18" y="40" width="89" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Global options:" id="NBN-VA-pg2">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="S7L-mA-j3Y">
<rect key="frame" x="49" y="613" width="58" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="S7L-mA-j3Y">
<rect key="frame" x="49" y="608" width="58" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Add item:" id="9ls-xq-YGz">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -176,7 +176,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DVM-Js-DwK">
<rect key="frame" x="195" y="154" width="130" height="17"/>
<rect key="frame" x="195" y="147" width="130" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bQx-xN-b3H">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -208,7 +208,7 @@
</connections>
</popUpButton>
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZVm-yi-3cE">
<rect key="frame" x="181" y="568" width="150" height="17"/>
<rect key="frame" x="181" y="563" width="150" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CbR-eu-sGI">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -235,7 +235,7 @@
</connections>
</popUpButton>
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tLh-V3-OfB">
<rect key="frame" x="195" y="522" width="150" height="17"/>
<rect key="frame" x="195" y="517" width="150" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UOb-Qe-IPw">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -261,8 +261,8 @@
</binding>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="BWL-Nn-iGH">
<rect key="frame" x="142" y="504" width="63" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="BWL-Nn-iGH">
<rect key="frame" x="142" y="499" width="63" height="14"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="58" id="vbR-Os-38g"/>
</constraints>
@@ -275,8 +275,8 @@
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="ZDg-5s-ifn"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Ns9-7q-hsh">
<rect key="frame" x="126" y="476" width="54" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="Ns9-7q-hsh">
<rect key="frame" x="126" y="471" width="54" height="14"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="98L-OX-PB1"/>
</constraints>
@@ -290,7 +290,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ce4-O7-Iu4">
<rect key="frame" x="212" y="502" width="150" height="17"/>
<rect key="frame" x="212" y="497" width="150" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nqF-p0-mT7">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -317,8 +317,8 @@
</binding>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="73q-gi-fe2">
<rect key="frame" x="142" y="550" width="63" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="73q-gi-fe2">
<rect key="frame" x="142" y="545" width="63" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -329,7 +329,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5rh-cM-iOg">
<rect key="frame" x="212" y="548" width="150" height="17"/>
<rect key="frame" x="212" y="543" width="150" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -358,7 +358,7 @@
</connections>
</popUpButton>
<button toolTip="Organize the audio fallbacks" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="TV6-Sk-Bqr">
<rect key="frame" x="111" y="425" width="118" height="16"/>
<rect key="frame" x="111" y="420" width="118" height="16"/>
<buttonCell key="cell" type="check" title="Fix audio fallbacks" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="W6u-1c-BsI">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -375,7 +375,7 @@
</connections>
</button>
<button toolTip="Set tracks without a language to the selected one" verticalHuggingPriority="756" translatesAutoresizingMaskIntoConstraints="NO" id="slL-2h-MPl">
<rect key="frame" x="111" y="325" width="159" height="16"/>
<rect key="frame" x="111" y="320" width="159" height="16"/>
<buttonCell key="cell" type="check" title="Complete tracks language" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="cxz-2q-RIP">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -388,8 +388,8 @@
</binding>
</connections>
</button>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="swT-iM-shZ">
<rect key="frame" x="126" y="307" width="64" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="swT-iM-shZ">
<rect key="frame" x="126" y="302" width="64" height="14"/>
<constraints>
<constraint firstAttribute="width" constant="60" id="x6U-u1-ezQ"/>
</constraints>
@@ -403,7 +403,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZZk-4j-Ji7">
<rect key="frame" x="197" y="305" width="111" height="17"/>
<rect key="frame" x="197" y="300" width="111" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kEh-SN-iHZ">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -430,8 +430,8 @@
<binding destination="-2" name="enabled" keyPath="self.options.fixTrackLanguage" id="iYk-sU-PL5"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="ntU-85-AaJ">
<rect key="frame" x="126" y="267" width="63" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="ntU-85-AaJ">
<rect key="frame" x="126" y="262" width="63" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="963-dI-WCB">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -442,7 +442,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ztL-LO-XhV">
<rect key="frame" x="196" y="265" width="111" height="17"/>
<rect key="frame" x="196" y="260" width="111" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="tj2-P4-OCU">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -470,7 +470,7 @@
</connections>
</popUpButton>
<button horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3et-YT-WBR">
<rect key="frame" x="111" y="284" width="195" height="16"/>
<rect key="frame" x="111" y="279" width="195" height="16"/>
<string key="toolTip">In files with multiple audio tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language audio to play by default. An audio track labeled with the selected language and tagged as main program content must exist. </string>
<buttonCell key="cell" type="check" title="Enable audio track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="nC7-4d-Is1">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -485,7 +485,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LiA-V6-VEx" userLabel="Change Subtitle Language Track">
<rect key="frame" x="111" y="247" width="218" height="16"/>
<rect key="frame" x="111" y="242" width="211" height="16"/>
<string key="toolTip">In files with multiple subtitle tracks in different languages, this will enable the preferred langauge and disable all other tracks. For AppleTV and some other players, this allows the preferred language subtitles to play by default. A subtitle track labeled with the preferred language must exist in the file.</string>
<buttonCell key="cell" type="check" title="Enable subtitles track with language" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="LD5-Kv-x0M" userLabel="Change Subtitle Language Track">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -500,7 +500,7 @@
</connections>
</button>
<button verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="yI9-2a-q2a">
<rect key="frame" x="112" y="14" width="178" height="16"/>
<rect key="frame" x="112" y="19" width="178" height="16"/>
<buttonCell key="cell" type="check" title="Show Notification When Done" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="n6P-IC-SEp">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -514,7 +514,7 @@
</connections>
</button>
<button toolTip="Delete all custom track names" verticalHuggingPriority="752" translatesAutoresizingMaskIntoConstraints="NO" id="22k-mA-HyA">
<rect key="frame" x="111" y="385" width="122" height="16"/>
<rect key="frame" x="111" y="380" width="122" height="16"/>
<buttonCell key="cell" type="check" title="Clear tracks names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="mtK-5C-Pzh">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -528,7 +528,7 @@
</connections>
</button>
<button toolTip="Rename audio tracks according to channel count (Mono, Stereo, Surround)" verticalHuggingPriority="753" translatesAutoresizingMaskIntoConstraints="NO" id="81E-pQ-vyQ">
<rect key="frame" x="111" y="365" width="159" height="16"/>
<rect key="frame" x="111" y="360" width="159" height="16"/>
<buttonCell key="cell" type="check" title="Prettify audio track names" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="akF-dR-OPB" userLabel="Prettify audio track names">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -542,7 +542,7 @@
</connections>
</button>
<button toolTip="Rename chapters titles to &quot;Chapter N&quot; format." verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="0qr-Nt-Pan">
<rect key="frame" x="111" y="345" width="142" height="16"/>
<rect key="frame" x="111" y="340" width="142" height="16"/>
<buttonCell key="cell" type="check" title="Rename chapters titles" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="yFm-Nq-s66" userLabel="Prettify audio track names">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -556,7 +556,7 @@
</connections>
</button>
<popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="08Q-2k-0Gb">
<rect key="frame" x="187" y="474" width="70" height="17"/>
<rect key="frame" x="187" y="469" width="70" height="17"/>
<popUpButtonCell key="cell" type="roundRect" title="Poster" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="YjX-6f-SPu" id="1t8-o9-ckI">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -587,7 +587,7 @@
</connections>
</popUpButton>
<button toolTip="Set the color space of video tracks to the selected one" verticalHuggingPriority="755" translatesAutoresizingMaskIntoConstraints="NO" id="Pdq-s0-erT">
<rect key="frame" x="111" y="210" width="115" height="16"/>
<rect key="frame" x="111" y="205" width="115" height="16"/>
<buttonCell key="cell" type="check" title="Apply color space" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="0By-RQ-4mS">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -600,8 +600,8 @@
</binding>
</connections>
</button>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="2Hf-2V-95U">
<rect key="frame" x="126" y="192" width="76" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="2Hf-2V-95U">
<rect key="frame" x="126" y="187" width="76" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Color Space:" id="tMS-Tg-pPf">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -612,7 +612,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="s2g-Iz-52P">
<rect key="frame" x="209" y="190" width="150" height="18"/>
<rect key="frame" x="209" y="185" width="150" height="18"/>
<popUpButtonCell key="cell" type="roundRect" title="Implicit" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="psY-0V-t0k" id="QT5-Bh-4Hc">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -641,7 +641,7 @@
</connections>
</popUpButton>
<button toolTip="Search metadata online" verticalHuggingPriority="759" translatesAutoresizingMaskIntoConstraints="NO" id="s8r-Cf-VfB">
<rect key="frame" x="111" y="592" width="103" height="16"/>
<rect key="frame" x="111" y="587" width="103" height="16"/>
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="h5x-un-6cJ">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -655,7 +655,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="zVi-vU-sh2">
<rect key="frame" x="111" y="76" width="145" height="16"/>
<rect key="frame" x="111" y="69" width="145" height="16"/>
<buttonCell key="cell" type="check" title="Send to AppleTV/iTunes" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="4an-VK-S2u">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -669,7 +669,7 @@
</connections>
</button>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="k33-Yf-DbF">
<rect key="frame" x="263" y="474" width="73" height="17"/>
<rect key="frame" x="263" y="469" width="73" height="17"/>
<popUpButtonCell key="cell" type="roundRect" title="Standard" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" selectedItem="goC-ck-how" id="obA-0k-yqE">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -693,8 +693,8 @@
<binding destination="-2" name="enabled" keyPath="self.options.searchMetadata" id="UK3-vK-Ddd"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="FJc-Hc-zCR">
<rect key="frame" x="126" y="230" width="63" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="FJc-Hc-zCR">
<rect key="frame" x="126" y="225" width="63" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Language:" id="E4E-3v-z24">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -705,7 +705,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YJ5-of-VuU">
<rect key="frame" x="196" y="228" width="111" height="17"/>
<rect key="frame" x="196" y="223" width="111" height="17"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="muE-Km-mrP">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -733,7 +733,7 @@
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hjl-i0-gFW">
<rect key="frame" x="111" y="173" width="124" height="16"/>
<rect key="frame" x="111" y="166" width="124" height="16"/>
<buttonCell key="cell" type="check" title="Set output filename" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="Qld-0F-DsX">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -743,7 +743,7 @@
</connections>
</button>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KWg-Ak-bB6">
<rect key="frame" x="195" y="114" width="130" height="17"/>
<rect key="frame" x="195" y="107" width="130" height="17"/>
<popUpButtonCell key="cell" type="roundRect" title="mp4" bezelStyle="roundedRect" imagePosition="left" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="10" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" selectedItem="iXb-rA-1f3" id="Tgc-fW-mN5">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="label" size="11"/>
@@ -762,8 +762,8 @@
<binding destination="-2" name="selectedValue" keyPath="self.options.fileType" id="cpt-5g-SPz"/>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="muY-E0-hVI">
<rect key="frame" x="129" y="116" width="59" height="14"/>
<textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="200" translatesAutoresizingMaskIntoConstraints="NO" id="muY-E0-hVI">
<rect key="frame" x="129" y="109" width="59" height="14"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="File Type:" id="UbR-KJ-8iR">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -778,30 +778,27 @@
<constraint firstItem="eTL-yP-QQ5" firstAttribute="baseline" secondItem="ZVm-yi-3cE" secondAttribute="baseline" id="2QL-tK-mnk"/>
<constraint firstItem="Uoo-hZ-D1f" firstAttribute="trailing" secondItem="S7L-mA-j3Y" secondAttribute="trailing" id="2nH-CB-Xrm"/>
<constraint firstItem="Hjl-i0-gFW" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="37z-nU-kY2"/>
<constraint firstItem="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="3TZ-bb-Hrc"/>
<constraint firstItem="Ns9-7q-hsh" firstAttribute="leading" secondItem="eTL-yP-QQ5" secondAttribute="leading" id="3lE-zv-GLa"/>
<constraint firstItem="BWL-Nn-iGH" firstAttribute="leading" secondItem="73q-gi-fe2" secondAttribute="leading" id="4F6-3i-TFt"/>
<constraint firstItem="Uoo-hZ-D1f" firstAttribute="baseline" secondItem="MGZ-hB-jhx" secondAttribute="baseline" id="60E-u1-vWH"/>
<constraint firstItem="73q-gi-fe2" firstAttribute="baseline" secondItem="5rh-cM-iOg" secondAttribute="baseline" id="66k-sh-Ru9"/>
<constraint firstItem="vJ5-JB-k1m" firstAttribute="top" secondItem="NhN-Lg-awX" secondAttribute="bottom" constant="6" id="6oE-wc-3VM"/>
<constraint firstItem="etc-K7-Atw" firstAttribute="top" secondItem="TV6-Sk-Bqr" secondAttribute="bottom" constant="6" symbolic="YES" id="957-mU-89Q"/>
<constraint firstItem="ccd-Xn-Dj3" firstAttribute="top" secondItem="08Q-2k-0Gb" secondAttribute="bottom" constant="15" id="9cv-6n-XUW"/>
<constraint firstAttribute="bottom" secondItem="yI9-2a-q2a" secondAttribute="bottom" constant="15" id="9sX-va-Dwk"/>
<constraint firstItem="muY-E0-hVI" firstAttribute="top" secondItem="vJ5-JB-k1m" secondAttribute="bottom" constant="6" id="Cy6-XK-sSC"/>
<constraint firstAttribute="bottom" secondItem="yI9-2a-q2a" secondAttribute="bottom" constant="20" id="9sX-va-Dwk"/>
<constraint firstItem="ZZk-4j-Ji7" firstAttribute="leading" secondItem="swT-iM-shZ" secondAttribute="trailing" constant="9" id="DAW-9N-Oi1"/>
<constraint firstItem="NhN-Lg-awX" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="4" id="EoB-Hi-KKF"/>
<constraint firstItem="zVi-vU-sh2" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="Eua-v1-wC3"/>
<constraint firstItem="zEH-aV-Tl7" firstAttribute="top" secondItem="KWg-Ak-bB6" secondAttribute="bottom" constant="5" id="G6e-3t-3Qo"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ccd-Xn-Dj3" secondAttribute="trailing" constant="20" symbolic="YES" id="GMb-eq-e9x"/>
<constraint firstItem="Ce4-O7-Iu4" firstAttribute="top" secondItem="tLh-V3-OfB" secondAttribute="bottom" constant="4" id="GZU-yB-OvD"/>
<constraint firstItem="swT-iM-shZ" firstAttribute="leading" secondItem="slL-2h-MPl" secondAttribute="leading" constant="16" id="IET-Co-LEB"/>
<constraint firstItem="DVM-Js-DwK" firstAttribute="baseline" secondItem="NhN-Lg-awX" secondAttribute="baseline" id="IIu-ZN-CEa"/>
<constraint firstItem="ztL-LO-XhV" firstAttribute="leading" secondItem="ntU-85-AaJ" secondAttribute="trailing" constant="9" id="K3L-f4-IZc"/>
<constraint firstItem="Hjl-i0-gFW" firstAttribute="top" secondItem="s2g-Iz-52P" secondAttribute="bottom" constant="5" id="KsR-cp-dYg"/>
<constraint firstItem="tLh-V3-OfB" firstAttribute="leading" secondItem="bDo-OD-bck" secondAttribute="trailing" constant="8" symbolic="YES" id="LkT-ae-DtF"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="9GN-f6-r2j" secondAttribute="trailing" constant="20" symbolic="YES" id="MDf-Y0-K0I"/>
<constraint firstItem="FJc-Hc-zCR" firstAttribute="leading" secondItem="LiA-V6-VEx" secondAttribute="leading" constant="16" id="MQ9-dx-nHh"/>
<constraint firstItem="zVi-vU-sh2" firstAttribute="top" secondItem="zEH-aV-Tl7" secondAttribute="bottom" constant="5" id="Mmx-43-nCr"/>
<constraint firstItem="swT-iM-shZ" firstAttribute="baseline" secondItem="ZZk-4j-Ji7" secondAttribute="baseline" id="NVg-BO-A8O"/>
<constraint firstItem="Hjl-i0-gFW" firstAttribute="top" secondItem="2Hf-2V-95U" secondAttribute="bottom" constant="4" id="Nli-Lf-nnu"/>
<constraint firstItem="slL-2h-MPl" firstAttribute="top" secondItem="0qr-Nt-Pan" secondAttribute="bottom" constant="6" symbolic="YES" id="Nn2-m3-qrI"/>
<constraint firstItem="ntU-85-AaJ" firstAttribute="baseline" secondItem="ztL-LO-XhV" secondAttribute="baseline" id="P2e-3H-9uY"/>
<constraint firstItem="s2g-Iz-52P" firstAttribute="leading" secondItem="2Hf-2V-95U" secondAttribute="trailing" constant="9" id="PCQ-pI-3nq"/>
@@ -811,8 +808,8 @@
<constraint firstItem="BWL-Nn-iGH" firstAttribute="baseline" secondItem="Ce4-O7-Iu4" secondAttribute="baseline" id="R7k-Cz-UbH"/>
<constraint firstItem="slL-2h-MPl" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="RYO-ud-gve"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="slL-2h-MPl" secondAttribute="trailing" constant="20" symbolic="YES" id="RrJ-dB-kUg"/>
<constraint firstItem="Pdq-s0-erT" firstAttribute="top" secondItem="YJ5-of-VuU" secondAttribute="bottom" constant="4" id="SJH-vG-SoX"/>
<constraint firstItem="YJ5-of-VuU" firstAttribute="top" secondItem="LiA-V6-VEx" secondAttribute="bottom" constant="3" id="SPV-V9-fNd"/>
<constraint firstItem="s2g-Iz-52P" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="3" id="TY3-v9-t2l"/>
<constraint firstItem="ntU-85-AaJ" firstAttribute="leading" secondItem="3et-YT-WBR" secondAttribute="leading" constant="16" id="ToH-GW-vZD"/>
<constraint firstItem="81E-pQ-vyQ" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="Tx4-WN-8eT"/>
<constraint firstItem="Pdq-s0-erT" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="UCC-4h-SBw"/>
@@ -823,14 +820,14 @@
<constraint firstItem="S7L-mA-j3Y" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="UlG-O3-eNc" secondAttribute="leading" constant="20" symbolic="YES" id="Wtg-8x-kIs"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="s2g-Iz-52P" secondAttribute="trailing" constant="20" symbolic="YES" id="X1t-8Y-baf"/>
<constraint firstItem="TV6-Sk-Bqr" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="X37-Ek-Obs"/>
<constraint firstItem="DVM-Js-DwK" firstAttribute="top" secondItem="Hjl-i0-gFW" secondAttribute="bottom" constant="3" id="X54-PH-kRj"/>
<constraint firstItem="etc-K7-Atw" firstAttribute="trailing" secondItem="0qr-Nt-Pan" secondAttribute="trailing" id="XT5-Su-3cJ"/>
<constraint firstItem="2Hf-2V-95U" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="5" id="Ylb-ff-hBi"/>
<constraint firstItem="eTL-yP-QQ5" firstAttribute="leading" secondItem="s8r-Cf-VfB" secondAttribute="leading" constant="16" id="Z6O-Is-xJw"/>
<constraint firstItem="k33-Yf-DbF" firstAttribute="leading" secondItem="08Q-2k-0Gb" secondAttribute="trailing" constant="6" id="aBD-L7-WLH"/>
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="Uoo-hZ-D1f" secondAttribute="trailing" constant="8" symbolic="YES" id="bZX-aT-V7w"/>
<constraint firstItem="KWg-Ak-bB6" firstAttribute="top" secondItem="86l-GG-SpO" secondAttribute="bottom" constant="4" id="cxd-ok-Pio"/>
<constraint firstItem="KWg-Ak-bB6" firstAttribute="leading" secondItem="muY-E0-hVI" secondAttribute="trailing" constant="9" id="dS3-YF-Fsp"/>
<constraint firstItem="ztL-LO-XhV" firstAttribute="top" secondItem="3et-YT-WBR" secondAttribute="bottom" constant="3" id="eAi-4b-fS1"/>
<constraint firstItem="zEH-aV-Tl7" firstAttribute="top" secondItem="muY-E0-hVI" secondAttribute="bottom" constant="6" id="ei1-yP-0CS"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="s8r-Cf-VfB" secondAttribute="trailing" constant="20" symbolic="YES" id="esG-2e-jbB"/>
<constraint firstItem="vJ5-JB-k1m" firstAttribute="trailing" secondItem="NhN-Lg-awX" secondAttribute="trailing" id="fEv-Vf-2Dv"/>
<constraint firstItem="LiA-V6-VEx" firstAttribute="top" secondItem="ztL-LO-XhV" secondAttribute="bottom" constant="4" id="fW1-9T-b7C"/>
@@ -850,15 +847,15 @@
<constraint firstItem="etc-K7-Atw" firstAttribute="leading" secondItem="S7L-mA-j3Y" secondAttribute="trailing" constant="7" id="lRh-Vo-1XH"/>
<constraint firstItem="KWg-Ak-bB6" firstAttribute="firstBaseline" secondItem="muY-E0-hVI" secondAttribute="firstBaseline" id="lu4-VE-F0x"/>
<constraint firstItem="22k-mA-HyA" firstAttribute="top" secondItem="etc-K7-Atw" secondAttribute="bottom" constant="6" symbolic="YES" id="mRD-fX-qMt"/>
<constraint firstItem="86l-GG-SpO" firstAttribute="top" secondItem="DVM-Js-DwK" secondAttribute="bottom" constant="4" id="mYq-MI-cyr"/>
<constraint firstItem="ZZk-4j-Ji7" firstAttribute="top" secondItem="slL-2h-MPl" secondAttribute="bottom" constant="4" id="n9b-Ub-usn"/>
<constraint firstItem="08Q-2k-0Gb" firstAttribute="baseline" secondItem="k33-Yf-DbF" secondAttribute="baseline" id="nPl-tv-zwn"/>
<constraint firstItem="81E-pQ-vyQ" firstAttribute="top" secondItem="22k-mA-HyA" secondAttribute="bottom" constant="6" symbolic="YES" id="ntR-jS-xXX"/>
<constraint firstItem="5rh-cM-iOg" firstAttribute="top" secondItem="ZVm-yi-3cE" secondAttribute="bottom" constant="4" id="o3T-cH-W5B"/>
<constraint firstItem="5rh-cM-iOg" firstAttribute="leading" secondItem="73q-gi-fe2" secondAttribute="trailing" constant="9" id="oAW-Hc-PIL"/>
<constraint firstItem="s8r-Cf-VfB" firstAttribute="leading" secondItem="9GN-f6-r2j" secondAttribute="leading" id="oUh-bK-O8z"/>
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="15" id="qfC-zl-k6y"/>
<constraint firstItem="S7L-mA-j3Y" firstAttribute="top" secondItem="UlG-O3-eNc" secondAttribute="top" constant="20" id="qfC-zl-k6y"/>
<constraint firstItem="tLh-V3-OfB" firstAttribute="top" secondItem="5rh-cM-iOg" secondAttribute="bottom" constant="10" id="qgN-Bo-MoW"/>
<constraint firstItem="s2g-Iz-52P" firstAttribute="top" secondItem="Pdq-s0-erT" secondAttribute="bottom" constant="3" id="rhq-4q-lqQ"/>
<constraint firstItem="YJ5-of-VuU" firstAttribute="leading" secondItem="FJc-Hc-zCR" secondAttribute="trailing" constant="9" id="s62-9o-HgE"/>
<constraint firstItem="muY-E0-hVI" firstAttribute="trailing" secondItem="vJ5-JB-k1m" secondAttribute="trailing" id="sGc-c4-SAY"/>
<constraint firstItem="TV6-Sk-Bqr" firstAttribute="top" secondItem="ccd-Xn-Dj3" secondAttribute="bottom" constant="6" symbolic="YES" id="sLa-WX-X4o"/>
@@ -867,11 +864,13 @@
<constraint firstItem="08Q-2k-0Gb" firstAttribute="top" secondItem="Ce4-O7-Iu4" secondAttribute="bottom" constant="12" id="vAJ-AI-csp"/>
<constraint firstItem="bDo-OD-bck" firstAttribute="leading" secondItem="eTL-yP-QQ5" secondAttribute="leading" id="vCX-Uv-1ad"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="22k-mA-HyA" secondAttribute="trailing" constant="20" symbolic="YES" id="w8d-N9-ueg"/>
<constraint firstItem="Pdq-s0-erT" firstAttribute="top" secondItem="YJ5-of-VuU" secondAttribute="bottom" constant="4" id="wvH-wm-dox"/>
<constraint firstItem="3et-YT-WBR" firstAttribute="top" secondItem="swT-iM-shZ" secondAttribute="bottom" constant="8" symbolic="YES" id="y2J-57-qCW"/>
<constraint firstItem="DVM-Js-DwK" firstAttribute="leading" secondItem="NhN-Lg-awX" secondAttribute="trailing" constant="9" id="yIt-8L-VbD"/>
<constraint firstItem="MGZ-hB-jhx" firstAttribute="top" secondItem="zVi-vU-sh2" secondAttribute="bottom" constant="16" id="zMD-eX-e2y"/>
<constraint firstItem="MGZ-hB-jhx" firstAttribute="leading" secondItem="yI9-2a-q2a" secondAttribute="leading" id="zpo-Kd-EaI"/>
</constraints>
<point key="canvasLocation" x="-1040" y="-34"/>
<point key="canvasLocation" x="-1040" y="-23"/>
</customView>
<arrayController objectClassName="Preset" automaticallyPreparesContent="YES" id="vyv-na-Xpo" userLabel="Set Controller">
<declaredKeys>
+3 -3
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -378,7 +378,7 @@ Gw
<constraint firstItem="3EA-ze-TJM" firstAttribute="leading" secondItem="gTi-Iq-Nr3" secondAttribute="trailing" constant="12" id="vTd-Bl-Rjc"/>
<constraint firstAttribute="bottom" secondItem="3EA-ze-TJM" secondAttribute="bottom" constant="20" symbolic="YES" id="zdI-AV-TEM"/>
</constraints>
<point key="canvasLocation" x="27" y="-55"/>
<point key="canvasLocation" x="259" y="2"/>
</view>
</objects>
</document>
+21 -25
View File
@@ -62,38 +62,15 @@ final class DocumentController : NSDocumentController {
}
@NSApplicationMain
final class AppDelegate: NSObject, NSApplicationDelegate {
final class AppDelegate: NSObject, NSApplicationDelegate, NSMenuItemValidation {
@IBOutlet weak var sendToExternalApp: NSMenuItem!
private static func appSupportURL() -> URL {
let fileManager = FileManager.default
if let url = fileManager.urls(for: .applicationSupportDirectory, in: .userDomainMask)
.first?.appendingPathComponent("Subler") {
do {
if fileManager.fileExists(atPath: url.path) == false {
try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: [:])
}
}
catch _ {
fatalError("Couldn't create the app support directory")
}
return url
}
else {
fatalError("Couldn't find the app support directory")
}
}
@MainActor private lazy var prefsController: PrefsWindowController = {
return PrefsWindowController()
}()
private lazy var logger: Logger = {
return Logger(fileURL: AppDelegate.appSupportURL().appendingPathComponent("debugLog.txt"))
}()
private let logger = Logger.shared
@MainActor private lazy var activityWindowController: ActivityWindowController = {
return ActivityWindowController(logger: logger)
@@ -236,6 +213,25 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
return false
}
@IBAction func toggleStartStop(_ sender: Any?) {
QueueController.shared.toggleStartStop(sender)
}
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
let action = menuItem.action
if action == #selector(toggleStartStop(_:)) {
let state = QueueController.shared.status
if state == .working {
menuItem.title = NSLocalizedString("Stop Queue", comment: "Main Menu -> Stop Queue")
} else {
menuItem.title = NSLocalizedString("Start Queue", comment: "Main Menu -> Start Queue")
}
}
return true
}
// MARK: actions
@IBAction func openInQueue(_ sender: Any) {
+13 -9
View File
@@ -6,7 +6,6 @@
//
import Cocoa
import Quartz
import MP42Foundation
private protocol ArtworkImageObjectDelegate: AnyObject {
@@ -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
+2 -2
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
+3 -2
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14087.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14087.3"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -16,6 +16,7 @@
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<point key="canvasLocation" x="261" y="18"/>
</customView>
</objects>
</document>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -16,8 +16,8 @@
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" toolbarStyle="expanded" id="s5f-yH-26m" userLabel="Window">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="70" y="318" width="520" height="510"/>
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>
<rect key="contentRect" x="50" y="490" width="520" height="510"/>
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
<value key="minSize" type="size" width="520" height="510"/>
<view key="contentView" id="rip-YL-WpY">
<rect key="frame" x="0.0" y="0.0" width="520" height="510"/>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -19,23 +19,23 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="641" height="497"/>
<rect key="frame" x="0.0" y="0.0" width="642" height="497"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XK-zr-YdW">
<rect key="frame" x="166" y="142" width="455" height="311"/>
<rect key="frame" x="166" y="142" width="456" height="311"/>
<clipView key="contentView" id="mho-zw-2Ud">
<rect key="frame" x="1" y="1" width="453" height="309"/>
<rect key="frame" x="1" y="1" width="454" height="309"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" tableStyle="plain" columnReordering="NO" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="REl-53-Sku" viewBased="YES" id="Tid-Rc-Ljr">
<rect key="frame" x="0.0" y="0.0" width="453" height="286"/>
<rect key="frame" x="0.0" y="0.0" width="454" height="286"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="annotation" width="144.5" minWidth="40" maxWidth="1000" id="6um-Rw-luk">
<tableColumn identifier="annotation" width="145" minWidth="40" maxWidth="1000" id="6um-Rw-luk">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Annotations">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
@@ -74,7 +74,7 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="value" width="302.5" minWidth="40" maxWidth="1000" id="Aj4-bk-6RK">
<tableColumn identifier="value" width="303" minWidth="40" maxWidth="1000" id="Aj4-bk-6RK">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Value">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
@@ -87,11 +87,11 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView identifier="value" id="5Ey-Te-51o" customClass="TokenCellView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="148.5" y="1" width="302" height="17"/>
<rect key="frame" x="149" y="1" width="303" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3sj-gY-zSo">
<rect key="frame" x="1" y="1" width="300" height="15"/>
<rect key="frame" x="1" y="1" width="301" height="15"/>
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" allowsEditingTextAttributes="YES" id="BaM-xn-Wzr" customClass="TokenFieldCell" customModule="Subler" customModuleProvider="target">
<font key="font" metaFont="cellTitle"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -134,12 +134,12 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" wantsLayer="YES" id="REl-53-Sku">
<rect key="frame" x="0.0" y="0.0" width="453" height="23"/>
<rect key="frame" x="0.0" y="0.0" width="454" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<tokenField focusRingType="none" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y15-gP-AOw">
<rect key="frame" x="18" y="67" width="605" height="15"/>
<rect key="frame" x="18" y="67" width="606" height="15"/>
<tokenFieldCell key="cell" selectable="YES" allowsUndo="NO" alignment="left" allowsEditingTextAttributes="YES" id="rG5-g2-YmU">
<font key="font" metaFont="cellTitle"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -151,8 +151,8 @@
</connections>
</tokenField>
<button toolTip="Remove selected item" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sd5-qb-K5v">
<rect key="frame" x="194" y="113" width="26" height="22"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
<rect key="frame" x="207" y="107" width="44" height="32"/>
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="9UV-xM-L5F">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
@@ -161,10 +161,10 @@
</connections>
</button>
<popUpButton toolTip="Add annotation" verticalHuggingPriority="249" horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="Jdh-Cj-6ef">
<rect key="frame" x="166" y="113" width="29" height="22"/>
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
<rect key="frame" x="163" y="110" width="53" height="25"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" inset="2" pullsDown="YES" selectedItem="5wF-Yq-18d" id="Hfq-XE-kzZ">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
<font key="font" metaFont="message"/>
<menu key="menu" id="ywu-nj-9bP">
<items>
<menuItem image="NSAddTemplate" hidden="YES" id="5wF-Yq-18d">
@@ -173,23 +173,10 @@
</items>
</menu>
</popUpButtonCell>
<constraints>
<constraint firstAttribute="height" constant="20" id="zjQ-DY-ahs"/>
</constraints>
<connections>
<action selector="addMetadataItem:" target="-2" id="wQl-dy-iQm"/>
</connections>
</popUpButton>
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
<rect key="frame" x="15" y="19" width="356" height="41"/>
<buttonCell key="cell" type="check" title="Keep empty annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7Ek-lI-5Lo">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
</connections>
</button>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h1q-Xr-y6R">
<rect key="frame" x="20" y="142" width="138" height="311"/>
<clipView key="contentView" id="KId-fX-q1q">
@@ -269,7 +256,7 @@
</tableHeaderView>
</scrollView>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8sr-aI-VZy">
<rect key="frame" x="18" y="90" width="605" height="16"/>
<rect key="frame" x="18" y="90" width="606" height="16"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Available values:" id="OYx-Dd-YIf">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -277,8 +264,8 @@
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BkU-sx-jUf">
<rect key="frame" x="501" y="113" width="120" height="22"/>
<buttonCell key="cell" type="smallSquare" title="Restore Defaults" bezelStyle="smallSquare" image="buttonCell:nBh-jv-KDG:image" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
<rect key="frame" x="494" y="107" width="135" height="32"/>
<buttonCell key="cell" type="push" title="Restore Defaults" bezelStyle="rounded" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nBh-jv-KDG">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
@@ -297,21 +284,31 @@
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button horizontalHuggingPriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="ZMK-Xt-bJh">
<rect key="frame" x="18" y="19" width="173" height="41"/>
<buttonCell key="cell" type="check" title="Keep empty annotations" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="7Ek-lI-5Lo">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="LQR-UU-5Gl" name="value" keyPath="values.SBMetadataKeepEmptyAnnotations" id="ZWu-yg-7bJ"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="bottom" secondItem="sd5-qb-K5v" secondAttribute="bottom" id="0SP-GV-ri1"/>
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="leading" secondItem="1XK-zr-YdW" secondAttribute="leading" id="1EI-3q-Cy7"/>
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2i2-lP-HkJ"/>
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="h1q-Xr-y6R" secondAttribute="leading" id="7f9-AI-w1t"/>
<constraint firstAttribute="trailing" secondItem="Y15-gP-AOw" secondAttribute="trailing" constant="20" id="8il-IM-mGa"/>
<constraint firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" constant="20" symbolic="YES" id="9fj-nw-Dnj"/>
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="sd5-qb-K5v" secondAttribute="trailing" constant="-203" id="BJ5-Wy-0IT"/>
<constraint firstItem="h1q-Xr-y6R" firstAttribute="bottom" secondItem="1XK-zr-YdW" secondAttribute="bottom" id="BRg-Qn-cnk"/>
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="BpM-Kf-SfT"/>
<constraint firstAttribute="trailing" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="270" id="DbB-rO-WGW"/>
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="trailing" secondItem="Y15-gP-AOw" secondAttribute="trailing" constant="-250" id="FE7-1p-ZNW"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZMK-Xt-bJh" secondAttribute="trailing" constant="20" id="GLC-tk-eTl"/>
<constraint firstItem="8sr-aI-VZy" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="HFP-B1-ScR"/>
<constraint firstItem="h1q-Xr-y6R" firstAttribute="leading" secondItem="Y15-gP-AOw" secondAttribute="leading" id="HMX-Qb-8MC"/>
<constraint firstItem="h1q-Xr-y6R" firstAttribute="centerY" secondItem="1XK-zr-YdW" secondAttribute="centerY" id="JHk-tE-xQI"/>
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" symbolic="YES" id="NcZ-Os-USj"/>
<constraint firstItem="Jdh-Cj-6ef" firstAttribute="top" secondItem="h1q-Xr-y6R" secondAttribute="bottom" constant="8" id="NcZ-Os-USj"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ZpH-Zy-mAt" secondAttribute="trailing" constant="20" symbolic="YES" id="P7f-Fl-xTL"/>
<constraint firstItem="h1q-Xr-y6R" firstAttribute="top" secondItem="ZpH-Zy-mAt" secondAttribute="bottom" constant="8" symbolic="YES" id="S2n-Cv-TwB"/>
<constraint firstItem="BkU-sx-jUf" firstAttribute="centerY" secondItem="sd5-qb-K5v" secondAttribute="centerY" id="ZWW-ZP-Xp1"/>
@@ -321,13 +318,12 @@
<constraint firstItem="BkU-sx-jUf" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="fdW-8M-iew"/>
<constraint firstItem="8sr-aI-VZy" firstAttribute="top" secondItem="Jdh-Cj-6ef" secondAttribute="bottom" constant="8" id="gVT-X2-Zcu"/>
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="top" secondItem="Y15-gP-AOw" secondAttribute="bottom" constant="8" symbolic="YES" id="jNv-GA-dH3"/>
<constraint firstItem="ZMK-Xt-bJh" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="-178" id="k7p-wK-1iJ"/>
<constraint firstItem="BkU-sx-jUf" firstAttribute="height" secondItem="Jdh-Cj-6ef" secondAttribute="height" id="lyO-6Z-Osi"/>
<constraint firstItem="Y15-gP-AOw" firstAttribute="top" secondItem="8sr-aI-VZy" secondAttribute="bottom" constant="8" id="mFt-Ao-lHu"/>
<constraint firstItem="Y15-gP-AOw" firstAttribute="trailing" secondItem="8sr-aI-VZy" secondAttribute="trailing" id="mXF-1R-Sbp"/>
<constraint firstAttribute="bottom" secondItem="ZMK-Xt-bJh" secondAttribute="bottom" constant="20" symbolic="YES" id="qbM-tp-ooC"/>
<constraint firstItem="ZpH-Zy-mAt" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="ttK-B9-wyu"/>
<constraint firstItem="sd5-qb-K5v" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="-1" id="vIk-e5-WB3"/>
<constraint firstItem="sd5-qb-K5v" firstAttribute="leading" secondItem="Jdh-Cj-6ef" secondAttribute="trailing" constant="2" id="vIk-e5-WB3"/>
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="166" id="yZg-V9-bxH"/>
</constraints>
<point key="canvasLocation" x="-295.5" y="-469.5"/>
@@ -343,58 +339,5 @@
<resources>
<image name="NSAddTemplate" width="18" height="17"/>
<image name="NSRemoveTemplate" width="18" height="5"/>
<image name="buttonCell:nBh-jv-KDG:image" width="1" height="1">
<mutableData key="keyedArchiveRepresentation">
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05T
S2V5ZWRBcmNoaXZlctEICVRyb290gAGuCwwZGh8UJCkqMTQ3PUBVJG51bGzWDQ4PEBESExQVFhcYVk5T
U2l6ZV5OU1Jlc2l6aW5nTW9kZVYkY2xhc3NcTlNJbWFnZUZsYWdzVk5TUmVwc1dOU0NvbG9ygAIQAIAN
EiDDAACAA4ALVnsxLCAxfdIbDxweWk5TLm9iamVjdHOhHYAEgArSGw8gI6IhIoAFgAaACdMPJSYnKBRf
EBROU1RJRkZSZXByZXNlbnRhdGlvbl8QGU5TSW50ZXJuYWxMYXlvdXREaXJlY3Rpb26ACIAHTxEIxE1N
ACoAAAAKAAAAEAEAAAMAAAABAAEAAAEBAAMAAAABAAEAAAECAAMAAAACAAgACAEDAAMAAAABAAEAAAEG
AAMAAAABAAEAAAEKAAMAAAABAAEAAAERAAQAAAABAAAACAESAAMAAAABAAEAAAEVAAMAAAABAAIAAAEW
AAMAAAABAAEAAAEXAAQAAAABAAAAAgEcAAMAAAABAAEAAAEoAAMAAAABAAIAAAFSAAMAAAABAAEAAAFT
AAMAAAACAAEAAYdzAAcAAAf0AAAA0AAAAAAAAAf0YXBwbAIgAABtbnRyR1JBWVhZWiAH0AACAA4ADAAA
AABhY3NwQVBQTAAAAABub25lAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWFwcGwAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVkZXNjAAAAwAAAAG9kc2NtAAABMAAA
BmZjcHJ0AAAHmAAAADh3dHB0AAAH0AAAABRrVFJDAAAH5AAAAA5kZXNjAAAAAAAAABVHZW5lcmljIEdy
YXkgUHJvZmlsZQAAAAAAAAAAAAAAFUdlbmVyaWMgR3JheSBQcm9maWxlAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbWx1YwAAAAAAAAAfAAAADHNrU0sAAAAqAAABhGVu
VVMAAAAoAAABrmNhRVMAAAAsAAAB1nZpVk4AAAAsAAACAnB0QlIAAAAqAAACLnVrVUEAAAAsAAACWGZy
RlUAAAAqAAAChGh1SFUAAAAuAAACrnpoVFcAAAAQAAAC3G5iTk8AAAAsAAAC7GtvS1IAAAAYAAADGGNz
Q1oAAAAkAAADMGhlSUwAAAAgAAADVHJvUk8AAAAkAAADdGRlREUAAAA6AAADmGl0SVQAAAAuAAAD0nN2
U0UAAAAuAAAEAHpoQ04AAAAQAAAELmphSlAAAAAWAAAEPmVsR1IAAAAkAAAEVHB0UE8AAAA4AAAEeG5s
TkwAAAAqAAAEsGVzRVMAAAAoAAAE2nRoVEgAAAAkAAAFAnRyVFIAAAAiAAAFJmZpRkkAAAAsAAAFSGhy
SFIAAAA6AAAFdHBsUEwAAAA2AAAFrnJ1UlUAAAAmAAAF5GFyRUcAAAAoAAAGCmRhREsAAAA0AAAGMgBW
AWEAZQBvAGIAZQBjAG4A/QAgAHMAaQB2AP0AIABwAHIAbwBmAGkAbABHAGUAbgBlAHIAaQBjACAARwBy
AGEAeQAgAFAAcgBvAGYAaQBsAGUAUABlAHIAZgBpAGwAIABkAGUAIABnAHIAaQBzACAAZwBlAG4A6ABy
AGkAYwBDHqUAdQAgAGgA7ABuAGgAIABNAOAAdQAgAHgA4QBtACAAQwBoAHUAbgBnAFAAZQByAGYAaQBs
ACAAQwBpAG4AegBhACAARwBlAG4A6QByAGkAYwBvBBcEMAQzBDAEOwRMBD0EOAQ5ACAEPwRABD4ERAQw
BDkEOwAgAEcAcgBhAHkAUAByAG8AZgBpAGwAIABnAOkAbgDpAHIAaQBxAHUAZQAgAGcAcgBpAHMAwQBs
AHQAYQBsAOEAbgBvAHMAIABzAHoA/AByAGsAZQAgAHAAcgBvAGYAaQBskBp1KHBwlo6Ccl9pY8+P8ABH
AGUAbgBlAHIAaQBzAGsAIABnAHIA5QB0AG8AbgBlAHAAcgBvAGYAaQBsx3y8GAAgAEcAcgBhAHkAINUE
uFzTDMd8AE8AYgBlAGMAbgD9ACABYQBlAGQA/QAgAHAAcgBvAGYAaQBsBeQF6AXVBeQF2QXcACAARwBy
AGEAeQAgBdsF3AXcBdkAUAByAG8AZgBpAGwAIABnAHIAaQAgAGcAZQBuAGUAcgBpAGMAQQBsAGwAZwBl
AG0AZQBpAG4AZQBzACAARwByAGEAdQBzAHQAdQBmAGUAbgAtAFAAcgBvAGYAaQBsAFAAcgBvAGYAaQBs
AG8AIABnAHIAaQBnAGkAbwAgAGcAZQBuAGUAcgBpAGMAbwBHAGUAbgBlAHIAaQBzAGsAIABnAHIA5QBz
AGsAYQBsAGUAcAByAG8AZgBpAGxmbpAacHBepmPPj/Blh072TgCCLDCwMOwwpDDXMO0w1TChMKQw6wOT
A7UDvQO5A7oDzAAgA8ADwQO/A8YDrwO7ACADswO6A8EDuQBQAGUAcgBmAGkAbAAgAGcAZQBuAOkAcgBp
AGMAbwAgAGQAZQAgAGMAaQBuAHoAZQBuAHQAbwBzAEEAbABnAGUAbQBlAGUAbgAgAGcAcgBpAGoAcwBw
AHIAbwBmAGkAZQBsAFAAZQByAGYAaQBsACAAZwByAGkAcwAgAGcAZQBuAOkAcgBpAGMAbw5CDhsOIw5E
Dh8OJQ5MDioONQ5ADhcOMg4XDjEOSA4nDkQOGwBHAGUAbgBlAGwAIABHAHIAaQAgAFAAcgBvAGYAaQBs
AGkAWQBsAGUAaQBuAGUAbgAgAGgAYQByAG0AYQBhAHAAcgBvAGYAaQBpAGwAaQBHAGUAbgBlAHIAaQEN
AGsAaQAgAHAAcgBvAGYAaQBsACAAcwBpAHYAaQBoACAAdABvAG4AbwB2AGEAVQBuAGkAdwBlAHIAcwBh
AGwAbgB5ACAAcAByAG8AZgBpAGwAIABzAHoAYQByAG8BWwBjAGkEHgQxBEkEOAQ5ACAEQQQ1BEAESwQ5
ACAEPwRABD4ERAQ4BDsETAZFBkQGQQAgBioGOQYxBkoGQQAgAEcAcgBhAHkAIAYnBkQGOQYnBkUARwBl
AG4AZQByAGUAbAAgAGcAcgDlAHQAbwBuAGUAYgBlAHMAawByAGkAdgBlAGwAcwBlAAB0ZXh0AAAAAENv
cHlyaWdodCAyMDA3IEFwcGxlIEluYy4sIGFsbCByaWdodHMgcmVzZXJ2ZWQuAFhZWiAAAAAAAADzUQAB
AAAAARbMY3VydgAAAAAAAAABAc0AANIrLC0uWiRjbGFzc25hbWVYJGNsYXNzZXNfEBBOU0JpdG1hcElt
YWdlUmVwoy0vMFpOU0ltYWdlUmVwWE5TT2JqZWN00issMjNXTlNBcnJheaIyMNIrLDU2Xk5TTXV0YWJs
ZUFycmF5ozUyMNM4OQ86OzxXTlNXaGl0ZVxOU0NvbG9yU3BhY2VEMCAwABADgAzSKyw+P1dOU0NvbG9y
oj4w0issQUJXTlNJbWFnZaJBMAAIABEAGgAkACkAMgA3AEkATABRAFMAYgBoAHUAfACLAJIAnwCmAK4A
sACyALQAuQC7AL0AxADJANQA1gDYANoA3wDiAOQA5gDoAO8BBgEiASQBJgnuCfMJ/goHChoKHgopCjIK
Nwo/CkIKRwpWCloKYQppCnYKewp9Cn8KhAqMCo8KlAqcAAAAAAAAAgEAAAAAAAAAQwAAAAAAAAAAAAAA
AAAACp8
</mutableData>
</image>
</resources>
</document>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19455" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19455"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -47,8 +47,8 @@
<rect key="frame" x="1" y="1" width="755" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Fec-S0-J1M">
<rect key="frame" x="87" y="4" width="668" height="16"/>
<textField focusRingType="none" horizontalHuggingPriority="249" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Fec-S0-J1M">
<rect key="frame" x="87" y="3" width="668" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" id="Zhz-YB-L6R">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@@ -57,13 +57,13 @@
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Lhm-Hc-3on">
<rect key="frame" x="-3" y="-5" width="92" height="27"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="WJc-b5-b3e"/>
</constraints>
<buttonCell key="cell" type="push" title="Get" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="DIS-cU-NvL">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="80" id="WJc-b5-b3e"/>
</constraints>
<connections>
<action selector="buttonPressed:" target="lSD-av-rXp" id="Pur-Kz-KOJ"/>
</connections>
@@ -107,11 +107,11 @@
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="86L-qx-fhB">
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="86L-qx-fhB">
<rect key="frame" x="18" y="20" width="764" height="14"/>
<textFieldCell key="cell" selectable="YES" title="Language specific OCR data files can improve the optical character recognition results." id="LFI-zD-ohi">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
+9 -8
View File
@@ -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,7 +15,7 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView misplaced="YES" id="Hz6-mo-xeY">
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="610" height="220"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
@@ -39,7 +39,7 @@
<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">
<tokenField focusRingType="none" 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"/>
@@ -54,7 +54,7 @@
<outlet property="delegate" destination="-2" id="39Q-aI-o60"/>
</connections>
</tokenField>
<tokenField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rzc-AK-4Vr">
<tokenField focusRingType="none" 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"/>
@@ -88,14 +88,14 @@
<action selector="showTvShowTokens:" target="-2" id="pHZ-v7-U0W"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pbz-wc-RXA">
<rect key="frame" x="83" y="20" width="444" height="34"/>
<constraints>
<constraint firstAttribute="height" constant="34" id="Y5R-jS-Whb"/>
</constraints>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Set the format to create a custom filename in the Save As… panel and in the queue." id="hE3-zH-XFE">
<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>
@@ -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>
+4 -4
View File
@@ -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"/>
+4 -4
View File
@@ -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"/>
+12 -12
View File
@@ -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"/>
+3 -2
View File
@@ -34,14 +34,15 @@ final class ButtonToolbarItem : NSToolbarItem {
super.init(itemIdentifier: itemIdentifier)
}
init(itemIdentifier: NSToolbarItem.Identifier, label: String, toolTip: String, image: String, symbolName: String? = nil, action: Selector) {
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.setSymbol(symbolName: symbolName, fallbackName: image)
self.target = target
self.action = action
self.setSymbol(symbolName: symbolName, fallbackName: image)
if #available(macOS 14, *) {
self.isBordered = true
+17 -1
View File
@@ -9,19 +9,23 @@ import Cocoa
import IOKit.pwr_mgt
import MP42Foundation
@objc(SBDocument)
final class Document: NSDocument {
private(set) var mp4: MP42File
private var unsupportedMp4Brand: Bool
override init() {
self.cancelled = false
self.options = [:]
self.optimize = false
self.unsupportedMp4Brand = false
self.mp4 = MP42File()
super.init()
}
init(mp4: MP42File) {
self.cancelled = false
self.options = [:]
self.optimize = false
self.unsupportedMp4Brand = false
@@ -73,8 +77,11 @@ final class Document: NSDocument {
// 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]()
@@ -132,6 +139,11 @@ final class Document: NSDocument {
super.save(to: url, ofType: typeName, for: saveOperation, completionHandler: modifiedCompletionhandler)
}
func cancelSave() {
cancelled = true
mp4.cancel()
}
private var sleepAssertion: IOPMAssertionID = IOPMAssertionID(0)
private var sleepAssertionSuccess: IOReturn = kIOReturnInvalid
@@ -177,13 +189,15 @@ final class Document: NSDocument {
fatalError("Unsupported save operation")
}
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
}
// MARK: Save panel
@@ -191,6 +205,8 @@ final class Document: NSDocument {
private var accessoryViewController: SaveOptions?
override var shouldRunSavePanelWithAccessoryView: Bool { return false }
override var savePanelShowsFileFormatsControl: Bool { return false }
override func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool {
self.accessoryViewController = SaveOptions(doc: self, savePanel: savePanel)
+24 -5
View File
@@ -18,6 +18,8 @@ private extension NSToolbarItem.Identifier {
class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
weak var target: AnyObject?
@MainActor func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: NSToolbarItem.Identifier, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? {
if itemIdentifier == .importTracks {
@@ -25,17 +27,26 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
label: NSLocalizedString("Import", comment: "Toolbar"),
toolTip: NSLocalizedString("Import tracks from external files", comment: "Toolbar"),
image: "NSAddTemplate",
symbolName: "plus",
symbolName: "doc.badge.plus",
target: target,
action: #selector(DocumentWindowController.selectFile(_:)))
} else if itemIdentifier == .deleteTracks {
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
label: NSLocalizedString("Delete", comment: "Toolbar"),
toolTip: NSLocalizedString("Delete the selected track", comment: "Toolbar"),
image: "NSRemoveTemplate",
symbolName: "minus",
symbolName: "nosign",
target: target,
action: #selector(DocumentWindowController.deleteTrack(_:)))
} else if itemIdentifier == .actions {
let submenu = NSMenu()
let menuItem = NSMenuItem()
menuItem.title = NSLocalizedString("At the Beginning", comment: "Toolbar")
menuItem.action = #selector(DocumentWindowController.addChaptersEvery(_:))
menuItem.tag = -1
submenu.addItem(menuItem)
for minutes in [1, 2, 5, 10, 15, 20, 30] {
let menuItem = NSMenuItem()
let title = minutes == 1 ? NSLocalizedString("1 minute", comment: "Toolbar") :
@@ -77,7 +88,11 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
let item = NSMenuToolbarItem(itemIdentifier: itemIdentifier)
item.label = label
item.paletteLabel = label
if #available(macOS 11.0, *) {
item.toolTip = NSLocalizedString("Perform tasks with the selected items", comment: "Toolbar")
if #available(macOS 26.0, *) {
item.showsIndicator = false
item.image = NSImage.init(systemSymbolName: "ellipsis", accessibilityDescription: nil)
} else if #available(macOS 26.0, *) {
item.image = NSImage.init(systemSymbolName: "ellipsis.circle", accessibilityDescription: nil)
} else {
item.image = NSImage(named:"NSActionTemplate")
@@ -98,6 +113,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
let item = ButtonToolbarItem(itemIdentifier: itemIdentifier)
item.label = label
item.paletteLabel = label
item.toolTip = NSLocalizedString("Perform tasks with the selected items", comment: "Toolbar")
item.view = popUpButton
item.minSize = NSSize(width: 48, height: 16)
@@ -108,7 +124,8 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
label: NSLocalizedString("Search Metadata", comment: "Toolbar"),
toolTip: NSLocalizedString("Search metadata on the web", comment: "Toolbar"),
image: "NSRevealFreestandingTemplate",
symbolName: "sparkle.magnifyingglass",
symbolName: "doc.text.magnifyingglass",
target: target,
action: #selector(DocumentWindowController.searchMetadata(_:)))
} else if itemIdentifier == .sendToQueue {
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
@@ -116,6 +133,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
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,
@@ -123,6 +141,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
toolTip: NSLocalizedString("Show the Queue window", comment: "Toolbar"),
image: "ToolbarActionTemplate",
symbolName: "photo.stack",
target: nil,
action: #selector(AppDelegate.showQueueWindow(_:)))
}
@@ -130,7 +149,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
}
@MainActor func toolbarDefaultItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
return [.importTracks, .deleteTracks, .space, .actions, .flexibleSpace, .searchMetadata]
return [.importTracks, .searchMetadata, .actions, .space, .deleteTracks, .flexibleSpace, .sendToQueue, .showQueue,]
}
@MainActor func toolbarAllowedItemIdentifiers(_ toolbar: NSToolbar) -> [NSToolbarItem.Identifier] {
+34 -7
View File
@@ -43,11 +43,17 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
window.toolbarStyle = .expanded
}
toolbarDelegate.target = self
let toolbar = NSToolbar(identifier: "SublerDocumentToolbar")
toolbar.delegate = toolbarDelegate
toolbar.allowsUserCustomization = true
toolbar.autosavesConfiguration = true
toolbar.displayMode = .iconAndLabel
if #available(macOS 26, *) {
toolbar.displayMode = .iconAndLabel
} else {
toolbar.displayMode = .iconOnly
}
self.window?.toolbar = toolbar
window.contentViewController = splitViewController
@@ -225,7 +231,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
#selector(iTunesFriendlyTrackGroups(_:)),
#selector(clearTrackNames(_:)),
#selector(prettifyAudioTrackNames(_:)),
#selector(fixAudioFallbacks(_:)):
#selector(fixAudioFallbacks(_:)),
#selector(sendToQueue(_:)):
return true
case #selector(sendToExternalApp(_:)) where mp4.hasFileRepresentation && doc.isDocumentEdited == false:
@@ -280,12 +287,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)
@@ -301,12 +312,12 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
let minutes = sender.tag * 60 * 1000
if minutes > 0 {
for (index, duration) in stride(from: 0, to: mp4.duration, by: minutes).enumerated() {
track.addChapter("Chapter \(index + 1)", duration: UInt64(duration))
for (index, timestamp) in stride(from: 0, to: mp4.duration, by: minutes).enumerated() {
track.addChapter("Chapter \(index + 1)", timestamp: UInt64(timestamp))
}
}
else {
track.addChapter("Chapter 1", duration: UInt64(mp4.duration))
track.addChapter("Chapter 1", timestamp: 0)
}
doc.updateChangeCount(.changeDone)
@@ -507,6 +518,22 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
}
}
@objc func importFilesDirectly(_ fileURLs: [URL]) {
do {
let controller = try FileImportController(fileURLs: fileURLs, delegate: self)
// Call addTracks directly - the Settings initialization logic runs when the controller is created
controller.addTracks(self)
tracksViewController.reloadData()
} catch {
if let windowForSheet = doc.windowForSheet {
presentError(error, modalFor: windowForSheet, delegate: nil, didPresent: nil, contextInfo: nil)
} else {
presentError(error)
}
}
}
func didSelect(tracks: [MP42Track], metadata: MP42Metadata?) {
for track in tracks {
mp4.addTrack(track)
+122 -4
View File
@@ -115,6 +115,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
}
@@ -233,6 +244,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 +252,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 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 +290,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 +329,8 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
}
@IBAction func addTracks(_ sender: Any) {
logTracksTable()
var selectedTracks: [MP42Track] = []
for trackSettings in settings where trackSettings.checked {
@@ -479,4 +523,78 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
return 18
}
}
// MARK: Private methods
private func logTracksTable() {
let logger = Logger.shared
// Helper function to truncate strings
func truncate(_ str: String, to length: Int) -> String {
if str.count <= length {
return str.padding(toLength: length, withPad: " ", startingAt: 0)
}
return String(str.prefix(length - 1)) + "~"
}
// Helper function to format duration
func formatDuration(_ duration: Double, timescale: UInt32) -> String {
if duration <= 0 || timescale == 0 {
return "Unknown"
}
let seconds = duration / Double(timescale)
let hours = Int(seconds) / 3600
let minutes = (Int(seconds) % 3600) / 60
let secs = Int(seconds) % 60
let millisecs = Int((seconds - Double(Int(seconds))) * 1000)
return String(format: "%02d:%02d:%02d.%03d", hours, minutes, secs, millisecs)
}
// Build the entire table as a single string
var tableLines: [String] = []
tableLines.append("File Import: Processing tracks with applied settings:")
tableLines.append("----------------------------------------------------------------------------------------------")
tableLines.append("| | Id | Name | Duration | Language | Info | Action |")
tableLines.append("----------------------------------------------------------------------------------------------")
var trackId = 1
for item in items {
switch item {
case .file(_):
// Skip file headers in table format
break
case .track(let settings):
let track = settings.track
// Get the selected action description
let selectedAction = settings.actions.first { $0.tag == settings.selectedActionTag }
let action = selectedAction?.title ?? "Unknown"
// Format the data with proper truncation and alignment
let name = truncate(track.name.isEmpty ? "Unnamed" : track.name, to: 21)
let language = truncate(MP42Languages.defaultManager.localizedLang(forExtendedTag: track.language), to: 13)
let infoTruncated = truncate(track.formatSummary, to: 10)
let actionTruncated = truncate(action, to: 13)
let duration = formatDuration(Double(track.duration), timescale: track.timescale)
let selected = settings.checked ? "X" : " "
let id = String(format: "%02d", trackId)
// Create properly aligned row with fixed column widths
// The truncate function now handles padding, so we just need to pad duration
let durationPadded = duration.padding(toLength: 12, withPad: " ", startingAt: 0)
let row = "| \(selected) | \(id) | \(name) | \(durationPadded) | \(language) | \(infoTruncated) | \(actionTruncated) |"
tableLines.append(row)
trackId += 1
}
}
tableLines.append("----------------------------------------------------------------------------------------------")
// Log the entire table as a single entry
logger.write(toLog: tableLines.joined(separator: "\n"))
}
}
+7
View File
@@ -37,4 +37,11 @@ class GeneralPrefsViewController: NSViewController {
@objc dynamic var ratingsCountries: [String] { return Ratings.shared.countries.map { $0.displayName } }
@objc dynamic var logFormatOptions: [String] {
return [
NSLocalizedString("Time Only", comment: ""),
NSLocalizedString("Date and Time", comment: "")
]
}
}
+51 -3
View File
@@ -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(&currentTime) {
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(&currentTime) {
let p = localTime.pointee
return String(format: "%04d-%02d-%02d", p.tm_year + 1900, p.tm_mon + 1, p.tm_mday)
} else {
return ""
}
@@ -32,7 +50,14 @@ final class Logger : NSObject, MP42Logging {
func write(toLog string: String) {
queue.sync {
let output = "\(currentTime()) \(string)\n"
let prefix: String
switch format {
case .timeOnly:
prefix = currentTime()
case .dateAndTime:
prefix = "\(currentDate()) \(currentTime())"
}
let output = "\(prefix) \(string)\n"
fileURL.withUnsafeFileSystemRepresentation {
if let file = fopen($0, "a") {
@@ -40,7 +65,7 @@ final class Logger : NSObject, MP42Logging {
fclose(file)
}
}
if let delegate = delegate {
delegate.write(toLog: output)
}
@@ -55,5 +80,28 @@ final class Logger : NSObject, MP42Logging {
try? FileManager.default.removeItem(at: fileURL)
}
private static let defaultDestinationURL: URL = {
appSupportURL().appendingPathComponent("debugLog.txt")
}()
private static func appSupportURL() -> URL {
let fileManager = FileManager.default
if let url = fileManager.urls(for: .applicationSupportDirectory, in: .userDomainMask)
.first?.appendingPathComponent("Subler") {
do {
if fileManager.fileExists(atPath: url.path) == false {
try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: [:])
}
}
catch _ {
fatalError("Couldn't create the app support directory")
}
return url
}
else {
fatalError("Couldn't find the app support directory")
}
}
}
+5 -5
View File
@@ -29,7 +29,7 @@ private extension MetadataResult {
self[.director] = item.rolesSummary?.directors?.joined(separator: ", ")
self[.iTunesURL] = item.url
self[.serviceSeriesID] = item.id
self[.serviceContentID] = item.id
self.remoteArtworks = [item.images.coverArt16X9, item.images.coverArt].compactMap { $0?.artwork(type: .poster) }
}
@@ -39,7 +39,7 @@ private extension MetadataResult {
self.mediaKind = .tvShow
self[.serviceSeriesID] = item.id
self[.serviceContentID] = item.id
self[.seriesName] = item.title
self[.seriesDescription] = item.description
@@ -59,7 +59,7 @@ private extension MetadataResult {
}
self[.iTunesURL] = episode.showURL
self[.serviceSeriesID] = episode.showID
self[.serviceContentID] = episode.showID
if let releaseDate = item.releaseDate {
self[.releaseDate] = Date(timeIntervalSince1970: releaseDate / 1000)
@@ -130,7 +130,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,7 +156,7 @@ public struct AppleTV: MetadataService {
private func loadDetails(_ metadata: MetadataResult, language: String) -> MetadataResult {
guard let store = iTunesStore.Store(language: language),
let id = metadata[.serviceSeriesID] as? String,
let id = metadata[.serviceContentID] as? String,
let details = fetchMovieDetails(id: id, store: store) else { return metadata }
metadata.insert(contentOf: details, store: store)
File diff suppressed because it is too large. Load diff
+66 -12
View File
@@ -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,34 @@ 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
}
}
public enum MediaKind: Int {
@@ -113,8 +158,9 @@ private let localizedKeys: [MetadataResult.Key: String] = [
.season : NSLocalizedString("Season", comment: "nil"),
.network : NSLocalizedString("Network", comment: "nil"),
.serviceSeriesID : NSLocalizedString("Service ID", comment: "nil"),
.serviceEpisodeID : NSLocalizedString("Service ID", comment: "nil")
.serviceContentID : NSLocalizedString("Service Content ID", comment: "nil"),
.serviceAdditionalContentID : NSLocalizedString("Service Additional Content ID", comment: "nil"),
.serviceEpisodeID : NSLocalizedString("Service Episode ID", comment: "nil")
]
public final class MetadataResult {
@@ -156,10 +202,10 @@ public final class MetadataResult {
case season = "{Season}"
case network = "{Network}"
//
case serviceSeriesID = "ServiceSeriesID"
case serviceAdditionalSeriesID = "AdditionalServiceSeriesID"
case serviceEpisodeID = "ServiceEpisodeID"
// Services internal IDs
case serviceContentID = "{ServiceSeriesID}"
case serviceAdditionalContentID = "{AdditionalServiceSeriesID}"
case serviceEpisodeID = "{ServiceEpisodeID}"
fileprivate static var movieKeys: [Key] {
return [.name,
@@ -178,7 +224,11 @@ public final class MetadataResult {
.copyright,
.contentID,
.artistID,
.iTunesCountry]
.iTunesCountry,
.serviceContentID,
.serviceAdditionalContentID,
.serviceEpisodeID]
}
fileprivate static var tvShowKeys: [Key] {
@@ -211,6 +261,10 @@ public final class MetadataResult {
.artistID,
.playlistID,
.iTunesCountry,
.serviceContentID,
.serviceAdditionalContentID,
.serviceEpisodeID
]
}
@@ -247,8 +301,8 @@ public final class MetadataResult {
.iTunesURL,
.iTunesCountry,
.serviceSeriesID,
.serviceAdditionalSeriesID,
.serviceContentID,
.serviceAdditionalContentID,
.serviceEpisodeID
]
}
@@ -305,7 +359,7 @@ public final class MetadataResult {
if let index1 = sortedKeys.firstIndex(of: key1), let index2 = sortedKeys.firstIndex(of: key2) {
return index1 < index2
}
return key1 != Key.serviceSeriesID && key1 != Key.serviceEpisodeID
return key1 != Key.serviceContentID && key1 != Key.serviceEpisodeID
})
}()
+7 -6
View File
@@ -39,7 +39,7 @@ public struct TheMovieDB: MetadataService {
metadata.mediaKind = .movie
metadata[.serviceSeriesID] = result.id
metadata[.serviceContentID] = result.id
metadata[.name] = result.title
metadata[.releaseDate] = result.release_date
metadata[.longDescription] = result.overview;
@@ -184,12 +184,13 @@ public struct TheMovieDB: MetadataService {
}
metadata.remoteArtworks = loadMovieArtworks(result: result)
metadata[.serviceContentID] = result.id
return metadata
}
public func loadMovieMetadata(_ partialMetadata: MetadataResult, language: String) -> MetadataResult {
guard let movieID = partialMetadata[.serviceSeriesID] as? Int,
guard let movieID = partialMetadata[.serviceContentID] as? Int,
let result = session.fetch(movieID: movieID, language: language)
else { return partialMetadata }
@@ -228,7 +229,7 @@ public struct TheMovieDB: MetadataService {
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
guard let tvShow = metadata[.seriesName] as? String,
let seasonNum = metadata[.season] as? Int,
let seriesId = metadata[.serviceAdditionalSeriesID] as? Int
let seriesId = metadata[.serviceAdditionalContentID] as? Int
else { return [] }
return SquaredTVArt().search(tvShow: tvShow, theTVDBSeriesId: seriesId, season: seasonNum)
@@ -279,8 +280,8 @@ public struct TheMovieDB: MetadataService {
metadata.mediaKind = .tvShow
// TV Show Info
metadata[.serviceSeriesID] = info.id
metadata[.serviceAdditionalSeriesID] = info.external_ids?.tvdb_id
metadata[.serviceContentID] = info.id
metadata[.serviceAdditionalContentID] = info.external_ids?.tvdb_id
metadata[.seriesName] = info.name
metadata[.seriesDescription] = info.overview
@@ -360,7 +361,7 @@ public struct TheMovieDB: MetadataService {
public func loadTVMetadata(_ metadata: MetadataResult, language: String) -> MetadataResult {
var artworks: [Artwork] = []
if let seriesID = metadata[.serviceSeriesID] as? Int, let season = metadata[.season] as? Int,
if let seriesID = metadata[.serviceContentID] as? Int, let season = metadata[.season] as? Int,
let episodeNumber = metadata[.episodeNumber] as? Int {
let seasonImages = session.fetch(imagesForSeriesID: seriesID, season: String(season), language: language)
+3 -3
View File
@@ -118,7 +118,7 @@ public struct TheTVDB : MetadataService {
result.mediaKind = .tvShow
// TV Show Info
result[.serviceSeriesID] = info.id
result[.serviceContentID] = info.id
result[.seriesName] = info.seriesName
result[.seriesDescription] = info.overview?.trimmingWhitespacesAndNewlinews()
result[.genre] = cleanList(names: info.genre)
@@ -292,7 +292,7 @@ public struct TheTVDB : MetadataService {
private func loadSquareTVArtwork(_ metadata: MetadataResult) -> [Artwork] {
guard let tvShow = metadata[.seriesName] as? String,
let seasonNum = metadata[.season] as? Int,
let seriesId = metadata[.serviceSeriesID] as? Int
let seriesId = metadata[.serviceContentID] as? Int
else { return [] }
return SquaredTVArt().search(tvShow: tvShow, theTVDBSeriesId: seriesId, season: seasonNum)
@@ -336,7 +336,7 @@ public struct TheTVDB : MetadataService {
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 }
guard let seriesId = metadata[.serviceContentID] as? Int else { return metadata }
var artworks: [Artwork] = []
+8 -6
View File
@@ -476,10 +476,10 @@ public struct iTunesStore: MetadataService {
}
private func compactMultipartSeasons(results: [MetadataResult]) {
let seasons = Dictionary(grouping: results.filter { $0[.serviceAdditionalSeriesID] != nil }, by: { $0[.season] as? Int })
let seasons = Dictionary(grouping: results.filter { $0[.serviceAdditionalContentID] != nil }, by: { $0[.season] as? Int })
for (_, episodes) in seasons {
let parts = Dictionary(grouping: episodes, by: { $0[.serviceAdditionalSeriesID] as! Int })
let parts = Dictionary(grouping: episodes, by: { $0[.serviceAdditionalContentID] as! Int })
let max = parts.mapValues { $0.compactMap { $0[.episodeNumber] as? Int } .max() ?? 0 }
for (part, episodes) in parts {
@@ -490,7 +490,7 @@ public struct iTunesStore: MetadataService {
if min < count, let episodeNumber = episode[.episodeNumber] as? Int {
episode[.episodeNumber] = episodeNumber + count
}
episode[.serviceAdditionalSeriesID] = nil
episode[.serviceAdditionalContentID] = nil
}
}
}
@@ -565,7 +565,7 @@ public struct iTunesStore: MetadataService {
}
if let part = part {
metadata[.serviceAdditionalSeriesID] = part;
metadata[.serviceAdditionalContentID] = part;
}
}
@@ -576,7 +576,8 @@ public struct iTunesStore: MetadataService {
metadata[.iTunesCountry] = store.storeCode
metadata[.iTunesURL] = result.trackViewUrl
metadata[.contentID] = result.trackId
metadata[.serviceContentID] = result.trackId
if result.trackExplicitness == "explicit" {
metadata.contentRating = 4
}
@@ -622,7 +623,8 @@ public struct iTunesStore: MetadataService {
metadata[.iTunesCountry] = store.storeCode
metadata[.iTunesURL] = result.trackViewUrl
metadata[.contentID] = result.trackId
metadata[.serviceContentID] = result.trackId
if result.trackExplicitness == "explicit" {
metadata.contentRating = 4
}
+12
View File
@@ -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
+3 -3
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -16,7 +16,7 @@
<view wantsLayer="YES" id="HYk-Hf-rvN">
<rect key="frame" x="0.0" y="0.0" width="540" height="520"/>
<autoresizingMask key="autoresizingMask"/>
<point key="canvasLocation" x="111.5" y="68.5"/>
<point key="canvasLocation" x="220" y="74"/>
</view>
</objects>
</document>
+20 -9
View File
@@ -73,11 +73,12 @@ struct StoredCodable<T: Codable> : Registable {
enum Prefs {
static func register() {
ud.register(defaults: [_crashOnException, _showOpenPanelAtLaunch, _suppressDonationAlert, _saveFormat, _organizeAlternateGroups,
_defaultSaveFormat, _organizeAlternateGroups, _inferMediaCharacteristics, _audioMixdown,
ud.register(defaults: [_crashOnException, _showOpenPanelAtLaunch, _suppressDonationAlert, _fileType, _organizeAlternateGroups,
_organizeAlternateGroups, _inferMediaCharacteristics, _audioMixdown,
_audioBitrate, _audioDRC, _audioConvertAC3, _audioKeepAC3, _audioConvertDts,
_audioDtsOptions, _subtitleConvertBitmap, _ratingsCountry, _chaptersPreviewPosition,
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1])
_chaptersPreviewTrack, _mp464bitOffset, _mp464bitTimes, _mp4SaveAsOptimize, _forceHvc1,
_logFormat])
}
@Stored(key: "NSApplicationCrashOnException", defaultValue: true)
@@ -95,11 +96,8 @@ enum Prefs {
@Stored(key: "rememberWindowSize", defaultValue: false)
static var rememberDocumentWindowSize: Bool
@Stored(key: "SBSaveFormat", defaultValue: "m4v")
static var saveFormat: String
@Stored(key: "defaultSaveFormat", defaultValue: 0)
static var defaultSaveFormat: Int
@Stored(key: "SBSaveFormat", defaultValue: "mp4")
static var fileType: String
@Stored(key: "SBOrganizeAlternateGroups", defaultValue: true)
static var organizeAlternateGroups: Bool
@@ -151,6 +149,18 @@ enum Prefs {
@Stored(key: "SBForceHvc1", defaultValue: true)
static var forceHvc1: 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
}
enum MetadataPrefs {
@@ -158,7 +168,8 @@ enum MetadataPrefs {
static func register() {
ud.register(defaults: [_setMovieFormat, _setTVShowFormat,
_movieImporter, _movieiTunesStoreLanguage,
_tvShowImporter, _tvShowiTunesStoreLanguage, _tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
_tvShowImporter, _tvShowiTunesStoreLanguage,
_tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
_keepEmptyAnnotations, _keepImportedFilesMetadata])
}
+1
View File
@@ -104,6 +104,7 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate {
}, completionHandler: {
view.isHidden = false
window.title = item.label
self.window?.makeFirstResponder(view.nextKeyView)
})
}
else {
+9
View File
@@ -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)
}
+2 -2
View File
@@ -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
}
}
+36 -28
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -29,15 +29,14 @@
<rect key="frame" x="10" y="29" width="753" height="237"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
<rect key="frame" x="17" y="36" width="719" height="195"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="19">
<rect key="frame" x="17" y="40" width="719" height="191"/>
<clipView key="contentView" id="gfP-N5-8Ji">
<rect key="frame" x="1" y="1" width="717" height="193"/>
<rect key="frame" x="1" y="1" width="717" height="189"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="717" height="176"/>
<rect key="frame" x="0.0" y="0.0" width="717" height="172"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -383,32 +382,19 @@
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="31">
<rect key="frame" x="42" y="7" width="26" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
<button toolTip="Add chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="42">
<rect key="frame" x="11" y="9" width="36" height="27"/>
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSAddTemplate" imagePosition="only" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="removeChapter:" target="-2" id="48"/>
</connections>
</button>
<button toolTip="Add chapter" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="42">
<rect key="frame" x="17" y="7" width="26" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="43">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<action selector="addChapter:" target="-2" id="50"/>
</connections>
</button>
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
<rect key="frame" x="76" y="7" width="33" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IvH-Ff-dyN">
<rect key="frame" x="70" y="12" width="45" height="22"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="frw-Vk-Gwo">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="controlContent" size="11"/>
<menu key="menu" id="T3N-JJ-mWq">
@@ -426,13 +412,35 @@
</menu>
</popUpButtonCell>
</popUpButton>
<button toolTip="Delete selected chapter" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="31">
<rect key="frame" x="36" y="9" width="36" height="27"/>
<buttonCell key="cell" type="push" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="only" alignment="center" controlSize="small" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="32">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<action selector="removeChapter:" target="-2" id="48"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="19" firstAttribute="leading" secondItem="12" secondAttribute="leading" constant="17" id="21K-r4-gXZ"/>
<constraint firstItem="31" firstAttribute="top" secondItem="42" secondAttribute="top" id="GlU-QC-OYe"/>
<constraint firstItem="42" firstAttribute="top" secondItem="19" secondAttribute="bottom" constant="8" symbolic="YES" id="Ngw-J5-tMS"/>
<constraint firstItem="42" firstAttribute="leading" secondItem="19" secondAttribute="leading" id="XGG-xy-ibf"/>
<constraint firstAttribute="trailing" secondItem="19" secondAttribute="trailing" constant="17" id="cNR-fN-seC"/>
<constraint firstItem="19" firstAttribute="top" secondItem="12" secondAttribute="top" constant="6" id="dMH-VU-NKD"/>
<constraint firstAttribute="bottom" secondItem="42" secondAttribute="bottom" constant="16" id="mjM-zH-dIu"/>
<constraint firstItem="IvH-Ff-dyN" firstAttribute="leading" secondItem="31" secondAttribute="trailing" constant="8" symbolic="YES" id="rvP-0R-kpo"/>
<constraint firstItem="31" firstAttribute="leading" secondItem="42" secondAttribute="trailing" constant="1" id="teO-jO-fZC"/>
<constraint firstItem="IvH-Ff-dyN" firstAttribute="top" secondItem="31" secondAttribute="top" id="yyG-lL-AQz"/>
</constraints>
</view>
</tabViewItem>
</tabViewItems>
</tabView>
</subviews>
<point key="canvasLocation" x="-36" y="-92"/>
<point key="canvasLocation" x="-36.5" y="-92"/>
</customView>
</objects>
<resources>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14087.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24127" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14087.3"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24127"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -27,6 +27,7 @@
<constraint firstAttribute="bottom" secondItem="5" secondAttribute="bottom" constant="-2" id="mBt-hk-Csd"/>
<constraint firstItem="5" firstAttribute="top" secondItem="1" secondAttribute="top" constant="8" id="x6g-Yu-20J"/>
</constraints>
<point key="canvasLocation" x="259" y="39"/>
</customView>
</objects>
</document>
+41 -60
View File
@@ -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>
+22 -23
View File
@@ -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"/>
+13 -11
View File
@@ -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"/>
@@ -119,7 +119,7 @@ final class ChapterViewController : PropertyView, NSTableViewDataSource, NSTable
}
@IBAction func addChapter(_ sender: Any) {
track.addChapter("Chapter", duration: 0)
track.addChapter("Chapter", timestamp: 0)
tableView.reloadData()
updateChangeCount()
+27 -7
View File
@@ -6,7 +6,7 @@
//
import Cocoa
import Quartz
import UniformTypeIdentifiers
import MP42Foundation
extension NSPasteboard.PasteboardType {
@@ -62,6 +62,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
private let standardSize = NSSize(width: 280, height: 224)
@IBOutlet var removeArtworkButton: NSButton!
@IBOutlet var zoomSlider: NSSlider!
@IBOutlet var artworksView: CollectionView!
override var nibName: NSNib.Name? {
@@ -135,6 +136,12 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
reloadData()
}
override func viewWillAppear() {
let zoomValue = zoomLevel
setZoomValue(zoomValue)
zoomSlider.floatValue = zoomValue
}
private func reloadData() {
rowHeights.removeAll(keepingCapacity: true)
updateMetadataArray()
@@ -1255,24 +1262,37 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
}
}
@IBAction func zoomSliderDidChange(_ sender: NSControl) {
let floatValue = CGFloat(sender.floatValue)
var zoomLevel: Float {
get {
Prefs.movieArtworkSelectorZoomLevel
}
set (value) {
Prefs.movieArtworkSelectorZoomLevel = value;
}
}
private func setZoomValue(_ newZoomValue: Float) {
if let layout = artworksView.collectionViewLayout as? NSCollectionViewFlowLayout {
if floatValue == 50 {
if newZoomValue == 50 {
layout.itemSize = standardSize
} else if floatValue < 50 {
let zoomValue = (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 * zoomValue))
} else {
let zoomValue = pow((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 * zoomValue))
}
}
}
@IBAction func zoomSliderDidChange(_ sender: NSControl) {
setZoomValue(sender.floatValue)
zoomLevel = sender.floatValue
}
func collectionViewDelete(in collectionView: NSCollectionView) {
removeArtwork(self)
}
@@ -143,6 +143,10 @@ final class VideoViewController: PropertyView {
return NSLocalizedString("P3-D65 (12-17-6)", comment: "color profile")
case (1, 13, 1):
return NSLocalizedString("sRGB (1-13-1)", comment: "color profile")
case (9, 16, 15):
return NSLocalizedString("IPT-C2 (9-16-15)", comment: "color profile")
case (2, 2, 2):
return NSLocalizedString("Undefined (2-2-2)", comment: "color profile")
default:
return "\(colorTag.0)-\(colorTag.1)-\(colorTag.2)"
}
@@ -192,7 +196,7 @@ final class VideoViewController: PropertyView {
if track.format == kMP42VideoCodecType_H264 || track.format == kMP42VideoCodecType_MPEG4Video ||
track.format == kMP42VideoCodecType_HEVC || track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
track.format == kMP42VideoCodecType_VVC || track.format == kMP42VideoCodecType_VVC_PSinBitstream ||
track.format == kMP42VideoCodecType_AV1 {
track.format == kMP42VideoCodecType_AV1 || track.format == kMP42VideoCodecType_DolbyVisionHEVC {
colorView.isHidden = false
colorHeight.constant = 24
@@ -330,6 +334,10 @@ final class VideoViewController: PropertyView {
colorTag = (12, 17, 6)
case 10:
colorTag = (1, 13, 1)
case 11:
colorTag = (9, 16, 15)
case 12:
colorTag = (2, 2, 2)
default:
return
}
@@ -25,12 +25,27 @@
/* Class = "NSTextFieldCell"; title = "-∞ db"; ObjectID = "dCR-ej-bsH"; */
"dCR-ej-bsH.title" = "-∞ db";
/* Class = "NSMenuItem"; title = "4"; ObjectID = "e5A-Zf-BwW"; */
"e5A-Zf-BwW.title" = "4";
/* Class = "NSMenuItem"; title = "5"; ObjectID = "F8Z-GJ-QaV"; */
"F8Z-GJ-QaV.title" = "5";
/* Class = "NSMenuItem"; title = "1"; ObjectID = "mXc-eW-usD"; */
"mXc-eW-usD.title" = "1";
/* Class = "NSMenuItem"; title = "None"; ObjectID = "QBa-Jt-TO2"; */
"QBa-Jt-TO2.title" = "Nessuno";
/* Class = "NSMenuItem"; title = "None"; ObjectID = "Qdb-gu-B3h"; */
"Qdb-gu-B3h.title" = "Nessuno";
/* Class = "NSMenuItem"; title = "6"; ObjectID = "RPZ-ZF-Pvg"; */
"RPZ-ZF-Pvg.title" = "6";
/* Class = "NSMenuItem"; title = "2"; ObjectID = "xjR-b6-VG2"; */
"xjR-b6-VG2.title" = "2";
/* Class = "NSTextFieldCell"; title = "Volume:"; ObjectID = "Z5x-Oq-P8Z"; */
"Z5x-Oq-P8Z.title" = "Volume:";
@@ -1,6 +1,9 @@
/* Class = "NSTextFieldCell"; title = "Scaled Size:"; ObjectID = "1O9-J3-Plk"; */
"1O9-J3-Plk.title" = "Dimensioni in scala:";
/* Class = "NSMenuItem"; title = "3"; ObjectID = "3D2-8h-I0N"; */
"3D2-8h-I0N.title" = "3";
/* Class = "NSTabViewItem"; label = "Visual Settings"; ObjectID = "6"; */
"6.label" = "Impostazioni visive";
@@ -25,6 +28,9 @@
/* Class = "NSMenuItem"; title = "2"; ObjectID = "a5f-nN-J1C"; */
"a5f-nN-J1C.title" = "2";
/* Class = "NSMenuItem"; title = "4"; ObjectID = "B3w-wZ-pOJ"; */
"B3w-wZ-pOJ.title" = "4";
/* Class = "NSMenuItem"; title = "Rec. 709 (1-1-1)"; ObjectID = "bc1-gr-6m9"; */
"bc1-gr-6m9.title" = "Rec. 709 (1-1-1)";
@@ -37,6 +43,9 @@
/* Class = "NSMenuItem"; title = "Rec. 2100 PQ (9-16-9)"; ObjectID = "d2S-Qf-ltk"; */
"d2S-Qf-ltk.title" = "Rec. 2100 PQ (9-16-9)";
/* Class = "NSMenuItem"; title = "5"; ObjectID = "Ejg-9c-E4w"; */
"Ejg-9c-E4w.title" = "5";
/* Class = "NSTextFieldCell"; title = "pixels"; ObjectID = "EQ0-oQ-E9J"; */
"EQ0-oQ-E9J.title" = "pixel";
@@ -100,6 +109,9 @@
/* Class = "NSTextFieldCell"; title = "H.264 Video Profile/Level:"; ObjectID = "nrd-22-FZl"; */
"nrd-22-FZl.title" = "Profilo/Livello video H.264:";
/* Class = "NSMenuItem"; title = "Undefined (2-2-2)"; ObjectID = "Pxl-vS-IAs"; */
"Pxl-vS-IAs.title" = "Non definito (2-2-2)";
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Aspect Ratio Numerator"; ObjectID = "Q0D-6k-Hgx"; */
"Q0D-6k-Hgx.ibExternalAccessibilityDescription" = "Numeratore rapporto proporzioni";
@@ -112,6 +124,9 @@
/* Class = "NSTextField"; ibExternalAccessibilityDescription = "Scaled Size Width"; ObjectID = "r90-c5-7PH"; */
"r90-c5-7PH.ibExternalAccessibilityDescription" = "Larghezza dimensione in scala";
/* Class = "NSMenuItem"; title = "1"; ObjectID = "S4p-0Y-kRW"; */
"S4p-0Y-kRW.title" = "1";
/* Class = "NSTextFieldCell"; title = "Normal Size:"; ObjectID = "soD-gL-b4G"; */
"soD-gL-b4G.title" = "Dimensioni normali:";
+5
View File
@@ -28,6 +28,8 @@ final class Queue {
private let url: URL
private let logger = Logger.shared
enum Status {
case unknown
case working
@@ -157,9 +159,12 @@ final class Queue {
let result = self.process(currentItem)
if .completed == result {
completed += 1
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " completed")
} else if .failed == result {
failed += 1
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " failed")
} else if .cancelled == result {
self.logger.write(toLog: currentItem.fileURL.lastPathComponent + " cancelled")
break
}
} else {
+7 -1
View File
@@ -61,11 +61,17 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
window?.toolbarStyle = .unified
}
toolbarDelegate.target = self
let toolbar = NSToolbar(identifier: "SublerQueueToolbar")
toolbar.delegate = toolbarDelegate
toolbar.allowsUserCustomization = true
toolbar.autosavesConfiguration = true
toolbar.displayMode = .iconAndLabel
if #available(macOS 26, *) {
toolbar.displayMode = .iconAndLabel
} else {
toolbar.displayMode = .iconOnly
}
self.window?.toolbar = toolbar
table.registerForDraggedTypes([NSPasteboard.PasteboardType.fileURL, tablePasteboardType])
+24
View File
@@ -45,3 +45,27 @@ import Foundation
}
}
@objc(SBQueueRemoveCompletedScriptCommand) class QueueRemoveCompletedScriptCommand: NSScriptCommand {
@MainActor override func performDefaultImplementation() -> Any? {
QueueController.shared.removeCompletedItems(self)
return nil
}
}
@objc(SBQueueStatusScriptCommand) class SBQueueStatusScriptCommand: NSScriptCommand {
@MainActor override func performDefaultImplementation() -> Any? {
switch QueueController.shared.status {
case .unknown:
return 0 // idle
case .working:
return 1 // running
case .completed:
return 2 // completed
}
}
}
+11 -2
View File
@@ -15,6 +15,8 @@ extension NSToolbarItem.Identifier {
class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
weak var target: AnyObject?
@MainActor func toolbar(_ toolbar: NSToolbar, itemForItemIdentifier itemIdentifier: NSToolbarItem.Identifier, willBeInsertedIntoToolbar flag: Bool) -> NSToolbarItem? {
if itemIdentifier == .queueAdd {
@@ -22,14 +24,20 @@ class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
label: NSLocalizedString("Add Item", comment: "Toolbar"),
toolTip: NSLocalizedString("Add an item to the queue", comment: "Toolbar"),
image: "NSAddTemplate",
symbolName: "plus",
symbolName: "doc.badge.plus",
target: target,
action: #selector(QueueController.open(_:)))
} else if itemIdentifier == .queueSettings {
var symbolName = "ellipsis.circle"
if #available(macOS 26.0, *) {
symbolName = "ellipsis"
}
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
label: NSLocalizedString("Settings", comment: "Toolbar"),
toolTip: NSLocalizedString("Show/Hide settings", comment: "Toolbar"),
image: "NSActionTemplate",
symbolName: "ellipsis.circle",
symbolName: symbolName,
target: target,
action: #selector(QueueController.toggleOptions(_:)))
} else if itemIdentifier == .queueStartStop {
return ButtonToolbarItem(itemIdentifier: itemIdentifier,
@@ -37,6 +45,7 @@ class QueueToolbarDelegate: NSObject, NSToolbarDelegate {
toolTip: NSLocalizedString("Start/Stop queue", comment: "Toolbar"),
image: "playBackTemplate",
symbolName: "play.fill",
target: target,
action: #selector(QueueController.toggleStartStop(_:)))
}
+43 -32
View File
@@ -7,6 +7,7 @@
import Cocoa
import MP42Foundation
import UniformTypeIdentifiers
final class SaveOptions: NSViewController {
@@ -18,6 +19,8 @@ final class SaveOptions: NSViewController {
private weak var doc: Document?
private weak var savePanel: NSSavePanel?
private static let fileTypes = [MP42FileTypeM4V, MP42FileTypeMP4, MP42FileTypeM4A, MP42FileTypeM4B, MP42FileTypeM4R]
init(doc: Document, savePanel: NSSavePanel) {
self.doc = doc
@@ -32,27 +35,38 @@ final class SaveOptions: NSViewController {
override var nibName: NSNib.Name? {
return "SaveOptions"
}
private func setUpFileFormats()
{
guard let doc = doc else { return }
let types = doc.writableTypes(for: .saveAsOperation)
fileFormat.removeAllItems()
for type in types {
let name = UTTypeCopyDescription(type as CFString)?.takeRetainedValue() as String? ?? type
fileFormat.addItem(withTitle: name)
}
}
override func viewDidLoad() {
super.viewDidLoad()
setUpFileFormats()
guard let doc = doc else { return }
let formats = doc.writableTypes(for: .saveAsOperation)
fileFormat.removeAllItems()
for format in formats {
let name = UTTypeCopyDescription(format as CFString)?.takeRetainedValue() as String? ?? format
fileFormat.addItem(withTitle: name)
}
fileFormat.selectItem(at: Prefs.defaultSaveFormat)
savePanel?.allowedFileTypes = [Prefs.saveFormat]
let fileType = Prefs.fileType
let index = SaveOptions.fileTypes.firstIndex(of: fileType) ?? 1
fileFormat.selectItem(at: index)
if let filename = doc.mp4.preferredFileName() {
savePanel?.nameFieldStringValue = filename
}
setFileType(filenameExtension: fileType)
_64bit_data.state = Prefs.mp464bitOffset ? .on : .off
_64bit_time.state = Prefs.mp464bitTimes ? .on : .off
optimize.state = Prefs.mp4SaveAsOptimize ? .on : .off
@@ -62,9 +76,8 @@ final class SaveOptions: NSViewController {
}
}
func saveUserDefaults()
{
Prefs.defaultSaveFormat = fileFormat.indexOfSelectedItem
func saveUserDefaults() {
Prefs.fileType = SaveOptions.fileTypes[fileFormat.indexOfSelectedItem]
Prefs.mp464bitOffset = _64bit_data.state == .on
Prefs.mp464bitTimes = _64bit_time.state == .on
Prefs.mp4SaveAsOptimize = optimize.state == .on
@@ -74,24 +87,22 @@ final class SaveOptions: NSViewController {
super.viewWillDisappear()
saveUserDefaults()
}
@IBAction func setSaveFormat(_ sender: NSPopUpButton) {
var requiredFileType = MP42FileTypeM4V
switch sender.indexOfSelectedItem {
case 0:
requiredFileType = MP42FileTypeM4V
case 1:
requiredFileType = MP42FileTypeMP4
case 2:
requiredFileType = MP42FileTypeM4A
case 3:
requiredFileType = MP42FileTypeM4B
case 4:
requiredFileType = MP42FileTypeM4R
default:
break
func setFileType(filenameExtension: String)
{
if #available(macOS 15.0, *) {
let type = UTType(filenameExtension: filenameExtension) ?? .mpeg4Movie
savePanel?.currentContentType = type
} else {
savePanel?.allowedFileTypes = [filenameExtension]
}
savePanel?.allowedFileTypes = [requiredFileType]
Prefs.saveFormat = requiredFileType
}
@IBAction func setSaveFormat(_ sender: NSPopUpButton) {
let index = sender.indexOfSelectedItem
let selectedFileType = SaveOptions.fileTypes.indices.contains(index) ?
SaveOptions.fileTypes[index] : MP42FileTypeMP4
setFileType(filenameExtension: selectedFileType)
}
}
+875
View File
@@ -0,0 +1,875 @@
//
// ScriptCommand.swift
// Subler
//
// Created by Michael Mock on 6/9/25.
//
import Foundation
import AppKit
import MP42Foundation
// Protocol for universal document targeting
protocol ScriptCommandDocumentTargeting {}
extension ScriptCommandDocumentTargeting where Self: NSScriptCommand {
func targetedDocument() -> Document? {
// First, check for explicit document parameters ('into' or 'doc')
if let evaluatedArgs = self.evaluatedArguments {
if let doc = evaluatedArgs["into"] as? Document {
return doc
}
if let doc = evaluatedArgs["doc"] as? Document {
return doc
}
}
// Then, try to get document from direct parameter
if let directParameter = self.directParameter as? Document {
return directParameter
}
// Then, try to get document from receiver specifier (window targeting)
if let receiver = self.receiversSpecifier?.objectsByEvaluatingSpecifier as? Document {
return receiver
}
// If receiver is a window, get its document
if let window = self.receiversSpecifier?.objectsByEvaluatingSpecifier as? NSWindow,
let windowController = window.windowController as? DocumentWindowController {
return windowController.document as? Document
}
// Finally, fall back to current document (frontmost)
return NSDocumentController.shared.currentDocument as? Document
}
func extractFilePath() -> String? {
// Try different ways AppleScript might pass a file path
if let param = self.directParameter as? String {
return param
} else if let fileURL = self.directParameter as? URL {
return fileURL.path
} else if let fileDescriptor = self.directParameter as? [String: Any],
let path = fileDescriptor["path"] as? String {
return path
} else if let specifier = self.directParameter as? NSScriptObjectSpecifier {
// Handle AppleScript file references like POSIX file
return specifier.key
}
return nil
}
}
@objc(SBImportFileScriptCommand)
class SBImportFileScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
// Get file path using the helper method
guard let path = extractFilePath() else {
logger.write(toLog: "Script failed to get file parameter - expected file reference or path string")
return nil
}
// Get target document using universal method
guard let doc = targetedDocument() else {
logger.write(toLog: "No document available for import")
return nil
}
// Perform import into the target document
let fileURL = URL(fileURLWithPath: path)
// Import directly into the target document
if let windowController = doc.windowControllers.first {
let selector = NSSelectorFromString("importFilesDirectly:")
if windowController.responds(to: selector) {
let fileURLs = [fileURL]
_ = windowController.perform(selector, with: fileURLs)
logger.write(toLog: "Script successfully imported file into target document")
} else {
logger.write(toLog: "importFilesDirectly method not found on target document")
}
} else {
logger.write(toLog: "No window controller found for target document")
}
return path
}
}
@objc(SBFetchMetadataScriptCommand)
class SBFetchMetadataScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for fetching metadata")
return nil
}
// Access the MP42File through the custom Document subclass
let mp4File = sublerDoc.mp4
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
// Perform headless metadata search with completion handling
searchMetadata(terms: searchTerms) { metadata in
DispatchQueue.main.async {
if let metadata = metadata {
// Apply the metadata to the file
mp4File.metadata.merge(metadata)
sublerDoc.updateChangeCount(.changeDone)
// Trigger UI refresh by calling reloadData on the window controller
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.reloadData()
}
// Log the metadata that was applied
let metadataCount = mp4File.metadata.items.count
logger.write(toLog: "Script successfully applied \(metadataCount) metadata items")
} else {
logger.write(toLog: "No metadata found")
}
}
}
return nil
}
private func searchMetadata(terms: MetadataSearchTerms, completion: @escaping (MP42Metadata?) -> Void) {
var metadata: MetadataResult? = nil
// Use default services and settings
let movieService = MetadataSearch.defaultMovieService
let tvShowService = MetadataSearch.defaultTVService
// Get user preferences for artwork from Queue preferences
let queuePrefs = QueuePreferences()
let preferredArtwork = ArtworkType(rawValue: queuePrefs.providerArtwork) ?? .poster
let preferredArtworkSize = ArtworkSize(rawValue: queuePrefs.providerArtworkSize) ?? .standard
switch terms {
case let .movie(title):
let movieSearch = MetadataSearch.movieSeach(service: movieService, movie: title, language: MetadataSearch.defaultLanguage(service: movieService, type: .movie))
_ = movieSearch.search(completionHandler: { results in
if let result = results.first {
_ = movieSearch.loadAdditionalMetadata(result, completionHandler: { additionalMetadata in
metadata = additionalMetadata
// Handle artwork similar to QueueMetadataAction
if let metadataResult = metadata {
let artworks = metadataResult.remoteArtworks
if preferredArtwork != .none && artworks.isEmpty == false {
let artwork: Artwork? = {
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
return artwork
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
return artwork
} else {
return artworks.first
}
}()
// Load and add artwork to metadata result BEFORE mapping
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
metadataResult.artworks.append(mp42Image)
}
}
// Map the metadata using the same logic as QueueAction (now includes artwork)
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
completion(mappedMetadata)
} else {
completion(nil)
}
}).run()
} else {
completion(nil)
}
}).run()
case let .tvShow(seriesName, season, episode):
let tvSearch = MetadataSearch.tvSearch(service: tvShowService, tvShow: seriesName, season: season, episode: episode, language: MetadataSearch.defaultLanguage(service: tvShowService, type: .tvShow))
_ = tvSearch.search(completionHandler: { results in
if let result = results.first {
_ = tvSearch.loadAdditionalMetadata(result, completionHandler: { additionalMetadata in
metadata = additionalMetadata
// Handle artwork similar to QueueMetadataAction
if let metadataResult = metadata {
let artworks = metadataResult.remoteArtworks
if preferredArtwork != .none && artworks.isEmpty == false {
let artwork: Artwork? = {
if let artwork = artworks.filter(by: preferredArtwork, size: preferredArtworkSize, service: tvShowService.name) {
return artwork
} else if let artwork = artworks.filter(by: .season, size: preferredArtworkSize, service: tvShowService.name) {
return artwork
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
return artwork
} else {
return artworks.first
}
}()
// Load and add artwork to metadata result BEFORE mapping
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
metadataResult.artworks.append(mp42Image)
}
}
// Map the metadata using the same logic as QueueAction (now includes artwork)
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
completion(mappedMetadata)
} else {
completion(nil)
}
}).run()
} else {
completion(nil)
}
}).run()
case .none:
completion(nil)
}
}
}
@objc(SBOrganizeAlternateGroupsScriptCommand)
class SBOrganizeAlternateGroupsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for organizing alternate groups")
return nil
}
// Use the existing IBAction instead of duplicating logic
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.iTunesFriendlyTrackGroups(self)
logger.write(toLog: "Script successfully organized alternate groups")
} else {
logger.write(toLog: "No window controller found for organizing alternate groups")
}
return nil
}
}
@objc(SBClearTrackNamesScriptCommand)
class SBClearTrackNamesScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for clearing track names")
return nil
}
// Use the existing IBAction instead of duplicating logic
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.clearTrackNames(self)
logger.write(toLog: "Script successfully cleared all track names")
} else {
logger.write(toLog: "No window controller found for clearing track names")
}
return nil
}
}
@objc(SBPrettifyAudioTrackNamesScriptCommand)
class SBPrettifyAudioTrackNamesScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for prettifying audio track names")
return nil
}
// Use the existing IBAction instead of duplicating logic
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.prettifyAudioTrackNames(self)
logger.write(toLog: "Script successfully prettified audio track names")
} else {
logger.write(toLog: "No window controller found for prettifying audio track names")
}
return nil
}
}
@objc(SBFixAudioFallbacksScriptCommand)
class SBFixAudioFallbacksScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for fixing audio fallbacks")
return nil
}
// Use the existing IBAction instead of duplicating logic
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.fixAudioFallbacks(self)
logger.write(toLog: "Script successfully fixed audio fallbacks")
} else {
logger.write(toLog: "No window controller found for fixing audio fallbacks")
}
return nil
}
}
@objc(SBSaveAsScriptCommand)
class SBSaveAsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
// Get the target document (frontmost or specified)
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for save as operation")
return nil
}
// Use the helper method to extract the destination path
guard let path = extractFilePath() else {
return nil
}
let destinationURL = URL(fileURLWithPath: path)
let fileName = destinationURL.lastPathComponent
// Build options dictionary with 64-bit settings from UI preferences
var options: [String: Any] = [:]
options[MP4264BitData] = Prefs.mp464bitOffset
options[MP4264BitTime] = Prefs.mp464bitTimes
// Get the window controller for progress reporting
guard let windowController = sublerDoc.windowControllers.first as? DocumentWindowController else {
logger.write(toLog: "No window controller found for progress reporting")
return nil
}
// Start progress reporting to show the save modal
windowController.startProgressReporting()
windowController.setProgress(title: NSLocalizedString("Saving…", comment: "Document Save sheet."))
// Perform the save operation asynchronously to keep UI responsive
DispatchQueue.global(qos: .userInitiated).async {
do {
try sublerDoc.mp4.write(to: destinationURL, options: options)
DispatchQueue.main.async {
// Optimize if requested in UI save dialog preferences
if Prefs.mp4SaveAsOptimize {
windowController.setProgress(title: NSLocalizedString("Optimizing…", comment: "Document Optimize sheet."))
// Run optimization on background queue
DispatchQueue.global(qos: .userInitiated).async {
_ = sublerDoc.mp4.optimize()
DispatchQueue.main.async {
// Update the document's file URL and mark as saved
sublerDoc.fileURL = destinationURL
sublerDoc.updateChangeCount(.changeCleared)
// End progress reporting and refresh the UI
windowController.endProgressReporting()
windowController.reloadData()
}
}
} else {
// Update the document's file URL and mark as saved
sublerDoc.fileURL = destinationURL
sublerDoc.updateChangeCount(.changeCleared)
// End progress reporting and refresh the UI
windowController.endProgressReporting()
windowController.reloadData()
}
}
logger.write(toLog: "Script save of \(fileName) completed")
} catch {
DispatchQueue.main.async {
// End progress reporting on error
windowController.endProgressReporting()
logger.write(toLog: "Failed to save document: \(error.localizedDescription)")
}
}
}
return path
}
}
@objc(SBSendToQueueScriptCommand)
class SBSendToQueueScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
// Get the target document (frontmost or specified)
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for send to queue operation")
return nil
}
// Use the helper method to extract the destination path
guard let path = extractFilePath() else {
return nil
}
let destinationURL = URL(fileURLWithPath: path)
let fileName = destinationURL.lastPathComponent
// Build options dictionary with 64-bit settings from UI preferences
var options: [String: Any] = [:]
options[MP4264BitData] = Prefs.mp464bitOffset
options[MP4264BitTime] = Prefs.mp464bitTimes
// Create queue item and add to queue
let item = QueueItem(mp4: sublerDoc.mp4, destURL: destinationURL, attributes: options, optimize: Prefs.mp4SaveAsOptimize)
// Add the queue item
QueueController.shared.add(item)
logger.write(toLog: "Script successfully sent document to queue: \(fileName)")
// Close the document window since it's now in the queue
DispatchQueue.main.async {
sublerDoc.close()
}
return path
}
}
@objc(SBCloseFileScriptCommand)
class SBCloseFileScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
// Get the target document (frontmost or specified)
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for close operation")
return nil
}
// Close the document without prompting for unsaved changes
DispatchQueue.main.async {
sublerDoc.close()
}
logger.write(toLog: "Script successfully closed document")
return nil
}
}
@objc(SBMetadataResult)
class SBMetadataResult: NSObject {
@objc dynamic var title: String?
@objc dynamic var year: NSNumber?
@objc dynamic var series: String?
@objc dynamic var season: NSNumber?
@objc dynamic var episode: NSNumber?
@objc dynamic var mediaType: String?
init(title: String?, year: Int? = nil, series: String? = nil, season: Int? = nil, episode: Int? = nil, mediaType: String?) {
self.title = title
self.year = year.map { NSNumber(value: $0) }
self.series = series
self.season = season.map { NSNumber(value: $0) }
self.episode = episode.map { NSNumber(value: $0) }
self.mediaType = mediaType
super.init()
}
}
@objc(SBFetchMetadataResultsScriptCommand)
class SBFetchMetadataResultsScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for fetching metadata results")
return []
}
// Access the MP42File through the custom Document subclass
let mp4File = sublerDoc.mp4
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
logger.write(toLog: "Starting metadata search for terms: \(searchTerms)")
// Use a semaphore to make this synchronous, but run search on background queue
let semaphore = DispatchSemaphore(value: 0)
var searchResults: [SBMetadataResult] = []
// Get the optional limit parameter
let limit = self.evaluatedArguments?["limit"] as? Int
// Get the optional provider and language parameters
let provider = self.evaluatedArguments?["provider"] as? String
let language = self.evaluatedArguments?["language"] as? String
// Run the search on a background queue to avoid blocking main thread
DispatchQueue.global(qos: .userInitiated).async {
self.searchMetadataResults(terms: searchTerms, provider: provider, language: language) { results in
searchResults = results ?? []
logger.write(toLog: "Metadata search completed with \(searchResults.count) results")
semaphore.signal()
}
}
// Wait for the search to complete
semaphore.wait()
// Apply limit if specified
if let limit = limit, limit > 0 {
let limitedResults = Array(searchResults.prefix(limit))
searchResults = limitedResults
}
// Convert results to formatted strings
let formattedResults = searchResults.map { result in
if result.mediaType == "movie" {
if let year = result.year {
return "Movie: \(result.title ?? "Unknown") (\(year))"
} else {
return "Movie: \(result.title ?? "Unknown")"
}
} else if result.mediaType == "tvshow" {
var tvString = "TV: "
if let series = result.series {
tvString += series
}
if let season = result.season {
tvString += " S\(season)"
}
if let episode = result.episode {
tvString += "E\(episode)"
}
if let title = result.title {
tvString += " \(title)"
}
return tvString.isEmpty ? "Unknown TV Show" : tvString
} else {
return result.title ?? "Unknown"
}
}
logger.write(toLog: "Returning \(formattedResults.count) results")
return formattedResults
}
private func searchMetadataResults(terms: MetadataSearchTerms, provider: String? = nil, language: String? = nil, completion: @escaping ([SBMetadataResult]?) -> Void) {
// Determine which services to use based on provider parameter
let movieService: MetadataService
let tvShowService: MetadataService
if let providerName = provider {
// Use the specified provider for both movie and TV searches
let service = MetadataSearch.service(name: providerName)
movieService = service
tvShowService = service
} else {
// Use default services
movieService = MetadataSearch.defaultMovieService
tvShowService = MetadataSearch.defaultTVService
}
// Convert language to appropriate format for the service
let convertedLanguage: String?
if let languageCode = language {
if movieService.languageType == .ISO {
// For ISO services (TheMovieDB, TheTVDB), use the language code as-is
convertedLanguage = languageCode
} else {
// For custom services (Apple TV, iTunes Store), try to find a matching store
let availableLanguages = movieService.languages
if let matchingLanguage = availableLanguages.first(where: { $0.lowercased().contains(languageCode.lowercased()) }) {
convertedLanguage = matchingLanguage
} else {
// Fall back to default language if no match found
convertedLanguage = movieService.defaultLanguage
}
}
} else {
convertedLanguage = nil
}
// Determine which language to use for the search
let searchLanguage = convertedLanguage ?? movieService.defaultLanguage
// Perform the search based on media type
switch terms {
case .movie(let title):
let results = movieService.search(movie: title, language: searchLanguage)
// Convert MetadataResult to SBMetadataResult
let sbResults = results.map { result in
// Extract year from releaseDate if it's a string
let year: Int? = {
if let releaseDate = result[.releaseDate] as? String {
// Try to extract year from date string (e.g., "2023-12-25" -> 2023)
let components = releaseDate.split(separator: "-")
if let yearString = components.first {
return Int(yearString)
}
}
return nil
}()
return SBMetadataResult(
title: result[.name] as? String,
year: year,
series: nil,
season: nil,
episode: nil,
mediaType: "movie"
)
}
completion(sbResults)
case .tvShow(let title, let season, let episode):
let results = tvShowService.search(tvShow: title, language: searchLanguage, season: season, episode: episode)
// Convert MetadataResult to SBMetadataResult
let sbResults = results.map { result in
// Extract year from releaseDate if it's a string
let year: Int? = {
if let releaseDate = result[.releaseDate] as? String {
// Try to extract year from date string (e.g., "2023-12-25" -> 2023)
let components = releaseDate.split(separator: "-")
if let yearString = components.first {
return Int(yearString)
}
}
return nil
}()
return SBMetadataResult(
title: result[.name] as? String,
year: year,
series: result[.seriesName] as? String,
season: result[.season] as? Int,
episode: result[.episodeNumber] as? Int,
mediaType: "tvshow"
)
}
completion(sbResults)
case .none:
completion([])
}
}
}
@objc(SBFetchAndSetMetadataResultScriptCommand)
class SBFetchAndSetMetadataResultScriptCommand: NSScriptCommand, ScriptCommandDocumentTargeting {
override func performDefaultImplementation() -> Any? {
let logger = Logger.shared
// Get the result index from direct parameter
guard let resultIndex = self.directParameter as? Int else {
logger.write(toLog: "Missing result index parameter")
return nil
}
// Get the optional provider and language parameters
let provider = self.evaluatedArguments?["provider"] as? String
let language = self.evaluatedArguments?["language"] as? String
guard let sublerDoc = targetedDocument() else {
logger.write(toLog: "No document available for metadata operation")
return nil
}
// Access the MP42File through the custom Document subclass
let mp4File = sublerDoc.mp4
let searchTerms = mp4File.extractSearchTerms(fallbackURL: sublerDoc.fileURL)
// Perform search and apply the nth result
searchMetadataAndSetResult(terms: searchTerms, resultIndex: resultIndex - 1, provider: provider, language: language) { success in
DispatchQueue.main.async {
if success {
// Trigger UI refresh
if let windowController = sublerDoc.windowControllers.first as? DocumentWindowController {
windowController.reloadData()
}
logger.write(toLog: "Successfully set metadata result \(resultIndex)")
} else {
logger.write(toLog: "Failed to set metadata result \(resultIndex) - index out of bounds or no results")
}
}
}
return nil
}
private func searchMetadataAndSetResult(terms: MetadataSearchTerms, resultIndex: Int, provider: String?, language: String?, completion: @escaping (Bool) -> Void) {
// Determine which services to use based on provider parameter
let movieService: MetadataService
let tvShowService: MetadataService
if let providerName = provider {
// Use the specified provider for both movie and TV searches
let service = MetadataSearch.service(name: providerName)
movieService = service
tvShowService = service
} else {
// Use default services
movieService = MetadataSearch.defaultMovieService
tvShowService = MetadataSearch.defaultTVService
}
// Convert language to appropriate format for the service
let convertedLanguage: String?
if let languageCode = language {
if movieService.languageType == .ISO {
// For ISO services (TheMovieDB, TheTVDB), use the language code as-is
convertedLanguage = languageCode
} else {
// For custom services (Apple TV, iTunes Store), try to find a matching store
let availableLanguages = movieService.languages
if let matchingLanguage = availableLanguages.first(where: { $0.lowercased().contains(languageCode.lowercased()) }) {
convertedLanguage = matchingLanguage
} else {
// Fall back to default language if no match found
convertedLanguage = movieService.defaultLanguage
}
}
} else {
convertedLanguage = nil
}
// Determine which language to use for the search
let searchLanguage = convertedLanguage ?? movieService.defaultLanguage
// Get user preferences for artwork from Queue preferences
let queuePrefs = QueuePreferences()
let preferredArtwork = ArtworkType(rawValue: queuePrefs.providerArtwork) ?? .poster
let preferredArtworkSize = ArtworkSize(rawValue: queuePrefs.providerArtworkSize) ?? .standard
// Perform the search based on media type
switch terms {
case let .movie(title):
let movieSearch = MetadataSearch.movieSeach(service: movieService, movie: title, language: searchLanguage)
_ = movieSearch.search(completionHandler: { results in
if resultIndex >= 0 && resultIndex < results.count {
let selectedResult = results[resultIndex]
// Load additional metadata for the selected result
_ = movieSearch.loadAdditionalMetadata(selectedResult, completionHandler: { metadataResult in
// Handle artwork similar to QueueMetadataAction
let artworks = metadataResult.remoteArtworks
if preferredArtwork != .none && artworks.isEmpty == false {
let artwork: Artwork? = {
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: movieService.name) {
return artwork
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: movieService.name) {
return artwork
} else {
return artworks.first
}
}()
// Load and add artwork to metadata result BEFORE mapping
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
metadataResult.artworks.append(mp42Image)
}
}
// Map the metadata using the same logic as QueueAction
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
// Apply the metadata
DispatchQueue.main.async {
if let sublerDoc = self.targetedDocument() {
sublerDoc.mp4.metadata.merge(mappedMetadata)
sublerDoc.updateChangeCount(.changeDone)
completion(true)
} else {
completion(false)
}
}
}).run()
} else {
completion(false)
}
}).run()
case let .tvShow(title, season, episode):
let tvSearch = MetadataSearch.tvSearch(service: tvShowService, tvShow: title, season: season, episode: episode, language: searchLanguage)
_ = tvSearch.search(completionHandler: { results in
if resultIndex >= 0 && resultIndex < results.count {
let selectedResult = results[resultIndex]
// Load additional metadata for the selected result
_ = tvSearch.loadAdditionalMetadata(selectedResult, completionHandler: { metadataResult in
// Handle artwork similar to QueueMetadataAction
let artworks = metadataResult.remoteArtworks
if preferredArtwork != .none && artworks.isEmpty == false {
let artwork: Artwork? = {
let type = preferredArtwork.isMovieType ? preferredArtwork : .poster
if let artwork = artworks.filter(by: type, size: preferredArtworkSize, service: tvShowService.name) {
return artwork
} else if let artwork = artworks.filter(by: .poster, size: .standard, service: tvShowService.name) {
return artwork
} else {
return artworks.first
}
}()
// Load and add artwork to metadata result BEFORE mapping
if let url = artwork?.url, let artworkData = URLSession.data(from: url) {
let mp42Image = MP42Image(data: artworkData, type: MP42_ART_JPEG)
metadataResult.artworks.append(mp42Image)
}
}
// Map the metadata using the same logic as QueueAction
let map = metadataResult.mediaKind == .movie ? MetadataPrefs.movieResultMap : MetadataPrefs.tvShowResultMap
let mappedMetadata = metadataResult.mappedMetadata(to: map, keepEmptyKeys: false)
// Apply the metadata
DispatchQueue.main.async {
if let sublerDoc = self.targetedDocument() {
sublerDoc.mp4.metadata.merge(mappedMetadata)
sublerDoc.updateChangeCount(.changeDone)
completion(true)
} else {
completion(false)
}
}
}).run()
} else {
completion(false)
}
}).run()
case .none:
completion(false)
}
}
}
@@ -1,5 +1,5 @@
/* Class = "NSTextFieldCell"; title = "Set the format to create a custom filename in the Save As… panel and in the queue."; ObjectID = "hE3-zH-XFE"; */
"hE3-zH-XFE.title" = "Imposta il formato per creare un nome del file personalizzato nel pannello \\\"Salva col nome…\\\" and nella coda.";
"hE3-zH-XFE.title" = "Imposta il formato per creare un nome del file personalizzato nel pannello \"Salva col nome…\" and nella coda.";
/* Class = "NSButtonCell"; title = "Set filename of TV Shows to:"; ObjectID = "kQC-bu-0by"; */
"kQC-bu-0by.title" = "Imposta il nome del file delle Serie TV a:";
@@ -19,6 +19,9 @@
/* Class = "NSButton"; ibShadowedToolTip = "Dismiss"; ObjectID = "87e-za-hJV"; */
"87e-za-hJV.ibShadowedToolTip" = "Chiudi";
/* Class = "NSWindow"; title = "Window"; ObjectID = "167"; */
"167.title" = "Finestra";
/* Class = "NSTextFieldCell"; title = "Name:"; ObjectID = "174"; */
"174.title" = "Nome:";
+22 -10
View File
@@ -22,9 +22,13 @@
<string>com.apple.protected-mpeg-4-video</string>
</array>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mp4</string>
</array>
<key>CFBundleTypeName</key>
<string>Movie-MPEG4</string>
<key>CFBundleTypeRole</key>
@@ -36,9 +40,13 @@
<string>public.mpeg-4</string>
</array>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>m4a</string>
</array>
<key>CFBundleTypeName</key>
<string>Audio-MPEG4</string>
<key>CFBundleTypeRole</key>
@@ -50,9 +58,13 @@
<string>public.mpeg-4-audio</string>
</array>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>m4b</string>
</array>
<key>CFBundleTypeName</key>
<string>Audiobook</string>
<key>CFBundleTypeRole</key>
@@ -64,7 +76,7 @@
<string>com.apple.protected-mpeg-4-audio</string>
</array>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
@@ -80,7 +92,7 @@
<string>com.apple.mpeg-4-ringtone</string>
</array>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
@@ -96,7 +108,7 @@
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
@@ -110,7 +122,7 @@
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>NSDocumentClass</key>
<string>Subler.Document</string>
<string>SBDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
@@ -130,7 +142,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>$(MARKETING_VERSION), Copyright 2024 Damiano Galassi</string>
<string>$(MARKETING_VERSION), Copyright 2025 Damiano Galassi</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -152,13 +164,13 @@
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2009-2024, Damiano Galassi</string>
<string>Copyright © 2009-2025, Damiano Galassi</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>OSAScriptingDefinition</key>
<string>Queue.sdef</string>
<string>Subler.sdef</string>
<key>SUAllowsAutomaticUpdates</key>
<false/>
<key>SUFeedURL</key>
+38 -1
View File
@@ -1,5 +1,42 @@
# Subler News
## Subler 1.9.0
- Updated UI for macOS 26
- Preserves extended language tags from Matroska files
- Fixed the services ids in the metadata map
## Subler 1.8.9
- Expanded the AppleScript dictionary [Mock1]
- Added additional keyboard shortcuts [Mock1]
- Added support for unofficial metadata often used for Audiobooks
- Make it possible to use the services ids in the metadata map
- Fixed the "Insert a chaper at the beginning" menu item action
- Fixed Swedish Ratings
- Fixed the "None" artwork option in the Queue
## Subler 1.8.8
- Fixed a crash that happened when editing a preset
## Subler 1.8.7
- Preserves additional metadata from Matroska
- Fixed a regression that made the "Send to queue" and "Queue" toolbar button unclickable
## Subler 1.8.6
- Added a "Check only selected track" contextual menu item in the importer sheet [karstenBriksoft]
- Added ability to set imported multichannel AAC track to Passthru + AAC [sxflynn]
- Added IPT-C2 and Undefined color profiles
- Improved the artworks views to make them remember the zoom level
- Improved the behaviour of a cancelled save operation to avoid running an optimize pass
- Fixed the issue where Apple TV metadata isn't returned for TV/Movies that Apple doesn't currently sell in the given region [Mock1]
## Subler 1.8.5
@@ -146,7 +183,7 @@
## Subler 1.5.22
* "4k" is not set automatically anymore because the AppleTV won't stream mp4 with such metadata.
* Fixes an an additional issue that could led to a crash when importing a 5.1 channels ac3 file on macOS 10.15.
* Fixes an issue that could led to a crash when importing a 5.1 channels ac3 file on macOS 10.15.
* Fixes Indian iTunes Store.
-98
View File
@@ -1,98 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary title="Subler Terminology" xmlns:xi="http://www.w3.org/2003/XInclude">
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
<suite name="Subler Suite" code="sktc" description="Classes just for the Subler application.">
<cocoa name="Subler" />
<enumeration name="saveable file format" code="savf">
<enumerator name="Video-MPEG4" code="M4V " description="Video-MPEG4">
<cocoa string-value="com.apple.protected-mpeg-4-video"/>
</enumerator>
<enumerator name="Movie-MPEG4" code="MP4 " description="MPEG-4">
<cocoa string-value="public.mpeg-4"/>
</enumerator>
<enumerator name="Audio-MPEG4" code="M4A " description="Audio-MPEG4">
<cocoa string-value="public.mpeg-4-audio"/>
</enumerator>
</enumeration>
<class-extension extends="document" description="A Subler document.">
<cocoa class="SBDocument" />
</class-extension>
</suite>
<suite name="Queue Suite" code="ScTa" description="Queue suite.">
<class-extension extends="application" description="Queue's top level scripting object.">
<element type="queue item" access="r" description="The queue items">
<cocoa key="queueItems"/>
</element>
</class-extension>
<command name="add to queue" code="QueueAdd" description="Add a file to queue.">
<cocoa class="SBQueueScriptCommand"/>
<direct-parameter description="The file(s) to be added.">
<type type="file" list="yes"/>
</direct-parameter>
</command>
<command name="start queue and wait" code="QueueStw" description="Start the queue and wait until its completion.">
<cocoa class="SBQueueStartAndWaitScriptCommand"/>
</command>
<command name="start queue" code="QueueSta" description="Start the queue.">
<cocoa class="SBQueueStartScriptCommand"/>
</command>
<command name="stop queue" code="QueueSto" description="Stop the queue.">
<cocoa class="SBQueueStopScriptCommand"/>
</command>
<enumeration name="queue item status" code="Qsta" description="A status">
<enumerator name="ready" code="STA1" description="Ready status.">
<cocoa integer-value="0"/>
</enumerator>
<enumerator name="editing" code="STA2" description="Editing status.">
<cocoa integer-value="1"/>
</enumerator>
<enumerator name="working" code="STA3" description="Working status.">
<cocoa integer-value="2"/>
</enumerator>
<enumerator name="completed" code="STA4" description="Completed status.">
<cocoa integer-value="3"/>
</enumerator>
<enumerator name="failed" code="STA5" description="Failed status.">
<cocoa integer-value="4"/>
</enumerator>
<enumerator name="cancelled" code="STA6" description="Cancelled status.">
<cocoa integer-value="5"/>
</enumerator>
</enumeration>
<class name="queue item" code="QIte" description="A queue item" inherits="item" plural="queue items">
<cocoa class="SBQueueItem"/>
<property name="id" code="ID " type="text" access="r" description="The unique identifier of the queue item.">
<cocoa key="uniqueID"/>
</property>
<property name="status" code="StAt" type="queue item status" access="r" description="The status of the queue item.">
</property>
<property name="name" code="pnam" type="text" access="r" description="The name of the queue item.">
</property>
<property name="sourcePath" code="SOUR" type="text" access="r" description="The source URL of the queue item.">
<cocoa key="sourcePath"/>
</property>
<property name="destinationPath" code="DEST" type="text" access="r" description="The destination URL of the queue item.">
<cocoa key="destinationPath"/>
</property>
</class>
</suite>
</dictionary>
+16
View File
@@ -8,3 +8,19 @@ Subler is an Mac OS X app created to mux and tag mp4 files. The main features in
* Mux video, audio, chapters, subtitles and closed captions tracks from mov, mp4 and mkv.
* Raw formats: H.264 Elementary streams (.h264, .264), AAC (.aac), AC3 (.ac3), Scenarist (.scc), VobSub? (.idx).
* metadata editing and TMDb, TVDB and iTunes Store support.
### Build and run
Clone the repository and include all submodules
```
git clone --recurse-submodules https://github.com/SublerApp/Subler.git
```
If you already cloned without submodules and need to add the submodules manually, `cd` into the `./Subler` directory and clone the dependency submodules with
```
git submodule update --init --recursive
```
Open `Subler.xcodeproj` in XCode
Build and run the project by selecting the 'Subler' scheme (`Product` -> `Scheme` -> `Subler`) and clicking the 'Run' button in Xcode’s toolbar.
+6 -6
View File
@@ -206,12 +206,12 @@
"country" : "Sverige",
"storeCode" : 143456,
"ratings" : [
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "A", "itunes-value" : "000", "description" : "Barntillåten" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "7", "itunes-value" : "125", "description" : "Från 7 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "11", "itunes-value" : "225", "description" : "Från 11 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "15", "itunes-value" : "400", "description" : "Från 15 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Ocensurerad" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Inte klassificerad" }
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Barntillåten", "itunes-value" : "000", "description" : "Barntillåten" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 7 År", "itunes-value" : "125", "description" : "Från 7 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 11 År", "itunes-value" : "225", "description" : "Från 11 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Från 15 År", "itunes-value" : "400", "description" : "Från 15 år" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Ocensurerad" },
{ "media" : "Movie & TV", "prefix" : "se-movie", "itunes-code" : "Unrated", "itunes-value" : "???", "description" : "Inte klassificerad" }
]
},
{
+445
View File
@@ -0,0 +1,445 @@
{
"data" : {
"AE" : {
"localesSupported" : [ "en_GB", "ar_AE" ],
"storefrontId" : 143481
},
"AG" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143540
},
"AI" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143538
},
"AM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143524
},
"AR" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143505
},
"AT" : {
"localesSupported" : [ "en_GB", "de_DE" ],
"storefrontId" : 143445
},
"AU" : {
"localesSupported" : [ "en_AU" ],
"storefrontId" : 143460
},
"AZ" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143568
},
"BE" : {
"localesSupported" : [ "nl_NL", "en_GB", "fr_FR" ],
"storefrontId" : 143446
},
"BG" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143526
},
"BH" : {
"localesSupported" : [ "en_GB", "ar_BH" ],
"storefrontId" : 143559
},
"BM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143542
},
"BN" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143560
},
"BO" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143556
},
"BR" : {
"localesSupported" : [ "en_GB", "pt_BR" ],
"storefrontId" : 143503
},
"BS" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143539
},
"BW" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143525
},
"BY" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143565
},
"BZ" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143555
},
"CA" : {
"localesSupported" : [ "fr_CA", "en_CA" ],
"storefrontId" : 143455
},
"CH" : {
"localesSupported" : [ "de_DE", "fr_FR", "de_CH", "en_GB", "it_IT" ],
"storefrontId" : 143459
},
"CL" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143483
},
"CO" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143501
},
"CR" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143495
},
"CV" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143580
},
"CY" : {
"localesSupported" : [ "tr_TR", "en_GB", "el_GR" ],
"storefrontId" : 143557
},
"CZ" : {
"localesSupported" : [ "en_GB", "cs_CZ" ],
"storefrontId" : 143489
},
"DE" : {
"localesSupported" : [ "en_GB", "de_DE" ],
"storefrontId" : 143443
},
"DK" : {
"localesSupported" : [ "en_GB", "da_DK" ],
"storefrontId" : 143458
},
"DM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143545
},
"DO" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143508
},
"EC" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143509
},
"EE" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143518
},
"EG" : {
"localesSupported" : [ "en_GB", "ar_EG" ],
"storefrontId" : 143516
},
"ES" : {
"localesSupported" : [ "ca_ES", "en_GB", "es_ES" ],
"storefrontId" : 143454
},
"FI" : {
"localesSupported" : [ "fi_FI", "en_GB" ],
"storefrontId" : 143447
},
"FJ" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143583
},
"FM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143591
},
"FR" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143442
},
"GB" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143444
},
"GD" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143546
},
"GH" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143573
},
"GM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143584
},
"GR" : {
"localesSupported" : [ "el_GR", "en_GB" ],
"storefrontId" : 143448
},
"GT" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143504
},
"GW" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143585
},
"HK" : {
"localesSupported" : [ "yue_Hant", "en_GB", "zh_Hant" ],
"storefrontId" : 143463
},
"HN" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143510
},
"HU" : {
"localesSupported" : [ "en_GB", "hu_HU" ],
"storefrontId" : 143482
},
"ID" : {
"localesSupported" : [ "en_GB", "id_ID" ],
"storefrontId" : 143476
},
"IE" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143449
},
"IL" : {
"localesSupported" : [ "en_GB", "iw_IL" ],
"storefrontId" : 143491
},
"IN" : {
"localesSupported" : [ "en_GB", "hi_IN" ],
"storefrontId" : 143467
},
"IT" : {
"localesSupported" : [ "it_IT", "en_GB" ],
"storefrontId" : 143450
},
"JO" : {
"localesSupported" : [ "en_GB", "ar_JO" ],
"storefrontId" : 143528
},
"JP" : {
"localesSupported" : [ "en_US", "ja_JP" ],
"storefrontId" : 143462
},
"KH" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143579
},
"KN" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143548
},
"KR" : {
"localesSupported" : [ "en_GB", "ko_KR" ],
"storefrontId" : 143466
},
"KY" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143544
},
"LA" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143587
},
"LB" : {
"localesSupported" : [ "en_GB", "ar_LB" ],
"storefrontId" : 143497
},
"LK" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143486
},
"LT" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143520
},
"LU" : {
"localesSupported" : [ "en_GB", "de_DE", "fr_FR" ],
"storefrontId" : 143451
},
"LV" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143519
},
"MD" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143523
},
"MN" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143592
},
"MO" : {
"localesSupported" : [ "yue_Hant", "en_GB", "zh_Hant" ],
"storefrontId" : 143515
},
"MT" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143521
},
"MU" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143533
},
"MX" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143468
},
"MY" : {
"localesSupported" : [ "ms_MY", "en_GB" ],
"storefrontId" : 143473
},
"MZ" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143593
},
"NA" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143594
},
"NE" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143534
},
"NI" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143512
},
"NL" : {
"localesSupported" : [ "en_GB", "nl_NL" ],
"storefrontId" : 143452
},
"NO" : {
"localesSupported" : [ "nb_NO", "en_GB" ],
"storefrontId" : 143457
},
"NZ" : {
"localesSupported" : [ "en_GB", "en_AU" ],
"storefrontId" : 143461
},
"OM" : {
"localesSupported" : [ "ar_OM", "en_GB" ],
"storefrontId" : 143562
},
"PA" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143485
},
"PE" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143507
},
"PH" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143474
},
"PL" : {
"localesSupported" : [ "en_GB", "pl_PL" ],
"storefrontId" : 143478
},
"PT" : {
"localesSupported" : [ "en_GB", "pt_PT" ],
"storefrontId" : 143453
},
"PY" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143513
},
"QA" : {
"localesSupported" : [ "ar_QA", "en_GB" ],
"storefrontId" : 143498
},
"RU" : {
"localesSupported" : [ "en_GB", "uk_UA", "ru_RU" ],
"storefrontId" : 143469
},
"SA" : {
"localesSupported" : [ "ar_SA", "en_GB" ],
"storefrontId" : 143479
},
"SE" : {
"localesSupported" : [ "en_GB", "sv_SE" ],
"storefrontId" : 143456
},
"SG" : {
"localesSupported" : [ "zh_Hans", "en_GB" ],
"storefrontId" : 143464
},
"SI" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143499
},
"SK" : {
"localesSupported" : [ "en_GB", "sk_SK" ],
"storefrontId" : 143496
},
"SV" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143506
},
"SZ" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143602
},
"TH" : {
"localesSupported" : [ "en_GB", "th_TH" ],
"storefrontId" : 143475
},
"TJ" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143603
},
"TM" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143604
},
"TR" : {
"localesSupported" : [ "en_GB", "tr_TR" ],
"storefrontId" : 143480
},
"TT" : {
"localesSupported" : [ "en_GB", "fr_FR" ],
"storefrontId" : 143551
},
"TW" : {
"localesSupported" : [ "en_GB", "zh_Hant" ],
"storefrontId" : 143470
},
"UA" : {
"localesSupported" : [ "en_GB", "uk_UA", "ru_RU" ],
"storefrontId" : 143492
},
"UG" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143537
},
"US" : {
"localesSupported" : [ "en_US", "es_MX" ],
"storefrontId" : 143441
},
"VE" : {
"localesSupported" : [ "en_GB", "es_MX" ],
"storefrontId" : 143502
},
"VG" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143543
},
"VN" : {
"localesSupported" : [ "vi_VI", "en_GB" ],
"storefrontId" : 143471
},
"ZA" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143472
},
"ZW" : {
"localesSupported" : [ "en_GB" ],
"storefrontId" : 143605
}
}
}
+201
View File
@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file:///localhost/System/Library/DTDs/sdef.dtd">
<dictionary title="Subler Terminology" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)" />
<class-extension extends="application" description="Queue's top level scripting object.">
<element type="queue item" access="r" description="The queue items">
<cocoa key="queueItems"/>
</element>
</class-extension>
<suite name="Subler Automation Suite" code="Subl" description="Automation functions for Subler.">
<!-- Commands -->
<!-- File Commands -->
<command name="import file" code="SublFilI" description="Import a file into the active document.">
<cocoa class="SBImportFileScriptCommand" />
<direct-parameter description="The file to import.">
<type type="file" />
</direct-parameter>
<parameter name="into" code="into" type="document" optional="yes" description="The target document to import into." />
</command>
<command name="save as" code="SublSave" description="Save the active document to a file.">
<cocoa class="SBSaveAsScriptCommand" />
<direct-parameter description="The destination file path.">
<type type="file" />
</direct-parameter>
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to save." />
</command>
<command name="send to queue" code="SublSenQ" description="Send the active document to the queue.">
<cocoa class="SBSendToQueueScriptCommand" />
<direct-parameter description="The destination file path.">
<type type="file" />
</direct-parameter>
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to send to queue." />
</command>
<command name="close document" code="SublClos" description="Close the active document window without prompting for unsaved changes.">
<cocoa class="SBCloseFileScriptCommand" />
<parameter name="doc" code="docu" type="document" optional="yes" description="The target document to close." />
</command>
<!-- Metadata Commands -->
<command name="fetch metadata" code="SublMeta" description="Fetch metadata for the active document.">
<cocoa class="SBFetchMetadataScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fetch metadata for." />
</command>
<command name="fetch metadata candidates" code="SublFRes" description="Fetch metadata results without applying them.">
<cocoa class="SBFetchMetadataResultsScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fetch metadata candidates for." />
<parameter name="limit" code="limt" type="integer" optional="yes" description="Maximum number of results to return." />
<parameter name="provider" code="prov" type="text" optional="yes" description="Metadata provider to use (Apple TV, TheMovieDB, TheTVDB, iTunes Store)." />
<parameter name="language" code="lang" type="text" optional="yes" description="Language for metadata search (e.g., 'en', 'es', 'fr')." />
<result description="The metadata results.">
<type type="text" list="yes"/>
</result>
</command>
<command name="fetch and set metadata candidate" code="SublSetM" description="Fetch metadata and set the specified result.">
<cocoa class="SBFetchAndSetMetadataResultScriptCommand" />
<direct-parameter description="The result index to set (1-based).">
<type type="integer" />
</direct-parameter>
<parameter name="into" code="into" type="document" optional="yes" description="The target document to set metadata for." />
<parameter name="provider" code="prov" type="text" optional="yes" description="Metadata provider to use (Apple TV, TheMovieDB, TheTVDB, iTunes Store)." />
<parameter name="language" code="lang" type="text" optional="yes" description="Language for metadata search (e.g., 'en', 'es', 'fr')." />
</command>
<!-- Edit Commands -->
<command name="organize alternate groups" code="SublOrgG" description="Organize alternate audio groups.">
<cocoa class="SBOrganizeAlternateGroupsScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to organize alternate groups for." />
</command>
<command name="clear track names" code="SublClea" description="Clear all track names.">
<cocoa class="SBClearTrackNamesScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to clear track names for." />
</command>
<command name="prettify audio track names" code="SublPret" description="Prettify audio track names.">
<cocoa class="SBPrettifyAudioTrackNamesScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to prettify audio track names for." />
</command>
<command name="fix audio fallbacks" code="SublFixF" description="Fix audio fallback settings.">
<cocoa class="SBFixAudioFallbacksScriptCommand" />
<parameter name="into" code="into" type="document" optional="yes" description="The target document to fix audio fallbacks for." />
</command>
<!-- Queue Commands -->
<command name="add to queue" code="SublQAdd" description="Add a file to queue.">
<cocoa class="SBQueueScriptCommand"/>
<direct-parameter description="The file(s) to be added.">
<type type="file" list="yes"/>
</direct-parameter>
</command>
<command name="start queue and wait" code="SublQStw" description="Start the queue and wait until its completion.">
<cocoa class="SBQueueStartAndWaitScriptCommand"/>
</command>
<command name="start queue" code="SublQSta" description="Start the queue.">
<cocoa class="SBQueueStartScriptCommand"/>
</command>
<command name="stop queue" code="SublQSto" description="Stop the queue.">
<cocoa class="SBQueueStopScriptCommand"/>
</command>
<command name="remove completed items from queue" code="SublQRem" description="Remove all completed items from the queue.">
<cocoa class="SBQueueRemoveCompletedScriptCommand"/>
</command>
<command name="get queue status" code="SublQSts" description="Get the current status of the queue.">
<cocoa class="SBQueueStatusScriptCommand"/>
<result description="The status of the queue.">
<type type="queue status"/>
</result>
</command>
<!-- Queue Enumerations -->
<enumeration name="queue status" code="QSts" description="The status of the queue.">
<enumerator name="idle" code="QIDL" description="Queue is idle.">
<cocoa integer-value="0"/>
</enumerator>
<enumerator name="running" code="QRUN" description="Queue is running.">
<cocoa integer-value="1"/>
</enumerator>
<enumerator name="completed" code="QCOM" description="Queue has completed.">
<cocoa integer-value="2"/>
</enumerator>
</enumeration>
<enumeration name="queue item status" code="QISt" description="A status">
<enumerator name="ready" code="STA1" description="Ready status.">
<cocoa integer-value="0"/>
</enumerator>
<enumerator name="editing" code="STA2" description="Editing status.">
<cocoa integer-value="1"/>
</enumerator>
<enumerator name="working" code="STA3" description="Working status.">
<cocoa integer-value="2"/>
</enumerator>
<enumerator name="completed" code="STA4" description="Completed status.">
<cocoa integer-value="3"/>
</enumerator>
<enumerator name="failed" code="STA5" description="Failed status.">
<cocoa integer-value="4"/>
</enumerator>
<enumerator name="cancelled" code="STA6" description="Cancelled status.">
<cocoa integer-value="5"/>
</enumerator>
</enumeration>
<!-- Queue Classes -->
<class name="document" code="docu" description="A Subler document" plural="documents">
<cocoa class="SBDocument"/>
<property name="id" code="ID " type="integer" access="r" description="The unique identifier of the document.">
<cocoa key="uniqueID"/>
</property>
<property name="name" code="pnam" type="text" access="r" description="The name of the document.">
<cocoa key="displayName"/>
</property>
<property name="modified" code="imod" type="boolean" access="r" description="Whether the document has been modified.">
<cocoa key="isDocumentEdited"/>
</property>
<property name="file" code="file" type="file" access="r" description="The file associated with the document.">
<cocoa key="fileURL"/>
</property>
</class>
<class name="queue item" code="QIte" description="A queue item" inherits="item" plural="queue items">
<cocoa class="SBQueueItem"/>
<property name="id" code="ID " type="text" access="r" description="The unique identifier of the queue item.">
<cocoa key="uniqueID"/>
</property>
<property name="status" code="StAt" type="queue item status" access="r" description="The status of the queue item.">
</property>
<property name="name" code="pnam" type="text" access="r" description="The name of the queue item.">
</property>
<property name="sourcePath" code="SOUR" type="text" access="r" description="The source URL of the queue item.">
<cocoa key="sourcePath"/>
</property>
<property name="destinationPath" code="DEST" type="text" access="r" description="The destination URL of the queue item.">
<cocoa key="destinationPath"/>
</property>
</class>
</suite>
</dictionary>
+41 -11
View File
@@ -8,6 +8,7 @@
/* Begin PBXBuildFile section */
1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD582A0DA1D0D100B32029 /* MainMenu.xib */; };
4AFFB6D22DF751110099E229 /* Subler.sdef in Resources */ = {isa = PBXBuildFile; fileRef = 4AFFB6D12DF751110099E229 /* Subler.sdef */; };
61CEC0CE1E7569E4000FECC1 /* MultiSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 61CEC0CC1E7569E4000FECC1 /* MultiSelectView.xib */; };
8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; };
8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; };
@@ -22,7 +23,6 @@
A90300C81DAE72C4008237D8 /* PresetPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90300CA1DAE72C4008237D8 /* PresetPrefsViewController.xib */; };
A90331BD23ED7EE5006BB91D /* Prefs.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90331BC23ED7EE5006BB91D /* Prefs.swift */; };
A9067A0C1F3CA4E6008011DC /* MetadataPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */; };
A906B5B11E434872007D12B1 /* Queue.sdef in Resources */ = {isa = PBXBuildFile; fileRef = A906B5B01E434872007D12B1 /* Queue.sdef */; };
A90B023B10F3290A000416F3 /* PrefsWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90B023910F3290A000416F3 /* PrefsWindowController.xib */; };
A90B094C235614D200F1B191 /* AppleTV.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90B094B235614D200F1B191 /* AppleTV.swift */; };
A90BC5E31F3A139700F9F3F3 /* MetadataResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */; };
@@ -86,6 +86,7 @@
A99189D11F2F88F700623ED7 /* ChapterSearchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A99189D01F2F88F700623ED7 /* ChapterSearchController.swift */; };
A997B0AA1F348AB000974C9C /* MetadataSearchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A997B0A91F348AB000974C9C /* MetadataSearchController.swift */; };
A998DABF1BA54CFF004D7969 /* MediaTagsController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A998DABD1BA54CFF004D7969 /* MediaTagsController.xib */; };
A99B7FD82D53764F0027BCB5 /* AppleTVv3.swift in Sources */ = {isa = PBXBuildFile; fileRef = A99B7FD72D53764F0027BCB5 /* AppleTVv3.swift */; };
A99D23212029CD32002E7F27 /* PrefsWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = A99D23202029CD32002E7F27 /* PrefsWindow.swift */; };
A9A4A966202F51FA00482D12 /* SaveOptions.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9A4A968202F51FA00482D12 /* SaveOptions.xib */; };
A9A4A96B202F51FF00482D12 /* ProgressViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9A4A96D202F51FF00482D12 /* ProgressViewController.xib */; };
@@ -113,11 +114,15 @@
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */; };
A9C31E642029A82200CEF474 /* AdvancedPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C31E622029A82200CEF474 /* AdvancedPrefsViewController.xib */; };
A9C3E44A205C07F4004DE24E /* OptionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C3E449205C07F4004DE24E /* OptionsViewController.swift */; };
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */; };
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9C5FA7219FA2FEC0051F3FF /* SBActivityWindow.xib */; };
A9C73536206B8F9900794673 /* QueuePreferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C73535206B8F9900794673 /* QueuePreferences.swift */; };
A9CB19022D10415D0074DC9F /* Storefronts.json in Resources */ = {isa = PBXBuildFile; fileRef = A9CB19012D10415D0074DC9F /* Storefronts.json */; };
A9CB19052D10417D0074DC9F /* Alpha2.json in Resources */ = {isa = PBXBuildFile; fileRef = A9CB19042D10417D0074DC9F /* Alpha2.json */; };
A9CBAB1E1F29C083001C26B3 /* MetadataImporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */; };
A9D4B8671C05BD04007845C4 /* SBChapterSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9D4B8651C05BD04007845C4 /* SBChapterSearch.xib */; };
A9D64527202CA92400BA172B /* SaveOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9D64525202CA92400BA172B /* SaveOptions.swift */; };
A9D8CA822E798CBD007C7B59 /* AppIcon.icon in Resources */ = {isa = PBXBuildFile; fileRef = A9D8CA812E798CBD007C7B59 /* AppIcon.icon */; };
A9DA03E322A0211C0056AE7B /* OCRPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9DA03E122A0211C0056AE7B /* OCRPrefsViewController.swift */; };
A9E385782C316FBE000A050D /* CollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E385772C316FBE000A050D /* CollectionView.swift */; };
A9E3857C2C317010000A050D /* FilePromiseProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E3857B2C317010000A050D /* FilePromiseProvider.swift */; };
@@ -190,6 +195,7 @@
/* Begin PBXFileReference section */
1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
4AFFB6D12DF751110099E229 /* Subler.sdef */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Subler.sdef; sourceTree = "<group>"; };
610362271E76D66A000DAE60 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = Classes/PropertyView/it.lproj/MultiSelectView.strings; sourceTree = "<group>"; };
61CEC0CD1E7569E4000FECC1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Classes/PropertyView/Base.lproj/MultiSelectView.xib; sourceTree = "<group>"; };
8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -206,7 +212,6 @@
A90300C91DAE72C4008237D8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PresetPrefsViewController.xib; sourceTree = "<group>"; };
A90331BC23ED7EE5006BB91D /* Prefs.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Prefs.swift; path = Classes/Prefs.swift; sourceTree = "<group>"; };
A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataPrefsViewController.swift; path = Classes/MetadataPrefsViewController.swift; sourceTree = "<group>"; };
A906B5B01E434872007D12B1 /* Queue.sdef */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Queue.sdef; sourceTree = "<group>"; };
A90B094B235614D200F1B191 /* AppleTV.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppleTV.swift; path = Classes/MetadataImporters/AppleTV.swift; sourceTree = "<group>"; };
A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResult.swift; path = Classes/MetadataImporters/MetadataResult.swift; sourceTree = "<group>"; };
A90C3E0A1FD16AF200F64532 /* TokensViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokensViewController.swift; path = Classes/TokensViewController.swift; sourceTree = "<group>"; };
@@ -351,6 +356,7 @@
A99189CC1F2F87EC00623ED7 /* ChapterImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterImporter.swift; path = Classes/MetadataImporters/ChapterImporter.swift; sourceTree = "<group>"; };
A99189D01F2F88F700623ED7 /* ChapterSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterSearchController.swift; path = Classes/ChapterSearchController.swift; sourceTree = "<group>"; };
A997B0A91F348AB000974C9C /* MetadataSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataSearchController.swift; path = Classes/MetadataSearchController.swift; sourceTree = "<group>"; };
A99B7FD72D53764F0027BCB5 /* AppleTVv3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppleTVv3.swift; path = Classes/MetadataImporters/AppleTVv3.swift; sourceTree = "<group>"; };
A99D23202029CD32002E7F27 /* PrefsWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PrefsWindow.swift; path = Classes/PrefsWindow.swift; sourceTree = "<group>"; };
A9A4A967202F51FA00482D12 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SaveOptions.xib; sourceTree = "<group>"; };
A9A4A96C202F51FF00482D12 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ProgressViewController.xib; sourceTree = "<group>"; };
@@ -390,9 +396,13 @@
A9C31E5E2029A80F00CEF474 /* AdvancedPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AdvancedPrefsViewController.swift; path = Classes/AdvancedPrefsViewController.swift; sourceTree = "<group>"; };
A9C31E632029A82200CEF474 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/AdvancedPrefsViewController.xib; sourceTree = "<group>"; };
A9C3E449205C07F4004DE24E /* OptionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OptionsViewController.swift; path = Classes/OptionsViewController.swift; sourceTree = "<group>"; };
A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScriptCommand.swift; path = Classes/ScriptCommand.swift; sourceTree = "<group>"; };
A9C73535206B8F9900794673 /* QueuePreferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueuePreferences.swift; path = Classes/QueuePreferences.swift; sourceTree = "<group>"; };
A9CB19012D10415D0074DC9F /* Storefronts.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Storefronts.json; sourceTree = "<group>"; };
A9CB19042D10417D0074DC9F /* Alpha2.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Alpha2.json; sourceTree = "<group>"; };
A9CBAB1D1F29C083001C26B3 /* MetadataImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataImporter.swift; path = Classes/MetadataImporters/MetadataImporter.swift; sourceTree = "<group>"; };
A9D64525202CA92400BA172B /* SaveOptions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SaveOptions.swift; path = Classes/SaveOptions.swift; sourceTree = "<group>"; };
A9D8CA812E798CBD007C7B59 /* AppIcon.icon */ = {isa = PBXFileReference; lastKnownFileType = folder.iconcomposer.icon; path = AppIcon.icon; sourceTree = "<group>"; };
A9DA03E122A0211C0056AE7B /* OCRPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OCRPrefsViewController.swift; path = Classes/OCRPrefsViewController.swift; sourceTree = "<group>"; };
A9E059B02529DCA9000E0E9A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
A9E059B12529DCA9000E0E9A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
@@ -479,8 +489,8 @@
2A37F4AAFDCFA73011CA2CEA /* MP4Sub */ = {
isa = PBXGroup;
children = (
4AFFB6D12DF751110099E229 /* Subler.sdef */,
A9B4EE4E1643EBF3009AF6BC /* Subler.entitlements */,
A906B5B01E434872007D12B1 /* Queue.sdef */,
2A37F4ABFDCFA73011CA2CEA /* Classes */,
2A37F4AFFDCFA73011CA2CEA /* Other Sources */,
2A37F4B8FDCFA73011CA2CEA /* Resources */,
@@ -496,6 +506,7 @@
A9FAC5FE1BAC3BAC00525E42 /* Document */,
A9AF6A7818D0537F00FAAB08 /* Queue */,
A9915ABB1F4B26A5003C57D1 /* Presets */,
A9C51DF32E4B4548003E82E6 /* ScriptCommand.swift */,
A9BE561A220307F100FF6BE3 /* Utilities.swift */,
A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */,
A91EB968205ABAF400392E1C /* NSWindowAdditions.swift */,
@@ -524,12 +535,15 @@
2A37F4B8FDCFA73011CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
A9D8CA812E798CBD007C7B59 /* AppIcon.icon */,
A9F5820B1DCC861F005F3E92 /* Assets.xcassets */,
A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */,
2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
089C165FFE840EACC02AAC07 /* InfoPlist.strings */,
8D15AC360486D014006FF6A4 /* Info.plist */,
CDE8E451174CBBD4009410B5 /* iTunesStores.json */,
A9CB19012D10415D0074DC9F /* Storefronts.json */,
A9CB19042D10417D0074DC9F /* Alpha2.json */,
A97FA42123E9877900EE5833 /* Ratings.json */,
A94A6A581ED1C5CA00049F7D /* ParseFilename */,
);
@@ -705,6 +719,7 @@
A97FA41D23E9837000EE5833 /* Ratings.swift */,
A9E97F131F274F1100DBA586 /* iTunesStore.swift */,
A90B094B235614D200F1B191 /* AppleTV.swift */,
A99B7FD72D53764F0027BCB5 /* AppleTVv3.swift */,
A98D98451F0280CB00A77ABC /* TheMovieDB.swift */,
A98D98471F02820F00A77ABC /* TheMovieDBService.swift */,
A9B514181EFC12310055A035 /* TheTVDB.swift */,
@@ -752,7 +767,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1540;
LastUpgradeCheck = 2600;
TargetAttributes = {
8D15AC270486D014006FF6A4 = {
LastSwiftMigration = 1020;
@@ -821,20 +836,22 @@
buildActionMask = 2147483647;
files = (
A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */,
A9CB19022D10415D0074DC9F /* Storefronts.json in Resources */,
A9AB486617F0AEFD000AA72E /* MovieView.xib in Resources */,
A9C31E5D2029A79000CEF474 /* GeneralPrefsViewController.xib in Resources */,
A98542DD20D1A7E500EB9803 /* ArtworkSelectorViewItem.xib in Resources */,
A9D8CA822E798CBD007C7B59 /* AppIcon.icon in Resources */,
8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */,
A9ECA05A2029A10F00D5F30C /* TracksViewController.xib in Resources */,
A9AB486717F0AEFD000AA72E /* SoundView.xib in Resources */,
A9F5820C1DCC861F005F3E92 /* Assets.xcassets in Resources */,
8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */,
A906B5B11E434872007D12B1 /* Queue.sdef in Resources */,
A93105391F9758EC00605146 /* FileImportController.xib in Resources */,
A9AB486517F0AEFD000AA72E /* EmptyView.xib in Resources */,
1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */,
A90300C81DAE72C4008237D8 /* PresetPrefsViewController.xib in Resources */,
A9C5FA7419FA2FEC0051F3FF /* SBActivityWindow.xib in Resources */,
4AFFB6D22DF751110099E229 /* Subler.sdef in Resources */,
A90B023B10F3290A000416F3 /* PrefsWindowController.xib in Resources */,
A9AB486417F0AEFD000AA72E /* ChapterView.xib in Resources */,
A9AB486817F0AEFD000AA72E /* VideoView.xib in Resources */,
@@ -850,6 +867,7 @@
A98542D720D197D300EB9803 /* ArtworkSelector.xib in Resources */,
A9ECA0602029A13800D5F30C /* OffsetViewController.xib in Resources */,
A9ACF03222A2BCF200AD5B12 /* OCRPrefsViewController.xib in Resources */,
A9CB19052D10417D0074DC9F /* Alpha2.json in Resources */,
A97FA42223E9877900EE5833 /* Ratings.json in Resources */,
A961476713F568210068F161 /* Queue.xib in Resources */,
A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */,
@@ -928,6 +946,8 @@
A9C31E572029A75F00CEF474 /* GeneralPrefsViewController.swift in Sources */,
A9AE26C01F3B66470041A57D /* SquaredTVArt.swift in Sources */,
A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */,
A9C51DF42E4B4548003E82E6 /* ScriptCommand.swift in Sources */,
A99B7FD82D53764F0027BCB5 /* AppleTVv3.swift in Sources */,
A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */,
A9C31E602029A80F00CEF474 /* AdvancedPrefsViewController.swift in Sources */,
A979B3862025C8BF00468362 /* DocumentWindowController.swift in Sources */,
@@ -1381,6 +1401,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_OPTIMIZATION = space;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
@@ -1390,7 +1411,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1.8.5;
CURRENT_PROJECT_VERSION = 1.9.0;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
@@ -1403,17 +1424,20 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = "";
INFOPLIST_FILE = Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Subler;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.8.5;
MARKETING_VERSION = 1.9.0;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
OTHER_SWIFT_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = "org.galad.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = Subler;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/MP42Foundation/contrib/mp4v2/";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
@@ -1423,6 +1447,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_OPTIMIZATION = space;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
@@ -1431,7 +1456,7 @@
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1.8.5;
CURRENT_PROJECT_VERSION = 1.9.0;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
@@ -1443,17 +1468,20 @@
GCC_DYNAMIC_NO_PIC = YES;
GCC_VERSION = "";
INFOPLIST_FILE = Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Subler;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.video";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.8.5;
MARKETING_VERSION = 1.9.0;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
OTHER_SWIFT_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = "org.galad.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = Subler;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_INCLUDE_PATHS = "$(SRCROOT)/MP42Foundation/contrib/mp4v2/";
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
@@ -1461,6 +1489,7 @@
C05733CC08A9546B00998B17 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_OPTIMIZATION = space;
CLANG_ANALYZER_GCD_PERFORMANCE = YES;
CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
@@ -1549,6 +1578,7 @@
C05733CD08A9546B00998B17 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
ASSETCATALOG_COMPILER_OPTIMIZATION = space;
CLANG_ANALYZER_GCD_PERFORMANCE = YES;
CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
@@ -1660,8 +1690,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sparkle-project/Sparkle";
requirement = {
branch = 2.x;
kind = branch;
kind = exactVersion;
version = 2.8.0;
};
};
/* End XCRemoteSwiftPackageReference section */
+1 -1
View File
@@ -9,5 +9,5 @@
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject
@interface AppDelegate : NSObject<NSApplicationDelegate>
@end
+5
View File
@@ -52,4 +52,9 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap)
return NO;
}
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app
{
return YES;
}
@end
+5
View File
@@ -52,6 +52,11 @@ extern NSString *libraryPath;
}
}
+ (BOOL)autosavesInPlace
{
return NO;
}
- (void)_resetTextView
{
textView.string = @"";
+1 -1
View File
@@ -8,7 +8,7 @@
"NSAppleEventsUsageDescription" = "Subler necesita acceso para agregar películas a iTunes o a TV";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "Copyright © 2009-2024, Damiano Galassi";
"NSHumanReadableCopyright" = "Copyright © 2009-2025, Damiano Galassi";
/* (No Comment) */
"SRT Subtitles" = "Subtítulos SRT";
+1 -1
View File
@@ -8,7 +8,7 @@
"NSAppleEventsUsageDescription" = "Subler nécessite l'accès pour ajouter des films à iTunes ou TV";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "Droit d'auteur © 2009-2024, Damiano Galassi";
"NSHumanReadableCopyright" = "Droit d'auteur © 2009-2025, Damiano Galassi";
/* (No Comment) */
"SRT Subtitles" = "Sous-titres SRT";
+3
View File
@@ -25,6 +25,9 @@
/* Class = "NSTextFieldCell"; title = "Info"; ObjectID = "JH3-2P-Na2"; */
"JH3-2P-Na2.title" = "Info";
/* Class = "NSMenuItem"; title = "Check only selected tracks"; ObjectID = "KMR-fY-lFl"; */
"KMR-fY-lFl.title" = "Abilita solo le tracce selezionate";
/* Class = "NSTextFieldCell"; title = "id"; ObjectID = "Nrs-BO-n8T"; */
"Nrs-BO-n8T.title" = "id";
@@ -43,3 +43,6 @@
/* Class = "NSTextFieldCell"; title = "End"; ObjectID = "He0-rl-DBi"; */
"He0-rl-DBi.title" = "Fine";
/* Class = "NSTextFieldCell"; title = "Log Format:"; ObjectID = "logFormatLabelCell"; */
"logFormatLabelCell.title" = "Formato resoconto:";
+3 -6
View File
@@ -1,18 +1,15 @@
/* Bundle name */
"CFBundleName" = "Subler";
/* (No Comment) */
/* No comment provided by engineer. */
"Matroska video" = "Matroska video";
/* Privacy - AppleEvents Sending Usage Description */
"NSAppleEventsUsageDescription" = "Subler ha bisogno dell'autorizzazione per aggiungere i filmati ad iTunes o a TV";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "Copyright © 2009-2024, Damiano Galassi";
/* (No Comment) */
/* No comment provided by engineer. */
"SRT Subtitles" = "Sottotitoli SRT";
/* (No Comment) */
/* No comment provided by engineer. */
"SSA Subtitles" = "SSA";
+60 -36
View File
@@ -79,9 +79,12 @@
/* Quit alert title. */
"Are you sure you want to quit Subler?" = "Sei sicuro di voler uscire da Subler?";
/* No comment provided by engineer. */
/* nil */
"artistID" = "artistID";
/* Toolbar */
"At the Beginning" = "All'inizio";
/* No comment provided by engineer. */
"Audiobook" = "Audiolibro";
@@ -97,7 +100,7 @@
/* No comment provided by engineer. */
"Capitalize" = "Capitalizza";
/* No comment provided by engineer. */
/* nil */
"Cast" = "Cast";
/* No comment provided by engineer. */
@@ -107,7 +110,7 @@
"Clear Metadata" = "Cancella Metadata";
/* Action description
Toolbar */
Toolbar */
"Clear tracks names" = "Cancella i nomi delle tracce";
/* Action localized description. */
@@ -116,27 +119,30 @@
/* Action localized description */
"Clearing tracks names" = "Cancello i nomi delle tracce";
/* No comment provided by engineer. */
/* nil */
"Composer" = "Compositore";
/* Media characteristic. */
"Contains Only Forced Subtitles" = "Contiene solo sottotitoli forzati";
/* No comment provided by engineer. */
/* nil */
"contentID" = "contentID";
/* No comment provided by engineer. */
/* nil */
"Copyright" = "Copyright";
/* No comment provided by engineer. */
"Current profile:" = "Profilo attuale:";
/* No comment provided by engineer. */
"Date and Time" = "Giorno e ora";
/* No comment provided by engineer. */
"Day" = "Giorno";
/* Toolbar
Undo cover art delete
Undo tag delete. */
Undo cover art delete
Undo tag delete. */
"Delete" = "Elimina";
/* Toolbar */
@@ -148,13 +154,13 @@
/* Media characteristic. */
"Describes Video For Accessibility" = "Descrive il video per l'accessibilità";
/* No comment provided by engineer. */
/* nil */
"Description" = "Descrizione";
/* No comment provided by engineer. */
/* nil */
"Director" = "Regista";
/* No comment provided by engineer. */
/* nil */
"Disk #" = "# disco";
/* Donation -> button */
@@ -188,23 +194,23 @@
"Editing" = "Modifico";
/* Enable audio track action description
Enable audio track local description */
Enable audio track local description */
"Enabling audio track with selected language" = "Abilito traccia audio con lingua";
/* Enable subtitles track action description
Enable subtitles track local description */
Enable subtitles track local description */
"Enabling subtitles track with selected language" = "Abilito traccia sottotitoli con lingua";
/* Media characteristic. */
"Enhances speech intelligibility" = "Migliora l'intelligibilità del parlato";
/* No comment provided by engineer. */
/* nil */
"Episode #" = "# episodio";
/* No comment provided by engineer. */
/* nil */
"Episode ID" = "ID episodio";
/* No comment provided by engineer. */
/* nil */
"Executive Producer" = "Produttore esecutivo";
/* No comment provided by engineer. */
@@ -231,7 +237,7 @@
/* No comment provided by engineer. */
"General" = "Generali";
/* No comment provided by engineer. */
/* nil */
"Genre" = "Genere";
/* No comment provided by engineer. */
@@ -250,19 +256,19 @@
"Import tracks from external files" = "Importa le tracce da un file esterno";
/* Undo cover art insert.
Undo tag insert. */
Undo tag insert. */
"Insert" = "Inserisci";
/* Toolbar */
"Insert a chapter every" = "Inserisci un capitolo ogni";
/* No comment provided by engineer. */
/* nil */
"iTunes Country" = "Stato iTunes";
/* No comment provided by engineer. */
"iTunes U" = "iTunes U";
/* No comment provided by engineer. */
/* nil */
"iTunes URL" = "URL iTunes";
/* Media characteristic. */
@@ -277,7 +283,7 @@
/* Action localized description. */
"Loading subtitles" = "Carico sottotitoli";
/* No comment provided by engineer. */
/* nil */
"Long Description" = "Descrizione completa";
/* No comment provided by engineer. */
@@ -313,10 +319,10 @@
/* No comment provided by engineer. */
"na" = "nd";
/* No comment provided by engineer. */
/* nil */
"Name" = "Nome";
/* No comment provided by engineer. */
/* nil */
"Network" = "Network";
/* No comment provided by engineer. */
@@ -370,7 +376,7 @@
/* File Import action menu item. */
"Passthru" = "Passthru";
/* No comment provided by engineer. */
/* nil */
"playlistID" = "playlistID";
/* No comment provided by engineer. */
@@ -386,13 +392,13 @@
"Podcast" = "Podcast";
/* Action description
Toolbar */
Toolbar */
"Prettify audio track names" = "Rinomina le tracce audio";
/* Action localized description */
"Prettifying audio track names" = "Rinomino le tracce audio";
/* No comment provided by engineer. */
/* nil */
"Producers" = "Produttori";
/* Toolbar */
@@ -404,7 +410,7 @@
/* Quit alert default action. */
"Quit" = "Esci";
/* No comment provided by engineer. */
/* nil */
"Rating" = "Classificazione";
/* color profile */
@@ -425,7 +431,7 @@
/* color profile */
"Rec. 2100 PQ (9-16-9)" = "Rec. 2100 PQ (9-16-9)";
/* No comment provided by engineer. */
/* nil */
"Release Date" = "Data di rilascio";
/* No comment provided by engineer. */
@@ -440,11 +446,14 @@
/* Set menu */
"Save Set…" = "Salva preset…";
/* No comment provided by engineer. */
/* Document Save sheet. */
"Saving…" = "Salvo…";
/* nil */
"Screenwriters" = "Sceneggiatori";
/* Action description.
Toolbar */
Toolbar */
"Search Metadata" = "Cerca Metadata";
/* Toolbar */
@@ -465,7 +474,7 @@
/* No comment provided by engineer. */
"Searching…" = "Cerco…";
/* No comment provided by engineer. */
/* nil */
"Season" = "Stagione";
/* Toolbar */
@@ -486,14 +495,20 @@
/* Action localized description. */
"Sending to iTunes" = "Invio ad iTunes";
/* No comment provided by engineer. */
/* nil */
"Series Description" = "Descrizione serie";
/* No comment provided by engineer. */
/* nil */
"Series Name" = "Nome serie";
/* No comment provided by engineer. */
"Service ID" = "ID Servizio";
/* nil */
"Service Additional Content ID" = "ID Contenuto Addizionale Servizio";
/* nil */
"Service Content ID" = "ID Contenuto Servizio";
/* nil */
"Service Episode ID" = "ID Episodio Servizio";
/* Set track color space action description */
"Set color space" = "Imposta spazio di colore";
@@ -531,6 +546,9 @@
/* Toolbar */
"Start" = "Avvia";
/* Main Menu -> Start Queue */
"Start Queue" = "Avvia coda";
/* Toolbar */
"Start/Stop queue" = "Avvia/ferma coda";
@@ -540,7 +558,10 @@
/* Toolbar */
"Stop" = "Interrompi";
/* No comment provided by engineer. */
/* Main Menu -> Stop Queue */
"Stop Queue" = "Ferma coda";
/* nil */
"Studio" = "Studio";
/* Donation -> title */
@@ -562,6 +583,9 @@
"There was a problem creating the file " = "C'è stato in problema nella creazione del file";
/* No comment provided by engineer. */
"Time Only" = "Solo orario";
/* nil */
"Track #" = "# traccia";
/* Media characteristic. */
+6
View File
@@ -274,6 +274,9 @@
/* Class = "NSMenuItem"; title = "1 minutes"; ObjectID = "662"; */
"662.title" = "1 minuto";
/* Class = "NSMenuItem"; title = "Remove completed items from queue"; ObjectID = "Cre-T6-PID"; */
"Cre-T6-PID.title" = "Rimuovi gli elementi completati dalla coda";
/* Class = "NSMenuItem"; title = "Prettify audio track names"; ObjectID = "fm8-d2-1Yi"; */
"fm8-d2-1Yi.title" = "Rinomina le tracce audio";
@@ -286,6 +289,9 @@
/* Class = "NSMenuItem"; title = "Donate…"; ObjectID = "ojS-sZ-qGM"; */
"ojS-sZ-qGM.title" = "Dona…";
/* Class = "NSMenuItem"; title = "Start Queue"; ObjectID = "TRh-ZN-Id8"; */
"TRh-ZN-Id8.title" = "Avvia coda";
/* Class = "NSMenuItem"; title = "Open in Queue…"; ObjectID = "YfF-TG-cvE"; */
"YfF-TG-cvE.title" = "Apri in coda…";
+3
View File
@@ -25,3 +25,6 @@
/* Class = "NSMenuItem"; title = "Edit…"; ObjectID = "qHz-Zh-l5L"; */
"qHz-Zh-l5L.title" = "Modifica…";
/* Class = "NSTextFieldCell"; title = "Name"; ObjectID = "srx-EJ-mK6"; */
"srx-EJ-mK6.title" = "Nome";
+1 -1
View File
@@ -8,7 +8,7 @@
"NSAppleEventsUsageDescription" = "Subler 需要将电影添加到 iTunes 或“电视”的访问权限";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "Copyright © 2009-2024, Damiano Galassi";
"NSHumanReadableCopyright" = "Copyright © 2009-2025, Damiano Galassi";
/* (No Comment) */
"SRT Subtitles" = "SRT 字幕";