# Doesi Studio 0.5.3 – Watch streak setup

Connect the streamer’s Twitch account under Studio → Connection centre and restart Studio after updating. The new EventSub subscription uses the existing `user:read:chat` scope. Sign in again only if Twitch reports missing permissions.

Twitch reports milestones that viewers share in chat. Studio cannot query arbitrary current streaks or detect a later reset. The viewer card therefore shows **last shared**, with a timestamp, separately for each channel. Unknown values are not displayed as zero.

## Custom video and separate audio

1. Open **Alerts & Overlays → Alerts → ＋ Watch streak**. Give the alert a name and edit its text.
2. Under **Trigger**, keep Twitch selected and set the minimum count of consecutive streams. Optionally restrict the alert to one streamer account.
3. Under **Appearance & Audio → Choose media**, select your own WebM, video, GIF or image. Studio imports it into the active profile’s media folder.
4. Use **Choose sound** to import a separate MP3, WAV or OGG file and set its volume from 0 to 100%. Use the separate sound field for independently adjustable audio. Set the duration, e.g. 8000 milliseconds for eight seconds.
5. Save, then **Test alert**. The test uses a sample viewer and at least five streams, or your higher minimum count. It does not change saved viewer streaks.
6. Select an **Overlay** using the same queue. Enable text, media and sound as required. Use its browser URL in OBS. Check OBS audio output and source monitoring for streamer playback.

Text variables: `{{user.name}}`, `{{event.count}}` / `{{watchStreak.count}}`, and `{{watchStreak.channelPoints}}`. Example: `{{user.name}} has watched {{watchStreak.count}} streams in a row!` Twitch-awarded points are informational; they are not credited again as loyalty currency.

Select a Twitch channel in the viewer card to see the saved milestone. A linked bot and broadcaster account resolve to the same channel; other channels stay separate. The last saved value remains readable offline. Custom actions can use **Twitch → Channel → Watch streak**. A standalone alert needs no additional action. Normal alert names remain independent of the anonymous Viewer Control output.

## Updating

Close Studio, Runtime and Viewer Control. Extract the complete Windows ZIP outside `D:\DoesiStudio`, then run from its `DoesiStudio-win-x64` folder:

```powershell
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Update-installieren.ps1 -Ziel 'D:\DoesiStudio'
```

The installer verifies the package, backs up replaced program files and retains the current profile. It does not install controller drivers.

For the Linux server, save the Windows, Linux and website 0.5.3 ZIPs in Downloads, extract the website ZIP and run `Upload-und-Serverupdate.ps1`. It uploads to `/root/`, backs up the previous site, installs downloads and updates the portal, then checks the public release feed and health endpoint. Local validation does not replace a live Twitch/OBS test.

Technical reference: https://dev.twitch.tv/docs/eventsub/reference/chat/ (`channel.chat.notification`, `watch_streak`).
