-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On a fresh installation of Catalina iTunes does not exist and so the AppleScript plugins that deal with refreshing iTunes fail in that situation. And even when iTunes is found on Catalina MetaZ should instead talk to the TV app. Catalina also included a new TV app which contains the Movie and TV Show library previously in iTunes. This commit adds plugins, services and clipboard support for the TV app on Catalina and all functionality that MetaZ provided for iTunes is now supported for the TV app.
- Loading branch information
Showing
34 changed files
with
504 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
tell application "TV" | ||
set sel to selection | ||
set ret to {} | ||
set retRef to a reference to ret | ||
set len to length of sel | ||
repeat with n from 1 to len | ||
set obj to item n of sel | ||
set i to {mylocation:location of obj, myid:persistent ID of obj} | ||
copy i to the end of retRef | ||
end repeat | ||
end tell | ||
return ret |
14 changes: 14 additions & 0 deletions
14
App/resources/Return TV app selected.scptd/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.ScriptEditor.id.Return-TV-selected</string> | ||
<key>CFBundleName</key> | ||
<string>Return TV selected</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.15</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+2.09 KB
App/resources/Return TV app selected.scptd/Contents/Resources/Scripts/main.scpt
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
App/resources/Return iTunes selected.scptd/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.ScriptEditor.id.Return-iTunes-selected</string> | ||
<key>CFBundleName</key> | ||
<string>Return iTunes selected</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>MZMaximumSystemVersion</key> | ||
<string>10.14</string> | ||
</dict> | ||
</plist> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.