fgl27 / smarttv-twitch

Twitch client for Samsung Smart TVs 2015 and newer models, in doubt read the README bellow
GNU General Public License v3.0
171 stars 19 forks source link

[ Twich API v5 Shutdown ] App not working properly - post only comments that will help solve the issue #209

Closed fgl27 closed 2 years ago

fgl27 commented 2 years ago

Migration legacy v5 to new Twitch API

Bellow is the access_token that can be used to access the new API, with this token is needed to use the app client id ypvnuqrh98wqz1sr0ov3fgfu4jh1yx

{
    "access_token": "btd1dt23yiqwt14o8i4ubqyilvj2xg",
    "expires_in": "60 days or so from the date of this post",
    "token_type": "bearer"
}

Access tokens can be revoked just by using the token and client id that shows above, any token I share here gets revoked because some great people on the internet request the token to be revoked, this kind people are really special they are just trying to help us not to achieve the goal of resolving this issue :face_exhaling:, so if you wanna to work on this issue just request a token with me via email contact in my profile https://github.com/fgl27

example on how to get top live streams on new api:

curl -X GET 'https://api.twitch.tv/helix/streams' \
-H 'Authorization: Bearer btd1dt23yiqwt14o8i4ubqyilvj2xg' \
-H 'Client-Id: ypvnuqrh98wqz1sr0ov3fgfu4jh1yx'

result:

{
    "data": [{
        "id": "45477257613",
        "user_id": "152126110",
        "user_login": "jojohf",
        "user_name": "JojoHF",
        "game_id": "509658",
        "game_name": "Just Chatting",
        "type": "live",
        "title": "(Я СЕДОЙ) ИГРАЕМ В ПРАВДУ ИЛИ ДЕЙСТВИЕ С ДЕВОЧКАМИ (ПОДРУГИ)",
        "viewer_count": 77925,
        "started_at": "2022-02-10T16:13:00Z",
        "language": "ru",
        "thumbnail_url": "https://static-cdn.jtvnw.net/previews-ttv/live_user_jojohf-{width}x{height}.jpg",
        "tag_ids": ["0569b171-2a2b-476e-a596-5bdfb45a1327"],
        "is_mature": false
    }...],
    "pagination": {
        "cursor": "eyJiIjp7IkN1cnNvciI6ImV5SnpJam8zTnpreU5TNDNOekV6TURFNE5Ua3lNeXdpWkNJNlptRnNjMlVzSW5RaU9uUnlkV1Y5In0sImEiOnsiQ3Vyc29yIjoiZXlKeklqb3hOalF5TVM0NE1qUXhOamszT1RVMU1UWXNJbVFpT21aaGJITmxMQ0owSWpwMGNuVmxmUT09In19"
    }
}

Post only comments that will help solve the issue.

Any off topic post will be deleted, I wanna to solve the issue before any new discussion.

Do not post things that can cause the app problems, just email if it's something of any private or security matter, or else I have to delete the issue.

Piece of my thought:

The app exist and work for years I have put count less hours to make it, no one cares for it until the app stop working.

This isn't the first time the app has a issue, just like the last time hundreds of people show up as soon as the app stop working, but where was those when it was working? Else where without give any care for it as long as I get something for free that works great!

Now it stopped working isn't my fault, complain about it will not solve it but will just make me care less and less to move a finger to fix it.

I am just saying this because people are pissing me off complain, emailing me and posting not related things that can cause other issues to the app and will not make it work as expected.

SO ALL CHILL BE COOL THE APP WILL WORK AS INTENT EVENTUALLY.

soapergem commented 2 years ago

Hey @fgl27 do you have a list of things that you need help with? What are the different API calls that need to be updated?

fgl27 commented 2 years ago

No list. Just the API call's to kraken need to be replaced if available and the code that uses the result properly addressed as the new API has a different response.

What I know isn't suporte is the clip screen (main clip screen doesn't have an replacement, the game and channel have), featured screens, twitch user emotes list ( this i may have a replacement) and language base sorting, but those can be just removed after on as clean up when the rest works.

From the top of my mind that is it, some other things may need to be addressed we find when making changes.

fgl27 commented 2 years ago

I have been working on this branch https://github.com/fgl27/smarttv-twitch/commits/up_api

I'm far from finish it or to update the main branch so the changes show in the app, anyone is welcome to help.

Thanks.

jfo84 commented 2 years ago

I can help. Where should I start?

fgl27 commented 2 years ago

I can help. Where should I start?

If you wanna you can migrate VOD and clip screens to helix.

The main clip section will not need migrated now only, game and channel clip screen, but all VOD will

You can look what I did for the game and live section and try to do the same.

Once none user screen are migrated I'll check the user screens for those is needed to update the authorization process frist I'll do that.

Let no know if you want do that.

jfo84 commented 2 years ago

@fgl27 Yeah, no problem. I'll take a look

fgl27 commented 2 years ago

@fgl27 Yeah, no problem. I'll take a look

OK the new branch is missing a token, email me I'll send you it, without you can't access the new API

jfo84 commented 2 years ago

Sure thing

fgl27 commented 2 years ago

A few typos on previously post sorry @jfo84 fix it.

fgl27 commented 2 years ago

I have updated the authorization process and the User Live screen and side panel.

That get the app most used screens working, I will see when I can get this release, need to add some checks/warnings and a new function to deal with new tokens.

jfo84 commented 2 years ago

@fgl27 Okay I will get into it later today. I've been pretty busy but it doesn't look that bad. Can you open a draft pull request of up_api so that it is easier to monitor the progress?

fgl27 commented 2 years ago

Sure see pr above.

fgl27 commented 2 years ago

I push the latest app changes please test let me know if any issue.

I only updated the follow screens: Live, Game, A Game Live, User (Add user), User Live, Side panel Live user follow channels.

Any other will be updated when time is available or if someone help.

The app has a new warning, shows only once, make sure you add a user and an authentication key to prevent odd behavior.

Screenshot from 2022-02-19 12-40-07

fgl27 commented 2 years ago

BTW I didn't test on a TV as my broke, someone that see this warning let me know how the app is working on a TV on the screen that I have changed and on the Live player, only one please to not spam the issue.

thanks

thedsv commented 2 years ago

Hey @fgl27. I’ve tested a changed screens/live. Haven’t problems. (after restarting app and seeing warning, for sure)

Q70T 4K Smart QLED TV 2020 (QE55Q70TAUXRU)

alexeydergunov commented 2 years ago

After I closed a notification from 3 comments above, I got a black screen with a spinner, no button works. It's on "User | Channels Live" page. What should I do?

My TV is Q80A QLED 4K Smart TV 2021 (QE65Q80AAUXRU)

UPD: I relaunched an app after comment https://github.com/fgl27/smarttv-twitch/issues/209#issuecomment-1046075651 It works, had to reenter an auth code though.

ivanmlr commented 2 years ago

Just like alexey, im stuck after the message and cant move through the menu, tested with different controller and restarted multiple times. Model is Samsung 4K UHD 2021 43AU9005- Smart TV 43" Happy to help testing!

fara99 commented 2 years ago

Samsung ue43nu7442 (Tizen 4.0) Closed the new warning and redid my auth key. All seems to be working.

fgl27 commented 2 years ago

Just like alexey, im stuck after the message and cant move through the menu, tested with different controller and restarted multiple times. Model is Samsung 4K UHD 2021 43AU9005- Smart TV 43" Happy to help testing!

Hold the channel key up, after you see a message hold the channel down until the app restart, if that doesn't solve reinstall the app.

fgl27 commented 2 years ago

I have just test the new app version using a emulator is all I have, did a new install of latest release it just works, if not for you after a new install report.

before reinstall try the workaround from above post.

tonylefr commented 2 years ago

good evening, I come here following the message on the application and after research here I am. on my side after making a new authentication key the application works perfectly. I would like to thank the people who work on the subject!! really thank you very much for the work you have done and thank you for the follow-up of the good functioning.

(ps: sorry Google trad, I'm French)

gunshit commented 2 years ago

Working properly here! Thanks a lot @fgl27 ^_^

fgl27 commented 2 years ago

@fgl27 do you know when the app will be getting updated?

just read my comments on this issue. have you read the previous comment of my?

Belbs89 commented 2 years ago

@fgl27 sorry mate. I’m using the app on my Nvidia shield. My bad 😥

fgl27 commented 2 years ago

@fgl27 sorry mate. I’m using the app on my Nvidia shield. My bad disappointed_relieved

Wrong repo there Android project is https://github.com/fgl27/SmartTwitchTV

georgebvro commented 2 years ago

Since the old API is down for 24 hours, I took the opportunity to see what features are not working in the current implementation of the application.

Not working: Main Menu -> Featured (Connection failed, unable to load content) Main Menu -> Videos (No Past Broadcasts) Main Menu -> Clips (No Clips) User Menu -> Games (Connection failed, unable to load content) User Menu -> Videos (No Past Broadcasts) User Menu -> Channels (Connection failed, unable to load content)

Of course, the basic functionality works (User Menu -> Live and Main Menu -> Live) and I'm very grateful for it, that's the most important part.

My device: 2015 Samsung UE40JU7000 Tizen 2.3

GalaxyNET commented 2 years ago

If peoples donate more and less complain, it will be better. Yes only live works now. I hope u find a way to fix it.

fgl27 commented 2 years ago

The rest of the app will go back to work in an few hours, the full shutdown is on the 28.

After that only what works now will work unless someone help because I don't know when I will address the rest of the changes

B4RF commented 2 years ago

I discovered this project just before VODs stopped working and would like to help with the migration if possible. I created my own client id and bearer token and adapted the vod calls in games and channels on a branch from master (I don't think it makes sense to keep the general vod page because the new api requires a game or user id). In general it seems to be working although some fields are no longer available but I think cosmetics can as well be handled later on.

The only issue I have is that my client id doesn't allow me to load any live streams or VODs, I always get the response that my client-id header is invalid. Will you work on the authentication mechanism or can you provide me a working client id? This is the main issue I currently have which prevents me from moving forward.

fgl27 commented 2 years ago

I discovered this project just before VODs stopped working and would like to help with the migration if possible. I created my own client id and bearer token and adapted the vod calls in games and channels on a branch from master (I don't think it makes sense to keep the general vod page because the new api requires a game or user id). In general it seems to be working although some fields are no longer available but I think cosmetics can as well be handled later on.

The only issue I have is that my client id doesn't allow me to load any live streams or VODs, I always get the response that my client-id header is invalid. Will you work on the authentication mechanism or can you provide me a working client id? This is the main issue I currently have which prevents me from moving forward.

I have replied via email;

👍

clopse commented 2 years ago

Thanks so much for the app. I really miss the clips section. Donating €20 for all your hard work til now. Thanks.

Elapsed commented 2 years ago

When a thing just works, you don't really think about the maintenance going into it to keep it working. My wife and I just shot over $26 as a thank you for how much work has gone into this incredibly useful app. We have an option now if it ever goes down, but we prefer your app. Thank you a ton FGL and whomever is lending a hand

AngusGhoul commented 2 years ago

I Dont understand too much :( exist the solution to watch the VOD (past broadcast) or i can do nothing? thanks :(

jfo84 commented 2 years ago

Videos currently don’t work yes. fgl27 hasn’t gotten to it. I have some time to work on this over the weekend

On Thu, Mar 24, 2022 at 16:40 AngusGhoul @.***> wrote:

I Dont understand too much :( exist the solution to watch the VOD (past broadcast) or i can do nothing? thanks :(

— Reply to this email directly, view it on GitHub https://github.com/fgl27/smarttv-twitch/issues/209#issuecomment-1078235655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZOFXPW43ILAU5XAXS4Q53VBTHKPANCNFSM5OBGG5QQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Jack Ford

Sargemck commented 2 years ago

I see that @B4RF and @jfo84 spent some time working on getting VOD functionality back. I just wanted to check if the client ID issue with that is resolved or if there's still help needed?

Sargemck commented 2 years ago

@fgl27 Is this project abandoned?

fgl27 commented 2 years ago

@fgl27 Is this project abandoned?

Nice, if was it would have a info about it. I'm little active answering issues and you ask that sad.

Sargemck commented 2 years ago

@fgl27 Is this project abandoned?

Nice, if was it would have a info about it. I'm little active answering issues and you ask that sad.

Sorry that it upset you. Before asking I checked to see if there have been any updates in the past 3 months or if my question (in this thread) from 3 months ago had been replied to. I also sent you an email about it beforehand, asking about donating to help keep the project going, but there was no reply after months. Not sure what would have been more reasonable than asking

EDIT: To be clear, I deeply respect and appreciate your work on the app up to the point where the API changed. I absolutely don't blame you if you have stopped working on it, just want to know whether we should ever expect it to be fixed or if I should look at alternatives

fgl27 commented 2 years ago

@fgl27 Is this project abandoned?

Nice, if was it would have a info about it. I'm little active answering issues and you ask that sad.

Sorry that it upset you. Before asking I checked to see if there have been any updates in the past 3 months or if my question (in this thread) from 3 months ago had been replied to. I also sent you an email about it beforehand, asking about donating to help keep the project going, but there was no reply after months. Not sure what would have been more reasonable than asking

EDIT: To be clear, I deeply respect and appreciate your work on the app up to the point where the API changed. I absolutely don't blame you if you have stopped working on it, just want to know whether we should ever expect it to be fixed or if I should look at alternatives

I'm not here to tell you or anyone what you should do, do wherever of yours time.

If I didn't update the app is simply because I can't right now.

someone30 commented 2 years ago

@fgl27 Will smarttv-twitch receive a similar update that SmartTwitchTV received a few days ago?

fgl27 commented 2 years ago

sure

fgl27 commented 2 years ago

I push a app update, force close the app if open to receive, to force close just hold return key when the app is open.

if any bug found let me know.

gunshit commented 2 years ago

Thanks a lot Felipe. You are making an incredible job here ^_^


From: Felipe Leon @.> Sent: Wednesday, July 27, 2022 10:17:35 PM To: fgl27/smarttv-twitch @.> Cc: Marcelo García @.>; Comment @.> Subject: Re: [fgl27/smarttv-twitch] [ Twich API v5 Shutdown ] App not working properly - post only comments that will help solve the issue (Issue #209)

Closed #209https://github.com/fgl27/smarttv-twitch/issues/209 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/fgl27/smarttv-twitch/issues/209#event-7076284976, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIVKZ7QOTQEU5IMS6OJMQQ3VWGKN7ANCNFSM5OBGG5QQ. You are receiving this because you commented.Message ID: @.***>

someone30 commented 2 years ago

I push a app update, force close the app if open to receive, to force close just hold return key when the app is open.

if any bug found let me know.

Looking very good so far. Thank you! Donation on the way...

WalekMsT commented 2 years ago

Is there an update for SmartTV client for Twitch for the Tizen system of Samsung TVs? If so, where to look for it, how to force it?

fgl27 commented 2 years ago

Is there an update for SmartTV client for Twitch for the Tizen system of Samsung TVs? If so, where to look for it, how to force it?

no manual update needs to be done to receive this update

WalekMsT commented 2 years ago

I have version 4.0.1.V9 installed and the new API doesn't work there. Will there be a new version for TV?

fgl27 commented 2 years ago

I push a app update, force close the app if open to receive, to force close just hold return key when the app is open.

my previously post I wrote:

I push a app update, force close the app if open to receive, to force close just hold return key when the app is open.

have you done that, if so and noting works, just turn off yours TV by removing the power cord from the wall

WalekMsT commented 2 years ago

This works on Tizen OS ?

fgl27 commented 2 years ago

you don't make any sense, what works on Tizen OS?