You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a stream title has curly brackets in it, they need to be escaped at least when passing the title to mpv. I wasn't sure how you would want to handle this - I was thinking of just parsing the title for {} and escaping them, but since this might just be a problem with mpv, then it maybe there should first be a check for the default player, which could get more complicated. Or maybe it should just be parsed and escaped as necessary only when {status} is passed as a custom player arg.
To escape the curly brackets, just double them. Example: {random title} -> {{random title}}
The text was updated successfully, but these errors were encountered:
This is actually a livestreamer issue, not an mpv issue. In your livestreamerrc, try player-args=--title="{Livestreamer}" {filename} and you will get a KeyError. If you change it to {{Livestreamer}} instead, then the stream will launch with the expected title of "{Livestreamer}".
If a stream title has curly brackets in it, they need to be escaped at least when passing the title to mpv. I wasn't sure how you would want to handle this - I was thinking of just parsing the title for
{}
and escaping them, but since this might just be a problem with mpv, then it maybe there should first be a check for the default player, which could get more complicated. Or maybe it should just be parsed and escaped as necessary only when{status}
is passed as a custom player arg.To escape the curly brackets, just double them. Example:
{random title}
->{{random title}}
The text was updated successfully, but these errors were encountered: