Plex Now Available in Beta on Sonos


Userlevel 5
Badge +2
I’m pleased to announce that we’ve added Plex as a music service on Sonos, currently in beta.

Plex is free media server software that allows you to stream your media from your computer (or NAS drive) to any supported device. With the Plex server software running on your computer, your videos, pictures, and music become available for streaming either remotely or on a local network.

Plex server software works on many different operating systems and NAS drives, and you can find the full list of requirements here. Once added to Sonos, you’ll be able to access your Plex music files directly through the Sonos app, similar to the Music Library function.

Plex is available worldwide and is available at no charge. A premium service called Plex Pass is available which adds some additional perks and features, but it’s not required to use Plex on Sonos. You can find out more about what Plex Pass offers here.

To add Plex to Sonos, use any Sonos app to select Add Music Services from the Music Menu. On a Mac or PC, you’ll need to select Add Music Services > Sonos Labs in order to see the listing for Plex.

For more information, please check out our Plex FAQ.

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

84 replies

Userlevel 7
Badge +22
Great news for those with large libraries
Userlevel 7
Badge +21
THIS Is BIG on MANY levels!!! Forget about the 65k track limit. Forget about having duplicate copies of your library in high-res and "Sonos-compatible" formats - Plex will transcode it automatically. And Plex lets you access your library anywhere, whether you're at home or on the go!

LOTS of good comes with Plex! Very glad to see that Plex has allowed Sonos to access music libraries stored on Plex servers!

Edit to add: Though I can DEFINITELY see why it's still in Sonos Labs... I think there's still a bit of work to be done on it...
Transcoded to 320kbps MP3, but at least I can now have just one library :)

Any prospective NAS buyers...

Please do check out what transcoding is possible as quite a few NAS devices will not transcode video at all or very well and you may very well be interested in video once you se how great Plex is.

EDIT

Wow, the speed my artwork now loads via Plex, almost worth it alone.
Help please!

My hires files are not getting transcoded and of course will not play, am I missing some settings or configuration?

Just to confirm that my hires FLAC files do get converted and play on my Gen 4 Apple TV.
A bug :)

Playing individual tracks works, they are transcoded and play. Selecting "Complete Album" however does not tell the Plex Server to transcode and it sends the native audio files to Sonos which it cannot play as they are in the wrong format.

Wow, the speed my artwork now loads via Plex, almost worth it alone.


Interesting, so far using plex and sonos for about an hour I've noticed that Artwork, or actually browsing any categories on Sonos in plex is noticeably slow.
In the Plex App either web or Android it is very fast.
Userlevel 7
Badge +21
Any bugs like this more likely need to be reported to Plex than to Sonos... it's Plex that handles all of that behind-the-scenes goodness... Sonos only handles playing the music that is provided to it.

Oh, and I figured out the issue that I was running into last night... my router (a mini-PC running pfSense) needed an advanced NAT setting enabled on my port forward for Plex. The setting allows devices that are on-network to still take advantage of connections to other hosts that are also on-network using the WAN IP address and port forward, rather than a direct LAN connection. Since Plex's "directory" keeps track of the WAN IP address of my internet connection, this setting needed to be enabled to allow Sonos and my Plex server to communicate with each other.

The setting is called "NAT Reflection", and it had to be enabled in a "NAT+Proxy" mode.

I would imagine that most consumer routers probably don't have an issue like this, but since pfSense is more advanced firewall/routing software, it's got a lot more settings than an average router does.

BTW, for the Sonos support folks... I had NO problems with using the mobile app on my phone and tablet before this setting had been changed, whether I was at home or on the go. So the ability to access Plex from another device may not be a good litmus test for whether or not Sonos-Plex communication is working. A more accurate test would be to use the Plex web app (http://app.plex.tv/web/app) from a computer on the same network as the Sonos devices. That will function in a way similar to how Sonos will be accessing Plex. Once I enabled the setting above in my router, both Sonos access and the Plex web app worked just fine.
Ok I admit this is a glass half empty thing, but Plex mix, which is a great feature- is half baked in Sonos. In sonos it seems they want to put it in the radio category by calling it "Plex mix radio" - mixes aren't added to the queue as they do in plex, no ability to add, edit, expand the mixes- or even back up and listen to a track again, save the mix.

Anyone figure out how to browse by genres or use filters?
Plex forum for feedback on Plex with Sonos

https://forums.plex.tv/categories/sonos
Userlevel 4
Badge +5
SO EXCITED about this. I have wanted SONOS for years but the lack of interaction between PLEX and the cost where the two big obstacles. i finally decided it was time to take the plunge whether Plex would be available or not.

So last week scored a PLAY3 on prime day prices. and now a week later here is PLEX. I feel like its Christmas!

thank you for working with them. my music library is huge and i am THRILLED. i have had no problems yet (but its not been 24 hours) i will report to them.

And now i can start saving up to have Sonos in every room! SO excited!
One thing to bear in mind is that apparently your music is being streamed out to the internet then back to Sonos, even when Plex & Sonos are running on the same internal network. This was confirmed by the Plex guys in the comments section on their blog post. This might change in the future but it's worth bearing in mind if you have very slow internet upload speeds.

But apart from that, this is good news as it alleviates some of the issues from the vocal minority (I include myself in that group!) regarding handling large libraries and 24/48+ transcoding. We've been asking for third-party server support for a while now so this Plex beta is a great start. I'm sticking with my Sonos+LMS+uPnPBridge solution at the moment for my own needs but will certainly be keeping an eye on the progress of the Plex solution 🆒
@southern gal is your library beyond 65k tracks? Some users will be interested to hear how it performs with libraries bigger than the Sonos 65k limit.

The discover section is starting to fill out as I play a plex mix- lots of potential, getting many "no selections available errors".

Is no tile view for artists a Sonos thing? Artist art is a nice addition that plex brings, but not much point when it is so tiny. Why can't we switch views?

IMO seems so limited in Sonos ui we need to cast audio to sonos from plex. Sonos can you make this happen?
Userlevel 7
Badge +21
One thing to bear in mind is that apparently your music is being streamed out to the internet then back to Sonos, even when Plex & Sonos are running on the same internal network. This was confirmed by the Plex guys in the comments section on their blog post. This might change in the future but it's worth bearing in mind if you have very slow internet upload speeds.
I don't believe the music is being streamed to the internet and back... they might proxy the basic album/track data as you browse your library... but I'm pretty sure that unless your Plex server is being accessed by a Sonos system outside of your home, your internet connection isn't being used to play music. NOW... that doesn't mean that the data isn't going through your ROUTER. I believe that the way they're making it work is having Sonos connect to your router's WAN address, then using the router's port forward to get back in. This is because they have your router's WAN address in order to allow you to access your Plex server from outside of your network (i.e. an app on a cell phone from the cell network or a friend's house).

If you read my earlier post about a setting I had to make in my pfSense router, that setting has to do with how requests to the router's WAN address are handled by the pfSense software when the request is being made from the LAN network. In reality, two LAN devices should be able to communicate directly with each other. But in this case (and others), the ability to make a direct connection is outside of our control, since it's Plex that is handling the connection. As a result, my guess would be that Plex is trying to make a LAN device (Sonos) talk to another LAN device (device running Plex server) through the WAN address of the router. Those requests should get to the router, then be turned back around to the LAN based on the port forward without ever going out over the internet connection.

So if you have an older, slower router, this might have some effect on your internet performance... but for most newer routers, I would expect the impact to be minimal.

Again, some data might well be served up through Plex's servers rather than your own (as I had some limited connectivity before I changed this setting)... but I would expect that to be the exception and not the norm.

I don't believe the music is being streamed to the internet and back... they might proxy the basic album/track data as you browse your library... but I'm pretty sure that unless your Plex server is being accessed by a Sonos system outside of your home, your internet connection isn't being used to play music.


Thanks for the in-depth explanation - you're hopefully correct here and you understand this stuff a lot more than I do! It would certainly make more sense not to send it all via the internet.

It would be interesting to have official word on this from the Sonos team. As background, here's the 2 questions posted on the Plex blog, and the response from the Plex guys:

Somebody asked this first:

Q1: Seems counterintuitive that I need to have Remote Access enabled when it's all local to my network
A1: Sonos services are always in the "cloud" and so have to be able to talk to your Plex Media Server from outside your network

Then I added this follow-up question, because I'd also assumed it was doing something similar to your explanation.

Q2: Just wondering, does this mean that if I'm using Plex to stream music from my NAS to Sonos (locally) then all music goes out via the internet and back in again? Or is the internet just used to initiate things and then music is subsequently streamed across my local network? Thanks.
A2: yes it does go out to the internet and back. we are looking into ways to get it to be local but much still to work out in that area.
Userlevel 7
Badge +21
I'm happy to confirm that at a minimum, the actual music data does stay local, at least with my router. I watched the traffic graph for my router's WAN port while playing music through Plex... while it did spike up to ~100Kbps for a couple of seconds at the start of songs, it quickly returned to negligible levels, telling me that it's not actually moving the music data over the internet. Not sure on album art, though until I made the above change to my router, I also didn't see any of that, so I assume it's taking the same route.

Again, the logic to the flow is that yes, it's going out to the internet and back in... but most routers will see what's going on (that the request is for the same address as the WAN port) and keep the traffic internal to the router.
Does Plex improve upon the rather lame browsing experience available from vanilla Sonos.

ie. any visibility of date ripped, date released, user rating, date last played ... that kind of thing.

I looked through the Plex site, as far as I can see they don't even have a Genre index.
Do they have a AlbumArtist index to filter out pollution coming from those who only have contributions to Various Artists albums?

It would be great if somebody could post an image of the UI.


Oh, and I figured out the issue that I was running into last night... my router (a mini-PC running pfSense) needed an advanced NAT setting enabled on my port forward for Plex. The setting allows devices that are on-network to still take advantage of connections to other hosts that are also on-network using the WAN IP address and port forward, rather than a direct LAN connection. Since Plex's "directory" keeps track of the WAN IP address of my internet connection, this setting needed to be enabled to allow Sonos and my Plex server to communicate with each other.

The setting is called "NAT Reflection", and it had to be enabled in a "NAT+Proxy" mode.


Could this be called Port Forwarding on my modem, or is that setting a way of scratching the same itch? (Netgear Cable Gateway CG3100D-2)
I'm happy to confirm that at a minimum, the actual music data does stay local, at least with my router.

Thanks for taking the time to check this. Apologies for any confusion I might've caused about the issue - that'll teach me not to believe everything I read on the internet 🆒 I guess the guys on the Plex blog misinterpreted what was implying by my question!
Userlevel 7
Badge +17
So in layman terms, PLEX is for people with NAS drives who have large music collections, maybe in different formats, that can be listened to over the internet anywhere as long as the NAS is on?
No music is actually stored on plex servers?
Are these the advantages?
So in layman terms, PLEX is for people with NAS drives who have large music collections, maybe in different formats, that can be listened to over the internet anywhere as long as the NAS is on?
No music is actually stored on plex servers?
Are these the advantages?

I am struggling with also.
I already travel with my whole collection on one of those 2tb WiFi drives. I play it via Bubble UPnP on my tablet and a great set of headphones.
And I can listen to my collection while commuting as I took up Google's offer to upload my collection to their servers (free for up to 55,000 tracks).

So this isn't a deliverable which does much for me. .. and I can hide away my NAS when I am away for any lengthy period.

It seems that the paid version of Plex fleshes out what I had hoped would be delivered with Sonos' stunted "Info & Options", ie artist bios and album reviews.

That sounds ok, but if Plex also enriches the music browsing experience I am very interested.
Userlevel 7
Badge +21
To start backwards from most recent toward my previous post... :)

Plex in general is a media server, with clients available on just about every PC, mobile, and smart TV platform. The whole point of it is to allow you to access your media anywhere, on nearly any device. If the movie or song is in a format not supported by the device, Plex will transcode it in realtime to allow it to be played. Some NAS devices have the ability to run the Plex server software, though most of them can't do real-time transcoding of high-res video formats (the new WD Pro NAS drives are the current exception). The media server software is also available for Windows, Mac, and Linux, where there's obviously a bit more horsepower in a PC processor.

All of the media you make available through Plex is stored on your own devices. Nothing is stored in the cloud. They do have servers that act as a "directory" though, which allows you to access your home media server from anywhere, regardless of where you are, even if your ISP might change your IP address. You can also download media to your mobile devices, so you can watch/listen when you don't have internet access, or don't want to use your data plan (think ahead if you want to download a movie though, especially if it needs to be transcoded).

The big advantages of Plex support for Sonos are that you can have a music library that exceeds Sonos' 65,000 track limit, and you can have a single library that has media in a variety of formats, and if Sonos can't play it, Plex will transcode it so that it can be played (I believe it gets converted to 320Kbps MP3). So if you want to keep a High-Res library, you can do so and Plex will allow Sonos to play it seamlessly (though obviously with a bit of compression added). And if you're not home, you can access your own music library wherever you happen to be through the Plex app, but that's not directly related to Sonos. :)

The views through Sonos are certainly very basic at this time (only artist and album lists). I'm sure that Plex will add more through their test period, but I'm sure they'll be looking for comments and suggestions in their own forums. Plex Pass adds some nice features for both music and video content, though a large part of that comes if you're using their apps. I haven't checked to see how much of the artist/album stuff shows up in "Info and Options" through Sonos. I'll grab a couple of screenshots over the weekend if I remember. :)

And port forwarding is what I was talking about... most routers support something called Universal Plug and Play (UPnP), which will allow Plex to automatically create a port forward if your router supports it. If you've disabled UPnP or your router doesn't support it, you'll need to create a port forward manually. That post of mine was more about a specific issue with the pfSense router/firewall software, as by default it doesn't allow LAN devices to communicate with other LAN devices through the WAN address and port forward... something which is needed for Sonos and Plex to work properly together.
I am guilty of being too lazy to do some research on this, but will ask anyway - does this do anything to allow computers to stream local or streaming audio from them wirelessly to Sonos units, or does that remain a no no?
Userlevel 7
Badge +17
Thanks MikeV, that has helped me understand a lot more 🆒
Does Plex improve upon the rather lame browsing experience available from vanilla Sonos.

ie. any visibility of date ripped, date released, user rating, date last played ... that kind of thing.


AFAICT there is no way to access Date ripped, date released, user rating.
Date last played - not the specific date as far as I can tell, but there is a list of recently played artists.

Here's some screen captures from my Android phone
Userlevel 4
Badge +5
[quote=The_Bastard_Son]@southern gal is your library beyond 65k tracks? Some users will be interested to hear how it performs with libraries bigger than the Sonos 65k limit. ...../quote]

uh yes quite a bit more the 65k tracks. so i was thrilled to see Plex on SONOS.
I have not had much time to play with it between work and watching the train wreck called the republican convention.

hope to test it this weekend esp as it will be in the 90s.

i agree with other posters about the limited lists
due to the vagaries of mp3 tags and labeling for radio shows (think comedies and mysteries) and live music (opera, orchestral and other concerts, i tend to use the FOLDER view in plex much more than the others. ALBUM is the other one i really need. i tend to label the artist and the album field the same to simplify the grouping (as you can imagine with an opera who is the artist - the conductor, the lead singer (and which one) and what about the orchestera). i gave up and just keep it simple and put all the artists info in the comments field.

I will be adding my two cents on PLEX.

BTW mp3tag is a fabulous program to help tag HUNDREDS of files at the same time. i couldnt live with out it.
Userlevel 4
Badge +5
Does Plex improve upon the rather lame browsing experience available from vanilla Sonos.
ie. any visibility of date ripped, date released, user rating, date last played ... that kind of thing.
AFAICT there is no way to access Date ripped, date released, user rating. Date last played - not the specific date as far as I can tell, but there is a list of recently played artists. Here's some screen captures from my Android phone


Yes
now to expand.
for each client version you have the ability to see a variety of groups - album, artist, folder,
sorts - date added, date played, play count, name, rating
and view - grid, list and folder
and filters - genre, country, collection

so its very customizable

try it... its great!