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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been using mpv IPC in PyRadio (a radio player app) for a couple of years now.
When I get
i know there's something wrong with the station (deleted, off, etc.)
I want to know the HTTP response status code returned by the server, if any, e.g. 404 (not found), 503 (Service unavailable), 403 (Forbidden), etc
Currently, I try to read
user-data/mpv/ytdl/json-subprocess-result
, but obviously that is not always availableIs there a better/alternative way to get the HTTP response status code?
Beta Was this translation helpful? Give feedback.
All reactions