Repository navigation
feat(tv): 接入新番时间表(可配置数据源 + 周表 + 设置三端一致) - #103
Merged
Merged
Conversation
- 时间表数据层:AirRadar 兼容客户端(10s 超时、内存/磁盘缓存 TTL 1h、失败回退旧缓存、404 空态),模型/URL 校验/时区换算放 core:model - 设置:新增「新番时间表」分组与数据源地址(本地 SharedPreferences、http/https 校验、旧数据兼容),媒体库顶栏新增「时间表」入口 - UI:新增 ScheduleScreen(周一..周日分组、组内本地时间升序、JST→设备时区跨日换算、匹配 Bangumi id 可进详情、loading/error/empty/未配置四态、TV 焦点/返回) - WebAPI/WebUI 三端一致:GET/PUT /api/settings/schedule + WebUI「新番时间表」视图 - 测试:JSON/时区/缓存/URL/匹配/设置/路由单测;版本 2.19.0(minor:用户可见新功能)
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Android TV 端接入 AirRadar 新番时间表:可配置数据源 + 周表屏 + 设置/WebAPI/WebUI 三端一致,版本 2.18.0 → 2.19.0(minor)。
内容
ScheduleRepository(内存/磁盘缓存 TTL 1h、forceRefresh、失败回退旧缓存、404 清缓存、Mutex 串行)+ SharedPreferences 数据源设置(默认空、http/https 校验、拒绝 userinfo/query/fragment)ScheduleScreen五态(loading/error/empty/未配置/内容);匹配 Bangumi id 可进详情、未匹配「未在媒体库」;「今天」chip、跨日「前日/次日」标记;入口=媒体库顶栏「时间表」+ 设置新增「新番时间表」(可遥控编辑/保存/清除/打开)GET/PUT /api/settings/schedule(非法 400、空串清除)+ WebUI 新番时间表视图(NavMenu 入口、保存/清除/状态)验证
./gradlew assembleDebug成功;./gradlew test lintBUILD SUCCESSFUL(全模块单测+lint,4m08s)已知限制
证据
artifacts/miruplay-airradar/androidtv-schedule-demo.mp4