TuneOut is an AppleScript application that saves the currently playing iTunes, Spotify, Nightbot or Moobot track's information to a file (~/Library/Application Support/TuneOut/np.txt, specifically). This might be useful if you use an application like OBS to stream live video and want to incorporate your currently playing song on the display.
~/Library/Application Support/TuneOut/np.txt
, where ~
consists of your User folder (usually /Users/{your user name here}
).~/Library/Application Support/TuneOut/art.png
.build.command
, replace the code signing identity with your own.build.command
executable: chmod +x build.command
build.command
in Finder or run it in the terminal: ./build.command
TuneOut.app will be built in ./build/
(where .
is the repository folder) and a .zip file with the version number will be created.
If you play songs with non-latin characters, make sure your font supports them. The font renderer used by OBS does not fall back to fonts where the glyphs needed appears like macOS font rendering typically does.
Support for web players such as Nightbot and Moobot only functions when running in Safari or Google Chrome.
To enable Safari support, you must enable "Allow JavaScript from Apple Events" in Safari's Develop menu. If you do not have a Develop menu, it can be enabled in the Advanced section of Safari's Preferences.
To dzomb who wrote the original version of this script and to wildgift for getting me to write this.
Additional thanks to Christopher T. Howlett for the royalty-free tuning fork shape used in our icon.
TuneOut is licensed under the MIT license.
Copyright © 2016, 2019 Ruth Harris.
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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.