Kodi Community Forum
[RELEASE] Justin.tv (Video) Plugin - 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] Justin.tv (Video) Plugin (/showthread.php?tid=51981)



RE: [RELEASE] Justin.tv (Video) Plugin - Ommand - 2012-07-27

Code:
# ls -l /storage/.xbmc/userdata/addon_data/plugin.video.jtv.archives/
total 0
-rw-r--r--    1 root     root             0 Jul 23 02:18 favorites

It's there, but it's empty?


RE: [RELEASE] Justin.tv (Video) Plugin - divingmule - 2012-07-27

Does xbmc run as root with OpenElec ? Sure looks like it...

Maybe try doing -
Code:
chmod 666 /storage/.xbmc/userdata/addon_data/plugin.video.jtv.archives/favorites

Then try adding a favorite from the add-on.


RE: [RELEASE] Justin.tv (Video) Plugin - Ommand - 2012-07-28

In OpenElec everything is done as root. I did the chmod and same thing... new debug log below.

http://ommand.net/xbmc.log


RE: [RELEASE] Justin.tv (Video) Plugin - wosh23 - 2012-07-28

Hi does anyone know how to get this add on working on the gen 1 apple tv? everything I click on doesn't play.


RE: [RELEASE] Justin.tv (Video) Plugin - Jhonz - 2012-07-28

Hey there diving,

I'm having a bit of trouble with a few of the streams I'm trying to watch.

Any stream that's got some sort of paywall (like twitch.tv starcraft/LoL events, e.g. IPL) will give a User Token Error.
Every other stream is working brilliantly.

It would be nice if the stream would default to a lower resolution on these particular streams so that It won't do this.
Or, have some way of logging into your twitch/justin account and have it use the subscription you have for the particular stream.

I'm not a coder, so I have no idea how i'd go about fixing it myself. Any help would be appreciated!

Thank you for the addon!



RE: [RELEASE] Justin.tv (Video) Plugin - FlyveHest - 2012-07-28

I'm having the same problems as Jhonz, and I think that I need to update the librtmp.so.0 file, but, I am running openelec, and I am not able to write/overwrite/change anything about librtmp.so.0 which is places in /usr/bin

Does anyone know if you can do something about this in OE?


RE: [RELEASE] Justin.tv (Video) Plugin - SuicidalZerg - 2012-07-29

(2012-07-24, 15:11)divingmule Wrote: Hi, I don't think it's feasible with this add-on. It would require a service type add-on that runs all the time.

Though I personally would like that, I don't want to burden you to do it if you don't want to. Thanks anyways, that's all I was wondering about. Cheers!


RE: [RELEASE] Justin.tv (Video) Plugin - divingmule - 2012-07-30

(2012-07-28, 00:06)Ommand Wrote: In OpenElec everything is done as root. I did the chmod and same thing... new debug log below.

http://ommand.net/xbmc.log

Could you try and remove the /addon_data/plugin.video.jtv.archives directory, turn on system debug, restart, run add-on, try to add a favorite, pastebin xbmc.log.

I would expect to see some sort of an error when writing to the file fails but, can't find any thing in your log.
(2012-07-28, 13:05)Jhonz Wrote: Hey there diving,

I'm having a bit of trouble with a few of the streams I'm trying to watch.

Any stream that's got some sort of paywall (like twitch.tv starcraft/LoL events, e.g. IPL) will give a User Token Error.
Every other stream is working brilliantly.

It would be nice if the stream would default to a lower resolution on these particular streams so that It won't do this.
Or, have some way of logging into your twitch/justin account and have it use the subscription you have for the particular stream.

I'm not a coder, so I have no idea how i'd go about fixing it myself. Any help would be appreciated!

Thank you for the addon!

I'll look in to this when I get the time. If you could http://pastebin.com a xbmc.log or two of this happening, it would be a lot of help.



RE: [RELEASE] Justin.tv (Video) Plugin - divingmule - 2012-07-30

(2012-07-28, 22:07)FlyveHest Wrote: I'm having the same problems as Jhonz, and I think that I need to update the librtmp.so.0 file, but, I am running openelec, and I am not able to write/overwrite/change anything about librtmp.so.0 which is places in /usr/bin

Does anyone know if you can do something about this in OE?

It may be better to ask on the OE forum. If it's only a few streams that don't play it's not your librtmp. http://pastebin.com your xbmc.log if you'd like to know for sure.
(2012-07-29, 20:52)SuicidalZerg Wrote:
(2012-07-24, 15:11)divingmule Wrote: Hi, I don't think it's feasible with this add-on. It would require a service type add-on that runs all the time.

Though I personally would like that, I don't want to burden you to do it if you don't want to. Thanks anyways, that's all I was wondering about. Cheers!

My plate is full at the moment Confused. I would look in to the gmail add-on -> http://forum.xbmc.org/showthread.php?tid=60594 , maybe it could do what your wanting.


RE: [RELEASE] Justin.tv (Video) Plugin - Jhonz - 2012-07-31

(2012-07-30, 15:56)divingmule Wrote: I'll look in to this when I get the time. If you could http://pastebin.com a xbmc.log or two of this happening, it would be a lot of help.

Yep, sure thing.
I'll try and grab it first thing tomorrow for you.





RE: [RELEASE] Justin.tv (Video) Plugin - toine512 - 2012-07-31

I've encountered the same thing in my own soft.
Paid streams (!= channel) doesn't provide UsherToken so if your script is expecting it: it will fail.
However, these streams have a "<needed_info>channel_subscription</needed_info>" tag.
In my app it gives you the error "4" (I know ..): https://github.com/toine512/jtv-downloader/blob/master/README.md (For the ones who may have used it in the past, now it's fully working.)

Take a look here: http://usher.justin.tv/find/ipllol.xml?type=any

Also, I've found that not any clusters (namely ams01) provide <player_count> tag. You should make it optional if you're using it. Otherwise some random errors may appear.

EDIT : In fact, any statistical tag is optional (<video_height> can disappear too), here's how I've implemented it: https://github.com/toine512/qt-jtvlive/blob/master/JtvLiveChannel.cpp#L295


RE: [RELEASE] Justin.tv (Video) Plugin - divingmule - 2012-07-31

Thanks for the info. Any idea what is expected or how to get, the channel_subscription = values Huh


RE: [RELEASE] Justin.tv (Video) Plugin - divingmule - 2012-07-31

Here is an update, Jtv 0.2.9 -> http://divingmules-repo.googlecode.com/files/plugin.video.jtv.archives-0.2.9.zip

If channel_subscription is needed, or token error, we try for the lower quality streams. Tested and works with "ipllol".

Let me know of any trouble.


RE: [RELEASE] Justin.tv (Video) Plugin - Jhonz - 2012-08-01

(2012-07-31, 19:28)divingmule Wrote: Here is an update, Jtv 0.2.9 -> http://divingmules-repo.googlecode.com/files/plugin.video.jtv.archives-0.2.9.zip

If channel_subscription is needed, or token error, we try for the lower quality streams. Tested and works with "ipllol".

Let me know of any trouble.

Nice Smile Will test when I get back home.

Btw, Is it currently possible to watch the paywall stream, at a higher quality, if you have a subscription on your account?
(Link the twitch account with plugin and the plugin will identify if you have the subscription setting the quality setting of the specific stream accordingly)

Probably not, It would be a good feature to have in the future though!

Thanks once more!
Makes watching streams that extra little bit better when you can sit down on your sofa and watch them.

Edit:  Yep, working great. Unfortunately looks absolutely awful on a large screen, as expected. Better than a punch in the face though!



RE: [RELEASE] Justin.tv (Video) Plugin - FlyveHest - 2012-08-01

Will this be autoupdated through the repo? (I'm fairly new to XBMC)

Added you repo and installed the JTV plugin, but that was only 0.2.8 (unless you forgot to update the version number somewhere Wink