Kodi Community Forum
[RELEASE] Twitch.tv - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Twitch.tv (/showthread.php?tid=134538)



RE: [RELEASE] Twitch.tv - MassIV - 2013-02-05

Is not very easy to go through games as 'folders' to find a specific one to add to favorites ect.
Maybe search function could also return some folders / game directories instead of just streams?


RE: [RELEASE] Twitch.tv - prynn - 2013-02-05

Is there any repo for this so we get it auto updated? Would reeeally like that


RE: [RELEASE] Twitch.tv - tr0nllam - 2013-02-06

I can play streams fine, but I am unable to play previously recorded streams. Is this a missing feature or is something wrong on my end?


RE: [RELEASE] Twitch.tv - eekthefat - 2013-02-07

Hey guys great work here.

Unfortunately i have problem with playing any of the streams.
Im using xmbc on an apple tv. XMBC version 11.
Everything is working till i go to stream list. I can chose the games, i can see the lists of the streams but when i click on any stream nothing happened.

I tried on my iphone the same stream i was trying to play from my apple tv and it was working.

i get this message " One or more items failed to play. Check the log file for details.

Quote:12:52:37 T:158830592 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://199.9.254.232/app/jtv_SIhQLNE4vkSIRGQv jtv=1157919dc443999de2fd9a9570ca7460c84cbe83:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22newjtv.com\22,\20\22jtvnw.net\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22jtv_SIhQLNE4vkSIRGQv\22,\20\22expiration\22:\201360237957.32813,\20\22server\22:\20\22video12-1.fra01\22} swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.rd7f7be87f087f60dd996bf5ffdbfb22a2435c194.swf?channel=neilyoirl&referer=http://www.justin.tv/neilyoirl&userAgent=Mozilla/5.0%20(Windows%20NT%206.1;%20WOW64;%20rv:6.0)%20Gecko/20100101%20Firefox/6.0&channel=neilyoirl swfVfy=1 live=1 Pageurl=http://www.justin.tv/neilyoirl]
12:52:37 T:158830592 NOTICE: CDVDPlayer::OnExit()
12:52:37 T:158830592 NOTICE: CDVDPlayer::OnExit() deleting input stream
12:52:37 T:108371968 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/?url=...&mode=play&channelname=neilyoirl]
12:52:38 T:108371968 NOTICE: CDVDPlayer::CloseFile()
12:52:38 T:108371968 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
12:52:38 T:108371968 NOTICE: DVDPlayer: waiting for threads to exit
12:52:38 T:108371968 NOTICE: DVDPlayer: finished waiting



RE: [RELEASE] Twitch.tv - max_gradient - 2013-02-08

I still get an error message every second time I play a stream, and on top of that, occassionally when starting streams, xbmc hangs with 100% cpu util, and I have to use kill -9 to terminate it, which is a bit annoying on a living room htpc. Any ideas why thats happening?


RE: [RELEASE] Twitch.tv - spyder - 2013-02-14

(2013-02-07, 12:53)eekthefat Wrote: Hey guys great work here.

Unfortunately i have problem with playing any of the streams.
Im using xmbc on an apple tv. XMBC version 11.
Everything is working till i go to stream list. I can chose the games, i can see the lists of the streams but when i click on any stream nothing happened.
I have seen this come up a few times for atv, which is usually fixed by updating your librtmp.

Is anyone else missing the thumbnails artwork? I just updated to Frodo and I no longer get thumbnails. I don't know if this is a problem with this plugin on Frodo, or if it was just a coincidence that it stopped working the same time I updated.


RE: [RELEASE] Twitch.tv - Middle - 2013-02-14

(2013-02-14, 05:11)spyder Wrote:
(2013-02-07, 12:53)eekthefat Wrote: Hey guys great work here.

Unfortunately i have problem with playing any of the streams.
Im using xmbc on an apple tv. XMBC version 11.
Everything is working till i go to stream list. I can chose the games, i can see the lists of the streams but when i click on any stream nothing happened.
I have seen this come up a few times for atv, which is usually fixed by updating your librtmp.

Is anyone else missing the thumbnails artwork? I just updated to Frodo and I no longer get thumbnails. I don't know if this is a problem with this plugin on Frodo, or if it was just a coincidence that it stopped working the same time I updated.

Game thumbs are not working in version 0.2.2, i have made a workaround until we got proper fix,

just replace your default.py with this one in plugin.video.twitch folder.
this is for version 0.2.2 only, newest versions (not released) has very different code.

Cheers

Edit: removed the download link. new version posted.


RE: [RELEASE] Twitch.tv - spyder - 2013-02-14

Thanks Middle, I guess Twitch updated when I installed Frodo.


RE: [RELEASE] Twitch.tv - eekthefat - 2013-02-14

Tnx for the help guys. Updated librtmp and everything works great now.

cheers


RE: [RELEASE] Twitch.tv - Begall - 2013-02-16

There's a bug in the plugin which means that any stream titles that consist of pure numbers will be considered an int, and thus cause that section to fail due to the title needing to be a string/unicode. I ran into this when trying to access the DOTA 2 section.

To fix this, you need to change this line in addLink():

Code:
liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
to:
Code:
liz=xbmcgui.ListItem(unicode(name), iconImage="DefaultVideo.png", thumbnailImage=iconimage)

You may also want to consider making the same change to the addDir() function below it. I can see this is example code from the wiki so I've also updated that so people don't make the same mistake in the future.


RE: [RELEASE] Twitch.tv - Middle - 2013-02-17

Thx Begall work like a charm.


RE: [RELEASE] Twitch.tv - MassIV - 2013-02-23

Do you think you could get the chat in the plugin? Name + comment, might be cool to overlay on the stream.
Not asking for interaction, just want to display them.


RE: [RELEASE] Twitch.tv - Misterberu - 2013-02-26

Hello everyone,

I've been trying to get this plugin working for a while now, but have had no success: While browsing for streams and what-not seems to work fine, every time I try to play a stream nothing happens. I'm running XBMC 11.0, have the latest version of librtmp installed (from their git repo) and am on Ubuntu 11.04. Looking through my logs, it appears that the error "14:12:46 T:2848975728 ERROR: Unknown option jtv" is what's causing the problems.

Anyone have any insight into how I can fix this?

Thanks.

Also, I've included a full log of the relevant section:

Code:
14:12:46 T:6100656  NOTICE: DVDPlayer: Opening: rtmp://199.9.254.94/app/jtv_rpBfgfPpFGSjgVCQ jtv=36b09706cd9c191385be67e477c9016b5c1b77ce:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22newjtv.com\22,\20\22jtvnw.net\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22jtv_rpBfgfPpFGSjgVCQ\22,\20\22expiration\22:\201361909545.2051561,\20\22server\22:\20\22video2-2.ord01\22} swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.r546689b07788ad27459b3e7add5ff4f7da1bf730.swf?channel=tobiwandota&referer=http://www.justin.tv/tobiwandota&userAgent=Mozilla/5.0%20(Windows%20NT%206.1;%20WOW64;%20rv:6.0)%20Gecko/20100101%20Firefox/6.0&channel=tobiwandota swfVfy=1 live=1 Pageurl=http://www.justin.tv/tobiwandota
14:12:46 T:6100656 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:12:46 T:2848975728  NOTICE: Creating InputStream
14:12:46 T:2848975728   ERROR: Unknown option jtv
14:12:46 T:2848975728   ERROR: Valid RTMP options are:
14:12:46 T:2848975728   ERROR:      socks string   Use the specified SOCKS proxy
14:12:46 T:2848975728   ERROR:        app string   Name of target app on server
14:12:46 T:2848975728   ERROR:      tcUrl string   URL to played stream
14:12:46 T:2848975728   ERROR:    pageUrl string   URL of played media's web page
14:12:46 T:2848975728   ERROR:     swfUrl string   URL to player SWF file
14:12:46 T:2848975728   ERROR:   flashver string   Flash version string (default LNX 10,0,32,18)
14:12:46 T:2848975728   ERROR:       conn AMF      Append arbitrary AMF data to Connect message
14:12:46 T:2848975728   ERROR:   playpath string   Path to target media on server
14:12:46 T:2848975728   ERROR:   playlist boolean  Set playlist before play command
14:12:46 T:2848975728   ERROR:       live boolean  Stream is live, no seeking possible
14:12:46 T:2848975728   ERROR:  subscribe string   Stream to subscribe to
14:12:46 T:2848975728   ERROR:      token string   Key for SecureToken response
14:12:46 T:2848975728   ERROR:     swfVfy boolean  Perform SWF Verification
14:12:46 T:2848975728   ERROR:     swfAge integer  Number of days to use cached SWF hash
14:12:46 T:2848975728   ERROR:      start integer  Stream start position in milliseconds
14:12:46 T:2848975728   ERROR:       stop integer  Stream stop position in milliseconds
14:12:46 T:2848975728   ERROR:     buffer integer  Buffer time in milliseconds
14:12:46 T:2848975728   ERROR:    timeout integer  Session timeout in seconds
14:12:46 T:2848975728   ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://199.9.254.94/app/jtv_rpBfgfPpFGSjgVCQ jtv=36b09706cd9c191385be67e477c9016b5c1b77ce:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22newjtv.com\22,\20\22jtvnw.net\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22jtv_rpBfgfPpFGSjgVCQ\22,\20\22expiration\22:\201361909545.2051561,\20\22server\22:\20\22video2-2.ord01\22} swfUrl=http://www-cdn.jtvnw.net/widgets/live_embed_player.r546689b07788ad27459b3e7add5ff4f7da1bf730.swf?channel=tobiwandota&referer=http://www.justin.tv/tobiwandota&userAgent=Mozilla/5.0%20(Windows%20NT%206.1;%20WOW64;%20rv:6.0)%20Gecko/20100101%20Firefox/6.0&channel=tobiwandota swfVfy=1 live=1 Pageurl=http://www.justin.tv/tobiwandota]
14:12:46 T:2848975728  NOTICE: CDVDPlayer::OnExit()
14:12:46 T:2848975728  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:12:46 T:6100656   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/?url=...&mode=play&channelname=tobiwandota]
14:12:46 T:6100656  NOTICE: CDVDPlayer::CloseFile()
14:12:46 T:6100656 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:12:46 T:6100656  NOTICE: DVDPlayer: waiting for threads to exit
14:12:46 T:6100656  NOTICE: DVDPlayer: finished waiting



RE: [RELEASE] Twitch.tv - max_gradient - 2013-02-26

(2013-02-26, 21:08)Misterberu Wrote: ERROR: Unknown option jtv" is what's causing the problems.

This indicates that xbmc is still using an older version of librtmp. If you upgraded as you said, there probably is an older version of the lib lying around somewhere that xbmc is using. Use find or locate to figure out where the old librtmp.so (or .so.0 cant remember which) is, and delete/overwrite it with the newer lib version.


RE: [RELEASE] Twitch.tv - Misterberu - 2013-02-26

(2013-02-26, 23:37)max_gradient Wrote:
(2013-02-26, 21:08)Misterberu Wrote: ERROR: Unknown option jtv" is what's causing the problems.

This indicates that xbmc is still using an older version of librtmp. If you upgraded as you said, there probably is an older version of the lib lying around somewhere that xbmc is using. Use find or locate to figure out where the old librtmp.so (or .so.0 cant remember which) is, and delete/overwrite it with the newer lib version.

I assumed as much. I did the usual "make; sudo make install;" on the cloned repo in order to get it installed, odd that there would be rogue library files lying around that xbmc uses. Regardless, I'm looking for them, now.

Thanks for the response.

EDIT: Aha. You were right. /usr/lib/i686-linux-gnu/librtmp.so.0 was the file xbmc was accessing. Updating that fixed everything. Thanks a million.


This forum uses Lukasz Tkacz MyBB addons.