Sonic Analysis - has processed 6 albums in 40 minutes

On a first gen i7 860 I am currently running 10 albums per hour.

I wonder if I could buy the parts to build an extreme system. Run the Sonic Analysis then send it all back in the 30 days return policy haha

So it’s now complete. Took about 4 days of the server being on 24/7. So to complete my full collection it’s not going to happen till I drop some coin on an upgrade. But, on a whole it’s worth it. The SA is brilliant on Plex. The artist playlist feature is tremendous! The playlists it’s made are so good and I would never have thought to select some of the songs.

HOWEVER!

I thought I would add some other albums. I added only 2, it scanned them, then SA ran and complete. I thought brilliant… then it started the SA artist index rebuild. That has been running for about 5 hours and the progress bar is almost complete.
A heavy price to pay for adding more albums. I know this is fully down to the very old system I have. Maybe with future updates some kind of optimization will happen to speed these processes up for lower-end users.

But, on a whole I think it’s a brilliant system and love the feature.

Maybe someone can comment on this. I have seen a couple of posts where people are adding a couple of albums and it process those pretty quickly but then we have to wait like a good 5+ hours for it to rebuild the Artist index? I can see this happing after the first scan, but from what I saw, it creates a new database for this information. What is taking 5 hours to rebuild the Artist index after adding just a few albums. I am a little worried that my server is going to be running all the time with the amount of albums I already have and the albums I am adding here and there.

I started the scan of albums Sep 1st and it’s still going… I have like 3 more days left. I have not gotten to the Artist index rebuild and don’t know how long that will take at all. I just don’t want my server to be pegged at 100% every time I add a couple of albums for like 12 hours…

If anyone has any more info on this Artist rebuild… that would be great.

the index rebuild should take only a few seconds (or perhaps minutes on slower hardware).

I don’t think it should be taking hours in any normal scenario.

the analysis is what uses the machine learning/heavy cpu.

I would guess rebuilding the index should use similar cpu use as doing a database optimize or whatever (but less time).

I guess I will just have to wait and see for myself… Hoping it is quick and I never see it when I start my tasks late at night… Thanks for the info!

So, I have a test library of 1000 albums. Took 3 days to complete SA with an average of 10mins per album. I added 20 albums which processed a lot faster. Around 4-5mins per album. However, the artist index took hours. Like around 5-6 hours like you.

This evening I added 3 new albums. It was back to 10mins per album. But… The artist index was seconds this time.

I wonder if the first index after the SA scan is done takes longer. I’m away to add more albums and record the timing. Will report back.

So my artist index takes seconds now too.

How many albums do you have in your Library? I am hoping that is the case when this is all done… still got 1000 albums to go out of 26K.

Thanks.

That’s the thing, I made a test library of 1000 albums. I have close to 300k now. My processor and the time needed to complete just isn’t viable. Also, the meta for this collection is a mess. I’ve gained huge amounts of music from LAN parties back in the day, back when people used folders for accessing so meta wasn’t needed. It’s too big to sort now. But I was curious to test SA.

So spent a week tagging 1000 of my favourites for testing.

I guess I will just have to wait and see. I did a very small test on my PC here and clearly it was quick but it creates a database. I would assume we would just be adding to that database and that should be pretty quick.

Yeah seems so matey. Mine seems to be a lot faster after the main scan is done for. 10+ year old CPU.

The SA is brilliant btw. Some of the songs it come up with on track radio is excellent. Only issue is can’t save that playlist. But I’m sure an update will come.

With an un-groomed monster library like that … I would be tempted to make a copy of the library and try to process it with one of the automagical tools like Picard. The results would not be perfect, but they might be an improvement.

That is a good shout. I’ve got a feeling would be dangerous with a collection that big and so many un-named or I correctly named. Loads of albums called “Spanish music” and the likes.

Might be best deleting and just starting again. Download what I want and when. Would be so much easier to manage and be clean.

Re-indexing the sonic information after adding new content should be relatively quick, a few seconds at most. There must have been something else going on if it took hours. If you still have the PMS logs from that time, I can take a look.

My Sonic analysis is stuck on processing 1 album.
Which log file will show me what it is trying to process?
I see nothing when searching for sonic in Plex Media Server[n].log.
Also nothing in Console related to Sonic.

I haven’t added any albums since the process started.

Thanks

1 Like

Use Process Explorer (Windows) or ps -ax|grep trans (Linux) to see if there is a transcoder process that has been running a long time. The name of the problematic track will be in the process arguments.

You can also look at your Plex music library. Sort the complete track list by length. Bad tracks may have bizarre runtimes, like 24 hours. (When I found this, these few tracks were fine with every tool and player I had except Plex, which hated them.)

1 Like

That is the issue.

Using @OttoKerner’s method I found the album was Dire Straits - Brothers In Arms. The song So Far Away is showing as >13 hours long in Plex.

Is there a way to fix this track? I’ve tried removing it and putting it back.

You can try and decode it to wav, then re-encode it to flac. Use the newest flac release from e.g. RareWares - Lossless codecs
(only recommended when you have it already in a lossless format)

Or if you have the original CD available, re-rip it. (provided it isn’t too badly scratched)

You can use mp3tag to copy the metadata from the old file and paste them into the new version, to save some time and making sure that all metadata are identical between old and new.

I do have the CD and it’s in good condition. Now, to find it. :slight_smile:
I’ll probably rip the whole CD to keep the tracks normalized.

I originally ripped everything to MP3 with EAC.

Thanks.