Koodattu / twitch-song-request-desktop

A desktop application for Twitch song requests from Spotify and Youtube
MIT License
4 stars 1 forks source link

choosing your reward #13

Open madKULOLO opened 2 months ago

madKULOLO commented 2 months ago

The restriction on rewards is too strict, I would like to link an existing reward to a request

Koodattu commented 2 months ago

Hello @madKULOLO and thanks for the feedback. The reason why the application needs to create the channel point redeem reward is so that it can also (automatically) refund redeems and channel points for that reward. If the channel point redeem reward was not created using the Twitch API, we cannot automatically refund channel points for failed song requests.

Of course if we don't care about automatically refunding the channel points, we can query the twitch channel for all the possible existing channel points rewards, and let the user choose from those, and tell the user that if we do it this way channel point refunding is not possible.

So yes, sorry for the yapping, this is something we can do and I'll try to get to this issue in due time. Thanks!

madKULOLO commented 2 months ago

@Koodattu ChannelRedeemRewardId

when you change the lines in the configuration file "AppSetup.json", replacing them with their valid values, the reward works out, tracks are added. But there is no refund of points and auto-switching of the track

"ChannelRedeemRewardName" "ChannelRedeemRewardId"

is a fix possible? Or will it not work like that?

Koodattu commented 2 months ago

Auto-switching should still work, but as I previously stated, refunds will not. For the refunds to work, we need to create the channel points reward using our own client id. If you create the channel point redeem reward using the Twitch website user interface, we don't know the client id used to create the reward, and thus we cannot send refund requests for it. That is why I designed the application so that you need to create the channel point redeem reward using the application so that we can use our own client id. And after you have created your channel point redeem reward using the application, you can still use Twitch web user interface to modify it, like changing the icon, name, cost, etc.

madKULOLO commented 2 months ago

@Koodattu using one service, I found a way to identify the previously created reward ID. but it didn't work, because there is some kind of bug that does not switch tracks. The queue is working, but not for switching. It just goes into error. On the return of points - similarly, an error.Although logically we work with the award ID and its name in tandem.