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

Tizen Certificate Manager not working #4

Closed
Rossano95 opened this issue Jan 4, 2019 · 73 comments
Closed

Tizen Certificate Manager not working #4

Rossano95 opened this issue Jan 4, 2019 · 73 comments
Assignees
Labels
bug Something isn't working need a fix help wanted Extra attention is needed

Comments

@Rossano95
Copy link

When I click finish at the end of the creation of the certificate the app just don't do anything. I tried to make another certificate with Samsung instead of Tizen and when I Run as > 1 Tizen wen Application I get a fail.

The TV is a UE50NU7090
Tizen Studio 3.0

@auto-comment
Copy link

auto-comment bot commented Jan 4, 2019

Thank your for raising a issue. I will try and get back to you as soon as possible.
Regards @fgl27

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

I have created a certificate in the past just as described in https://github.com/fgl27/smarttv-twitch#generate-a-certificate

But I tried to create a new one today and it's just like you wrote.

I also try this https://developer.samsung.com/galaxy-watch/develop/getting-certificates/create
And I was able to create one, in the past that type did not allow to install the app, but I selected it and it allow me to install, so please try and report.

BTW in this step "7. At the Next step, a Samsung Account sign-in pops up" use yours full email and password same as you use on the TV the one that has developer status enable from https://github.com/fgl27/smarttv-twitch#account-and-downloads

@fgl27 fgl27 self-assigned this Jan 4, 2019
@fgl27 fgl27 added bug Something isn't working need a fix help wanted Extra attention is needed labels Jan 4, 2019
@Rossano95
Copy link
Author

I did everything. After I press run as I get a "Different Profile" alert. I click yes and the problem is the same.

This is the log:

Launching the Tizen application...

If you want to see the detailed information,

please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-studio-data\ide\logs/ide-20190104_123042.log'.

[Initializing the launch environment...]
RDS: Off
Target information: UE50NU7090
Application information: Id(qY6HyNzLIR.TwitchTv), Package Name(qY6HyNzLIR), Project Name(BasicUI)
[Transferring the package...]
Transferred the package: wgt stream -> /home/owner/share/tmp/sdk_tools/tmp/BasicUI.wgt
[Installing the package...]
install qY6HyNzLIR.TwitchTv
package_path /home/owner/share/tmp/sdk_tools/tmp/BasicUI.wgt
was_install_app return WAS_TRUE
app_id[qY6HyNzLIR.TwitchTv] install start
app_id[qY6HyNzLIR.TwitchTv] installing[7]
app_id[qY6HyNzLIR.TwitchTv] installing[10]
app_id[qY6HyNzLIR.TwitchTv] installing[13]
app_id[qY6HyNzLIR.TwitchTv] installing[15]
app_id[qY6HyNzLIR.TwitchTv] installing[18]
app_id[qY6HyNzLIR.TwitchTv] installing[21]
app_id[qY6HyNzLIR.TwitchTv] installing[23]
app_id[qY6HyNzLIR.TwitchTv] install failed[118012]
spend time for wascmd is [1443]ms
cmd_ret:0
An exception occurred
(Installing the package... > Fail)
An exception occurred
Unexpected stop progress...
(4.026 sec)

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

The problem is to create a normal certificate is to create a autor.
Try again to create a profile using...

back to Tizen Studio > Tools > Certificate Manager > + > select/click Tizen >

but on create a new author use "select existing..." because when you use https://developer.samsung.com/galaxy-watch/develop/getting-certificates/create you already created one

screenshot from 2019-01-04 10-30-43

Find this folder... I don't know where it is on windows machine

screenshot from 2019-01-04 10-29-52

the folder to look for in linux has this name "SamsungCertificate" and inside must have the previously created certificated, and inside must have author.p12 file chose that

screenshot from 2019-01-04 10-29-57

put yours password, and now you must be able to click on finish.

Use that just created certificated as default and let me know.

@Rossano95
Copy link
Author

Rossano95 commented Jan 4, 2019

Thank you. This worked. Now the only problem is that I can't set 1080p.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

1080p must be available on the streams so you can use, some streams don't have that.

just check in twtch.tv for the stream and you will see that what is in the website is on the app in relation to available resolutions/qualities.

if you see more resolution on the site then the app, tell me the stream so I can check.

@Rossano95
Copy link
Author

I see the resolution in the app. But when i click ok the stream starts buffering and goes back to 720.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

what stream?
is yours internet enough?
because the app automatic changes the resolution down, when the internet is not enough.

@Rossano95
Copy link
Author

This is the stream: https://www.twitch.tv/goeasytwitch

I have 200mbps so I think it's enough. I can see it on my pc without any issues. Also on the original app for tizen. I installed this for the chat and the better interface.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

1080p just fine to me, you must have some network problem there, the app will not change the resolution unless it can't open because internet related issue, you can try to use a cable in case you are in wifi or just a simple reboot of the tv by unplugging it from the wall.

@Rossano95
Copy link
Author

Now I am using the cable. It seems that I can't watch 60fps contents. Also in 720. It's stange. I don't think that it's a connection issue. The internet is really fast.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

all streams have that problem?

because no one ever had a problem like that.

@Rossano95
Copy link
Author

Yes, all of them. Is there a way to see if there is an error? Like a log or something like this. Maybe is the TV that has some incompatibilities?

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

video and clips also have the same resolution as the streams.

Do they also have this problem?

what happens when you press enter after select 1080p60, it start buffer and plays then buffer again, or it never plays? just keeps buffering until it loads the 720

@Rossano95
Copy link
Author

Just keeps buffering until it loads the 720. Also on videos. The clips are working. It's like a buffering issue.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

change the buffer size to a higher number in settings, key A or red to open side panel then settings.

and try again.

@Rossano95
Copy link
Author

It's the same. I tried all the settings. It only takes longer to go back to 720. Only 720, not even 720 60 fps

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

are you shore you power off the TV, removing from the wall?
because seems something very odd may solve on a reboot.

@Rossano95
Copy link
Author

I unplugged again. It's the same. But is there any log? So I can see if it's an error? Like codecs or something like that. The TV is pretty new and with the original app the streaming is working.

@Rossano95
Copy link
Author

This is the console log. I started a debug from tizen studio.

https://fgl27.github.io/smarttv-twitch/release/githubio/css/font-awesome.min.css Failed to load resource: net::ERR_NETWORK_CHANGED
https://fgl27.github.io/smarttv-twitch/release/githubio/css/master.css Failed to load resource: net::ERR_NETWORK_CHANGED
master.js:1 language is it_IT
master.js:1 InitScreens place holder
VM36:1 Entering setDisplayRect
VM36:1 adding listener
VM36:1 Entered AVPlayManager.prepareAsync()
webapis.min.js:1 [productinfo.js] isUDPanelSupported begin
webapis.min.js:1 [productinfo.js] isUDPanelSupported end [object Object]
webapis.min.js:1 [productinfo.js] isUDPanelSupported message data true
webapis.min.js:1 [productinfo.js] getFirmware begin
webapis.min.js:1 [productinfo.js] getFirmware end [object Object]
webapis.min.js:1 [productinfo.js] getFirmware message data T-KTSUDEUC-1007.1
webapis.min.js:1 [productinfo.js] getModel begin
webapis.min.js:1 [productinfo.js] getModel end [object Object]
webapis.min.js:1 [productinfo.js] getModel message data UNU7090
index.html:1 Failed to decode downloaded font: https://fgl27.github.io/smarttv-twitch/release/githubio/css/fonts/BabelStoneHan.woff
index.html:1 OTS parsing error: OS/2: Failed to read version 5-specific fields
webapis.min.js:1 [network.js] addNetworkStateChangeListener success
webapis.min.js:1 [network.js] listenerId 0
webapis.min.js:1 [webapi.js] cbArr length: 1, then remove Callback!
VM36:1 adding listener
VM36:1 Entered AVPlayManager.prepareAsync()
master.js:1 Cannot read property 'setPreviewData' of undefined
jquery.min.js:2 GET https://api.betterttv.net/2/channels/faker 404 ()
send @ jquery.min.js:2
ajax @ jquery.min.js:2
p.(anonymous function) @ jquery.min.js:2
getJSON @ jquery.min.js:2
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:434
loadEmotes @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:433
load @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:322
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:637
k @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
D @ jquery.min.js:2
jquery.min.js:2 GET https://api.frankerfacez.com/v1/room/faker 404 ()
send @ jquery.min.js:2
ajax @ jquery.min.js:2
p.(anonymous function) @ jquery.min.js:2
getJSON @ jquery.min.js:2
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:450
loadEmotes @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:449
load @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:322
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:637
k @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
D @ jquery.min.js:2
VM36:1 adding listener
VM36:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1
VM36:1 adding listener
VM36:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1
VM36:1 adding listener
VM36:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

what original app?

the player used here is the samsung default player, same used on original fork https://github.com/nikitakatchik/smarttv-twitch

you can't log using the release you need to download the source so fallow this...

yes you can log, but will only show a error if there is a error, with I doubt that will shows as errors because they causes crashes and this behavior is simple is just a timeout as took too long to open then the quality goes down.

To see the logs download the source https://codeload.github.com/fgl27/smarttv-twitch/zip/master
and install that making a new app in tizen, then when is time to install click on the lady bug icon (top left under file)

it will install the app in debug mode, it will open on the computer a window from the default browser click in console to see the logs

screenshot from 2019-01-04 12-52-08

After the app finished load it will request you to press OK, then after you see the above screen you can press the B or green key, to force reload the app, it will make all the app show all initialization the logs then if see this

screenshot from 2019-01-04 12-54-32

is because all the logs are be display, from that you can try to open some streams.

It will probably not log anything help full, but then I check where I can put extra logs so we can see where it is not working...

is a slow process unless you know how to code, as I can't simulate the problem here and I need to guess what to do on most situations and request you to test and test and test...

@Rossano95
Copy link
Author

This is the only error that I see:

Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

I need to see all the log the full text and screen shot, that means nothing to me. let it log until it starts to play from the correct app version.

I need to see where it happens se the log it show the lines of where it happens, that is way you need to install the source as above and log that the release can't be use for logging is not ready for it.

@Rossano95
Copy link
Author

This is the log:

Main.js:200 language is it_IT
Screens.js:6 InitScreens place holder
VM63:1 Entering setDisplayRect
VM63:1 adding listener
VM63:1 Entered AVPlayManager.prepareAsync()
webapis.min.js:1 [productinfo.js] isUDPanelSupported begin
webapis.min.js:1 [productinfo.js] isUDPanelSupported end [object Object]
webapis.min.js:1 [productinfo.js] isUDPanelSupported message data true
webapis.min.js:1 [productinfo.js] getFirmware begin
webapis.min.js:1 [productinfo.js] getFirmware end [object Object]
webapis.min.js:1 [productinfo.js] getFirmware message data T-KTSUDEUC-1007.1
webapis.min.js:1 [productinfo.js] getModel begin
webapis.min.js:1 [productinfo.js] getModel end [object Object]
webapis.min.js:1 [productinfo.js] getModel message data UNU7090
Main.js:732 Tizen Version: 4.0 | TV: UNU7090 | FW: T-KTSUDEUC-1007.1
index.html:1 Failed to decode downloaded font: https://fgl27.github.io/smarttv-twitch/release/githubio/css/fonts/BabelStoneHan.woff
index.html:1 OTS parsing error: OS/2: Failed to read version 5-specific fields
webapis.min.js:1 [network.js] addNetworkStateChangeListener success
webapis.min.js:1 [network.js] listenerId 0
SmartHub.js:40 Cannot read property 'setPreviewData' of undefined
webapis.min.js:1 [webapi.js] cbArr length: 1, then remove Callback!
Play.js:634 Play_onPlayer:

http://video-weaver.mil01.hls.ttvnw.net/v1/playlist/CrUDAASs3y12bue7uEVqLsB…XzLynFKa5SzTep2KdoymdBkp_ISEHxrYf40C-XX1Y5ku8yssb8aDMSuQRmdHkWUeLSMrA.m3u8

VM63:1 adding listener
VM63:1 Entered AVPlayManager.prepareAsync()
jquery.min.js:2 GET https://api.betterttv.net/2/channels/faker 404 ()
send @ jquery.min.js:2
ajax @ jquery.min.js:2
p.(anonymous function) @ jquery.min.js:2
getJSON @ jquery.min.js:2
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:434
loadEmotes @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:433
load @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:322
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:637
k @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
D @ jquery.min.js:2
jquery.min.js:2 GET https://api.frankerfacez.com/v1/room/faker 404 ()
send @ jquery.min.js:2
ajax @ jquery.min.js:2
p.(anonymous function) @ jquery.min.js:2
getJSON @ jquery.min.js:2
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:450
loadEmotes @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:449
load @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:322
(anonymous) @ ?theme=bttv_blackchat&channel=faker&fade=false&bot_activity=true&prevent_clipping=false:637
k @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
D @ jquery.min.js:2
Play.js:634 Play_onPlayer:

http://video-weaver.mil01.hls.ttvnw.net/v1/playlist/CrUDAASs3y12bue7uEVqLsB…XzLynFKa5SzTep2KdoymdBkp_ISEHxrYf40C-XX1Y5ku8yssb8aDMSuQRmdHkWUeLSMrA.m3u8

VM63:1 adding listener
VM63:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1
Play.js:634 Play_onPlayer:

http://video-weaver.mil01.hls.ttvnw.net/v1/playlist/CrMDJ_7DBl0qyQ9bISdPR4g…VYK6HEud8X7dGGtTJ9MX58_GO5EhD28dSATvHgaoBgmpcSriLPGgwFC2ISrsd_ABUcU4A.m3u8

VM63:1 adding listener
VM63:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1
Play.js:634 Play_onPlayer:

http://video-weaver.mil01.hls.ttvnw.net/v1/playlist/CrMD8AuZKp19q-hExO6XL6X…5klNtRQRSrMncT2aNrAiq6damFEhAi7-7yjGujuSebYeCwStDlGgz-OhBQzpaIFUF7OpU.m3u8

VM63:1 adding listener
VM63:1 Entered AVPlayManager.prepareAsync()
VM26:1 ########## exception
(anonymous) @ VM26:1
VM26:1 DOMException: Failed to execute 'open' on 'Document': Can only call open() on same-origin documents.
(anonymous) @ VM26:1

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

download the source https://codeload.github.com/fgl27/smarttv-twitch/zip/master again extract and replace the folder /app/specific/ from the folder where you have the tizen app, them log

@Rossano95
Copy link
Author

Now it's working. I don't know. I had to reinstall twice because the first time the chat didn't work. It's possible that there's a problem with Tizen Studio 3.0? Thank you for your help. If you find the cause let me know.

@fgl27
Copy link
Owner

fgl27 commented Jan 4, 2019

What work?
the one instaled from release of the one instaled from the source aka this link https://codeload.github.com/fgl27/smarttv-twitch/zip/master?

if is the one from this link https://codeload.github.com/fgl27/smarttv-twitch/zip/master

try a 1080p video, because I only change how the live player loads the stream not the video to have a way to check what is what...

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

there is a key on the remote

control

call smart hub, it show the user content when pressed above the app icon on the app menu of the TV this bellow is the smart hub
Live

off course that image is only a random example, what show is yours user content above the twitch icon.

@Rossano95
Copy link
Author

Ok. I don't see the content. I can see the contents on Netflix, Prime Video ecc.

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

I notice this already in tizen 4.0 before, but I can't test I don't have a TV, from yours log there is this

SmartHub.js:40 Cannot read property 'setPreviewData' of undefined

the variable in't undefined works OK on my TV, I duno of way that happens, and because of that no preview is loaded.
I thinking on how to address this I let you know if I have something to test

@Rossano95
Copy link
Author

Ok, thank you. This is not a real issue. I just noticed that this didn't worked.

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

I add a simple change can you try?

Download the source https://codeload.github.com/fgl27/smarttv-twitch/zip/master

and on that debug test app you already have, replace the file config.xml and the folder app, install the app as debug place the app icon in the smarthub menu and tell me if you see the preview, try that before adding a user, wait one minute them add a user and see what happen takes a few seconds to the preview update.

Share the result of the log here.

@Rossano95
Copy link
Author

Rossano95 commented Jan 5, 2019

Now the preview it's working. I can't add the user. It's the test user.

This is the log:

https://fgl27.github.io/smarttv-twitch/release/githubio/css/font-awesome.min.css Failed to load resource: net::ERR_NETWORK_CHANGED
Main.js:202 language is it_IT
Screens.js:6 InitScreens place holder
VM69:1 Entering setDisplayRect
VM69:1 adding listener
VM69:1 Entered AVPlayManager.prepareAsync()
webapis.min.js:1 [productinfo.js] getFirmware begin
webapis.min.js:1 [productinfo.js] getFirmware end [object Object]
webapis.min.js:1 [productinfo.js] getFirmware message data T-KTSUDEUC-1007.1
webapis.min.js:1 [productinfo.js] getModel begin
webapis.min.js:1 [productinfo.js] getModel end [object Object]
webapis.min.js:1 [productinfo.js] getModel message data UNU7090
Main.js:735 Tizen Version: 4.0 | TV: UNU7090 | FW: T-KTSUDEUC-1007.1
index.html:1 Failed to decode downloaded font: https://fgl27.github.io/smarttv-twitch/release/githubio/css/fonts/BabelStoneHan.woff
index.html:1 OTS parsing error: OS/2: Failed to read version 5-specific fields
webapis.min.js:1 [network.js] addNetworkStateChangeListener success
webapis.min.js:1 [network.js] listenerId 0
SmartHub.js:38 SmartHub_BasePreviewDataNoUser
SmartHub.js:40 {"sections":[{"title":"Live","tiles":[{"title":"Vai a Live","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_live.png","action_data":"{"screenIdx":1}","is_playable":false}]},{"title":" Aggiungi Utente","tiles":[{"title":"Vai a Aggiungi Utente","subtitle":"Aggiungi un Utente Twitch per visualizzare i contenuti seguiti","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_add_user.png","action_data":"{"screenIdx":2}","is_playable":false}]},{"title":"In Primo Piano","tiles":[{"title":"Vai a In Primo Piano","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_featured.png","action_data":"{"screenIdx":22}","is_playable":false}]},{"title":"Giochi","tiles":[{"title":"Vai a Giochi","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_games.png","action_data":"{"screenIdx":3}","is_playable":false}]},{"title":"Video","tiles":[{"title":"Vai a Video","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_videos.png","action_data":"{"screenIdx":18}","is_playable":false}]},{"title":" Clips","tiles":[{"title":"Vai a Clips","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_cips.png","action_data":"{"screenIdx":19}","is_playable":false}]}]}
SmartHub.js:43 Cannot read property 'setPreviewData' of undefined
webapis.min.js:1 [network.js] removeNetworkStateChangeListener success [0]
webapis.min.js:1 [network.js] removeNetworkStateChangeListener success
webapis.min.js:1 [network.js] addNetworkStateChangeListener success
webapis.min.js:1 [network.js] listenerId 1
SmartHub.js:156 Cannot read property 'setPreviewData' of undefined
webapis.min.js:1 [network.js] removeNetworkStateChangeListener success [1]
webapis.min.js:1 [network.js] removeNetworkStateChangeListener success

@Rossano95
Copy link
Author

Updated the translation. I forgot two words.
it_IT.zip

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

but have you added the test user?
can you add and see if the content is there.
because the error is there and when adding the user the preview must change and show all the content for the user

I don't think is working as it needs to update

errors when updating

SmartHub.js:43 Cannot read property 'setPreviewData' of undefined

SmartHub.js:156 Cannot read property 'setPreviewData' of undefined

@Rossano95
Copy link
Author

When I add the user I still have in the preview "Add User". Which user I have to add?

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

So it doesn't work at all.

@Rossano95
Copy link
Author

But now I can see something. Before I wasn't seeing anything. In the preview I see in this order:

Live, Add User, Featured, Games, Videos, Clips.

And is there a way to tranlate this?

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

that is translated here

SmartHub.js:43 Cannot read property 'setPreviewData' of undefined

Show perfect fine translated with all content on my TV.

you can't see the translation because that is a Hardcore version base on the default loaded via config.xml, I add to see if was going to work from there, the update via cmd with doesn't work on yours TV is what I wanna to fix.

@Rossano95
Copy link
Author

Ok, thank you. I wait for you if other tests are needed.

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

thanks.

I'm going to open a issue with samsung, as I have no idea way this happens on newer TV's.
they take weeks to replay so I try you again the day I have something may take some time...

👍

@Rossano95
Copy link
Author

Ok, thank you

@Rossano95
Copy link
Author

This is what I see. The one with test in the logo is the one made from source. The other one is the release. Have you seen the updated traduction?
it_IT.zip

photo_2019-01-05_18-34-32
photo_2019-01-05_18-34-27

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

Yes I understand what is going on, I have all the info.

Already update the translation, you can see on the release version if you update it, by closing (via choosing close in the exit dialog or holding return key to force close it) and reopening the app.

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

can do one more relog the the test app the one that show this

{"sections":[{"title":"Live","tiles":[{"title":"Go to Live","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_live.png","action_data":"{\"screenIdx\":1}","is_playable":false}]},{"title":" Add User","tiles":[{"title":"Go to Add User","subtitle":"Add a Twitch user to display it's Followed Channels content here","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_add_user.png","action_data":"{\"screenIdx\":2}","is_playable":false}]},{"title":"Featured","tiles":[{"title":"Go to Featured","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_featured.png","action_data":"{\"screenIdx\":22}","is_playable":false}]},{"title":"Games","tiles":[{"title":"Go to Games","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_games.png","action_data":"{\"screenIdx\":3}","is_playable":false}]},{"title":"Videos","tiles":[{"title":"Go to Videos","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_videos.png","action_data":"{\"screenIdx\":18}","is_playable":false}]},{"title":" Clips","tiles":[{"title":"Go to Clips","subtitle":"","image_ratio":"4by3","image_url":"https://fgl27.github.io/smarttv-twitch/release/githubio/images/smart_cips.png","action_data":"{\"screenIdx\":19}","is_playable":false}]}]}

but now past the content of the log inside of txt file and attach it here.

thanks

@Rossano95
Copy link
Author

Here it is
log.txt

@fgl27
Copy link
Owner

fgl27 commented Jan 5, 2019

Ok is loging as expected it doesn't work because of something wrong on the OS.

thanks.

@Rossano95
Copy link
Author

Ok. If I find other errors in the traduction I will let you know.

@Rossano95
Copy link
Author

Hi, I finded another "issue". It's normal that the subscriptions notifications are not visible in the chat? This is difficult to log. In the Image you can see the difference. On the left it's the app, on the right it's Twitch from the browser. If you want to do some testing for the smart hub you can try the emulator. The behaviour is the same.
sub

@fgl27
Copy link
Owner

fgl27 commented Jan 12, 2019

What the site can do, and what twitch provide on they api that can be used on third party app like this is different.

Can you see that notification on the chatlog?
on a site like this https://cbenni.com/ or something like

I don't know if the emulator works well on my machine I try a long time a go and it didn't, but I will try again is a good idea.
Samsung didn't yet replay on the issue.

@fgl27
Copy link
Owner

fgl27 commented Jan 13, 2019

I can emulate TV 5.0 with I show as Tizen 5.0 I wish it had more TV versions but I can't install others, the error is the same, is as if the app doesn't have access to the API, because trying to get the api version fails.

At least I can test here the day Samsung replay I test here and let you know.

@fgl27 fgl27 reopened this Jan 13, 2019
@fgl27 fgl27 closed this as completed Jan 13, 2019
@fgl27
Copy link
Owner

fgl27 commented Jan 13, 2019

@Rossano95
I check and twitch doesn't sends the mensagens generated by "twitchnotify" to the chat API, it shows live in the site and save to the chat history, but doesn't show on VOD's (videos past broadcast) of the site it self for some reason.

The day they show those notification on they on VOD will probably also be displayed on the app.

@Rossano95
Copy link
Author

Ok, thank you

@Rossano95
Copy link
Author

Rossano95 commented Jul 17, 2019

Hello, I have updated the traduction. It only needed a few strings.

it_IT.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need a fix help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants