{
  "ok": true,
  "platform": "firefox",
  "browser": "Mozilla Firefox 160.0",
  "engine": "firefox 160.0 (linux)",
  "summary": "Mozilla Firefox 160.0: temporary add-on melodica-extension@spacegho.st with host permission https://tuner.pandora.com/* https://*.pandora.com/* https://*.p-cdn.us/* https://*.p-cdn.com/* https://spacegho.st/* https://spacegho.st/* https://spacegho.st/* https://spacegho.st/* https://spacegho.st/*; refused an email not on the access allow-list without asking Pandora, signed in to the tuner (0.2.0), listed 7 stations, played \"Slow Light\" in the background page with no tab (still playing after 45s with no extension page open; the optional player tab showed it and its closing changed nothing; a slot was fetched x3, played and registered x2, with next refused during it, and no slot once the access answer said spots:false); signed in to the optional spacegho.st account (octo-ci) and out; stopped and signed out of Pandora when access was withdrawn; real tuner.pandora.com with bogus credentials -> auth.userLogin code 1002 (\"Pandora rejected auth.userLogin (code 1002: invalid login). Wrong email address or password.\")",
  "when": "2026-11-10T14:47:22.840Z",
  "steps": [
    "extension loaded",
    "host permission granted",
    "account server set",
    "endpoint set",
    "login screen",
    "not on the allow-list: not logged in",
    "logged in",
    "stations listed",
    "playing without a tab",
    "plays 45 s with no page open",
    "player tab optional",
    "slot played and registered",
    "access answer spots:false: no slot",
    "spacegho.st sign-in",
    "cold start: add-on reloaded, page alone",
    "cold start: background stopped, page alone",
    "access withdrawn: stopped and signed out",
    "endpoint reset to Pandora",
    "real Pandora: bogus login -> code 1002"
  ],
  "tuner": "0.2.0",
  "extension": {
    "id": "melodica-extension@spacegho.st",
    "uuid": "6d656c6f-6469-4361-8666-666f78000001",
    "version": "0.9.19",
    "name": "melodica for Pandora",
    "temporary": true
  },
  "permissions": {
    "data_collection": [],
    "origins": [
      "https://tuner.pandora.com/*",
      "https://*.pandora.com/*",
      "https://*.p-cdn.us/*",
      "https://*.p-cdn.com/*",
      "https://spacegho.st/*",
      "https://spacegho.st/*",
      "https://spacegho.st/*",
      "https://spacegho.st/*",
      "https://spacegho.st/*"
    ],
    "permissions": [
      "storage",
      "identity"
    ]
  },
  "sessionStorage": "object",
  "background": {
    "scripts": [
      "bg.js"
    ],
    "type": "module",
    "persistent": true
  },
  "access": {
    "notListed": {
      "message": "melodica access is by allow-list. Your request has been sent.",
      "userLogin": 0
    },
    "withdrawn": {
      "status": "stopped",
      "loggedIn": false
    }
  },
  "account": {
    "label": "octo-ci",
    "revoked": 1
  },
  "spots": {
    "defaultPolicy": {
      "issued": 4,
      "metadataFetched": 3,
      "audioFetched": 3,
      "registered": 2,
      "title": "melodica-tuner test ad",
      "company": "Example Co",
      "nextRefused": true
    },
    "accessOff": {
      "slot": null
    }
  },
  "audio": {
    "artist": "Aurora Fields",
    "station": "on QuickMix",
    "title": "Slow Light",
    "engine": "background page",
    "noPage": {
      "seconds": 45,
      "before": {
        "status": "playing",
        "position": 0,
        "title": "Slow Light"
      },
      "after": {
        "status": "playing",
        "position": 3.410702,
        "title": "Northern Window"
      },
      "advanced": null
    },
    "playerTab": {
      "title": "Northern Window",
      "afterClose": {
        "status": "playing",
        "position": 7.899115
      }
    }
  },
  "coldStart": {
    "ok": true,
    "restart": {
      "detectedMs": 52,
      "signedInMs": 2839,
      "stations": 7,
      "played": true,
      "paused": true,
      "roomsCapability": 1,
      "windows": 1,
      "extensionPages": []
    },
    "workerStopped": {
      "detectedMs": 50,
      "signedInMs": 86,
      "stations": 7,
      "played": true,
      "paused": true,
      "roomsCapability": 1,
      "windows": 1,
      "extensionPages": []
    },
    "note": "Firefox: a temporary add-on does not survive a browser restart, so the restart round is an add-on reload"
  },
  "realPandora": {
    "endpoint": "https://tuner.pandora.com/services/json/",
    "email": "nobody@example.com",
    "view": "login",
    "message": "Pandora rejected auth.userLogin (code 1002: invalid login). Wrong email address or password.",
    "partnerLoginLines": [
      "2026-11-10T14:47:19.648Z -> auth.partnerLogin (133 bytes, syncTime 1794322039, offset 0s, ua client)",
      "2026-11-10T14:47:19.802Z <- auth.partnerLogin HTTP 200 stat=ok"
    ],
    "userLoginLines": [
      "2026-11-10T14:47:19.802Z -> auth.userLogin (464 bytes, encrypted, syncTime 1794322039, offset 0s, ua client)",
      "2026-11-10T14:47:19.912Z <- auth.userLogin HTTP 200 stat=fail code=1002 An unexpected error occurred"
    ],
    "code": 1002
  },
  "log": [
    "melodica-extension 0.9.19 core 0.1.0",
    "browser Mozilla/5.0 (X11; Linux x86_64; rv:160.0) Gecko/20100101 Firefox/160.0",
    "endpoint https://tuner.pandora.com/services/json/; signed in: no; clock offset 0s; request User-Agent: melodica-extension/0.9.19 (+https://github.com/Spaceghost/melodica-extension)",
    "update: running 0.9.19, store unknown, fetched none, feed https://spacegho.st/extensions/dl/melodica-extension/updates.json (could not read https://spacegho.st/extensions/dl/melodica-extension/updates.json (HTTP 404))",
    "spacegho.st account: not signed in; account server http://localhost:45057",
    "storage.session: available; background: {\"page\":null,\"preferred_environment\":null,\"scripts\":[\"moz-extension://6d656c6f-6469-4361-8666-666f78000001/bg.js\"],\"service_worker\":null,\"type\":\"module\"}",
    "permissions: {\"origins\":[\"https://tuner.pandora.com/*\",\"https://*.pandora.com/*\",\"https://*.p-cdn.us/*\",\"https://*.p-cdn.com/*\",\"https://spacegho.st/*\"],\"data_collection\":[],\"permissions\":[\"storage\",\"identity\"]}",
    "last 35 background log lines:",
    "2026-11-10T14:47:18.274Z endpoint https://127.0.0.1:8443: host permission not granted, CORS request with the browser User-Agent",
    "2026-11-10T14:47:18.275Z boot melodica-extension 0.9.19 core 0.1.0 (14961 bytes) endpoint https://127.0.0.1:8443/services/json/ session-storage=yes",
    "2026-11-10T14:47:18.275Z ua Mozilla/5.0 (X11; Linux x86_64; rv:160.0) Gecko/20100101 Firefox/160.0",
    "2026-11-10T14:47:18.276Z permissions storage identity; origins https://tuner.pandora.com/* https://*.pandora.com/* https://*.p-cdn.us/* https://*.p-cdn.com/* https://spacegho.st/*",
    "2026-11-10T14:47:18.276Z restored session for ci@example.com",
    "2026-11-10T14:47:18.280Z restored 7 stations from the remembered session",
    "2026-11-10T14:47:18.284Z push paused (changedAt 1794322038064) to 1 tab(s)",
    "2026-11-10T14:47:18.286Z update feed: could not read https://spacegho.st/extensions/dl/melodica-extension/updates.json (HTTP 404)",
    "2026-11-10T14:47:18.290Z restored the last song at 0 s (from its audio copy)",
    "2026-11-10T14:47:18.297Z scrobbling settings: HTTP 200",
    "2026-11-10T14:47:18.297Z access check: HTTP 200, allowed",
    "2026-11-10T14:47:18.372Z push loading (changedAt 1794322038371) to 1 tab(s)",
    "2026-11-10T14:47:18.372Z -> station.getPlaylist (304 bytes, encrypted, syncTime 1794322038, offset 0s, ua browser)",
    "2026-11-10T14:47:18.377Z <- station.getPlaylist HTTP 200 stat=ok",
    "2026-11-10T14:47:18.389Z play event: status loading, track song, src set, paused false, ended false, ready 0, held false, fetching false",
    "2026-11-10T14:47:18.391Z -> track.explainTrack (352 bytes, encrypted, syncTime 1794322038, offset 0s, ua browser)",
    "2026-11-10T14:47:18.391Z push playing (changedAt 1794322038389) to 1 tab(s)",
    "2026-11-10T14:47:18.437Z <- track.explainTrack HTTP 200 stat=ok",
    "2026-11-10T14:47:18.437Z genome: 4 traits",
    "2026-11-10T14:47:18.454Z audio copy kept (81 KiB)",
    "2026-11-10T14:47:18.484Z pause: status playing, track song, src set, paused false, ended false, ready 4, held false, fetching false",
    "2026-11-10T14:47:18.484Z push paused (changedAt 1794322038484) to 1 tab(s)",
    "2026-11-10T14:47:18.834Z access check: HTTP 200, not allowed",
    "2026-11-10T14:47:18.836Z access: not allowed; signing out of Pandora",
    "2026-11-10T14:47:18.836Z stopping playback: melodica access withdrawn",
    "2026-11-10T14:47:18.836Z push stopped (changedAt 1794322038836) to 1 tab(s)",
    "2026-11-10T14:47:19.149Z me: HTTP 401",
    "2026-11-10T14:47:19.325Z endpoint https://tuner.pandora.com: host permission granted, requests carry the client User-Agent",
    "2026-11-10T14:47:19.639Z login requested (email 18 chars, password 14 chars, remember=false)",
    "2026-11-10T14:47:19.645Z access check: HTTP 200, allowed",
    "2026-11-10T14:47:19.648Z -> auth.partnerLogin (133 bytes, syncTime 1794322039, offset 0s, ua client)",
    "2026-11-10T14:47:19.802Z <- auth.partnerLogin HTTP 200 stat=ok",
    "2026-11-10T14:47:19.802Z -> auth.userLogin (464 bytes, encrypted, syncTime 1794322039, offset 0s, ua client)",
    "2026-11-10T14:47:19.912Z <- auth.userLogin HTTP 200 stat=fail code=1002 An unexpected error occurred",
    "2026-11-10T14:47:20.302Z me: HTTP 401"
  ],
  "errors": [],
  "rooms": {
    "joined": true,
    "left": true,
    "joinedAt": 1730000000,
    "calls": [
      {
        "method": "POST",
        "id": "firefoxRoomProbe12345",
        "suffix": "",
        "action": "join"
      },
      {
        "method": "POST",
        "id": "firefoxRoomProbe12345",
        "suffix": "",
        "action": "leave"
      }
    ]
  }
}
