My wish:
iOS automatically unlocks portrait orientation when video starts playing (or at least when YouTube app opens) and then re-locks when video stops playing (or YouTube app isn’t active)
There must be a way to achieve this even though afaik there’s no portrait orientation action in Shortcuts but Scriptable and Pythonista (and I’m sure other similar apps) can overcome this barriers, right?
Shortcuts automation permits “app open/close” as trigger so scripting the “unlock/re-lock” is the only issue it seems
Can anyone point me in the right direction or confirm my wish is doable?