dirkjanm / firefox-send-to-xbmc

Send to XBMC/Kodi Firefox plugin
MIT License
65 stars 26 forks source link

Twitch support #47

Closed nogweii closed 6 years ago

nogweii commented 8 years ago

It would be cool to be able to click a button while on Twitch's site to be able to play a given live stream or VOD in Kodi.

A basic button that could be injected in div.channel-actions:

<span class="ember-view">    <a style="background-color: rgb(18, 178, 231);" href="/" target="_blank" class="action js-sub-button subscribe-button button button--purchase">
      <span class="subscribe-text">
        Play on
      </span>
      <span class="subscribe-price button__num-block">
        Kodi
      </span>
    </a>
</span>

The background color is Kodi's blue. Screenshot: twitch_play_on_kodi_button_idea

dirkjanm commented 6 years ago

Twitch support has been added in v3.1. To make it work with twitch channels (live streams) instead of just videos, make sure you have the Kodi Twitch plugin version 2.1.0 or newer (currently in beta) installed. Older versions only support sending recorded videos to Twitch. I'll add the browser button to Twitch when the 2.1 version of Kodi Twitch is out of beta.