playlist parser Original

VLC Playlist Parsers twitch

Source (link to git-repo or to original if based on someone elses unmodified work):

7 .8
Description: playlist parser

Note that VLC 3.0 includes a Twitch playlist parser by default, but this one is far superior (see the list of features below).

1. I have included a client_id in this script. If it gets blocked in the future, you can try to get a new one (e.g. by finding out what the Twitch website uses) and update the file.
2. Put the file in the lua/playlist/ directory:
- On Windows: %APPDATA%\vlc\lua\playlist
- On Mac: $HOME/Library/Application Support/org.videolan.vlc/lua/playlist/
- On Linux: ~/.local/share/vlc/lua/playlist/
- On Linux (snap package): ~/snap/vlc/current/.local/share/vlc/lua/playlist/
To install the addon for all users, put the file here instead:
- On Windows: C:\Program Files\VideoLAN\VLC\lua\playlist
- On Mac: /Applications/
- On Linux: /usr/lib/vlc/lua/playlist/
- On Linux (snap package): /snap/vlc/current/usr/lib/vlc/lua/playlist/
3. Open a url using "Open Network Stream..."

On Linux, you can download and install with the following commands:
mkdir -p ~/.local/share/vlc/lua/playlist/
curl -o ~/.local/share/vlc/lua/playlist/twitch.lua

On Mac, you can download and install with the following commands:
mkdir -p "$HOME/Library/Application Support/org.videolan.vlc/lua/playlist/"
curl -o "$HOME/Library/Application Support/org.videolan.vlc/lua/playlist/twitch.lua"

- Load up a channel and watch live, e.g.:
- Load an archived video, e.g.:
- Load a collection, e.g.:
- Load a game and get the top streams, e.g.:
- Load a game's archived videos, e.g.:
- Load a community and get the top streams, e.g.:
- Load a channel's most recent videos, e.g.:
- Load a channel's collections, e.g.:
- Load the homepage and get a list of featured streams:
- Load the next page.

They changed the Clips API, so this functionality is currently broken:
- Load Twitch Clips, e.g.:
- Load a channel's clips, e.g.:
- Load a game's clips, e.g.:

If you are experiencing issues (e.g. seeking), make sure that you are using VLC 3.0. You can also try nightlies:

In order to load VODs with a timestamp in the url (e.g. ?t=1h10m10s), then you must also install the extension from here:
Note that this extension must be activated in the VLC menu each time VLC is started (if you know of a workaround for this, please let me know in the comments below).

If you like this addon, please rate in the top right corner of this page. If you have any issues, please report them in the comments below, or in the git repository. Thank you!

Last changelog:

v0.2.3 2 months ago

Fix loading the list of a channel's old videos. Remove support for clips as it is broken and not easy to fix.



3 years ago

Good news! I got it to work by also making a VLC extension. The extension will be notified when you open an input, and if it's a URL with a timestamp, it will seek to that position for you. Compared to manual seeking it is very precise, almost as good as the web player.
So if you want to use this then you need both this playlist parser installed and the extension. Unfortunately you must activate the extension each time you start VLC (I have not found a workaround for this yet).

Get the extension here:

Let me know what you think. :-)




3 years ago

Two things I realized and now kinda feel stupid for requesting it.

1. Most VOD streams don't broadcast the video in one huge chunk but rather a bunch of individual segments (caching - how did I even forget about that?). in particular has it's own technique, which makes it a bit more complex since the VLC seeker utilizes linear extrapolation of the bandwidth to determine the exact time mark.

2. Due to VLC's implementation it is mostly a guess game. Nightly builds seem to help a bit but more than often it will just glitch and either not display the time properly or not at all.

Really appreciate the effort but I think there is only so much you can do without official support. As far as I can tell it is not very high on the list, been neglected for years and might be a long time until we see these changes in a stable build let alone a proper implementation. Nonetheless thanks a bunch, learned something from this.




3 years ago

The extension worked really well for me, and seeked within a few seconds of where the web player started playing. The only annoying part is that I have to activate it each time I start VLC.



3 years ago

this one is perfect!


v0.2.3 2 months ago

Fix loading the list of a channel's old videos. Remove support for clips as it is broken and not easy to fix.

v0.2.2 1 year ago

Fix 1080p on archived videos. Add audio only stream.

v0.2.0 2 years ago

Support new URLs. Most things seem to be working again. Please write a comment if something is still broken.

v0.1.3 2 years ago

Minor fix that prevented me from running this on Ubuntu 18.04 (snap package).

v0.1.2 2 years ago

Support for /directory/game/[name]/videos/[type].

v0.1.1 2 years ago

Support for /[channel]/clips, /directory/game/[name]/clips. Add ability to load the next page.

v0.1.0 2 years ago

Rewrote almost the whole thing. Support for /communities/[name], /directory/game/[name], /[channel]/videos/, collections.

v0.0.6 3 years ago

Support new urls (beta site).

v0.0.5 3 years ago

Fix a couple of minor issues.

v0.0.4 3 years ago

Support new urls.

v0.0.3 3 years ago

Support for Twitch Clips.

v0.0.2 3 years ago

You can now pick the stream quality you want. The twitch URL will expand to multiple playlist items.

product-maker rudiharianto Feb 02 2019 9 excellent
+mantap mamen
product-maker barsukdaetpizdi May 20 2018 9 excellent
Good addon, thx
product-maker lib2k Jun 13 2017 9 excellent
product-maker kuntdragomir Jun 03 2017 9 excellent
product-maker reneemostorino20 May 27 2017 9 excellent
product-maker midas02 Apr 09 2017 9 excellent
product-maker maffle Apr 07 2017 9 excellent
product-maker y32b4 Feb 07 2017 9 excellent
product-maker Harnek Jan 13 2017 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Jun 24 2020
Sep 06 2019
Jun 08 2019
Sep 09 2018
May 20 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Jul 19 2020
added Jan 02 2017
downloads 24h
mediaviews 24h 0
pageviews 24h 24
System Tags addon gplv3