Commit ebbc8cb
committed
Fall back to sub per episode, and stop the TV banner rendering undersized
Prefer-dub reported "no server found" on episodes that simply have no dub yet.
The fallback asked whether the *title* had any dubbed episode at all, which is
true for any long-running show with dubbed early episodes — so a recent,
undubbed episode passed the check, every dub server was tried in turn for
something none of them had, and the viewer waited out the whole fallback chain
to be told nothing was available, for an episode that had subs all along. The
check now asks about the episode being opened, matching the prefer-dub upgrade
path directly above it, which was already per-episode.
The Android TV banner shipped twice: a density-independent XML wrapping the
nodpi art, and a 320x180 PNG in drawable-xhdpi. On an xhdpi TV the PNG wins
resource resolution and declares itself 160x90dp inside a 320x180dp slot, so
the launcher drew the logo undersized. Dropping the duplicate lets the XML
(gravity=fill) serve every density.
Note the remaining art limitation: the source is 320x180, so it is still
upscaled on an xhdpi banner slot. A 640x360 or 1280x720 source would make it
sharp; this change only fixes the size it is drawn at.1 parent 5997a10 commit ebbc8cb
2 files changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
318 | 333 | | |
319 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
320 | 338 | | |
321 | 339 | | |
322 | 340 | | |
| |||
Binary file not shown.
0 commit comments