Skip to content

Update twitch - #22770

Merged
raycastbot merged 8 commits into
raycast:mainfrom
TakenMC:ext/twitch
Nov 9, 2025
Merged

raycastbot merged 8 commits into
raycast:mainfrom
TakenMC:ext/twitch

Conversation

@TakenMC

@TakenMC TakenMC commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Description

  • Added default value for streamlink config

Screencast

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: twitch Issues related to the twitch extension platform: macOS platform: Windows OP is contributor The OP of the PR is a contributor of the extension labels Nov 9, 2025
@raycastbot

ghost commented Nov 9, 2025 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @dieserRobin @Aayush9029 @suth @pernielsentikaer @MiracleXYZ @Sheraff you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

You can expect an initial review within five business days.

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raycast-extensions-bot raycast-extensions-bot Bot added the Approved Approved by a user label Nov 9, 2025
@TakenMC TakenMC mentioned this pull request Nov 9, 2025
5 tasks done

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile Overview

Greptile Summary

This PR makes two small improvements to the Twitch extension's configuration and error handling. The main change adds a default empty string value to the streamlinkConfig preference in package.json, which prevents potential undefined value issues. Additionally, the primaryaction preference default is changed from "detail" to "web", making browser opening the default behavior for streams. The PR also includes corresponding validation in the streamlink helper that shows a user-friendly error message when Streamlink path isn't configured. These changes improve the user experience by providing sensible defaults and better error messaging without affecting core functionality.

Important Files Changed

Filename Score Overview
extensions/twitch/CHANGELOG.md 5/5 Added new changelog entry documenting the streamlink config default value fix
extensions/twitch/src/helpers/streamlink.ts 5/5 Added validation to show user-friendly error when Streamlink path is not configured
extensions/twitch/package.json 5/5 Changed primary action default to "web" and added empty string default for streamlinkConfig

Confidence score: 5/5

  • This PR is safe to merge with minimal risk as it only adds configuration defaults and improves error handling
  • Score reflects simple defensive programming improvements that enhance user experience without changing core logic or breaking existing functionality
  • No files require special attention as all changes are straightforward configuration and validation improvements

3 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@pernielsentikaer pernielsentikaer self-assigned this Nov 9, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 1e22aab into raycast:main Nov 9, 2025
@github-actions

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 9, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@TakenMC
TakenMC deleted the ext/twitch branch November 9, 2025 19:41
@Sheraff

ghost commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

I still get the prompt :'( It seems the default value isn't taken into account. I waited a little while to report this as I wasn't sure the update had gone through, but it's been 3 days so I think it's safe to assume it is now

@TakenMC

ghost commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

have you tried clearing the data for the extension cause otherwise i am not sure what to do since it's raycast logic

@Sheraff

ghost commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

have you tried clearing the data for the extension cause otherwise i am not sure what to do since it's raycast logic

I uninstalled and reinstalled the extension, and now it's all good. Sorry for the annoyance, and thank you for the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Approved by a user extension fix / improvement Label for PRs with extension's fix improvements extension: twitch Issues related to the twitch extension OP is contributor The OP of the PR is a contributor of the extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants