Connect your player
Pear Desktop owns your playback and music queue. PearConnect uses the player's local API to search and add songs.
Enable the API Server
Open Pear Desktop and enable its API Server plugin. Keep the server on localhost. PearConnect's default player address is:
text
http://127.0.0.1:26538If your player uses another local port, open Connections → Pear Desktop, update Player API address, and select Save & reconnect.
Authorize PearConnect
- Keep Pear Desktop open.
- In PearConnect, select Authorize PearConnect from the setup guide or Connections.
- Approve the request in Pear Desktop.
- Wait for PearConnect to show Connected.
The desktop app saves the returned credential using the operating system's encryption facilities. You don't need to copy a bearer token from a terminal.
Test the connection
Use Test player connection on Overview or Test player in Connections. This checks player reachability without changing playback.
An idle player can be connected without reporting a track. Connected means the player is reachable; an Enqueue confirmed request result means the enqueue operation completed. Neither alone proves audible playback.
Connection states
| State | What to do |
|---|---|
| Authorization needed | Enable the API Server and authorize PearConnect. |
| Awaiting approval | Check Pear Desktop for the authorization prompt. |
| Authorization expired | Authorize again. |
| Disconnected | Open the player and verify its API address and port. |
| Connected | Run your safe test, then enable requests when ready. |
| Dry run | Player calls are disabled for this session. |
Changing the player address clears its saved credential. Authorize the new address before enabling requests.
Two different connections
The default player API port is 26538. PearConnect's Advanced webhook defaults to 7280. TikFinity's Simple event WebSocket defaults to 21213. These are separate services and aren't interchangeable.
For source-based authorization, see CLI & headless. If authorization keeps failing, follow Troubleshooting.