• 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 62
[RELEASE] Twitch.tv
Oauth filled for me too and this is the m3u8 content obtained from a failed stream:
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3
#ID3-EQUIV-TDTG:2016-09-22T19:43:05
#EXT-X-MEDIA-SEQUENCE:1534
#EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:3057.772
#EXT-X-TWITCH-ELAPSED-SECS:3055.950
#EXT-X-TWITCH-TOTAL-SECS:3067.588
#EXTINF:1.366,
index-0000001535-hO6S.ts
#EXTINF:1.250,
index-0000001536-qeAz.ts
#EXTINF:1.200,
index-0000001537-ChNx.ts
#EXTINF:2.000,
index-0000001538-gKOt.ts
#EXTINF:2.000,
index-0000001539-mlPR.ts
#EXTINF:2.000,
index-0000001540-3Jk0.ts
Reply
First post
Hope you can Help.
I am on openelec 5.0.8 (kodi 14.2)
Addon twitch.tv 1.4.0 broken. Repo stay on 1.4.0 will on internet page they show as 1.4.4. (addon.kodi.tv and superrepo try to force refresh)
Try to installatie from zip (1.4.3 and 1.4.4) but said that "Dependencies not met"
Look like its because of xbmc.python but can't find out of it addon or libary incl with koldi. If addon can't find it except for one 8 month old page on github without a Version number.
Please Help if you can
Reply
@Stone_nl: xbmc.python dependency not met is due to Kodi version.

The add-on currently requires Kodi 15+. OpenELEC 6+ will have a compatible version of Kodi. (or recent versions of OSMC, LibreELEC etc)
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
Reply
@anxdpanic: thank you. After four days of Google, try and error after error. This fix it in no time. Thank you
Reply
Criston could you tell me how you managed to open the m3u link?
Reply
(2016-09-23, 21:42)Seeneast Wrote: Criston could you tell me how you managed to open the m3u link?

I take your last posted log for example, you have the line:

Code:
19:16:36 T:1542071280   DEBUG: Error, could not open file "https://video-edge-c2b02c.fra02.hls.ttvnw.net/hls14/gaminglive_tv1_23236461264_520954357/high/index-live.m3u8?token=id=4228327881574281708,bid=23236461264,exp=1474650995,node=video-edge-c2b02c.fra02,nname=video-edge-c2b02c.fra02,proto=https,fmt=high&sig=b8715def4371e9f77ec37f426d1c50ab8169ff4b"

You open the m3u8 link (all the text in quotes) in your web browser and save as the m3u8 file on your computer then open it with a text editor.
Reply
The m3u looks correct... So unfortunately guys this is a playback issue and falls outside the scope of the add-on.

The add-on is doing its job perfectly as you are successfully requesting a stream and being presented with the correct data, and then Kodi takes over and fails to play it (likely due to your platforms having FFMPEG which has been built without ssl).

Your best bet is rebuilding FFMPEG with ssl support. The following may or may not work for your platform but google should help you find the correct method on your specific Linux distro.

PHP Code:
./configure --enable-gnutls

sudo add
-apt-repository ppa:mc3man/trusty-media
sudo apt
-get update

cd
apt
-get source ffmpeg
sudo apt
-get build-dep ffmpeg

cd ffmpeg
-2.8.6
./configure --enable-gnutls
dpkg
-buildpackage -rfakeroot -uc -
Reply
Thanks Criston, looks like I wasn't quick enough the first times, my m3u is similar... So no Stream ever works for you?
An alternative I know if you have an an android phone is to install Tubio or a similar dlna streaming app and then diffuse the twitch stream from your phone to Kodi, it works, but is less convenient

MrSprigster, thanks for your help Smile any idea if twitch.tv made some changes since 1.4.4? I find it weird that the streams would work and then stop, and now work whenever the planets align. I'll try once again to see if the Recalbox team can help, they seem pretty busy atm
Reply
I feel like Twitch are in a testing phase or are just rolling out the changes across their servers in stages as I can't think of any other reason why Kodi would be able to play the media in one instance and not in the next.

Worth posting the contents of an m3u when it works and when it doesn't and maybe there's a clue in the comparison...?

Even if they changed something after the release of 1.4.4 it doesn't really make any difference with regards to the add-on because (as I said in the previous post) the correct data is being passed to the player in the playlist (m3u) file, but the player (which we have no control over) fails to play it. This means we are doing our part and no matter how much of our code we change, you'll still experience the issue.

Are you on the latest version of Recalbox? Do you have the ability to move to a newer version of Kodi?
Reply
Actually, post a full debug log of when it works too... I'm particularly interested in the URL of the m3u8 file... There's a querystring var that specifies that the stream is https and I'm wondering if it is set as http when it works for you.

Sprig
Reply
Ok so:
Working m3u
Quote:#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:5
#ID3-EQUIV-TDTG:2016-09-24T20:07:56
#EXT-X-MEDIA-SEQUENCE:1110
#EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:4444.264
#EXT-X-TWITCH-ELAPSED-SECS:4443.996
#EXT-X-TWITCH-TOTAL-SECS:4468.264
#EXTINF:4.000,
index-0000001111-u9c0.ts
#EXTINF:4.000,
index-0000001112-rR6N.ts
#EXTINF:4.000,
index-0000001113-muPM.ts
#EXTINF:4.000,
index-0000001114-xfy0.ts
#EXTINF:4.000,
index-0000001115-NKp2.ts
#EXTINF:4.000,
index-0000001116-JSIF.ts

Non-Working m3u:
Quote:#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3
#ID3-EQUIV-TDTG:2016-09-24T15:03:18
#EXT-X-MEDIA-SEQUENCE:5379
#EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:10735.977
#EXT-X-TWITCH-ELAPSED-SECS:10735.123
#EXT-X-TWITCH-TOTAL-SECS:10747.977
#EXTINF:2.000,
index-0000005380-Q7wX.ts
#EXTINF:2.000,
index-0000005381-AIqb.ts
#EXTINF:2.000,
index-0000005382-WTeW.ts
#EXTINF:2.000,
index-0000005383-yNrX.ts
#EXTINF:2.000,
index-0000005384-FfSE.ts
#EXTINF:2.000,
index-0000005385-emgI.ts

and the full log (working stream is the last one: looks like you are right about http)

We are using the latest Recalbox version and are unable to update Kodi, the team is planning on releasing a new version (not sure when) which comes with Kodi 16
Reply
(2016-09-24, 22:17)Seeneast Wrote: Ok so:
Working m3u
Quote:#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:5
#ID3-EQUIV-TDTG:2016-09-24T20:07:56
#EXT-X-MEDIA-SEQUENCE:1110
#EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:4444.264
#EXT-X-TWITCH-ELAPSED-SECS:4443.996
#EXT-X-TWITCH-TOTAL-SECS:4468.264
#EXTINF:4.000,
index-0000001111-u9c0.ts
#EXTINF:4.000,
index-0000001112-rR6N.ts
#EXTINF:4.000,
index-0000001113-muPM.ts
#EXTINF:4.000,
index-0000001114-xfy0.ts
#EXTINF:4.000,
index-0000001115-NKp2.ts
#EXTINF:4.000,
index-0000001116-JSIF.ts

Non-Working m3u:
Quote:#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3
#ID3-EQUIV-TDTG:2016-09-24T15:03:18
#EXT-X-MEDIA-SEQUENCE:5379
#EXT-X-TWITCH-ELAPSED-SYSTEM-SECS:10735.977
#EXT-X-TWITCH-ELAPSED-SECS:10735.123
#EXT-X-TWITCH-TOTAL-SECS:10747.977
#EXTINF:2.000,
index-0000005380-Q7wX.ts
#EXTINF:2.000,
index-0000005381-AIqb.ts
#EXTINF:2.000,
index-0000005382-WTeW.ts
#EXTINF:2.000,
index-0000005383-yNrX.ts
#EXTINF:2.000,
index-0000005384-FfSE.ts
#EXTINF:2.000,
index-0000005385-emgI.ts

and the full log (working stream is the last one: looks like you are right about http)

We are using the latest Recalbox version and are unable to update Kodi, the team is planning on releasing a new version (not sure when) which comes with Kodi 16

Yep, that confirms it. It appears they are rolling SSL out across their servers in stages or have started live testing the feature which will inevitably be rolled out to all servers at some point.

This also confirms that it is the FFMPEG built without SSL that is causing your issues as it just can't deal with the encrypted connection.

And as you can see in your two playlist results, (which is the end result of what our add-on obtains and passes to the Kodi Player) they both have data that is correct and valid proving the issue is with playback.

Quote:Working (on system with ffmpeg built without ssl):
http://video-edge-c62150.fra02.hls.ttvnw...233599bb1c'

Not Working (on system with ffmpeg built without ssl):
https://video-edge-c558d8.cdg02.hls.ttvn...b6c2ebf569

In conclusion, I'm sorry, this means the add-on developers are unable to fix this for you and the only way to fix this problem is to update to Kodi 15+ or use FFMPEG built with SSL (along with all dependencies) with Kodi 14 or lower.

Sprig
Reply
Awesome, once again thanks a lot for the time and effort you took to help us, I owe you a beer!
Now that we've been able to pinpoint the issue, maybe the Recalbox team will be able to do something about it, once again I will report here if things move that way
Reply
I'm joining Seeneast and really thanks you MrSprigster for spending your time to try to help us.
Reply
If you wan to watch some of the TwitchCon streams you need to add (at least) '1080p60 - source' and '720p30 - source' to QUALITY_LIST_STREAM and/or QUALITY_LIST_VIDEO (i did both just to be sure) in .kodi/addons/plugin.video.twitch/resources/lib/twitch/constants.py to be able to watch

Code:
QUALITY_LIST_STREAM = ['Source', '1080p60 - source', '1080p60', '1080p30', '720p60', '720p30 - source', '720p30', '540p30', '480p30', '360p30', '240p30','144p30']
QUALITY_LIST_VIDEO = ['live', '1080p60 - source', '1080p60', '1080p30', '720p30 - source', '720p60', '720p30', '540p30', '480p30', '360p30', '240p30','144p30']
Reply
  • 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 62

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Twitch.tv8