Not getting songs from Last.fm

Hello,
I am not (and have not in sometime) seen last.fm data get pulled into Arc (I am a subscriber)
The last.fm account is public and viewable (without being logged in)

I have removed the account from Arc, closed it and then reopened Arc and still the same issue.

Any suggestions?

I’ve periodically seen the same thing. And these days it seems to be more often than not the import isn’t happening.

I’ll just check the code and see what the conditions for it are… Ok, so it attempts the import (importing all Last.fm track plays logged since the last successfully fetched one) when viewing the timeline day view, based on these conditions:

  1. Must be on wifi
  2. Timeline can’t be processing (timeline can be saying “updating metadata”, but not “processing timeline items”)
  3. Won’t attempt an import if one was attempted within the previous 5 minutes

None of that sounds particularly problematic. So my suspicion is that there’s periodic API errors. I’ll have to catch one of those in the act. Which shouldn’t be too hard.

I’m just doing a full restore from backup on my main phone (finally upgraded from 13 Pro to 15 Pro), so I’m going to let that finish first before I start using that phone for debugging. Hopefully will have that finished today. So stay tuned! I should have a better idea of what the problem is shortly.

1 Like

Hello, just wanted to ask if the Last.fm feature is still supported and working as intended?

I put in my username in Last.fm section of the integrations page, but there is no “Connect” button like there is in the Swarm integration section, and no feedback to show whether a connection with last.fm has been made. I put my username in a few days ago and nothing has been pulled in to the app since.

Any help would be appreciated. Thanks!

Hi @2vvm9!

Yes it should be working. There’s no Connect button because people’s Last.fm scrobble history doesn’t require login or authentication to view, so there’s no need. All it needs is the username and then it should work.

It has periodically acted weird over the years, but usually comes right again on its own. With the usual cause being some temporary server issues or API issues, that don’t require any changes in Arc Timeline app.

But I haven’t actually seen any of my own in a good while either (not that I’ve been paying much attention). I’ll look into it today to see if it’s the usual temporary thing or whether something has actually broken.

Looking at the code now, the main thing I notice is that it’ll only do the import when the phone is connected to wifi. It doesn’t require being plugged in to a charger (as some other delayed data update processes in the app do), but it does require wifi. I guess back when I built it mobile data was more precious than it is today.

But yeah, other than that, it should be still working. But… just testing now, on wifi and having just scrobbled a backlog of 300 track plays… I’m not seeing them appear in my timeline items for yesterday. Hmm. I’ll dig deeper…

Thanks for the reply!

Yeah, would be great if you could dig a little deeper and figure out what the issue might be. Happy to help in any way!

I’m loving Arc, by the way :slight_smile:

1 Like

Ok so yesterday my recent Scrobbles didn’t appear in the timeline items where I expected. But I didn’t get a chance to look through with the debugger. But just now when I checked, the visit from a couple of days ago that I knew should have music in it is showing up with those track plays.

(Well not all - frustratingly, music that plays on my HomePod often isn’t scrobbled. But that’s not any fault of Arc or Last.fm, that’s on Apple).

Anyway it looks like it’s still working! There’s just sometimes a delay in … well, either Last.fm returning the results from the API, or Arc querying the Last.fm API when it should, or the Last.fm API erroring occasionally… To determine which I’d have to spend some time on it. But yeah, check back in the item details views for some slightly older visits / trips, and hopefully you’ll see the data showing up!

Yup, just checked my trips from a few days ago and I see scrobbles there. Looks like there’s a delay but it works. Thanks for checking! (and great taste in music by the way :slight_smile: )

1 Like

Thanks! Though I can’t take credit for the first two tracks. Those were discoveries from reading about Elizabeth Dulau’s prep for some of her scenes in Andor season 2. She’s got great taste! And total tangent, but wow, what a performance in Andor.