jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.38k stars 1.26k forks source link

Links in webOS (on LG TV) are not working #1991

Closed Brice187 closed 4 years ago

Brice187 commented 4 years ago

Describe The Bug

When opening the link to IMDb rating, a new browser showing a website on the LG TV appears. After some seconds, the native "Connection Error" dialog is displayed. The app freezes and the remote BACK button does not respond. The only solution is to hard kill the app.

Steps To Reproduce

  1. Open Movie Library
  2. Select Movie and go into Details
  3. Click the IMDb-Link below the content abstract (press down button four times)

Expected Behavior

Best would be to disable external links for SmartTVs at all (because I do not want to consume websites layouted for a desktop setting on my smart TV)

Logs

No logs generated, sry

Screenshots

Step1 Step2 Step3

System (please complete the following information):

Additional Context

dmitrylyzo commented 4 years ago

Same issue #873 (closed by bot). The easiest way is to not show links at all in TV layout (or TV devices only).

heyhippari commented 4 years ago

It's already fixed in 10.7: https://github.com/jellyfin/jellyfin-web/blob/master/src/controllers/itemDetails/index.js#L1068-L1071

We're removing external links in the TV layout, as it's doubtful that vendors would allow apps to link to arbitrary websites.

dmitrylyzo commented 4 years ago

Birth place left: https://github.com/jellyfin/jellyfin-web/blob/6a82956cf46135e44a2a9ad620bcac6118b110f4/src/controllers/itemDetails/index.js#L652-L654