├── .github
└── FUNDING.yml
├── .gitignore
├── LICENSE.md
├── README.md
├── aps-launch.sh
├── aps-list.sh
├── icon.png
└── resources
└── screenshots
└── usage.gif
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: godbout
2 | ko_fi: godbout
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Copyright 2019 Guillaume Leclerc
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
Alfred AirPlay
2 |
3 |
4 |
5 |
6 |
7 |
8 | ---
9 |
10 | # BIG SUR NO NO
11 |
12 | Sorry, this Workflow will work up to Catalina only. Apple made big changes to the menu bar system with Big Sur, and basically another script would have to be written (and researched properly) to make it work with it. Free free to fork or PR or cry hard.
13 |
14 | # WHAT IS THAT
15 |
16 | Rather than clicking the menu bar and and choosing your display and blah blah blah, just open [Alfred](https://www.alfredapp.com/), type *aps*, choose your display and KABOOM!!! Your display is extended to your AirPlay device.
17 |
18 | P.S. You can now access your [Sidecar](https://support.apple.com/en-us/HT210380) devices easily with the new *Go to AirPlay Menu* option. 😎️
19 |
20 | # MANDATORY SCREENSHOT
21 |
22 | 
23 |
24 | # SETUP
25 |
26 | SETUP NO MORE! AirPlay Spreader now detects your AirPlay video servers automatically. (Only if connected to the same Wi-Fi network though.)
27 |
28 | # ISSUE WITH BARTENDER
29 |
30 | If you're using Bartender, hide the *AirPlay Displays* item and extend your display, you will not be able to Turn it Off from the Workflow. The current workaround is to *Show* or *Always Show* the *AirPlay Displays* item in Bartender. If you're mirroring your display then you don't need to do anything, it just works.
31 |
32 | # DOWNLOAD
33 |
34 | Latest release available on the [release page](https://github.com/godbout/alfred-airplay/releases).
35 |
--------------------------------------------------------------------------------
/aps-launch.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | read -d '' APPLESCRIPT < 10.14 ]]; then
59 | cat << EOB
60 | {
61 | "type": "file",
62 | "title": "Stop AirPlay",
63 | "subtitle": "Stop AirPlay",
64 | "arg": "Stop AirPlay",
65 | "autocomplete": "Stop AirPlay",
66 | },
67 | EOB
68 | else
69 | cat << EOB
70 | {
71 | "type": "file",
72 | "title": "Turn AirPlay Off",
73 | "subtitle": "Turn AirPlay Off",
74 | "arg": "Turn AirPlay Off",
75 | "autocomplete": "Turn AirPlay Off",
76 | },
77 | EOB
78 | fi
79 |
80 | cat << EOB
81 | {
82 | "type": "file",
83 | "title": "Go to AirPlay Menu",
84 | "subtitle": "Jump to the AirPlay Menu and play around manually",
85 | "arg": "Go AirPlay Menu",
86 | "valid": true,
87 | }
88 | ]}
89 | EOB
90 | fi
91 |
--------------------------------------------------------------------------------
/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/godbout/alfred-airplay/b188ab8ca2bd6ab5a6bd9ea9f8eba53fe13bb92a/icon.png
--------------------------------------------------------------------------------
/resources/screenshots/usage.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/godbout/alfred-airplay/b188ab8ca2bd6ab5a6bd9ea9f8eba53fe13bb92a/resources/screenshots/usage.gif
--------------------------------------------------------------------------------