Skip to content

Conversation

@bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Mar 14, 2021

Fixes #3568

Originally I had intended to refactor the NamedPipe class and a little bit of the PlayerOutput class as well, but I ran into some other issues which I haven't resolved yet, so here's a simple fix for #3568. I could refactor NamedPipe and keep the same logic as it is right now, but it's not really worth it. A proper implementation will require a complete rewrite of the PlayerOutput as well, and that's a bit much now.

Also, as mentioned in #3568, the named pipe currently doesn't get cleaned up properly if the player fails to start, which I also wanted to fix with my code refactoring.

@bastimeyer bastimeyer added bug os: Windows Related to Microsoft Windows labels Mar 14, 2021
@bastimeyer bastimeyer force-pushed the cli/output/fix-named-pipe-player-input-on-windows branch from 994d7c1 to 8072b0a Compare March 14, 2021 13:53
@bastimeyer bastimeyer requested a review from beardypig March 15, 2021 14:16
@bastimeyer
Copy link
Member Author

Any chance for a quick review? I'd like to get this merged, so that this is off the to-do list for 2.1.0.

@gravyboat
Copy link
Member

Sorry @bastimeyer, busy week. This looks good.

@gravyboat gravyboat merged commit c51ab2f into streamlink:master Mar 19, 2021
@bastimeyer bastimeyer deleted the cli/output/fix-named-pipe-player-input-on-windows branch March 19, 2021 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug os: Windows Related to Microsoft Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use --player-fifo with MPV

2 participants