#Tracks from Apple Music Very Slow to Load

1 messages · Page 1 of 1 (latest)

nova shoal
#

Lost all of my tracks from Apple Music. I reconnected Apple Music but still nothing. I can play tracks from Apple Music.

Had an HA Playlist with hundreds of tracks, lost it all.

jade steppe
#

You haven’t explained what you did for this to occur

nova shoal
#

It took a long time but they finally showed up.

nova shoal
#

Tracks from Apple Music Very Slow to Load

#

It seems that MA is having trouble loading tracks from Apple Music.

blissful mica
nova shoal
#

I have a playlist that plays when someone hits the dinner time button in HA. The playlist has a lot of tracks from Apple Music.

Since the update, the playlist hasn’t played via the automation. When I look at the playlist directly, it takes several minutes to load.

#

But searching in MA is fine.

blissful mica
nova shoal
#

It happens every time I load the playlist.

jade steppe
#

@lucid heart

blissful mica
#

I checked the code and it should cache the playlist tracks for 3 hours.
So if you refresh the page it takes a long time before the tracks are loaded ?
How long ? and how many tracks (give or take) in that playlist ?

nova shoal
#

I’ll check later. Out Christmas shopping.

nova shoal
blissful mica
lucid heart
#

I have apple music playlists also loading in seconds here. Can you take a screen capture so we know exactly what you are talking about?

patent sandal
#

I am also experiencing issues with Apple Music after upgrading to 2.7.2.

Specifically, all Apple Music tracks are missing from my "All favorited tracks" playlist. These were tracks that I manually favorited by clicking the "favorite" (heart) button in the player interface previously.

After the update completed, all of these Apple Music tracks disappeared from the list.
Unlike the OP (Eric), mine haven't appeared even after waiting.

nova shoal
#

Don't know if this would help. I have an Apple Music playlist that works perfect. The playlist that takes a long time to load is a MA playlist full of Apple Music tracks.

#

Turned in a GitHub report.

west crater
#

I am seeing this delay, even with regular radio or playlists. it take several (5+ seconds) to move to a new track with Apple music

lucid heart
lucid heart
# nova shoal Don't know if this would help. I have an Apple Music playlist that works perfect...

I think this is a key insight. Can you elaborate how you created the playlist and added tracks to it? Just double checking, this is a not a playlist that was created in Apple Music and synced to MA? I can reproduce this when I created a Music Assistant playlist and add a bunch of Apple music tracks. Smells like a missing cache issue, the long loading time should only be required once

lucid heart
#

Actually, I only get the long loading time the first time around, which is kind of expected. Are you sure you have to wait a long time again when you refresh the page?

nova shoal
west crater
#

@lucid heart a symptom or affect of the delay, for me is if I skip 3 songs I end up with some sort of odd mix of 3 songs playing ~3 seconds of each song. its as if its caching the first few seconds of each song that was skipped, and it keeps replaying. I can easily replicate this by playing an artist radio, and skipping 3-4 songs. you have to stop the player as it gets stuck in a cache loop. If there is something I can collected to help with this pls let me know.

#

you can clear this by stopping the music, skipping a track and playing again

nova shoal
lucid heart
lucid heart
west crater
#

@lucid heart I am on the latest GA release 2.7.2 as addon in HA. Please do let me know if you want me to test on a nightly as I can install that seperately.

west crater
#

@lucid heart anything else you need for me on the audio looping problem?

jade steppe
#

Please stop pinging people. It's the holidays, we will get around to this in time

lucid heart
lucid heart
#

@nova shoal I found the issue. Replied in the GH issue, let's take the conversation there.

nova shoal
west crater
#

Hi @lucid heart I have found how to replicate. Apple music, Airplay to homepod (V1 or V2 Protocol has same issue), and skip a track quickly before it starts playing. what I think happens is that is buffers the first track and that buffer is not cleared before the second track starts playing. I have a video on what I did to replicate. The playlist used was an apple artist list not curated, but I can replicate the issue with any type of playlist or Radio on Apple music. I don't have other services I can try unfortuately.

#

let me know if you want me to open a github issue. thanks!

nova shoal
#

Anybody know how to figure out which tracks are missing from a playlist?