play-on-apple-tv

1.1.1 • Public • Published

play-on-apple-tv

A command line tool to play any audio/video on an Apple TV.

asciicast

npm version ISC-licensed chat on gitter support me on Patreon

Usage

Using npx:

npx play-on-apple-tv some-audio-file.mp3 my-apple-tv.local
npx play-on-apple-tv 'http://some-server/some-audio-file.mp3' my-apple-tv.local

Find the name of your Apple TV using bonjour-browser:

npx bonjour-browser | grep airplay

Play a Youtube video by finding the raw video url using youtube-dl:

npx play-on-apple-tv $(youtube-dl -f 136 --get-url 'https://www.youtube.com/watch?v=jNQXAC9IVRw') my-apple-tv.local

Contributing

If you have a question or have difficulties using play-on-apple-tv, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.0-alpha.10next
1.1.15latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.15
1.1.00
1.0.00
0.1.10
0.1.01
0.1.0-alpha.10

Package Sidebar

Install

npm i play-on-apple-tv

Weekly Downloads

6

Version

1.1.1

License

ISC

Unpacked Size

10.2 kB

Total Files

6

Last publish

Collaborators

  • derhuerst