Jump to content

Debugging questions, some items not added to library (music)


Go to solution Solved by Happy2Play,

Recommended Posts

DonMacaroni
Posted

Discovered something interesting, as it seems not all music got added to Emby library, even after multiple rescans.
Any advice how to debug it and see, what is actually missing and why?

Emby Library:
Emby-songs.png.2651a3b3ea654a9ee85205783020381b.png

Storage Analyzer:
Storage-stats.png.3a8d07ef64417239a9dfdf32daa62ad7.png

DonMacaroni
Posted (edited)

embyserver.txt does not seem to reveal anything interesting, no errors... 🤨

Synology Audio Station seems to include everything though:

Audi-station.png.07a2162ee9b27d23238fb158b8274153.png

Edited by DonMacaroni
DonMacaroni
Posted (edited)

Nuked the Music library, started over and it still only ingests 79768 out of 79796 files, for some strange reason. 🤔

Issue seems to be specific to some files, because when I temporarily add Test directory (test album), with 6 files it does get added in addition to those 79768.

Only issue is, I don't know which files Emby skips, so I could figure out why, hence why I am asking for help.

Log: embyserver.txt

Edited by DonMacaroni
Happy2Play
Posted

I guess the question is which one is correct?  It does seem extremely odd that 28 is the difference here.

DonMacaroni
Posted (edited)
22 minutes ago, Happy2Play said:

I guess the question is which one is correct?  It does seem extremely odd that 28 is the difference here.

If I look at folder properties in Windows Explorer (or via Synology filestation), it shows that there is 79796 files present.

I compared folder counts (I have one "album" per folder) and it seems to match though.

And this drives me literally nuts already... :D

Edited by DonMacaroni
Happy2Play
Posted
4 minutes ago, DonMacaroni said:

If I look at folder properties in Windows Explorer, it shows that there is 79796 files present.

But folder property would be showing the 28 m3u files that would be missing in Emby item count, correct?  Would that not make storage analyzer incorrect?

Just seems odd that the difference is exactly 28.

Posted

Are any of them named theme.mp3, or have the word sample in the file name?

  • Thanks 1
DonMacaroni
Posted (edited)
15 minutes ago, Happy2Play said:

But folder property would be showing the 28 m3u files that would be missing in Emby item count, correct?  Would that not make storage analyzer incorrect?

Just seems odd that the difference is exactly 28.

Analyzer treats M3U files separately (that report is by file type) and they are in different folders.
MP3 files are in media folder and M3U files are in playlists folder.

When I look at the properties, I only look at the media folder and I don't have anything except MP3 files in that folder.

Explorer.png.2e04ebd1cd4f559e7c04f9c81808df10.png

Edited by DonMacaroni
DonMacaroni
Posted (edited)
19 minutes ago, Luke said:

Are any of them named theme.mp3, or have the word sample in the file name?

Let me see.

There are definitely tracks, which filename ends with "theme.mp3" and files which do have sample in their title/filename.
And it does look like, you found my missing 28 tracks (counted these) :D

28.thumb.png.cb74b83aa414d91bb743544a3314dca7.png


As, I use naming pattern %track% - %artist% - %title%, they do have "sample" in filename as well. :(

 

Edited by DonMacaroni
  • Solution
Happy2Play
Posted

There is a per library "SampleIgnoreSize" you can adjust in the options.xml.  You would have ssh into your Synology to edit this file.

<SampleIgnoreSize>314572800</SampleIgnoreSize>

 

  • Thanks 1
DonMacaroni
Posted (edited)
8 minutes ago, Happy2Play said:

There is a per library "SampleIgnoreSize" you can adjust in the options.xml.  You would have ssh into your Synology to edit this file.

<SampleIgnoreSize>314572800</SampleIgnoreSize>

 

Sure, no problem with SSH.
But, what it exactly does and what should I do with this line?

Set it to 0, like this?

<SampleIgnoreSize>0</SampleIgnoreSize>
Edited by DonMacaroni
Happy2Play
Posted
7 minutes ago, DonMacaroni said:

Sure, no problem with SSH.
But, what it exactly does and what should I do with this line?

It excludes "Samples" from displaying in the library.  Wouldn't think it should apply to music at all but would appear to be applies to all libraries.

Was primarily added to prevent "Sample" videos from appearing in Emby.

As for the value, you would need to make it smaller then the audio track sizes, I would try zeroing out the value.

  • Thanks 1
DonMacaroni
Posted (edited)
2 minutes ago, Happy2Play said:

It excludes "Samples" from displaying in the library.  Wouldn't think it should apply to music at all but would appear to be applies to all libraries.

Was primarily added to prevent "Sample" videos from appearing in Emby.

As for the value, you would need to make it smaller then the audio track sizes, I would try zeroing out the value.

Ok, will try it out and let you know, thx... 👍

Edited by DonMacaroni
Happy2Play
Posted (edited)

Now you got me looking why Emby and mp3tag had a difference of 1 on my music library, but found it was a m4v video file with an album.  Emby currently does not support music videos with Music.

But testing adding (Sample Mix) to tracks did not remove them in my tests, unedited options.xml.

Edited by Happy2Play
DonMacaroni
Posted (edited)

In my case, it helped though.

I changed  

<SampleIgnoreSize>0</SampleIgnoreSize>

in /volume1/@appdata/EmbyServer/root/default/Music/options.xml, restarted Emby server, ran rescan on music library and:

79796.png.4f7f709f855adf5a14e9ccc89e3fbbda.png

@Luke what do you think, could this somehow can improved for Music libraries as "sample"/"sampler" is pretty common term in music industry?

Anyway, I guess it is time to join to the Premiere club now as I pretty much like how Emby works, even on my limited hardware, compared to Plex (which basically is completely useless even for video playback).

Edited by DonMacaroni
  • 3 weeks later...
Posted

We could probably just have that apply to video files only. Thanks for the feedback.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...