Roomknob
Language: English

Play music from your PC on Sonos: two ways

Your MP3 and FLAC files are on the PC, the speakers are in the living room. Sonos does not stream a PC's sound by itself, but the speakers can fetch files from the PC over your home network. There are two ways to set that up.

Sonos music library shareFolder in Roomknob
SetupShare a folder in Windows, add the path in the Sonos appChoose a folder in Roomknob
Network protocolSMBv2 or SMBv3 (S1: SMBv1)HTTP from a small server inside Roomknob
Size limit"65,000 track limit", or less with heavy metadataNo Sonos library index involved
Play fromEvery Sonos app, on every deviceRoomknob on that PC
PC must be onYesYes

Limits from Sonos support: music library size, SMB versions, checked November 18, 2026.

Way 1: the Sonos music library

Sonos can index a shared folder on your PC or a NAS and show it as "Music Library" in all its apps. You share the folder in Windows, then add its network path, such as \\MYPC\Music, in the Sonos app's music library settings. The speakers read the files over SMB, and the PC has to be on and awake whenever you play.

It is the right choice if several people want to browse the collection from their phones. It is also the one that goes wrong most: user names and passwords, SMB versions, and the 65,000 track limit. We wrote a separate guide for it: Add your music library to Sonos from a Windows PC.

Way 2: play a folder from your PC with Roomknob

Roomknob has its own "Music on this PC" section. You add one or more folders, Roomknob reads the tags and lists your music by artist and album, and you play an album, a track or a whole folder to any room. There is no share to set up and no Sonos account involved.

  1. Open "Music on this PC" in Roomknob and add the folder that holds your music. Subfolders are included.
  2. The first time, Windows may ask whether Roomknob may accept connections. Allow it on private networks: the speakers have to reach the PC to fetch the files.
  3. Pick an album or tracks and play them to a room, or add them to the queue.

Behind the scenes, Roomknob runs a small web server that only hands out the files in your chosen folders, each under a secret, unguessable address. The speakers download from it over your home network. Nothing leaves your network and nothing is uploaded.

Formats: the speaker does the decoding, so Roomknob offers the formats Sonos players play: MP3, AAC and ALAC (.m4a), FLAC, OGG, WAV, WMA and AIFF. Cover art comes from the files themselves or from a cover.jpg or folder.jpg next to them.

When it does not play

  • The room starts, then stops. The speaker cannot reach the PC. Check that Windows treats your network as a private network and that Roomknob is allowed in Windows Firewall (Windows Security, Firewall and network protection, Allow an app through firewall).
  • It stops after a while. The PC went to sleep. Change the sleep setting in Settings, System, Power while you listen.
  • A file is missing. Files in other formats, and files Windows cannot read, are skipped.
  • The PC is on a VPN. Some VPNs block access from the local network. Pause the VPN or allow local network access in it.

Playing from a folder works in the free version for the room you chose. Playing to several rooms at once needs Roomknob Full.

Questions

Can Sonos play music stored on my computer?

Yes. Either add a shared folder as the Sonos music library, or play the folder from your PC with an app such as Roomknob. In both cases the PC must stay on while the music plays.

Can I stream my PC's sound to Sonos, like a Bluetooth speaker?

Not directly from Windows. Sonos fetches files or streams, it does not receive the PC's audio output. Playing the files themselves, as above, gives you better quality anyway.

Does the Sonos web app play my local music?

Users report that the web app is weak for local libraries. One wrote that it "is definitely not a replacement for the desktop app, especially if you use a local library" (thread). It cannot play a folder from your PC directly.

Is a Sonos music library limited in size?

Sonos says "A Sonos music library has a 65,000 track limit", and that memory can run out sooner when there is a lot of metadata. Playing folders from Roomknob does not use that index.

Last updated November 18, 2026. Still stuck? Write to support, a person reads every email.

Related help