Skip to main content
Answered

YouTube Music skipping tracks due to song not being encoded properly


Forum|alt.badge.img+3
  • Collaborator II
  • 50 replies

I keep getting this error randomly, after X seconds of playing a track. The same track will sometimes play through without error, so clearly its nothing to do with encoding since its intermittent.  Very frustrating since all I play is from YouTube Music.  Diagnostic 291296562.

Best answer by Ryan S

Smilja wrote:

The issue should be resolved, if everyone has updated their Sonos system to v11.1.

@Smilja is correct. I somehow missed this thread, though I notified others.

As of the last update, 11.1, the encoding issue with some YouTube Music tracks should be resolved. Make sure your players are all on that version by going into your Sonos app > Settings > System > About Sonos, you will see a version number there. You can also just go to System > System Updates to see if one is available.

Once you’re updated, you shouldn’t have any trouble playing YouTube Music. If you do, I recommend that you contact our support team directly so they can investigate. It’s possible that you’re running into an issue local to your system, but if you aren’t they’ll need to get some more details to take back to the team to investigate further.

View original
Did you find what you were looking for?
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.

82 replies

  • 1428 replies
  • February 1, 2020

It’s usually a network error, rather than an encoding one… Could be a duplicate IP address.  Have you tried doing a full shutdown/restart in the recommended manner?


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 1, 2020
amun wrote:

It’s usually a network error, rather than an encoding one… Could be a duplicate IP address.  Have you tried doing a full shutdown/restart in the recommended manner?

Hi, I searched previously and saw network was often blamed, more specifically packet loss.  I am network engineer by trade however, definitely no dup IPs, and packet loss is not seen either.  I experience this issue on both my Sonos, one is wifi, the other is rj45, so I am struggling to believe its network related.  I will try the restart however and report back!


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 1, 2020

Restart didn’t work, the song sometimes plays 2/3 seconds, other times 10 seconds, then says not encoded properly.


Ken_Griffiths
rbrown wrote:

Restart didn’t work, the song sometimes plays 2/3 seconds, other times 10 seconds, then says not encoded properly.

As you appear to have one device wired, it’s important that the speaker is connected direct to your main router (or unmanaged switch directly off it),  rather than say having it wired to an access point or WiFi mesh hub etc.. I would just ensure that is the case.

Any wifi access points/hubs need to be operating on the same WiFi channel as the main router. Ensure that the 5ghz and 2.4ghz bands are separately named too. 

The Sonos system in this situation will be running on SonosNet rather than your WiFi, (About my Sonos System will show devices as WM:0) so also check you have then put the following two things in place.…

  1. Set the SonosNet channel in “Settings/System/Network” of the Sonos App so that it is at least 5 channels away from your router 2.4ghz channel.
  2. Remove/reset the WiFi credentials in the Sonos App “SettingsSystem/Network/Wireless Setup”. These are not needed when running the devices on SonosNet.

There are other things you can do to improve network stability, but let’s leave it there for now and 'perhaps' try the above (if relevant to your situation), to see if it (hopefully) resolves your issue. 👍


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 1, 2020
Ken_Griffiths wrote:
rbrown wrote:

Restart didn’t work, the song sometimes plays 2/3 seconds, other times 10 seconds, then says not encoded properly.

As you appear to have one device wired, it’s important that the speaker is connected direct to your main router (or unmanaged switch directly off it),  rather than say having it wired to an access point or WiFi mesh hub etc.. I would just ensure that is the case.

Any wifi access points/hubs need to be operating on the same WiFi channel as the main router. Ensure that the 5ghz and 2.4ghz bands are separately named too. 

The Sonos system in this situation will be running on SonosNet rather than your WiFi, (About my Sonos System will show devices as WM:0) so also check you have then put the following two things in place.…

  1. Set the SonosNet channel in “Settings/System/Network” of the Sonos App so that it is at least 5 channels away from your router 2.4ghz channel.
  2. Remove/reset the WiFi credentials in the Sonos App “SettingsSystem/Network/Wireless Setup”. These are not needed when running the devices on SonosNet.

There are other things you can do to improve network stability, but let’s leave it there for now and 'perhaps' try the above (if relevant to your situation), to see if it (hopefully) resolves your issue. 👍

Thank you that definitely gives me some points to look at.

My wired speaker is actually connected to an AP, not the default gateway, however the AP is still connected physically to the DG, so in principle its as you said, an unmanaged switch hanging off the main router.

I have 3 APs in the house, all 3 are on different channels, so again that seems to be an issue with what you’ve said.

As a quick test, I’ve just shutdown 2 APs and left the main router running.  The most problematic song that only ever gets at most 10s in, this time got to 30s before skipping.  Playing it again it’s back to around 10s. 

 

I am defintely going to play around some more with the network settings, shutdown all other APs and reset the system, see where that takes me. 

 

Thanks again Ken!

 


Ken_Griffiths

If you are able to (even as a temporary measure) wire a single Sonos device direct to the main router/hub that is the gateway and broadcasting the local 2.4ghz WiFi subnet, that would be best. I assume the only thing after that device might be an ISP provided router in 'bridge' or 'modem' mode with its WiFi switched off. However an unmanaged switch is also fine between the main LAN Hub and the chosen Sonos device … also separate out these wireless devices by approx. 2-3 feet to prevent interference betwee them and then do the other things mentioned in my earlier post.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 7, 2020

Unfortunately I’ve had no joy with this.  I’ve wired in the speaker to my router, disabled all wifi, and still getting similar issues.  I never used to have any problem, but over the past few weeks its gotten progressively worse.  It only seems to affect YouTube Music on Sonos.  YouTube Music on any other device is fine, and any other music source on Sonos is fine.  Any other ideas?  It would be helpful Sonos, if the error were accurate.  It is complaining that the audio file is not encoded properly, however if its infact network related, the error message should say so.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 7, 2020

I am getting a little further with this now since I’ve had the morning to investigate a bit more.  It seems that the issue is that I have a Sonos upstairs, that is wired to a switch running to my router downstairs.  The Sonos downstairs is on wifi.

 

I believe what is happening is that the downstairs Sonos is trying to connect via SonosNET to the upstairs, when in fact I want it to just use my own wifi and SonosNET should not be running anywhere.

 

I am finding it almost impossible to create this scenario however, since when I try and connect to WIFI from settings>network, I get password incorrect, which it is not.  I have seen other threads regarding this, but no surefire solution.  I seem to be going in circles atm resetting one device after another, but I am never seeing the downstairs sonos connect via my home wifi,


Ken_Griffiths
rbrown wrote:

I am getting a little further with this now since I’ve had the morning to investigate a bit more.  It seems that the issue is that I have a Sonos upstairs, that is wired to a switch running to my router downstairs.  The Sonos downstairs is on wifi.

 

I believe what is happening is that the downstairs Sonos is trying to connect via SonosNET to the upstairs, when in fact I want it to just use my own wifi and SonosNET should not be running anywhere.

 

I am finding it almost impossible to create this scenario however, since when I try and connect to WIFI from settings>network, I get password incorrect, which it is not.  I have seen other threads regarding this, but no surefire solution.  I seem to be going in circles atm resetting one device after another, but I am never seeing the downstairs sonos connect via my home wifi,

Firstly, I would not recommend you reset your devices in this situation as that really only needs to be done as a very last resort and it will not resolve what you are trying to achieve here. ALL Sonos devices will, in most situations, switchover to SonosNet whenever one device is wired to the LAN and in that situation I would recommend you remove the WiFi credentials from the Sonos App.

If you wish to run all devices on your WiFi, then you must uncable ALL your speakers from the LAN.. and (obviously) keep the WiFi credentials, or restore them, in “Settings/System/Network/Wireless Setup”… its best to have one, or the other, type of setup, rather than both, which is often referred to here as 'mixed mode’ ...and mixed mode only occurs automatically, when one signal is unavailable, or out of reach… in your case, it sounds like that is unlikely to happen.

I would recommend you keep all on SonosNet, but ideally you need to put the wired Sonos device direct into the main router, rather than the upstairs switch… if that’s not practicable, then you maybe best to switch to WiFi and enter the credentials as I have described for your routers 2.4ghz band (case sensitive) SSID/password.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 7, 2020

Hi Ken,

 

I spent quite a long time investigating this this morning, also with Sonos over the phone.  In the first instance the wifi device was not connecting to the closest AP, so that was defintely making things worse.  That is now resolved, but still 1/5 songs or so skip with this error, but only on YouTube Music.  I’ve tried just about everything now, removed all APs, wired in the sonos, removed one sonos etc, and still some songs skip, so i think this has got to come down to YT Music on some songs.  Network was defintely compounding the issue however, the secondary AP though close, was not the best.


Ken_Griffiths

If you want to use your access points or mesh hubs, then you can, but ensure they are all using the same SSID/Password as your main router’s 2.4ghz and 5ghz bands (if using both) and more importantly ensure they are also operating on the same WiFi channels as the main router too… in some instances some access points apps either have the channel set to 'auto-select' or you may have to go via a web interface to change the access point channel.. but ensure you fix them.

Same advice with the router too, it’s important to not allow them to auto-select channels on startup or reboot etc.

The only system that appears to not allow this fixing of channels I’m aware of is Google Nest hubs but most other hub devices and access devices are okay.

If you opt to run your devices on SonosNet (as recommended) I would suggest you ensure you use a non-overlapping wifi channel on your router and access points.. so either channels 1, 6 or 11 and make sure you set the SonosNet channel at least 5 channels away from your chosen router channel.

So if the router is set to channel 6 by you, then set the SonosNet channel to either 1 or 11.

Hope that sorts your issues. 👍

 


Ryan S
Forum|alt.badge.img+26
  • Retired Sonos Staff
  • 12372 replies
  • February 7, 2020

Hi @rbrown, are you able to try using AirPlay to send the audio to your Sonos speaker instead of using the Sonos app? If so, can you test that out for a bit and let us know if you get this encoding error still or something different?

 

There’s an issue affecting some people that the team is working on with YouTube Music that affects certain countries. The diagnostic looks ok on the network side, and the Beam is wired, so that shouldn’t be too much of a concern.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 7, 2020
Ryan S wrote:

Hi @rbrown, are you able to try using AirPlay to send the audio to your Sonos speaker instead of using the Sonos app? If so, can you test that out for a bit and let us know if you get this encoding error still or something different?

 

There’s an issue affecting some people that the team is working on with YouTube Music that affects certain countries. The diagnostic looks ok on the network side, and the Beam is wired, so that shouldn’t be too much of a concern.

Hi Ryan,

I don’t have an Apple device unfortunately, however I think I can borrow one to do some testing.  Its fairly repeatable so I shouldn’t need much testing.  Just FYI, I am in Spain, in case that is one of the affected countries?


Ryan S
Forum|alt.badge.img+26
  • Retired Sonos Staff
  • 12372 replies
  • February 7, 2020

Spain isn’t on the short list yet, but that just means we haven’t had someone in Spain with the issue contact the team so far. So you may be the first to add it to the list. I’ll pass that along so they can look into it.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 14, 2020

Hi @Ryan S 

 

I finally got around to testing this, when AirPlaying youtube from MacOSX it does not fail on any songs that I could find.

There is one song that always fails very quickly, usually within 5 seconds, and it played without any problem so I guess AirPlay works fine.

Does this help in any way with my issue, or does that result exclude me from on the issue you’re working on with YT?


Ryan S
Forum|alt.badge.img+26
  • Retired Sonos Staff
  • 12372 replies
  • February 14, 2020

Those are the results I expected, @rbrown. It looks like you’re running into that issue I mentioned above. We’re working on it with YouTube Music, but due to it, some songs give an encoding error when you try to play them on Sonos. AirPlay has the stream accessed by the mobile device, not the Sonos device, and can play those songs correctly. I’ll let you know when there’s an update to the issue.


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • February 14, 2020

Ah thats really good to hear thank you!


  • Lyricist I
  • 2 replies
  • March 8, 2020

I can report having the same issue with YouTube Music. Any update on this?


Forum|alt.badge.img
  • Lyricist III
  • 10 replies
  • March 8, 2020

I also have the same issue.  Very eager for any updates or recommendations for how to escalate this.   Since Google is inexplicably sunsetting Google Play Music and forcing us over to the inferior YouTube Music service it would be great if it functioned.
It's heartening that others share the issue though - increase odds of a solution at some point.


  • Lyricist II
  • 3 replies
  • March 9, 2020

Just want to add I'm having the same issue with YouTube Music. My other music services over Sonos work perfectly.  Btw I'm in Argentina.


Airgetlam
  • 42672 replies
  • March 10, 2020

YouTube must still be working on the issue, as there is been no update from Ryan. 


Forum|alt.badge.img+3
  • Author
  • Collaborator II
  • 50 replies
  • March 10, 2020

@Ryan S is there any update at all?  Any ETA for a fix?  A bug tracker open on google side we could be pointed to?  It’s really killing my experience at the moment because YouTube Music is my only paid music source I have, and 1 in 3 songs skips.


Ryan S
Forum|alt.badge.img+26
  • Retired Sonos Staff
  • 12372 replies
  • March 10, 2020

There’s still no timeline for the fix, but I’ll check in with the team.


rbrown wrote:

@Ryan S is there any update at all?  Any ETA for a fix?  A bug tracker open on google side we could be pointed to?  It’s really killing my experience at the moment because YouTube Music is my only paid music source I have, and 1 in 3 songs skips.

+1 on this.  I have been dealing with this for over a month now.  Extremely frustrating when songs skip - completely kills the experience.  

Would appreciate a speedy resolution SONOS


  • Lyricist I
  • 1 reply
  • March 24, 2020

+1, been over a month now. Every song stops around 1/3... I even use Spotify free now in the meantime..


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings