[PR #722] [MERGED] allow playing a cast from stdin #1211

Closed
opened 2026-03-15 11:24:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/asciinema/asciinema/pull/722
Author: @fopina
Created: 2/5/2026
Status: Merged
Merged: 2/11/2026
Merged by: @ku1ik

Base: developHead: feature/play_from_stdin


📝 Commits (1)

  • 31b3628 allow playing a cast from stdin - using same pattern as convert

📊 Changes

2 files changed (+6 additions, -2 deletions)

View changed files

📝 src/cli.rs (+1 -1)
📝 src/cmd/play.rs (+5 -1)

📄 Description

Using same code as convert uses for INPUT, allow playing a cast from stdin.

Personally, quite useful for longer casts that I have gzipped:
zcat my.cast.gz | asciinema play -


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/asciinema/asciinema/pull/722 **Author:** [@fopina](https://github.com/fopina) **Created:** 2/5/2026 **Status:** ✅ Merged **Merged:** 2/11/2026 **Merged by:** [@ku1ik](https://github.com/ku1ik) **Base:** `develop` ← **Head:** `feature/play_from_stdin` --- ### 📝 Commits (1) - [`31b3628`](https://github.com/asciinema/asciinema/commit/31b362894e48e739807e7c2649216ae0c498f488) allow playing a cast from stdin - using same pattern as convert ### 📊 Changes **2 files changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cli.rs` (+1 -1) 📝 `src/cmd/play.rs` (+5 -1) </details> ### 📄 Description Using same code as convert uses for `INPUT`, allow playing a cast from stdin. Personally, quite useful for longer casts that I have gzipped: `zcat my.cast.gz | asciinema play -` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 11:24:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#1211
No description provided.