Coder Social home page Coder Social logo

bintoss / 23rd.twitchpotplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twitchpotplayer/twitchpotplayer

0.0 0.0 0.0 157 KB

Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.

License: GNU General Public License v3.0

AngelScript 100.00%

23rd.twitchpotplayer's Introduction

Twitch Extension for PotPlayer

PotPlayer is a multimedia software player developed for the Microsoft Windows operating system.

PotPlayer plays Youtube videos quite native with title, description, subtitles and with the choice of quality. In May 2018 developers released first stable version with extensions support (written in AngelScript). So I wrote extensions for native playing Twitch streams, VODs and clips.

Credentials

Upd: if you want use the Twitch Extension without your own account, just leave a useOwnCredentials field in config.ini with 0 value.

Since 11 May 2020 Twitch begins to permanently require an authorization for all Twitch API endpoints. So I added an experimental own proxy endpoint to this extension. If you do not trust proxy, you can enter your credentials to the config.ini.

How to fill config.ini:

Installation

  • Just download this repository.
  • Unzip it.
  • Copy Media folder to c:\Program Files\DAUM\PotPlayer\Extension\ or {PotPlayer_Folder}\Extension\.

Twitch

/Media/PlayParse/MediaPlayParse - Twitch.as

This extension lets you open all twitch links, like:

After opening link you will see something like this.

image

  • Stream title is displayed in the player header.
  • In description you can see "{Title} | {Game} | {Channel}".
  • Video resolution can be changed in the quality menu in the right bottom corner.

The file config.ini adds a few display settings.

  • showBitrate=1 — shows bitrate in context menu (H). Valid values: 1 or 0.
  • showFPS=1 — shows fps in context menu (H). Valid values: 1 or 0.
  • gameInTitle=0 — shows game in title. Valid values: 1 or 0.
  • gameInContent=1 — shows game in content. Valid values: 1 or 0.
  • clientID= — takes clientID for API calls to the Twitch. It is highly recommended to get your own clientID on the Twitch and insert it here. If the value is empty, the default value is taken. If you insert an invalid value, the extension will not work.
  • oauthToken= — OAuth Token is needed when you want to watch "Subscriber-only" VODs and you are subscribed to this channel. Leave this field blank if you don't need this feature. Valid values: oauth:fboyX2pnceTQJdUaLqNMFceBPUi9TS. You can generate your own token from OAuth Password Generator.

/Media/UrlList/MediaUrlList - Twitch.as

This extension lets you see in File URL List all online channels that you follow. Unfortunately PotPlayer has no interface to login in Twitch yet. So you need to put your username in Media/UrlList/config.ini. After this open PotPlayer and press Ctrl + U, you will see following window.

image

23rd.twitchpotplayer's People

Contributors

23rd avatar jeongminkim-islab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.