anchor.diff:                  "ffmpeg"
                   + f" -headers 'X-Emby-Authorization:{auth_header}'"
                   + f" -i http://localhost:8096/Videos/{video}/master.m3u8?mediaSourceId={media_source_id}"
  -                + f" /tmp/test.mkv"
  +                + " /tmp/test.mkv"
               )
   
               duration = machine.succeed(
  
positive.code: 
  
          def is_refreshed(_):
              folders = machine.succeed(api_get(f"/Library/VirtualFolders"))
              folders = json.loads(folders)
              print(folders)
              return all(folder["RefreshStatus"] == "Idle" for folder in folders)
  
negative.code:       in
        ''
          import json
          from urllib.parse import urlencode
  
          machine.wait_for_unit("jellyfin.service")
  