stremiok 2.2.8 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,39 @@
3
3
  What changed in each version of StremioK, newest first. How everything works is in the
4
4
  [user guide](docs/USER-GUIDE.md).
5
5
 
6
+ ## 2.3.0 — 2026-11-07
7
+ - **Jellyfin, Emby and Plex** (Settings › Content › Media servers): your server's Movies and Shows
8
+ libraries, *Continue watching* and *Next up* as Home rows, and its copy of a film or episode first
9
+ on its title page (*On your … server*). Played as it is, with its subtitle files.
10
+ - **Signing in:** Jellyfin with Quick Connect or a password, Emby with a password, Plex with a code
11
+ entered at plex.tv/link.
12
+ - **In step with your server:** where you stop and what you finish go back to it, and a film or
13
+ episode carries on from where any of its apps left it. Its intro and credits markers bring Skip
14
+ Intro and Skip Credits.
15
+ - **Chapters and seek pictures** for your server's files: their named chapters, as YouTube videos
16
+ have, and pictures above the marker as ◀ ▶ move it, where the server made them.
17
+
18
+ ## 2.2.9 — 2026-11-05
19
+ - **A Modern look** (Settings › Appearance › *Look*): the focused title's backdrop behind Home and
20
+ its page, large logos, rounder posters, a centered menu, with any background. *Effects*: blur and
21
+ motion where the TV handles them (Auto: Tizen 6 and later), Light, or Full. Classic stays as it
22
+ was.
23
+ - **ClearKey channels with a key server** whose stream names only Widevine or PlayReady now ask
24
+ that server (they stopped with Shaka's error 6012) (#11).
25
+ - **HLS through StremioK's service** (Settings › Playback › Seeking & buffering), for hosts that want
26
+ a Referer, User-Agent or Cookie on every piece, which the TV's player can't always send: for the
27
+ sources that need it, or all HLS. Hold OK on a source › *Play through StremioK's service* for just
28
+ that one (#13).
29
+ - **Anime and "other" catalogs:** their shows open on their seasons and episodes from Discover and
30
+ Search too, not on sources, and a debrid download on its files (#13).
31
+ - **Episode pictures:** one that doesn't load (Cinemeta's for long shows past their first seasons)
32
+ gives way to TMDB's, with a TMDB key (#13).
33
+ - **Stalker films and series** (Settings › Content › IPTV): what's read of a portal is kept 10
34
+ minutes, 5, or not at all.
35
+ - **YouTube backdrops** in 1280×720 where the video has them.
36
+ - **Fixed:** a row's title cut off scrolling back up at high zooms; Discover's bar too wide at 140%;
37
+ LEFT / RIGHT on a single line of Discover titles; the Guide unreadable on Light Gray and White.
38
+
6
39
  ## 2.2.8 — 2026-11-04
7
40
  - **DRM channels** (a playlist's `#KODIPROP` lines): Widevine and PlayReady play in the TV's player
8
41
  with the license server the playlist names; ClearKey with its keys or key server, through Shaka
package/README.md CHANGED
@@ -36,6 +36,7 @@ video through Samsung's AVPlay API.
36
36
  - **YouTube:** live channels, trailers, and your own YouTube channels, playlists and searches,
37
37
  with SponsorBlock, DeArrow, chapters and captions.
38
38
  - **Local:** the videos on a USB drive, matched to their titles.
39
+ - **Jellyfin, Emby and Plex:** your server's libraries on Home, its files as sources.
39
40
  - **Torrents**, through Stremio's streaming server or a TorrServer you run on your network.
40
41
  - **Made for the remote:** D-pad navigation throughout; ▶ Play on a movie, episode or channel plays
41
42
  its top source at once; hold OK where an item has more to
package/config.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"
3
- id="http://stremiok.tizen/StremioKTizen" version="2.2.8" viewmodes="maximized">
3
+ id="http://stremiok.tizen/StremioKTizen" version="2.3.0" viewmodes="maximized">
4
4
  <tizen:application id="StremioK01.StremioK" package="StremioK01" required_version="3.0"/>
5
5
  <content src="index.html"/>
6
6
  <feature name="http://tizen.org/feature/screen.size.all"/>
package/css/modern.css ADDED
@@ -0,0 +1,146 @@
1
+ /* StremioK — the Modern look (Settings › Appearance › Look). Every rule here is under
2
+ body.look-modern, so Classic stays exactly as style.css draws it. body.fx-full adds the
3
+ effects a newer TV handles (blur behind the menu, fades, cards easing into focus, a soft
4
+ shadow); without it (Effects: Light, and Auto on Tizen 3 to 5.5) the same look, drawn
5
+ without them: a large blur repainted on every move is what slows an older TV down.
6
+ Chromium 47 (Tizen 3): no CSS variables, no backdrop-filter; gradients, flexbox and
7
+ transforms are fine. */
8
+
9
+ body.look-modern { background: #0e1117; font-family: 'SK Roboto', Arial, "Tizen Sans", sans-serif; }
10
+ body.look-modern #screen-home { background: #0e1117; }
11
+
12
+ /* --- Home: the focused title's backdrop, behind everything (view-home.js homeBackdrop) --- */
13
+ .home-bg { display: none; }
14
+ body.look-modern .home-bg { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; background: #0e1117; }
15
+ body.look-modern .home-bg .hb { position: absolute; top: 0; right: 0; width: 80%; height: 86%; background-size: cover; background-position: center top; opacity: 0; }
16
+ body.look-modern .home-bg .hb.on { opacity: 1; }
17
+ body.look-modern.fx-full .home-bg .hb { -webkit-transition: opacity 0.45s ease; transition: opacity 0.45s ease; }
18
+ /* dark on the left, under the text, and at the bottom, under the rows */
19
+ body.look-modern .home-bg .hb-shade { position: absolute; top: 0; left: 0; right: 0; bottom: 0;
20
+ background: linear-gradient(90deg, #0e1117 20%, rgba(14,17,23,0.78) 32%, rgba(14,17,23,0.3) 52%, rgba(14,17,23,0) 72%),
21
+ linear-gradient(0deg, #0e1117 30%, rgba(14,17,23,0.82) 44%, rgba(14,17,23,0) 66%),
22
+ linear-gradient(180deg, rgba(14,17,23,0.55) 0%, rgba(14,17,23,0) 16%); }
23
+
24
+ /* --- The top menu: light text on the picture, the current item a soft pill, focus white --- */
25
+ body.look-modern .header { position: relative; z-index: 3; height: 104px; padding: 30px 90px 0 90px; }
26
+ body.look-modern .home-header .tabbar-inline { background: rgba(22,27,38,0.78); border-radius: 36px; padding: 5px; }
27
+ body.look-modern.fx-full .home-header .tabbar-inline { background: rgba(42,51,70,0.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
28
+ body.look-modern .tab-pill, body.look-modern .header .hchip { background: transparent; color: rgba(255,255,255,0.74); font-size: 23px; padding: 9px 22px; margin-right: 2px; border: 3px solid transparent; border-radius: 30px; }
29
+ body.look-modern .menu-scroll > .hchip { background: rgba(22,27,38,0.78); margin-left: 10px; } /* (Settings, after the bar) */
30
+ body.look-modern.fx-full .menu-scroll > .hchip { background: rgba(42,51,70,0.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
31
+ body.look-modern .tab-ic { display: none; }
32
+ body.look-modern .tab-pill.active, body.look-modern .home-header .hchip.active { background: rgba(255,255,255,0.16); color: #ffffff; }
33
+ body.look-modern .tab-pill.focusable.focused, body.look-modern .header .hchip.focusable.focused { background: #fff; color: #000; border-color: #ffffff; box-shadow: none; }
34
+ body.look-modern .brand { font-size: 34px; color: #ffffff; letter-spacing: 0.5px; }
35
+ /* the menu centered on the screen: its items centered in their strip (auto margins, which give
36
+ way to sideways scrolling when they don't all fit), and a space on the left as wide as the
37
+ StremioK name and its gap on the right, the first to give way when the menu fills the line */
38
+ body.look-modern .home-header::before { content: ''; display: block; -webkit-flex: 0 1000 170px; flex: 0 1000 170px; min-width: 0; }
39
+ body.look-modern .home-header .menu-scroll > :first-child { margin-left: auto; }
40
+ body.look-modern .home-header .menu-scroll > :last-child { margin-right: auto; }
41
+ body.look-modern .brand .dot { color: #818cf8; }
42
+
43
+ /* --- Home: the focused title, large, over its backdrop (.hero: the title tabs) ---
44
+ Anchored to the rows: the synopsis just above them, a taller logo growing upward. Its room
45
+ is set for each zoom (U.setZoom's zoom-110 … zoom-140 on the page, which is laid out
46
+ 1080 / zoom tall): one row of posters always fits below it. */
47
+ body.look-modern .home-info.hero, body.look-modern .home-info.hero.on { top: 120px; left: 90px; right: auto; width: 940px; height: 446px; padding: 0;
48
+ border: 0; border-radius: 0; background: none; z-index: 2;
49
+ display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-justify-content: flex-end; justify-content: flex-end; }
50
+ body.look-modern .home-info.hero .home-info-title { height: auto; line-height: 1.1; font-size: 66px; font-weight: bold; letter-spacing: -1px; white-space: normal; max-height: 150px; -webkit-flex: none; flex: none; }
51
+ body.look-modern .home-info.hero .home-info-logo { display: block; max-height: 150px; max-width: 620px; }
52
+ body.look-modern .home-info.hero .home-info-meta { font-size: 25px; line-height: 32px; color: rgba(255,255,255,0.86); margin: 22px 0 12px 0; -webkit-flex: none; flex: none; }
53
+ body.look-modern .home-info.hero .home-info-desc { font-size: 25px; line-height: 36px; color: rgba(255,255,255,0.8); max-height: 144px; max-width: 900px; -webkit-flex: none; flex: none; }
54
+ body.look-modern .home-info.hero + .rows { top: 586px; }
55
+ body.look-modern.zoom-110 .home-info.hero { top: 112px; height: 398px; }
56
+ body.look-modern.zoom-110 .home-info.hero + .rows { top: 530px; }
57
+ body.look-modern.zoom-110 .home-info.hero .home-info-logo { max-height: 130px; }
58
+ body.look-modern.zoom-110 .home-info.hero .home-info-desc { max-height: 108px; }
59
+ body.look-modern.zoom-120 .home-info.hero { top: 106px; height: 346px; }
60
+ body.look-modern.zoom-120 .home-info.hero + .rows { top: 476px; }
61
+ body.look-modern.zoom-120 .home-info.hero .home-info-logo { max-height: 112px; }
62
+ body.look-modern.zoom-120 .home-info.hero .home-info-desc { max-height: 108px; }
63
+ body.look-modern.zoom-130 .home-info.hero { top: 100px; height: 296px; }
64
+ body.look-modern.zoom-130 .home-info.hero + .rows { top: 418px; }
65
+ body.look-modern.zoom-130 .home-info.hero .home-info-logo { max-height: 96px; }
66
+ body.look-modern.zoom-130 .home-info.hero .home-info-desc { max-height: 72px; }
67
+ body.look-modern.zoom-140 .home-info.hero { top: 94px; height: 248px; }
68
+ body.look-modern.zoom-140 .home-info.hero + .rows { top: 356px; }
69
+ body.look-modern.zoom-140 .home-info.hero .home-info-logo { max-height: 80px; }
70
+ body.look-modern.zoom-140 .home-info.hero .home-info-title { font-size: 48px; }
71
+ body.look-modern.zoom-140 .home-info.hero .home-info-meta { margin: 12px 0 8px 0; }
72
+ body.look-modern.zoom-140 .home-info.hero .home-info-desc { max-height: 72px; }
73
+ body.look-modern .rows { z-index: 2; }
74
+
75
+ /* the details strip elsewhere (the live tabs, Local, Discover): as in Classic, in its place,
76
+ with the Modern colors */
77
+ body.look-modern .home-info:not(.hero) { left: 72px; right: 72px; border-left: 0; border-radius: 16px; }
78
+ body.look-modern .home-info.on:not(.hero) { background: rgba(255,255,255,0.07); }
79
+ body.look-modern .home-info:not(.hero) .home-info-meta { color: rgba(255,255,255,0.78); }
80
+ body.look-modern .home-info:not(.hero) .home-info-desc { color: rgba(255,255,255,0.8); }
81
+
82
+ /* --- Rows and posters: rounder, no frame, focus a white ring --- */
83
+ body.look-modern .row-title { font-size: 28px; color: #ffffff; }
84
+ body.look-modern #screen-home .row-title { margin: 0 0 4px 90px; } /* (Home: in line with the title above; Search, Discover: their own margins) */
85
+ body.look-modern #screen-home .row-scroller { padding: 26px 90px; }
86
+ body.look-modern .card { border: 0; border-radius: 16px; background: rgba(255,255,255,0.07); margin-right: 26px; }
87
+ body.look-modern .card .cap { padding: 20px 12px 8px 12px; font-size: 18px; line-height: 22px; max-height: 72px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.9)); } /* (two lines fit, a landscape poster's too) */
88
+ body.look-modern .card.focusable.focused { border: 0; box-shadow: 0 0 0 4px #fff; -webkit-transform: scale(1.06); transform: scale(1.06); }
89
+ body.look-modern .card.focusable.moving { border: 0; box-shadow: 0 0 0 4px #f59e0b; }
90
+ body.look-modern.fx-full .card { -webkit-transition: -webkit-transform 0.16s ease-out, box-shadow 0.16s ease-out; transition: transform 0.16s ease-out, box-shadow 0.16s ease-out; }
91
+ body.look-modern.fx-full .card.focusable.focused { box-shadow: 0 0 0 4px #fff, 0 18px 44px rgba(0,0,0,0.7); }
92
+ body.look-modern .card .prog { height: 6px; border-radius: 0 3px 3px 0; }
93
+ body.look-modern #screen-home .row-empty { margin-left: 90px; }
94
+
95
+ /* --- A light background (Light Gray, White: body.bg-light): the see-through white fills
96
+ see-through dark instead; the rest follows the background through U.applyTheme --- */
97
+ body.look-modern.bg-light .tab-pill.active, body.look-modern.bg-light .home-header .hchip.active { background: rgba(0,0,0,0.1); }
98
+ body.look-modern.bg-light .btn-row .pill, body.look-modern.bg-light .season-bar .pill { background: rgba(0,0,0,0.08); }
99
+ body.look-modern.bg-light .btn-row .pill:first-child { background: rgba(0,0,0,0.82); color: #f5f5f5; } /* (not #ffffff: that one turns dark on a light background) */
100
+ body.look-modern.bg-light .btn-row .pill.focusable.focused, body.look-modern.bg-light .tab-pill.focusable.focused, body.look-modern.bg-light .header .hchip.focusable.focused,
101
+ body.look-modern.bg-light .season-bar .pill.focusable.focused, body.look-modern.bg-light .stream.focusable.focused, body.look-modern.bg-light .ep.focusable.focused { background: #111111; color: #f5f5f5; border-color: #111111; }
102
+ body.look-modern.bg-light .card { background: rgba(0,0,0,0.06); }
103
+ body.look-modern.bg-light .card.focusable.focused { box-shadow: 0 0 0 4px #111111; }
104
+ body.look-modern.bg-light .home-info.on:not(.hero) { background: rgba(0,0,0,0.05); }
105
+
106
+ /* --- A title's page: its backdrop over the whole screen, a large logo, round buttons --- */
107
+ body.look-modern #screen-detail { background: #0e1117; }
108
+ body.look-modern .detail-hero, body.look-modern .detail-hero.hero-full { height: 100%; }
109
+ body.look-modern .detail-hero .shade, body.look-modern .detail-hero.hero-full .shade {
110
+ background: linear-gradient(90deg, #0e1117 6%, rgba(14,17,23,0.84) 30%, rgba(14,17,23,0.3) 60%, rgba(14,17,23,0) 82%),
111
+ linear-gradient(0deg, #0e1117 0%, rgba(14,17,23,0.6) 26%, rgba(14,17,23,0) 56%),
112
+ linear-gradient(180deg, rgba(14,17,23,0.5) 0%, rgba(14,17,23,0) 16%); }
113
+ body.look-modern .detail-body { left: 90px; right: 90px; top: 150px; }
114
+ body.look-modern .detail-title { font-size: 62px; letter-spacing: -1px; }
115
+ body.look-modern .detail-title.has-logo { height: 130px; }
116
+ body.look-modern .detail-logo { max-height: 130px; max-width: 640px; }
117
+ body.look-modern .series-body .detail-title.has-logo { height: 84px; }
118
+ body.look-modern .series-body .detail-logo { max-height: 84px; }
119
+ body.look-modern.zoom-120 .detail-title.has-logo, body.look-modern.zoom-130 .detail-title.has-logo, body.look-modern.zoom-140 .detail-title.has-logo { height: 84px; }
120
+ body.look-modern.zoom-120 .detail-logo, body.look-modern.zoom-130 .detail-logo, body.look-modern.zoom-140 .detail-logo { max-height: 84px; }
121
+ body.look-modern.zoom-130 .series-body .detail-title.has-logo, body.look-modern.zoom-140 .series-body .detail-title.has-logo { height: 64px; }
122
+ body.look-modern.zoom-130 .series-body .detail-logo, body.look-modern.zoom-140 .series-body .detail-logo { max-height: 64px; }
123
+ body.look-modern .detail-meta { color: rgba(255,255,255,0.86); font-size: 23px; }
124
+ body.look-modern .detail-desc { color: rgba(255,255,255,0.82); font-size: 23px; line-height: 32px; max-width: 980px; } /* (whole lines in its capped height) */
125
+ /* A series: its text block right under the menu, as in Classic (the episode panel starts where
126
+ it ends, view-detail.js fitPanel, and no lower than 512px); under a high zoom a shorter
127
+ synopsis, so two episodes show below it */
128
+ body.look-modern .series-body { top: 112px; }
129
+ body.look-modern.zoom-130 .series-body { max-height: 340px; }
130
+ body.look-modern.zoom-130 .series-body .detail-desc { max-height: 96px; }
131
+ body.look-modern.zoom-140 .series-body { max-height: 292px; }
132
+ body.look-modern.zoom-140 .series-body .detail-desc { max-height: 64px; }
133
+ body.look-modern.zoom-140 .series-body .detail-ratings { margin-bottom: 8px; }
134
+ body.look-modern.zoom-140 .series-body .detail-meta { margin-bottom: 8px; }
135
+ body.look-modern.zoom-120 .series-body .detail-title.has-logo { height: 64px; }
136
+ body.look-modern.zoom-120 .series-body .detail-logo { max-height: 64px; }
137
+ body.look-modern.zoom-140 .series-body .detail-title.has-logo { height: 56px; }
138
+ body.look-modern.zoom-140 .series-body .detail-logo { max-height: 56px; }
139
+ body.look-modern .btn-row .pill { background: rgba(255,255,255,0.16); color: #ffffff; border: 3px solid transparent; border-radius: 40px; padding: 14px 32px; font-size: 23px; }
140
+ body.look-modern .btn-row .pill:first-child { background: rgba(255,255,255,0.9); color: #000; }
141
+ body.look-modern .btn-row .pill.focusable.focused { background: #fff; color: #000; border-color: #ffffff; box-shadow: 0 0 0 4px rgba(255,255,255,0.35); }
142
+ body.look-modern.fx-full .btn-row .pill { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
143
+ body.look-modern .season-bar .pill { background: rgba(255,255,255,0.12); color: #ffffff; border-radius: 30px; }
144
+ body.look-modern .season-bar .pill.focusable.focused { background: #fff; color: #000; }
145
+ body.look-modern .stream.focusable.focused, body.look-modern .ep.focusable.focused { background: #fff; color: #000; border-color: #ffffff; box-shadow: none; }
146
+ body.look-modern .stream, body.look-modern .ep { border-radius: 14px; background: rgba(22,27,38,0.72); }
package/css/style.css CHANGED
@@ -107,7 +107,11 @@ html, body {
107
107
  .detail-title { font-size: 54px; font-weight: bold; margin-bottom: 14px; }
108
108
  .detail-meta { font-size: 22px; color: #a7adba; margin-bottom: 18px; max-width: 1200px; }
109
109
  .detail-desc { font-size: 22px; line-height: 1.45; color: #cfd3dc; max-height: 200px; overflow: hidden; margin-bottom: 26px; max-width: 1000px; }
110
- .btn-row { margin-top: 10px; white-space: nowrap; }
110
+ /* A row of buttons scrolls sideways when they don't all fit (Focus keeps the focused one in view,
111
+ as it does the season strip); the padding keeps a focus ring inside what it clips, and the
112
+ margins take it back, so nothing moves (above: the synopsis's 26px, which the old 10px margin
113
+ merged into) */
114
+ .btn-row { margin: -6px -6px -6px -6px; padding: 6px; white-space: nowrap; overflow: hidden; }
111
115
  .pill { display: inline-block; padding: 14px 30px; margin-right: 16px; border-radius: 30px; background: #1a1f2b; font-size: 22px; border: 4px solid transparent; }
112
116
  /* selected season: gray with light text; focus must still win (higher specificity below) */
113
117
  .season-bar .pill.season-sel { background: #2a3346; color: #c7cbd4; }
@@ -146,7 +150,7 @@ html, body {
146
150
  .series-body { top: 110px; max-height: 388px; overflow: hidden; }
147
151
  .series-body .detail-desc { max-height: 128px; margin-bottom: 0; } /* 4 lines */
148
152
  /* Resume / Play (padding keeps the focus ring inside the clipped text block) */
149
- .series-body .series-actions, .series-body .streams-actions { margin-top: 12px; padding: 4px; }
153
+ .series-body .series-actions, .series-body .streams-actions { margin: 12px -4px 0 -4px; padding: 4px; }
150
154
  .series-panel { top: 456px; bottom: 30px; }
151
155
  /* A source list (a movie, an episode, a channel): no season row, so the list starts
152
156
  where a series has its seasons, under the same compact text block. */
@@ -204,6 +208,10 @@ html, body {
204
208
  #osd-scrub-time { position: absolute; bottom: 34px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); white-space: nowrap; font-size: 26px; font-weight: bold; color: #fff; background: rgba(20,25,36,0.96); border: 2px solid #6366f1; padding: 6px 14px; border-radius: 8px; }
205
209
  #osd-scrub.edge-l #osd-scrub-time { left: 0; -webkit-transform: none; transform: none; }
206
210
  #osd-scrub.edge-r #osd-scrub-time { left: auto; right: 0; -webkit-transform: none; transform: none; }
211
+ /* a Jellyfin file's seek picture, above the time (its tile moved behind it: player-controls) */
212
+ #osd-scrub-pic { position: absolute; bottom: 92px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); width: 320px; height: 180px; background-color: #000; background-repeat: no-repeat; border: 2px solid #6366f1; border-radius: 8px; }
213
+ #osd-scrub.edge-l #osd-scrub-pic { left: 0; -webkit-transform: none; transform: none; }
214
+ #osd-scrub.edge-r #osd-scrub-pic { left: auto; right: 0; -webkit-transform: none; transform: none; }
207
215
  #osd-times { display: flex; justify-content: space-between; margin-top: 10px; font-size: 20px; color: #cfd3dc; }
208
216
  #osd-times .osd-right { display: flex; align-items: center; }
209
217
  #osd-tags { font-size: 17px; color: #9aa2b1; margin-right: 18px; letter-spacing: 0.3px; } /* (what's playing, in short) */
@@ -476,9 +484,13 @@ html, body {
476
484
  .format-row.focusable.focused .a-name { color: inherit; }
477
485
 
478
486
  /* --- Discover --- */
479
- .discover-bar { position: absolute; top: 112px; left: 60px; right: 60px; white-space: nowrap; }
480
- .discover-bar .pill { margin-right: 12px; }
481
- .discover-search { width: 300px; margin-right: 12px; padding: 12px 22px; font-size: 22px; vertical-align: middle; background: #1a1f2b; color: #e6e9ef; border: 4px solid transparent; border-radius: 30px; }
487
+ /* one line that fits under any zoom: the search field gives way first (down to 130px), then the
488
+ catalog's name and the count (cut short …); the other pickers and Clear keep their size */
489
+ .discover-bar { position: absolute; top: 112px; left: 60px; right: 60px; white-space: nowrap; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
490
+ .discover-bar .pill { margin-right: 12px; -webkit-flex: none; flex: none; }
491
+ .discover-bar .pill.discover-cat { -webkit-flex: 0 1 auto; flex: 0 1 auto; min-width: 180px; overflow: hidden; text-overflow: ellipsis; }
492
+ .discover-count { -webkit-flex: 0 2 auto; flex: 0 2 auto; min-width: 150px; overflow: hidden; text-overflow: ellipsis; }
493
+ .discover-search { -webkit-flex: 0 1 300px; flex: 0 4 300px; min-width: 130px; width: 300px; margin-right: 12px; padding: 12px 22px; font-size: 22px; vertical-align: middle; background: #1a1f2b; color: #e6e9ef; border: 4px solid transparent; border-radius: 30px; }
482
494
  .discover-search.focused { border-color: #818cf8; }
483
495
  .discover-count { display: inline-block; margin-left: 14px; font-size: 20px; color: #8b93a5; vertical-align: middle; }
484
496
  #screen-discover .home-info { top: 196px; height: 124px; }
package/index.html CHANGED
@@ -4,7 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=1920, height=1080, user-scalable=no">
6
6
  <title>StremioK</title>
7
- <link rel="stylesheet" href="css/style.css?v=2.2.8">
7
+ <link rel="stylesheet" href="css/style.css?v=2.3.0">
8
+ <link rel="stylesheet" href="css/modern.css?v=2.3.0">
8
9
  </head>
9
10
  <body>
10
11
  <!-- CSS-applied sentinel (kept off-screen); app.js waits for its width before rendering -->
@@ -30,7 +31,7 @@
30
31
  <div id="player-osd" class="hidden">
31
32
  <div id="osd-title"></div>
32
33
  <div id="osd-chapter" class="hidden"></div>
33
- <div id="osd-bar"><div id="osd-progress"></div><div id="osd-sponsor"></div><div id="osd-chapters"></div><div id="osd-buffer"></div><div id="osd-scrub-range" class="hidden"></div><div id="osd-scrub" class="hidden"><div id="osd-scrub-time"></div></div></div>
34
+ <div id="osd-bar"><div id="osd-progress"></div><div id="osd-sponsor"></div><div id="osd-chapters"></div><div id="osd-buffer"></div><div id="osd-scrub-range" class="hidden"></div><div id="osd-scrub" class="hidden"><div id="osd-scrub-pic" class="hidden"></div><div id="osd-scrub-time"></div></div></div>
34
35
  <div id="osd-times"><span id="osd-cur">00:00</span><span class="osd-right"><span id="osd-tags"></span><span id="osd-dur">00:00</span></span></div>
35
36
  <div id="osd-clock"></div>
36
37
  <div id="osd-hint">OK: Play/Pause &nbsp; &larr;/&rarr;: Seek &nbsp; RETURN: Back</div>
@@ -53,39 +54,41 @@
53
54
 
54
55
  <!-- Load order matters: polyfills -> util -> iptv -> data -> input -> tvapps -> player parts -> player -> ytplay -> view parts -> views -> app -->
55
56
  <!-- ?v= busts the TV webview cache on every release (keep in sync with package.json) -->
56
- <script src="js/polyfills.js?v=2.2.8"></script>
57
- <script src="js/util.js?v=2.2.8"></script>
58
- <script src="js/iptv.js?v=2.2.8"></script>
59
- <script src="js/xtvod.js?v=2.2.8"></script>
60
- <script src="js/stvod.js?v=2.2.8"></script>
61
- <script src="js/epg.js?v=2.2.8"></script>
62
- <script src="js/youtube.js?v=2.2.8"></script>
63
- <script src="js/stremio.js?v=2.2.8"></script>
64
- <script src="js/trakt.js?v=2.2.8"></script>
65
- <script src="js/keys.js?v=2.2.8"></script>
66
- <script src="js/focus.js?v=2.2.8"></script>
67
- <script src="js/tvapps.js?v=2.2.8"></script>
68
- <script src="js/player-core.js?v=2.2.8"></script>
69
- <script src="js/player-store.js?v=2.2.8"></script>
70
- <script src="js/player-lang.js?v=2.2.8"></script>
71
- <script src="js/player-quality.js?v=2.2.8"></script>
72
- <script src="js/player-subs.js?v=2.2.8"></script>
73
- <script src="js/player-audio.js?v=2.2.8"></script>
74
- <script src="js/player-controls.js?v=2.2.8"></script>
75
- <script src="js/player.js?v=2.2.8"></script>
76
- <script src="js/ytplay.js?v=2.2.8"></script>
77
- <script src="js/local.js?v=2.2.8"></script>
78
- <script src="js/downloads.js?v=2.2.8"></script>
79
- <script src="js/stremio-account.js?v=2.2.8"></script>
80
- <script src="js/view-core.js?v=2.2.8"></script>
81
- <script src="js/view-home.js?v=2.2.8"></script>
82
- <script src="js/view-guide.js?v=2.2.8"></script>
83
- <script src="js/view-detail.js?v=2.2.8"></script>
84
- <script src="js/view-search.js?v=2.2.8"></script>
85
- <script src="js/view-settings.js?v=2.2.8"></script>
86
- <script src="js/view-discover.js?v=2.2.8"></script>
87
- <script src="js/views.js?v=2.2.8"></script>
88
- <script src="js/app.js?v=2.2.8"></script>
89
- <script src="js/hubpreview.js?v=2.2.8"></script>
57
+ <script src="js/polyfills.js?v=2.3.0"></script>
58
+ <script src="js/util.js?v=2.3.0"></script>
59
+ <script src="js/iptv.js?v=2.3.0"></script>
60
+ <script src="js/xtvod.js?v=2.3.0"></script>
61
+ <script src="js/stvod.js?v=2.3.0"></script>
62
+ <script src="js/jellyfin.js?v=2.3.0"></script>
63
+ <script src="js/plex.js?v=2.3.0"></script>
64
+ <script src="js/epg.js?v=2.3.0"></script>
65
+ <script src="js/youtube.js?v=2.3.0"></script>
66
+ <script src="js/stremio.js?v=2.3.0"></script>
67
+ <script src="js/trakt.js?v=2.3.0"></script>
68
+ <script src="js/keys.js?v=2.3.0"></script>
69
+ <script src="js/focus.js?v=2.3.0"></script>
70
+ <script src="js/tvapps.js?v=2.3.0"></script>
71
+ <script src="js/player-core.js?v=2.3.0"></script>
72
+ <script src="js/player-store.js?v=2.3.0"></script>
73
+ <script src="js/player-lang.js?v=2.3.0"></script>
74
+ <script src="js/player-quality.js?v=2.3.0"></script>
75
+ <script src="js/player-subs.js?v=2.3.0"></script>
76
+ <script src="js/player-audio.js?v=2.3.0"></script>
77
+ <script src="js/player-controls.js?v=2.3.0"></script>
78
+ <script src="js/player.js?v=2.3.0"></script>
79
+ <script src="js/ytplay.js?v=2.3.0"></script>
80
+ <script src="js/local.js?v=2.3.0"></script>
81
+ <script src="js/downloads.js?v=2.3.0"></script>
82
+ <script src="js/stremio-account.js?v=2.3.0"></script>
83
+ <script src="js/view-core.js?v=2.3.0"></script>
84
+ <script src="js/view-home.js?v=2.3.0"></script>
85
+ <script src="js/view-guide.js?v=2.3.0"></script>
86
+ <script src="js/view-detail.js?v=2.3.0"></script>
87
+ <script src="js/view-search.js?v=2.3.0"></script>
88
+ <script src="js/view-settings.js?v=2.3.0"></script>
89
+ <script src="js/view-discover.js?v=2.3.0"></script>
90
+ <script src="js/views.js?v=2.3.0"></script>
91
+ <script src="js/app.js?v=2.3.0"></script>
92
+ <script src="js/hubpreview.js?v=2.3.0"></script>
90
93
  </body>
91
94
  </html>
package/js/focus.js CHANGED
@@ -55,8 +55,11 @@ var Focus = (function () {
55
55
  else if (nr.right > pr.right - mx) { p.scrollLeft += (nr.right - (pr.right - mx)) / z; }
56
56
  }
57
57
  if (canY) {
58
- var my = 70;
59
- if (nr.top < pr.top + my) { p.scrollTop -= (pr.top + my - nr.top) / z; }
58
+ // going up into a row of posters: its title in view too (a margin in
59
+ // screen pixels is less of the page under a zoom: at 140% it cut the title)
60
+ var my = 70, top = nr.top, mt = my, row = rowAbove(node, p);
61
+ if (row) { var rr = row.getBoundingClientRect(); if (rr.top <= nr.top && rr.bottom >= nr.bottom && nr.top - rr.top < 160 * z) { top = rr.top; mt = 6 * z; } } // (its first line only; a rect that doesn't hold the node: not used)
62
+ if (top < pr.top + mt) { p.scrollTop -= (pr.top + mt - top) / z; }
60
63
  else if (nr.bottom > pr.bottom - my) { p.scrollTop += (nr.bottom - (pr.bottom - my)) / z; }
61
64
  }
62
65
  }
@@ -64,6 +67,14 @@ var Focus = (function () {
64
67
  }
65
68
  }
66
69
 
70
+ // The row of posters (.row: its title above them) the node is in, inside the box p.
71
+ function rowAbove(node, p) {
72
+ for (var n = node.parentNode; n && n !== p; n = n.parentNode) {
73
+ if (n.classList && n.classList.contains('row')) { return n; }
74
+ }
75
+ return null;
76
+ }
77
+
67
78
  function move(dir) {
68
79
  if (!_scope) { return; }
69
80
  var r = _current ? _current.getBoundingClientRect() : null;