Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fd17a5cd0 | ||
|
|
5965ce4836 | ||
|
|
d9f2681bba | ||
|
|
c256d87e50 | ||
|
|
7e1e9c148c | ||
|
|
7aa1674c08 | ||
|
|
e44a786b72 | ||
|
|
f0faeb066a |
No files matched your search
@@ -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="23504" 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="23504"/>
|
||||
<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"/>
|
||||
@@ -131,7 +132,7 @@
|
||||
<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="225"/>
|
||||
<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 +176,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 +189,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 +215,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 +238,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 +267,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 +292,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,7 +327,7 @@
|
||||
</tableView>
|
||||
</subviews>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="tkU-nC-Bdd">
|
||||
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="tkU-nC-Bdd">
|
||||
<rect key="frame" x="1" y="233" width="446" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
@@ -335,7 +336,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>
|
||||
|
||||
@@ -129,7 +129,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate {
|
||||
toolTip: NSLocalizedString("Show the Queue window", comment: "Toolbar"),
|
||||
image: "ToolbarActionTemplate",
|
||||
symbolName: "photo.stack",
|
||||
target: target,
|
||||
target: nil,
|
||||
action: #selector(AppDelegate.showQueueWindow(_:)))
|
||||
}
|
||||
|
||||
|
||||
@@ -227,7 +227,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:
|
||||
@@ -288,6 +289,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
|
||||
// MARK: Actions
|
||||
|
||||
@IBAction func sendToQueue(_ sender: Any) {
|
||||
doc.sendToQueue(self)
|
||||
}
|
||||
|
||||
@IBAction func sendToExternalApp(_ sender: Any) {
|
||||
if let fileURL = doc.fileURL {
|
||||
_ = sendToFileExternalApp(fileURL: fileURL)
|
||||
|
||||
+4
-1
@@ -155,8 +155,11 @@ enum Prefs {
|
||||
@Stored(key: "SBArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
static var artworkSelectorZoomLevel: Float
|
||||
|
||||
@Stored(key: "SBMoviewArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
@Stored(key: "SBMovieArtworkSelectorZoomLevel", defaultValue: 50)
|
||||
static var movieArtworkSelectorZoomLevel: Float
|
||||
|
||||
@Stored(key: "SBPresetArtworkSelectorZoomLevel", defaultValue: 0)
|
||||
static var presetArtworkSelectorZoomLevel: Float
|
||||
}
|
||||
|
||||
enum MetadataPrefs {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
}
|
||||
|
||||
override func viewWillAppear() {
|
||||
let zoomValue = Prefs.movieArtworkSelectorZoomLevel
|
||||
let zoomValue = zoomLevel
|
||||
setZoomValue(zoomValue)
|
||||
zoomSlider.floatValue = zoomValue
|
||||
}
|
||||
@@ -1262,6 +1262,15 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
}
|
||||
}
|
||||
|
||||
var zoomLevel: Float {
|
||||
get {
|
||||
Prefs.movieArtworkSelectorZoomLevel
|
||||
}
|
||||
set (value) {
|
||||
Prefs.movieArtworkSelectorZoomLevel = value;
|
||||
}
|
||||
}
|
||||
|
||||
private func setZoomValue(_ newZoomValue: Float) {
|
||||
if let layout = artworksView.collectionViewLayout as? NSCollectionViewFlowLayout {
|
||||
if newZoomValue == 50 {
|
||||
@@ -1281,7 +1290,7 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
|
||||
|
||||
@IBAction func zoomSliderDidChange(_ sender: NSControl) {
|
||||
setZoomValue(sender.floatValue)
|
||||
Prefs.movieArtworkSelectorZoomLevel = sender.floatValue
|
||||
zoomLevel = sender.floatValue
|
||||
}
|
||||
|
||||
func collectionViewDelete(in collectionView: NSCollectionView) {
|
||||
|
||||
+1
-1
Submodule MP42Foundation updated: f17dfb35d0...47aadecfff.
@@ -1,5 +1,16 @@
|
||||
# Subler News
|
||||
|
||||
## 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]
|
||||
|
||||
@@ -1403,7 +1403,7 @@
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1.8.6;
|
||||
CURRENT_PROJECT_VERSION = 1.8.8;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
@@ -1420,7 +1420,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.8.6;
|
||||
MARKETING_VERSION = 1.8.8;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
@@ -1445,7 +1445,7 @@
|
||||
CODE_SIGN_IDENTITY = "Mac Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1.8.6;
|
||||
CURRENT_PROJECT_VERSION = 1.8.8;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
@@ -1461,7 +1461,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.8.6;
|
||||
MARKETING_VERSION = 1.8.8;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
|
||||
Reference in new issue
Block a user