GithubHelp home page GithubHelp logo

spaceogre / smarttv-twitch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nikitakatchik/smarttv-twitch

8.0 8.0 2.0 312 KB

Twitch app for Samsung Smart TV

License: GNU General Public License v3.0

HTML 19.27% JavaScript 80.14% CSS 0.59%

smarttv-twitch's People

Contributors

brunoradagast avatar egorpugin avatar harisbeha avatar healdropper avatar hurix avatar jaysonstatham avatar mordecaixlii avatar nikitakatchik avatar paulfurlet avatar pedrro avatar spaceogre avatar yesyxv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smarttv-twitch's Issues

format not supported

It was giving me that error at first but now it's not even loading channels list.

Update quality handling in SceneChannel

The hard coded values for quality in SceneChannel.js needs to be updated. High, medium and low is no longer used by Twitch, they use: 720p, 720p60 etc.

Atm the select start quality in code is high but since it does not exist auto will be used. I think auto should be the one to start with.

Option to choose start quality should be added to config.js

Can't load data stream or unable to access token

Hello,
i am able tot push this release to my UE46ES7000 tv but after opening te app no channels will load.

After load i get the error "no stream data loaded" when i do a refresh i the error "unable to access token".

Do i have to create in this release my own API key? I did not see anythink about this in the readme so i am wondering why its not working.

Recomendation Stream

it would be nice if the app showed a recommendation channel, like on the web, when the user is logged on the first page, the twitch shows some stream you would like.
I don't know if the twitch API provides any endpoints to obtain this based on the user's nickname.

help for setup development environment

i trying to implement new features but i cant make develop environment work, how do you guys use to implement and test on physical tv ?
by now i just copy source code into usb drive and plug on tv to see if my code work, is to hard and slow.

Thanks for fixing 5

I created an issue (#5) which you fixed but couldn't thank you because it's closed and Github doesn't support private messages. Thanks for fixing this, it works again and sorry for posting here but I really wanted to thank you. This can be closed.

Steps to use with your own favorite twitch channels and install

1- Open the app/script/config.js
2. Replace the current numbers with your own user
2.1 - I used the following chrome app: https://chrome.google.com/webstore/detail/twitch-username-and-user/laonpoebfalkjijglbjbnkfndibbcoon, otherwise I would have to do a request by hand with a valid client id.
(then install as you would normally do)

The following steps is just how I installed, maybe it is different for your TV.

  1. Create a zip file from the files directly, you can't have a single folder inside.
  2. Download SammyWidgets and place it inside the widgets folder.
  3. Open SammyWidgets and select Twitch
  4. Go to your TV and at the menu, login with the user: "develop" (no password needed)
  5. In the apps list, hold the center/enter button in one of the apps, a menu will appear (like the right click ones)
  6. Select to configure the IP address
  7. Place your computer IP address, must be in the same network I guess.
  8. Go to Sync apps or something

Done :)
Your favorites will appear in the APP from now on.

  • To the future we could just add some kind of localStorage to save the user's ID and have a new screen that asks for the user name?

If someone knows how to test it in the computer, I can try to do something, otherwise ti would be a pain to install the app every new test :/

Sections not loading

Games and Streams are working as it should, the Channels front page and Followed Channels are not loading.

Check if 1080p player size does anything

Some of the TVs support 1080p (I know high def right ;)) but the all of the resolutions used in the app is for 720p.

Investigate if there is any quality difference if player etc is set to 1080p. If yes an option in settings is required.

Move the API Key to config file and read from there

As the title says, it would be easier to move the apikey to the config file so we could change only in one place (And in the future, maybe type it when open the app somehow and store it on localStorage, can be done with #3 )

Add chat

The original creator tried to add chat years ago via iframe but said it lagged a lot because of flash. It might work much better now.

I think the fork for Tizien have chat so we can look and see if we can adapt it for this version.

Todo:

  • Add flyout to the left for chat.
  • Resize video when chat is visible
  • Test embed chat via iframe.

Commercial break in progress

Hi guys,

I recently installed this app on my UNF6400 Samsung TV. I installed and replaced the username as mentioned on the readme, the app installs and opens fines. However, when I click on a streamer to watch it shows a 5sec "Commercial Break in progress" video from Twitch and then the stream doesnt start and the screen stays black.

I have also tried changing the clientId, the issue persists. Any ideas?

Thanks!

Username - User ID

Tried latest release with username and empty user id and it's not working. With both filled it's all good.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.