Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'Wevah/applescript' into develop
Browse files Browse the repository at this point in the history
AppleScript support: iina#2857
  • Loading branch information
CarterLi committed Jan 11, 2022
2 parents cbf8739 + 513a12a commit b99f1dd
Show file tree
Hide file tree
Showing 19 changed files with 1,150 additions and 3 deletions.
68 changes: 68 additions & 0 deletions iina.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,19 @@
AD4353A7277D7871000F5C7B /* libluajit-5.1.2.dylib in Embed Libraries */ = {isa = PBXBuildFile; fileRef = AD4353A5277D7871000F5C7B /* libluajit-5.1.2.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
AD43B0AB2782F78D009ADE68 /* DanmakuView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD43B0AA2782F78D009ADE68 /* DanmakuView.swift */; };
AD43B0AD2782FBC4009ADE68 /* danmaku.html in Resources */ = {isa = PBXBuildFile; fileRef = AD43B0AC2782FBC4009ADE68 /* danmaku.html */; };
B206FFD92415439600E3B8B7 /* FourCharCode+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B206FFD82415439600E3B8B7 /* FourCharCode+Extensions.swift */; };
B2133D6A240D8FDA001B6095 /* IINA.sdef in Resources */ = {isa = PBXBuildFile; fileRef = B2133D69240D8FDA001B6095 /* IINA.sdef */; };
B2133D6D240E07AC001B6095 /* AppDelegate+Scripting.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2133D6C240E07AC001B6095 /* AppDelegate+Scripting.swift */; };
B267B805272DFAB2000425EF /* PlayCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B267B804272DFAB2000425EF /* PlayCommand.swift */; };
B267B813272E059F000425EF /* PauseCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B267B812272E059F000425EF /* PauseCommand.swift */; };
B267B819272E0622000425EF /* PlayPauseCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B267B816272E0621000425EF /* PlayPauseCommand.swift */; };
B267B81A272E0622000425EF /* NextCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B267B817272E0621000425EF /* NextCommand.swift */; };
B267B81B272E0622000425EF /* PreviousCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B267B818272E0621000425EF /* PreviousCommand.swift */; };
B297185824145B31005A0B61 /* MPVPlaylistItem+Scripting.swift in Sources */ = {isa = PBXBuildFile; fileRef = B297185724145B31005A0B61 /* MPVPlaylistItem+Scripting.swift */; };
B2D76FDF241012140011F8BF /* PlayerCore+Scripting.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2D76FDE241012140011F8BF /* PlayerCore+Scripting.swift */; };
B2D76FE1241039120011F8BF /* MPVTrack+Scripting.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2D76FE0241039120011F8BF /* MPVTrack+Scripting.swift */; };
B2FBBA5227586BEF0079D948 /* NextFrameCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2FBBA5127586BEF0079D948 /* NextFrameCommand.swift */; };
B2FBBA5427586C160079D948 /* PreviousFrameCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2FBBA5327586C160079D948 /* PreviousFrameCommand.swift */; };
B4E446E825CB53920069F06E /* PromiseKit in Frameworks */ = {isa = PBXBuildFile; productRef = B4E446E725CB53920069F06E /* PromiseKit */; };
B4E446F225CB53FF0069F06E /* Gzip in Frameworks */ = {isa = PBXBuildFile; productRef = B4E446F125CB53FF0069F06E /* Gzip */; };
B4E446F725CB54EF0069F06E /* Mustache in Frameworks */ = {isa = PBXBuildFile; productRef = B4E446F625CB54EF0069F06E /* Mustache */; };
Expand Down Expand Up @@ -1151,6 +1164,19 @@
AD4353A5277D7871000F5C7B /* libluajit-5.1.2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libluajit-5.1.2.dylib"; path = "deps/lib/libluajit-5.1.2.dylib"; sourceTree = "<group>"; };
AD43B0AA2782F78D009ADE68 /* DanmakuView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DanmakuView.swift; sourceTree = "<group>"; };
AD43B0AC2782FBC4009ADE68 /* danmaku.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = danmaku.html; sourceTree = "<group>"; };
B206FFD82415439600E3B8B7 /* FourCharCode+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FourCharCode+Extensions.swift"; sourceTree = "<group>"; };
B2133D69240D8FDA001B6095 /* IINA.sdef */ = {isa = PBXFileReference; lastKnownFileType = text; path = IINA.sdef; sourceTree = "<group>"; };
B2133D6C240E07AC001B6095 /* AppDelegate+Scripting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AppDelegate+Scripting.swift"; sourceTree = "<group>"; };
B267B804272DFAB2000425EF /* PlayCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayCommand.swift; sourceTree = "<group>"; };
B267B812272E059F000425EF /* PauseCommand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PauseCommand.swift; sourceTree = "<group>"; };
B267B816272E0621000425EF /* PlayPauseCommand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayPauseCommand.swift; sourceTree = "<group>"; };
B267B817272E0621000425EF /* NextCommand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NextCommand.swift; sourceTree = "<group>"; };
B267B818272E0621000425EF /* PreviousCommand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PreviousCommand.swift; sourceTree = "<group>"; };
B297185724145B31005A0B61 /* MPVPlaylistItem+Scripting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MPVPlaylistItem+Scripting.swift"; sourceTree = "<group>"; };
B2D76FDE241012140011F8BF /* PlayerCore+Scripting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PlayerCore+Scripting.swift"; sourceTree = "<group>"; };
B2D76FE0241039120011F8BF /* MPVTrack+Scripting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MPVTrack+Scripting.swift"; sourceTree = "<group>"; };
B2FBBA5127586BEF0079D948 /* NextFrameCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NextFrameCommand.swift; sourceTree = "<group>"; };
B2FBBA5327586C160079D948 /* PreviousFrameCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreviousFrameCommand.swift; sourceTree = "<group>"; };
B305513A2190B0C600D3F70E /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/MiniPlayerWindowController.strings; sourceTree = "<group>"; };
B3066F5F1F161538004D7559 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InitialWindowController.strings; sourceTree = "<group>"; };
B35E0A072107C0E500453AA7 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/PrefUtilsViewController.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1646,6 +1672,7 @@
8483FAFF1EDFF325000F55D6 /* Credits.rtf */,
E3DBD238218B057A00B3AFBF /* Translators.json */,
E3DBD23A218B199700B3AFBF /* Translators.swift */,
B2133D69240D8FDA001B6095 /* IINA.sdef */,
);
name = Assets;
sourceTree = "<group>";
Expand Down Expand Up @@ -2052,6 +2079,7 @@
847557121F405F2B0006B0FF /* Menu */,
84A0BAA31D2FAEA000BC8DA1 /* Views */,
8452DD7F1D3A1F2A008A543A /* Preference */,
B267B80C272E052C000425EF /* Scripting */,
84A0BAA61D2FAF8400BC8DA1 /* Utils */,
);
indentWidth = 2;
Expand Down Expand Up @@ -2095,6 +2123,33 @@
path = mpv;
sourceTree = "<group>";
};
B267B80C272E052C000425EF /* Scripting */ = {
isa = PBXGroup;
children = (
B2133D6C240E07AC001B6095 /* AppDelegate+Scripting.swift */,
B2D76FDE241012140011F8BF /* PlayerCore+Scripting.swift */,
B2D76FE0241039120011F8BF /* MPVTrack+Scripting.swift */,
B297185724145B31005A0B61 /* MPVPlaylistItem+Scripting.swift */,
B206FFD82415439600E3B8B7 /* FourCharCode+Extensions.swift */,
B267B80D272E0544000425EF /* Commands */,
);
path = Scripting;
sourceTree = "<group>";
};
B267B80D272E0544000425EF /* Commands */ = {
isa = PBXGroup;
children = (
B267B817272E0621000425EF /* NextCommand.swift */,
B2FBBA5127586BEF0079D948 /* NextFrameCommand.swift */,
B267B812272E059F000425EF /* PauseCommand.swift */,
B267B804272DFAB2000425EF /* PlayCommand.swift */,
B267B816272E0621000425EF /* PlayPauseCommand.swift */,
B267B818272E0621000425EF /* PreviousCommand.swift */,
B2FBBA5327586C160079D948 /* PreviousFrameCommand.swift */,
);
path = Commands;
sourceTree = "<group>";
};
E3DE8DCB1FD8166A0021921C /* iina-cli */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -2279,6 +2334,7 @@
8400D5E41E1AB333006785F5 /* PrefControlViewController.xib in Resources */,
8492C2861E771FB200CE5825 /* ISO639.strings in Resources */,
8F49C36E213EFB7E0076C4F9 /* MiniPlayerWindowController.xib in Resources */,
B2133D6A240D8FDA001B6095 /* IINA.sdef in Resources */,
84A0BA951D2F9E9600BC8DA1 /* MainMenu.xib in Resources */,
8400D5D81E1AB31B006785F5 /* AboutWindowController.xib in Resources */,
8400D5F31E1AB348006785F5 /* PrefSubViewController.xib in Resources */,
Expand Down Expand Up @@ -2352,15 +2408,18 @@
84F5D4951E44D5230060A838 /* KeyBindingCriterion.swift in Sources */,
846121BD1F35FCA500ABB39C /* DraggingDetect.swift in Sources */,
84A886EC1E2573A5008755BB /* JustExtension.swift in Sources */,
B267B819272E0622000425EF /* PlayPauseCommand.swift in Sources */,
84D0FB811F5E5A4000C6A6A7 /* CropBoxViewController.swift in Sources */,
84D377631D6B66DE007F7396 /* MPVPlaylistItem.swift in Sources */,
E3ECC89E1FE9A6D900BED8C7 /* GeometryDef.swift in Sources */,
84E295C01E2CF9F5006388F7 /* ObjcUtils.m in Sources */,
8400D5C41E17C6D2006785F5 /* AboutWindowController.swift in Sources */,
84A886E41E24F37D008755BB /* ShooterSubtitle.swift in Sources */,
84A09A0E1F2DF596000FF343 /* MiniPlayerWindowController.swift in Sources */,
B267B805272DFAB2000425EF /* PlayCommand.swift in Sources */,
84BEEC421DFEE46200F945CA /* StreamReader.swift in Sources */,
84C644601E92BA2700B1410B /* TimeLabelOverflowedView.swift in Sources */,
B267B81B272E0622000425EF /* PreviousCommand.swift in Sources */,
E3C12F6B201F281F00297964 /* FirstRunManager.swift in Sources */,
84EB1F071D2F5E76004FA5A1 /* Utility.swift in Sources */,
84D0FB7E1F5E519300C6A6A7 /* FreeSelectingViewController.swift in Sources */,
Expand All @@ -2370,6 +2429,7 @@
E322A4F820A8442E00C67D32 /* PlaylistPlaybackProgressView.swift in Sources */,
84D123B41ECAA405004E0D53 /* TouchBarSupport.swift in Sources */,
E36E8D7C24F6052F00B8C097 /* GuideWindowController.swift in Sources */,
B2D76FE1241039120011F8BF /* MPVTrack+Scripting.swift in Sources */,
84817C981DBDCE4300CC2279 /* RoundedColorWell.swift in Sources */,
E38372922443634500F57718 /* LanguageTokenField.swift in Sources */,
8461C5301D462488006E91FF /* VideoTime.swift in Sources */,
Expand All @@ -2396,6 +2456,7 @@
51B99031275EF5A900E8A595 /* CameraAreaMaskWindow.swift in Sources */,
84F725561D4783EE000DEF1B /* VolumeSliderCell.swift in Sources */,
845040401E0ACADD0079C194 /* MPVNode.swift in Sources */,
B267B813272E059F000425EF /* PauseCommand.swift in Sources */,
84795C3A1E083EE30059A648 /* PrefControlViewController.swift in Sources */,
845E70B2210CB59D00D06C42 /* ScrollingTextField.swift in Sources */,
8488D6DF1E11791300D5B952 /* PrefCodecViewController.swift in Sources */,
Expand All @@ -2408,8 +2469,10 @@
84CFC92623F8DDE000381E5B /* PlayerWindowController.swift in Sources */,
840820111ECF6C1800361416 /* FileGroup.swift in Sources */,
E374160C20F138A900B4F7F9 /* CollapseView.swift in Sources */,
B267B81A272E0622000425EF /* NextCommand.swift in Sources */,
84A0BA901D2F8D4100BC8DA1 /* IINAError.swift in Sources */,
84C6D3621EAF8D63009BF721 /* HistoryController.swift in Sources */,
B2D76FDF241012140011F8BF /* PlayerCore+Scripting.swift in Sources */,
847644081D48B413004F6DF5 /* MPVOption.swift in Sources */,
84817C961DBDCA5F00CC2279 /* SettingsListCellView.swift in Sources */,
84A886F31E26CA24008755BB /* Regex.swift in Sources */,
Expand All @@ -2422,21 +2485,26 @@
841A599D1E1FF5800079E177 /* SleepPreventer.swift in Sources */,
84ED99FF1E009C8100A5159B /* PrefAdvancedViewController.swift in Sources */,
840AF5841E73CE3900F4AF92 /* OpenSubSubtitle.swift in Sources */,
B2133D6D240E07AC001B6095 /* AppDelegate+Scripting.swift in Sources */,
84AABE8B1DBF634600D138FD /* CharEncoding.swift in Sources */,
B206FFD92415439600E3B8B7 /* FourCharCode+Extensions.swift in Sources */,
8488D6DC1E1167EF00D5B952 /* FloatingPointByteCountFormatter.swift in Sources */,
8488D6E71E11ABE900D5B952 /* PrefNetworkViewController.swift in Sources */,
84AABE941DBFAF1A00D138FD /* FontPickerWindowController.swift in Sources */,
844C59E71F7C143D008D1B00 /* CacheManager.swift in Sources */,
E32712B024EAA14500359DAB /* ScreenshootOSDView.swift in Sources */,
E3BA79EE2131443A00529D99 /* OpenURLWindowController.swift in Sources */,
84FBCB381EEACDDD0076C77C /* FFmpegController.m in Sources */,
B297185824145B31005A0B61 /* MPVPlaylistItem+Scripting.swift in Sources */,
84879A981E0FFC7E0004F894 /* PrefUIViewController.swift in Sources */,
84C6D3641EB276E9009BF721 /* PlaybackHistory.swift in Sources */,
E3CB258F222799B800A62C47 /* MPVHook.swift in Sources */,
843FFD4D1D5DAA01001F3A44 /* RoundedTextFieldCell.swift in Sources */,
B2FBBA5427586C160079D948 /* PreviousFrameCommand.swift in Sources */,
8407D1401E3A684C0043895D /* ViewLayer.swift in Sources */,
84A0BA9B1D2FAB4100BC8DA1 /* Parameter.swift in Sources */,
84EB1F051D2F5C5B004FA5A1 /* AppData.swift in Sources */,
B2FBBA5227586BEF0079D948 /* NextFrameCommand.swift in Sources */,
84C8D58F1D794CE600D98A0E /* MPVFilter.swift in Sources */,
845404AA1E4396F500B02B12 /* ScriptLoader.swift in Sources */,
84A0BAA11D2FAE7600BC8DA1 /* VideoView.swift in Sources */,
Expand Down
Loading

0 comments on commit b99f1dd

Please sign in to comment.