Skip to content

feat: v0.9.0 — landscape/portrait detection, shorts playlist, fixes#1

Merged
JRemitz merged 1 commit intomainfrom
feat/v0.9.0
Mar 24, 2026
Merged

feat: v0.9.0 — landscape/portrait detection, shorts playlist, fixes#1
JRemitz merged 1 commit intomainfrom
feat/v0.9.0

Conversation

@JRemitz
Copy link
Copy Markdown
Contributor

@JRemitz JRemitz commented Mar 24, 2026

Summary

  • Landscape vs portrait upload detection: POST_RENDER checks plan.width vs plan.height to call upload_video() for landscape or upload_short() for portrait — previously all uploads were treated as Shorts
  • Shorts playlist insertion: Shorts now auto-added to game playlist after upload when manage_playlists is enabled
  • scheduledStartTime fix: Default fallback uses now + 1 minute — YouTube rejects start times in the past
  • GameState livestream fallback: _update_chapters falls back to GameState.livestreams when shared context is unavailable (each hook emission gets a fresh shared dict)
  • Makefile install target: make install for uv tool venv installation

Test plan

  • 100% line + branch coverage (253 tests)
  • make check passes (lint → mypy → test)
  • Manual: run reeln game init with create_livestream: true — verify no invalidScheduledStartTime error
  • Manual: run game finish with scoreboard plugin — verify chapter markers appear in broadcast description

🤖 Generated with Claude Code

… scheduledStartTime fix, GameState fallback (v0.9.0)

- POST_RENDER detects landscape vs portrait via plan dimensions — calls
  upload_video() or upload_short() accordingly
- Shorts auto-added to game playlist when manage_playlists is enabled
- Default scheduledStartTime uses now + 1 minute (YouTube rejects past times)
- _update_chapters falls back to GameState.livestreams when shared context
  is unavailable (different shared dict per hook emission)
- Makefile install target for uv tool venv

Co-Authored-By: Claude <noreply@anthropic.com>
@JRemitz JRemitz self-assigned this Mar 24, 2026
@JRemitz JRemitz merged commit 3bc8620 into main Mar 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant