Only scroll text when needed

invalid@example.com (Speeter), Speeter
Wed, 06 May 2026 19:52:25 +0000
Windows Support

I use tuna + some custom js (kawarp) to create a "now playing" screen. The Problem I now have is that I need some titels to scroll and some to not depending on their length. Does someone know how to realise this?
Many thanks!