denpy / ios-play-youtube-audio

Play audio of any Youtube video in VLC plyer app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script that allows to play the audio of a video from Youtube in VLC player app on iOS.

This scrip will only work with Pythonista 3 or Pyto and VLC player app installed on you iOS device.

Caution: Pythonista 2 is not supported!

This script uses youtube-dl to get the needed data from the Youtube. Thus, it must be installed first.

If you use Pythonista3 you need to use stash to install the "youtube-dl" package. Please, follow instructions on stash page to have a working pip in Pythonista3.

If you use Pyto, please use its PyPi interface and install the latest version of "youtube-dl"

After you have the "youtube-dl" package installed, just download the script from here and open it in Pythonista3 or Pyto.

Usage:

  1. Copy a video URL to clipboard. If you use Pythonista3 you also can run the script from the share sheet.
  2. Run the script.

After the script will finish, it will open the VLC app and will ask for confirmation in order to stream the audio. Note: the audio will continue to play even if the VLC is in the background.

For more convenience you can run the script using actions in the Shortcuts app or by using Pythonista3 url scheme or Pyto url scheme.

About

Play audio of any Youtube video in VLC plyer app.


Languages

Language:Python 100.0%