-
-
Notifications
You must be signed in to change notification settings - Fork 96
Add TTS feature for custom fields #1918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
mko1989
commented
Dec 17, 2025
- Add per-custom-field TTS configuration with threshold, voice, and language settings
- Implement TTS hook that reads time values (hh:mm:ss or mm:ss) from custom fields
- Add voice selection UI in custom field settings with language dropdown
- TTS only active in cuesheet view, speaks numerical seconds when below threshold
- Add per-custom-field TTS configuration with threshold, voice, and language settings - Implement TTS hook that reads time values (hh:mm:ss or mm:ss) from custom fields - Add voice selection UI in custom field settings with language dropdown - TTS only active in cuesheet view, speaks numerical seconds when below threshold - Fix custom field validation for Companion API integration - Fix production path resolution and SPA routing for deployment
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @mko1989 , thank you for this I am not entirely sure this is a feature that belongs in Ontime. I will make sure we review this on our next chat, but meanwhile, can you give me some context as to when this feature is useful? what environment would you use it on and what problem does it solve? Out of curiosity: which LLM did you use to make the changes? Did you find that the LLM managed to find things well enough with the existing code documentation practice? |
|
Its fully your decision. The use case for the feature is inputting the audio from ontime into comms for the whole av team so the whole team can hear the countdown to the end of the video or audio cue, letting them prepare accordingly to what they need to do. I'm using cursor with Gemini 3, composer 1 or set on auto. It didn't have any problems to find exactly what it needed in the code. |
|
I see. I have a similar experience where there is not often an ontime person / show runner, but someone who takes on the extra work This means that we should do our best to make sure this person is productive while using Ontime However, I believe that this change set is more useful as a custom application. we could wrap this in a simple HTML + Javascript app which has minimal dependencies in react The features used are all browser features so this could be a very lean piece of code. What do you think? |
|
Yeah, super awesome! I need to read up on that. |
|
Nice, check out the docs here https://docs.getontime.no/features/custom-views/ if you do get around to build something let us know, we could create a repository with links to users custom extensions Also feel free to drop by our discord if you need some help |
|
ive put something togheter that you can find here: https://github.com/mko1989/ontime-custom-tts |
|
thank you! Do you mind adding some screenshots or a gif of the interface working? I think it could help users figure out what this does you shouldnt need anything from companion here. |
|
Sure I'll add some screenshots. I'm getting video remaining time data or audio cue remaining time data from companion. |