Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API 5 #130

Open
Tauli-gif opened this issue Nov 8, 2019 · 38 comments
Open

API 5 #130

Tauli-gif opened this issue Nov 8, 2019 · 38 comments

Comments

@Tauli-gif
Copy link

Can someone upgrade to the new API?

@henriquelbsouza
Copy link

I think this repo is deprecated/abandoned.
https://github.com/SpaceOgre/smarttv-twitch
This guy is pushing stuff for v5, if you wanna test it... Let me know if it works :)

@Cabeza2000
Copy link

Or check https://github.com/fgl27/smarttv-twitch

Is active and it works.

@3guboff
Copy link

3guboff commented Nov 9, 2019

I think this repo is deprecated/abandoned.
https://github.com/SpaceOgre/smarttv-twitch
This guy is pushing stuff for v5, if you wanna test it... Let me know if it works :)

Looks like not working (tested on master branch by my flash drive)

@3guboff
Copy link

3guboff commented Nov 9, 2019

Or check https://github.com/fgl27/smarttv-twitch

Is active and it works.

Yes, this guy is quite good, god bless him

@gerhard-thompson
Copy link

gerhard-thompson commented Nov 10, 2019

so actually i´m trying to get this app back to life, i managed to get the Game and Stream Browser working.
But playing Video doesnt work now and i dont know y, the screen just goes black

@gerhard-thompson
Copy link

gerhard-thompson commented Nov 10, 2019

ok, it roughly works. but there are streams that work and others dont. currently i dont know y and i have no idea how to debug this.
things that also dont work:

  • thumbnail preview pictures (api delivers no fix urls, just templates with w/h variables)
  • scrolling below the 100 initial items (no more offset in api, now with pagination)
  • show streams by game (would need a conversion from name to id)
  • viewer count (api doesnt provide those)
    for now it works for me

release file
https://github.com/gerhard-thompson/smarttv-twitch/releases/tag/3.8

@henriquelbsouza
Copy link

Or check https://github.com/fgl27/smarttv-twitch

Is active and it works.

This is not the same model as this repo... This repo that you sent is for new tv models, 2014 or older will not work.

@henriquelbsouza
Copy link

precated/abandoned.
https://github.com/SpaceOgre/smarttv-twitch
This guy is pushing stuff for v5, if you wanna test it... Let me know if it works :)

This is working, just tested. But I had to configure the config.js with my user so I could see my own favorites :)

@yurusov
Copy link

yurusov commented Nov 12, 2019

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

@Fansh1ne
Copy link

precated/abandoned.
https://github.com/SpaceOgre/smarttv-twitch
This guy is pushing stuff for v5, if you wanna test it... Let me know if it works :)

This is working, just tested. But I had to configure the config.js with my user so I could see my own favorites :)

Not working for me either... "error: unable to retrieve access token"

@henriquelbsouza
Copy link

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

@gerhard-thompson
Copy link

i dont know now how any of those fixed version should work, just setting the access Header with the v5 API Value is not enough.
i created an own api key for me and with the fix i release it works.
video proof provided
Vid 20191112 201627-1.zip

@Fansh1ne
Copy link

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

Can you help me how to do it? Which file to edit?

@yurusov
Copy link

yurusov commented Nov 12, 2019

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

Can you help me how to do it? Which file to edit?

app/scenes/SceneChannel.js: xmlHttp.setRequestHeader('Client-ID', '#change_me'); in loadDataRequest function.
This specific one is used for video playback.

@Fansh1ne
Copy link

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

Can you help me how to do it? Which file to edit?

app/scenes/SceneChannel.js: xmlHttp.setRequestHeader('Client-ID', '#change_me'); in loadDataRequest function.
This specific one is used for video playback.

Thanks! I made it working, for now at least :)

@sqbi87
Copy link

sqbi87 commented Nov 13, 2019

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

Dude I just installed your version 3.7.1 and it works! Thanks for supporting this app :)

@Resi70
Copy link

Resi70 commented Nov 15, 2019

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

Can you help me how to do it? Which file to edit?

app/scenes/SceneChannel.js: xmlHttp.setRequestHeader('Client-ID', '#change_me'); in loadDataRequest function.
This specific one is used for video playback.

Thanks! I made it working, for now at least :)

How can i create my own api key ? Please a step by step guide because the api key that i created and pasted as ('Client-ID',) on https://dev.twitch.tv/console/apps does NOT work.

@henriquelbsouza
Copy link

You can create your own api key and replace it. It probably stopped working due to Twitch terms of service...

Can you help me how to do it? Which file to edit?

app/scenes/SceneChannel.js: xmlHttp.setRequestHeader('Client-ID', '#change_me'); in loadDataRequest function.
This specific one is used for video playback.

Thanks! I made it working, for now at least :)

How can i create my own api key ? Please a step by step guide because the api key that i created and pasted as ('Client-ID',) on https://dev.twitch.tv/console/apps does NOT work.

https://www.google.com/search?client=firefox-b-1-d&q=how+to+create+twitch+api+key

https://dev.twitch.tv/docs/api/

@Tauli-gif
Copy link
Author

It doesn't work for me, the app tries to load the channels all the time. :(

@Resi70
Copy link

Resi70 commented Nov 16, 2019

Same here with the api key changed

@3guboff
Copy link

3guboff commented Nov 17, 2019

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

Hi, unfortiantly for some reason I can't install your application with correct widgetlist.xml (ip and size is correct) mb you can help me?

@Tauli-gif
Copy link
Author

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

Thanks work fine.

@gekyzis
Copy link

gekyzis commented Dec 7, 2019

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

Works, thanks

@3guboff
Copy link

3guboff commented Dec 7, 2019

I fixed this old one, works on my 2013 tv as it used to be.
But it can break soon again, since twitch can ban client ids of 3rd party players. Source

Thanks man, works for me!

@Fansh1ne
Copy link

Fansh1ne commented Dec 22, 2019

https://github.com/SpaceOgre/smarttv-twitch
This app has just been updated with new features:

  • Username/userid so you can have your following channels in app
  • Fixed bugs like stream info (pic, view count, stream title).

The developer is still working and trying to add new features (chat).

@Tauli-gif
Copy link
Author

https://github.com/SpaceOgre/smarttv-twitch
This app has just been updated with new features:

  • Username/userid so you can have your following channels in app
  • Fixed bugs like stream info (pic, view count, stream title).

The developer is still working and trying to add new features (chat).

It doesn't work, the app tries to load the channels all the time.

@Fansh1ne
Copy link

Fansh1ne commented Jan 3, 2020

I don't know, try asking a developer. On my TV it's working and it's for non Tizen TVs.

@Resi70
Copy link

Resi70 commented Jan 4, 2020

https://github.com/SpaceOgre/smarttv-twitch
This app has just been updated with new features:

  • Username/userid so you can have your following channels in app
  • Fixed bugs like stream info (pic, view count, stream title).

The developer is still working and trying to add new features (chat).

It doesn't work, the app tries to load the channels all the time.

What kind of tv do you have. Maybe it has todo something with https. See SpaceOgre#12

@TiagoAndreAlmeida
Copy link

Maybe is not late to make a code refactor in this project, i try to fix something but not effect. When twitch disable API 5, who use this app cannot use anymore.
I try to make something with next js, but the browser is to older and dont work well. Maybe the solution is to buy a raspy or chrome cast ?

@sqbi87
Copy link

sqbi87 commented Sep 15, 2020

So guys! Is anyone still able to work on this app? Right now twitch is pretty much not watchable on TV and it needs to be fixed.
Please, I'm not a developer so I must relay on you guys to make it work again.
@nikitakatchik @yurusov

@henriquelbsouza
Copy link

henriquelbsouza commented Sep 15, 2020

I think the best bet is go to @SpaceOgre's repo and open PR's there 👍

It works on the v5 of the api, the migration should be easier :)

https://github.com/SpaceOgre/smarttv-twitch/issues

@SpaceOgre
Copy link

I might have to disappoint you guys :/

I'm not actively working on it anymore since I can't test/use it myself due to family reasons. But if it is small easy things I might try and fix it. But migrating the App to a new version of the Api will not happen :(

@sqbi87
Copy link

sqbi87 commented Sep 16, 2020

I might have to disappoint you guys :/

I'm not actively working on it anymore since I can't test/use it myself due to family reasons. But if it is small easy things I might try and fix it. But migrating the App to a new version of the Api will not happen :(

I have no idea if that's a big or easy fix. The app on TV started to display a "commercial break" screen, and it often stops working with a "format not supported" error message.
If you'll find a time to look into it I would be grateful.

@ventsislavnikolov
Copy link

Hello guys,

I have some spare time and want to make this App work again form my TV. I'm web developer.

I installed the new Tizen Studio and emulator and everything but cannot start the app. If someone can help me start debuging the app, I can implement the twitch API and make the App work again.

Thanks.

@yurusov
Copy link

yurusov commented Oct 1, 2021

Hello guys,

I have some spare time and want to make this App work again form my TV. I'm web developer.

I installed the new Tizen Studio and emulator and everything but cannot start the app. If someone can help me start debuging the app, I can implement the twitch API and make the App work again.

Thanks.

I think Tizen emulator is not backward compatible with this app. As far as i remember i had to use this old emulator, which is works fine, but I didn't get to work old SDK, which is targeted to Ubuntu 12.04, so it has compatibility problems on modern systems.
So basically I used simple text editor and tested it inside VM and then tested again on real TV. FYI sometimes things worked fine on emulator, but failed on real TV.
Good luck!

@TiagoAndreAlmeida
Copy link

last time i try to fix this app i found out that tiwtch disable API router that was responsible for get M3U8 live link and without this we cant get this app to work again i think.
anothe problem is that app kit for this samsung model use a legacy browser API. almost all site dont work any more on browser, i saying this because i try to serve a web app and access for browser and i cant get it to work.

@ventsislavnikolov
Copy link

@yurusov Thanks a lot, I managed to run the emulator but cannot make it to read the shared files and my App list is still empty. I try to install Guest Additions but cannot because, cannot start the terminal on ubuntu. So i'm stuck at this..

@TiagoAndreAlmeida yea, its different, but there is a fork of this one for tizen 2.3 and later that currently works -> https://github.com/fgl27/smarttv-twitch . I was thinking to get the way of working from there, but still cannot run it on emulator.

@TiagoAndreAlmeida
Copy link

can you try debug app direct from tv ? i remeber that older sdk on eclipse allower us to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

14 participants