diff --git a/CHANGELOG.md b/CHANGELOG.md index 7112cea..cde7aad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Kaleido releases +## 0.1.1 + +- Use official Rotten Tomatoes Hot and Stale audience badges with proportional scaling beside ratings. +- Replace the spinning startup logo with a six-facet aperture assembly, light trails, and a staggered wordmark reveal. +- Honor Android's animation duration setting and fade into browsing after the opening sequence completes. + ## 0.1.0 Initial independent Android TV Plex client with native Compose browsing, encrypted sessions, Plex account linking and server discovery, library filters and sorting, search, details and episode navigation, Media3 playback with conversion fallback, track selection, progress syncing, skip markers, and signed APK updates from the Kaleido repository. diff --git a/app/src/main/java/tv/kaleido/app/AudienceRatings.kt b/app/src/main/java/tv/kaleido/app/AudienceRatings.kt index 463d7e7..448b819 100644 --- a/app/src/main/java/tv/kaleido/app/AudienceRatings.kt +++ b/app/src/main/java/tv/kaleido/app/AudienceRatings.kt @@ -7,19 +7,22 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.res.painterResource +import androidx.compose.ui.layout.ContentScale +import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.semantics.clearAndSetSemantics import androidx.compose.ui.semantics.contentDescription import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp -/** Local vector badges; ratings and their provider identities always come from Plex. */ +/** Official provider artwork, bundled as vectors. Scores always come from Plex. */ @Composable internal fun AudienceRatings(item:Title,modifier:Modifier=Modifier) { val scores=item.audienceScores + val badgeSize=20.dp*LocalDensity.current.fontScale if(scores.isNotEmpty())Row(modifier.clearAndSetSemantics{contentDescription=item.rating}, verticalAlignment=Alignment.CenterVertically,horizontalArrangement=Arrangement.spacedBy(12.dp)) { scores.forEach{score->Row(verticalAlignment=Alignment.CenterVertically,horizontalArrangement=Arrangement.spacedBy(4.dp)) { when(score.source) { - "Rotten Tomatoes"->Image(painterResource(if(score.value>=6)R.drawable.audience_popcorn else R.drawable.audience_popcorn_spilled),null,Modifier.size(18.dp)) + "Rotten Tomatoes"->Image(painterResource(if(score.value>=6)R.drawable.rating_rt_hot else R.drawable.rating_rt_stale),null,Modifier.size(badgeSize),contentScale=ContentScale.Fit) "IMDb"->Image(painterResource(R.drawable.rating_imdb),null,Modifier.width(44.dp).height(24.dp)) else->Text("TVDB",color=Cinema.secondary,fontSize=9.sp) } diff --git a/app/src/main/java/tv/kaleido/app/Branding.kt b/app/src/main/java/tv/kaleido/app/Branding.kt index 1d4bf95..59287c7 100644 --- a/app/src/main/java/tv/kaleido/app/Branding.kt +++ b/app/src/main/java/tv/kaleido/app/Branding.kt @@ -1,8 +1,5 @@ package tv.kaleido.app -import androidx.compose.animation.core.Animatable -import androidx.compose.animation.core.FastOutSlowInEasing -import androidx.compose.animation.core.tween import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* @@ -15,7 +12,6 @@ import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color -import androidx.compose.ui.graphics.graphicsLayer import androidx.compose.ui.res.painterResource import androidx.compose.ui.semantics.contentDescription import androidx.compose.ui.semantics.semantics @@ -39,18 +35,3 @@ import androidx.compose.ui.unit.sp else Text(item.remainingEpisodes.toString(),color=Color.White,fontSize=10.sp,lineHeight=14.sp,fontWeight=FontWeight.SemiBold) } } - -@Composable fun StartupSplash(alpha:Float) { - val reveal=remember{Animatable(0f)} - LaunchedEffect(Unit){reveal.animateTo(1f,tween(1100,easing=FastOutSlowInEasing))} - Box(Modifier.fillMaxSize().graphicsLayer{this.alpha=alpha}.background(Ink),contentAlignment=Alignment.Center) { - Column(horizontalAlignment=Alignment.CenterHorizontally,modifier=Modifier.graphicsLayer{ - val progress=reveal.value - this.alpha=progress.coerceAtMost(1f) - scaleX=.78f+.22f*progress;scaleY=scaleX - }) { - KaleidoMark(Modifier.size(102.dp).graphicsLayer{rotationZ=-30f*(1f-reveal.value)}) - Text("KALEIDO",color=Accent,fontSize=24.sp,fontWeight=FontWeight.Medium,letterSpacing=6.sp,modifier=Modifier.padding(top=22.dp)) - } - } -} diff --git a/app/src/main/java/tv/kaleido/app/Screens.kt b/app/src/main/java/tv/kaleido/app/Screens.kt index ccca696..00f3c05 100644 --- a/app/src/main/java/tv/kaleido/app/Screens.kt +++ b/app/src/main/java/tv/kaleido/app/Screens.kt @@ -63,12 +63,12 @@ import java.io.File } // A restored Activity after process eviction still needs the cold-start cover. var startup by remember{mutableStateOf(true)} + var brandReady by remember{mutableStateOf(false)} val splash=remember{Animatable(1f)} - LaunchedEffect(Unit){ - if(startup){ - delay(1600) + LaunchedEffect(brandReady){ + if(startup&&brandReady){ withTimeoutOrNull(600){snapshotFlow{!vm.busy}.first{it}} - splash.animateTo(0f,tween(240));startup=false + splash.animateTo(0f,tween(360));startup=false } } BackHandler(enabled=vm.linkingAccount||vm.playing!=null||vm.pages.size>1||vm.page.kind!="home"){ @@ -96,7 +96,7 @@ import java.io.File if(vm.busy) LinearProgressIndicator(Modifier.fillMaxWidth().height(2.dp).align(Alignment.TopCenter),color=Accent,trackColor=Color.Transparent) if(vm.error!=null) ErrorDialog(vm.error!!,{vm.dismissError()},{vm.retry()}) vm.playing?.let {item-> androidx.compose.runtime.key(item.id) {PlaybackScreen(vm,item)} } - if(startup)StartupSplash(splash.value) + if(startup)StartupSplash(splash.value){brandReady=true} } } } diff --git a/app/src/main/java/tv/kaleido/app/StartupSplash.kt b/app/src/main/java/tv/kaleido/app/StartupSplash.kt new file mode 100644 index 0000000..3fb169c --- /dev/null +++ b/app/src/main/java/tv/kaleido/app/StartupSplash.kt @@ -0,0 +1,97 @@ +package tv.kaleido.app + +import androidx.compose.animation.core.Animatable +import androidx.compose.animation.core.FastOutSlowInEasing +import androidx.compose.animation.core.LinearEasing +import androidx.compose.animation.core.tween +import androidx.compose.foundation.Canvas +import androidx.compose.foundation.background +import androidx.compose.foundation.layout.* +import androidx.compose.material3.Text +import androidx.compose.runtime.* +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.geometry.Offset +import androidx.compose.ui.graphics.Brush +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.Path +import androidx.compose.ui.graphics.drawscope.withTransform +import androidx.compose.ui.graphics.graphicsLayer +import androidx.compose.ui.graphics.vector.PathParser +import androidx.compose.ui.semantics.clearAndSetSemantics +import androidx.compose.ui.semantics.contentDescription +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.dp +import androidx.compose.ui.unit.sp +import kotlin.math.sin + +private data class ApertureFacet(val path:Path,val color:Color,val center:Offset) + +// Exact geometry and colors from brand_mark.xml. The six pieces move independently +// into the existing aperture; the completed mark is never rotated or redesigned. +private val apertureFacets=listOf( + Triple("M33,4 L55.5,17 L42.5,24.5 L33,19 Z",0xFFC3E8D3,Offset(43f,14f)), + Triple("M56.5,19 L56.5,45 L43.5,37.5 L43.5,26.5 Z",0xFF71B9B0,Offset(50f,32f)), + Triple("M55.5,47 L33,60 L33,45 L42.5,39.5 Z",0xFF3D7C7B,Offset(43f,50f)), + Triple("M31,60 L8.5,47 L21.5,39.5 L31,45 Z",0xFFD0A977,Offset(21f,50f)), + Triple("M7.5,45 L7.5,19 L20.5,26.5 L20.5,37.5 Z",0xFFE9D8AE,Offset(14f,32f)), + Triple("M8.5,17 L31,4 L31,19 L21.5,24.5 Z",0xFFEEF2DD,Offset(21f,14f)) +).map{(path,color,center)->ApertureFacet(PathParser().parsePathString(path).toPath(),Color(color),center)} + +private fun phase(time:Float,start:Float,end:Float)=((time-start)/(end-start)).coerceIn(0f,1f) + +/** One finite brand sequence, followed by a settled mark while startup data loads. */ +@Composable fun StartupSplash(alpha:Float,onComplete:()->Unit) { + val timeline=remember{Animatable(0f)} + val complete by rememberUpdatedState(onComplete) + LaunchedEffect(Unit){ + // Animatable honors Android's animation duration scale, including animations off. + timeline.animateTo(1f,tween(2600,easing=LinearEasing)) + complete() + } + Box(Modifier.fillMaxSize().graphicsLayer{this.alpha=alpha}.background(Ink) + .clearAndSetSemantics{contentDescription="Kaleido starting"},contentAlignment=Alignment.Center) { + Canvas(Modifier.fillMaxSize()) { + val time=timeline.value + val origin=Offset(size.width/2,size.height/2-32.dp.toPx()) + val unit=112.dp.toPx()/64f + val glow=sin(phase(time,0f,.88f)*Math.PI).toFloat().coerceAtLeast(0f) + drawCircle(Brush.radialGradient(listOf(Color(0xFF71B9B0).copy(alpha=.16f*glow),Color.Transparent), + center=origin,radius=230.dp.toPx()),radius=230.dp.toPx(),center=origin) + apertureFacets.forEachIndexed { index,facet -> + val start=.06f+index*.045f + val raw=phase(time,start,start+.34f) + val arrival=FastOutSlowInEasing.transform(raw) + val direction=(facet.center-Offset(32f,32f))/18f + val distance=190f*(1f-arrival) + // A tapered light trail leads each sea-glass/ivory facet inward. + if(raw>0f&&raw<1f) { + val head=origin+direction*((distance+23f)*unit) + val tail=head+direction*((20f+80f*(1f-arrival))*unit) + drawLine(Brush.linearGradient(listOf(facet.color.copy(alpha=.5f*sin(raw*Math.PI).toFloat()),Color.Transparent),head,tail), + head,tail,strokeWidth=1.3.dp.toPx()) + } + withTransform({ + translate(origin.x-32f*unit,origin.y-32f*unit) + scale(unit,unit,pivot=Offset.Zero) + translate(direction.x*distance,direction.y*distance) + scale(.72f+.28f*arrival,.72f+.28f*arrival,pivot=facet.center) + }) { + drawPath(facet.path,facet.color,alpha=phase(raw,0f,.42f)) + val glint=sin(phase(time,.64f+index*.018f,.78f+index*.018f)*Math.PI).toFloat().coerceAtLeast(0f) + if(raw==1f)drawPath(facet.path,Color.White,alpha=.22f*glint) + } + } + } + Row(Modifier.offset(y=65.dp),horizontalArrangement=Arrangement.spacedBy(7.dp),verticalAlignment=Alignment.CenterVertically) { + "KALEIDO".forEachIndexed { index,letter -> + Text(letter.toString(),color=Color(0xFFEEF2DD),fontSize=28.sp,fontWeight=FontWeight.Medium, + modifier=Modifier.graphicsLayer { + val reveal=FastOutSlowInEasing.transform(phase(timeline.value,.48f+index*.025f,.66f+index*.025f)) + this.alpha=reveal + translationY=14.dp.toPx()*(1f-reveal) + }) + } + } + } +} diff --git a/app/src/main/res/drawable/audience_popcorn.xml b/app/src/main/res/drawable/audience_popcorn.xml deleted file mode 100644 index a9258da..0000000 --- a/app/src/main/res/drawable/audience_popcorn.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app/src/main/res/drawable/audience_popcorn_spilled.xml b/app/src/main/res/drawable/audience_popcorn_spilled.xml deleted file mode 100644 index 71a7e1f..0000000 --- a/app/src/main/res/drawable/audience_popcorn_spilled.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app/src/main/res/drawable/rating_rt_hot.xml b/app/src/main/res/drawable/rating_rt_hot.xml new file mode 100644 index 0000000..2f5da43 --- /dev/null +++ b/app/src/main/res/drawable/rating_rt_hot.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/rating_rt_stale.xml b/app/src/main/res/drawable/rating_rt_stale.xml new file mode 100644 index 0000000..28efab3 --- /dev/null +++ b/app/src/main/res/drawable/rating_rt_stale.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/distribution/Kaleido.apk b/distribution/Kaleido.apk new file mode 100644 index 0000000..ebf5ea1 Binary files /dev/null and b/distribution/Kaleido.apk differ diff --git a/distribution/Kaleido.apk.sha256 b/distribution/Kaleido.apk.sha256 new file mode 100644 index 0000000..1c079c2 --- /dev/null +++ b/distribution/Kaleido.apk.sha256 @@ -0,0 +1 @@ +6f1d42ee5167dcb3743b7dafbecfed9942e496ee10b8b277ba2a3ba66c6407ba Kaleido.apk diff --git a/distribution/latest.json b/distribution/latest.json new file mode 100644 index 0000000..0e30322 --- /dev/null +++ b/distribution/latest.json @@ -0,0 +1,7 @@ +{ + "version": "0.1.1", + "versionCode": 2, + "url": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.1/distribution/Kaleido.apk", + "checksumUrl": "https://git.elijahkuntz.com/Elijah/Kaleido/raw/tag/v0.1.1/distribution/Kaleido.apk.sha256", + "notes": "0.1.1\n\n- Use official Rotten Tomatoes Hot and Stale audience badges with proportional scaling beside ratings.\n- Replace the spinning startup logo with a six-facet aperture assembly, light trails, and a staggered wordmark reveal.\n- Honor Android's animation duration setting and fade into browsing after the opening sequence completes.\n" +} diff --git a/docs/brand-assets.md b/docs/brand-assets.md new file mode 100644 index 0000000..657475e --- /dev/null +++ b/docs/brand-assets.md @@ -0,0 +1,18 @@ +# Bundled rating artwork + +`rating_rt_hot.xml` and `rating_rt_stale.xml` contain the official Rotten Tomatoes +Popcornmeter positive/negative SVG artwork, losslessly translated to Android vector +paths, groups and clipping. Original proportions, colors and geometry are retained. +They scale with the rating text's font scale in a stable square layout slot. + +Source: Rotten Tomatoes' [licensing page](https://www.rottentomatoes.com/help_desk/licensing), +the `score-icon-audience` component in +`https://www.rottentomatoes.com/assets/pizza-pie/javascripts/bundles/roma/default.37b35da8576.js`, +retrieved 2026-10-24. Artwork and trademarks belong to their respective owners; +bundling these assets does not grant trademark or data licensing rights. + +Hot is used at 60% or higher; Stale below 60%. A high percentage alone does not +establish Verified Hot status, so Kaleido does not manufacture that designation +from Plex's audience number. Provider selection and scores continue to use Plex. + +The IMDb mark is from the [IMDb brand toolkit](https://brand.imdb.com/imdb). diff --git a/docs/design-system.md b/docs/design-system.md index e2b3065..276c066 100644 --- a/docs/design-system.md +++ b/docs/design-system.md @@ -12,8 +12,8 @@ The interface gives artwork priority. App chrome uses neutral near-black, charco - Search uses three columns of landscape results. Episodes use their actual stills, preserving their native proportions instead of cropping them into posters. - Features use original Plex clear-logo artwork within 264 × 80 dp, falling back to title text. Detail title: 34/37 sp. Library title: 29/34 sp. Discovery rail heading: 17/22 sp. Supporting information: 10/14 sp. - Poster and thumbnail corners: 6 dp. Compact action corners: 5 dp. Cards have no idle border; a compact bottom-right check marks watched titles, or a number shows remaining episodes for a show/season when Plex provides counts. Unwatched movies have no badge. Resumed movies/episodes only show a check after the configured playback threshold (80 percent by default), even if Plex retains a historical watched flag. Completed titles with no resume position retain Plex's watched state. Progress uses a two-dp inset line. -- The abstract six-facet aperture mark is shared by the header, sign-in, app icon, TV banner, and a short cold-start splash. It uses muted sea-glass and warm ivory facets around a dark center, with no letterform or sparkle. -- Audience ratings display Rotten Tomatoes as a percentage beside a local popcorn-bucket vector, and IMDb on its native ten-point scale beside the gold IMDb logo. Both appear when Plex exposes both; TVDB is retained as a fallback when neither is available. Critic scores and unsupported providers are omitted. Stable preview focus hydrates detail metadata, where Plex exposes the full provider list. The popcorn bucket tips for audience scores below 60 percent. The IMDb vector uses the official gold primary mark and supplied clear space from the [IMDb brand toolkit](https://brand.imdb.com/imdb). +- The abstract six-facet aperture mark is shared by the header, sign-in, app icon, TV banner, and a cold-start aperture assembly. It uses muted sea-glass and warm ivory facets around a dark center, with no letterform or sparkle. +- Audience ratings display Rotten Tomatoes as a percentage beside its official Popcornmeter artwork, and IMDb on its native ten-point scale beside the gold IMDb logo. Both appear when Plex exposes both; TVDB is retained as a fallback when neither is available. Critic scores and unsupported providers are omitted. Stable preview focus hydrates detail metadata, where Plex exposes the full provider list. The official red Hot mark appears at 60 percent or above and the green Stale mark below 60 percent; each fits a stable, font-scaled square without recoloring or distortion. Verified Hot is not inferred from a percentage. Asset provenance is in [brand-assets.md](brand-assets.md). The IMDb vector uses the official gold primary mark and supplied clear space from the [IMDb brand toolkit](https://brand.imdb.com/imdb). ## Focus and motion @@ -21,7 +21,7 @@ The interface gives artwork priority. App chrome uses neutral near-black, charco - Text actions scale to 1.025 over 160 ms. Navigation uses text, an understated selected underline, and a translucent charcoal focus surface. - Navigation contrast comes from a gradient extending past the controls and fading to transparent. Home/Movies/TV activate on focus. Explicit row and column links prevent beyond-bounds focus searches when holding a remote direction. - A D-pad move predicts the actual row/column destination before starting its scroll or focus change. The target backdrop is fetched and contrast-processed through the same Coil request/cache as the visible scene. Speculative artwork uses one low-priority worker so it cannot flood normal decode workers during a burst of input. Metadata starts in parallel; the visible preview and details page share that in-flight request. Rapid navigation replaces the queued metadata target and cancels superseded artwork prefetches. Full metadata uses a 64-item LRU with a 30-second lifetime, cleared on account/server changes and refreshed after watched updates. Neutral library/search grids prefetch metadata without fetching an unused full-screen backdrop. -- Section previews settle for 120 ms (Home artwork for 90 ms), overlapping the navigation animation, and retain previous artwork until replacement data is ready. Contrast gradients are baked into a cached bitmap on a worker thread, reducing GPU overdraw. Hero recommendation changes crossfade the artwork over 220 ms, including cache hits, and fade the title/summary out for 100 ms and back in over 180 ms. Rotation pauses on the information/next controls and preserves their focus. Vertical row changes animate to explicit row/column targets; page entrances fade and slide 28 dp over 280 ms. The cold-start logo reveals over 1.1 seconds; the cover lasts 1.6 seconds with up to 600 ms extra for loading, then fades over 240 ms. It does not replay when returning from background. +- Section previews settle for 120 ms (Home artwork for 90 ms), overlapping the navigation animation, and retain previous artwork until replacement data is ready. Contrast gradients are baked into a cached bitmap on a worker thread, reducing GPU overdraw. Hero recommendation changes crossfade the artwork over 220 ms, including cache hits, and fade the title/summary out for 100 ms and back in over 180 ms. Rotation pauses on the information/next controls and preserves their focus. Vertical row changes animate to explicit row/column targets; page entrances fade and slide 28 dp over 280 ms. The cold-start sequence lasts 2.6 seconds: six light trails converge, the exact aperture facets assemble radially without spinning, a soft glow and facet glint settle, and the wordmark reveals letter by letter. Completion drives the cover dismissal, with up to 600 ms extra for loading followed by a 360 ms crossfade. Android animation duration scale is honored, including animations off. It does not replay when returning from background. - Returning from details restores the library's mode, scroll position, and previously focused title. ## Player diff --git a/docs/runtime-verification.md b/docs/runtime-verification.md index 73b01de..c675ae7 100644 --- a/docs/runtime-verification.md +++ b/docs/runtime-verification.md @@ -27,3 +27,11 @@ For reproducible performance checks, install the release, send `androidx.profile Release compilation, unit tests and lint passed with zero lint errors (existing warnings remain). Temporary debugging log tags were removed. The final release recheck after adding the app baseline rules passed again: median 15 ms, p95 27 ms, GPU p95 5 ms, stable row Y coordinates. Results remain dependent on device compilation state; some frames still miss a 60 Hz deadline under the burst test. + +## Rating artwork and startup review - 2026-10-24 + +- Replaced the custom popcorn drawings with official red Hot / green Stale Popcornmeter vector paths. On-device screenshots show the red mark beside Andor's 89% and the green mark beside Matchbox's 49%; the existing IMDb score remains alongside them. Artwork fits a fixed square scaled with text, retaining the official aspect ratio and colors. See [brand-assets.md](brand-assets.md) for provenance and designation rules. +- The 2.6-second opening assembles the six original aperture facets with light trails, a soft glow, a brief facet glint and a staggered wordmark reveal. Cover dismissal follows animation completion, then the bounded loading wait and crossfade. Android animation duration scale is honored by the animations; the device was reviewed at its existing 1.0 setting. +- Built with `Build.ps1 -Release -Test`: optimized release, existing unit test and lint passed (zero errors, existing warnings/hints remain). Installed in place on the authorized onn with the existing encrypted session intact, then installed the baseline profile and compiled only Kaleido with `speed-profile`. +- Recorded and inspected the actual cold-start sequence, Home and Movies/TV screenshots, and both rating states. `verify_ui.py browse` passed all six checks; `repro_runtime.py sections` passed startup tab switching, TV loading and cached Movies return. The harness now waits for the splash's accessibility description to disappear instead of counting wordmark text nodes. +- Private evidence: `ratings-home.png`, `final-movies-discover.png`, `kaleido-startup-review.mp4`, and the trimmed `kaleido-intro.mp4` in ignored `evidence/private/`. No playback checks or new frame-pacing benchmark were needed for these cosmetic changes. Left the optimized release on Home. diff --git a/scripts/repro_runtime.py b/scripts/repro_runtime.py index 4bf3768..8a74ae0 100644 --- a/scripts/repro_runtime.py +++ b/scripts/repro_runtime.py @@ -8,7 +8,7 @@ def sections(): # Initialization must remain independent of tab loading on slow servers. adb('shell','am','force-stop','tv.kaleido.app') adb('shell','am','start','-n','tv.kaleido.app/.MainActivity') - wait(lambda r:'Home' in labels(r) and labels(r).count('KALEIDO')==1,'Cold-start splash must finish') + wait(lambda r:'Home' in labels(r) and all(n.get('content-desc')!='Kaleido starting' for n in r.iter('node')),'Cold-start splash must finish') key(22) wait(lambda r:'Recently released' in labels(r),'Movies must finish loading after a startup tab switch') focused('Movies');screenshot('cold-tabs-fixed') diff --git a/scripts/verify_ui.py b/scripts/verify_ui.py index 5358903..0d9e37c 100644 --- a/scripts/verify_ui.py +++ b/scripts/verify_ui.py @@ -30,7 +30,7 @@ def launch(): adb('shell','am','force-stop','tv.kaleido.app') adb('shell','am','start','-n','tv.kaleido.app/.MainActivity') text('Continue Watching') - wait(lambda r:labels(r).count('KALEIDO')==1,'Cold-start splash must finish') + wait(lambda r:all(n.get('content-desc')!='Kaleido starting' for n in r.iter('node')),'Cold-start splash must finish') focused('Home') def browse(): diff --git a/version.properties b/version.properties index de6b9ea..480d727 100644 --- a/version.properties +++ b/version.properties @@ -1,2 +1,2 @@ -versionName=0.1.0 -versionCode=1 +versionName=0.1.1 +versionCode=2