DonMacaroni 54 Posted March 30, 2022 Posted March 30, 2022 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: Storage Analyzer:
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (edited) embyserver.txt does not seem to reveal anything interesting, no errors... Synology Audio Station seems to include everything though: Edited March 30, 2022 by DonMacaroni
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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 March 30, 2022 by DonMacaroni
Happy2Play 9780 Posted March 30, 2022 Posted March 30, 2022 I guess the question is which one is correct? It does seem extremely odd that 28 is the difference here.
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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... Edited March 30, 2022 by DonMacaroni
Happy2Play 9780 Posted March 30, 2022 Posted March 30, 2022 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.
Luke 42077 Posted March 30, 2022 Posted March 30, 2022 Are any of them named theme.mp3, or have the word sample in the file name? 1
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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. Edited March 30, 2022 by DonMacaroni
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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) As, I use naming pattern %track% - %artist% - %title%, they do have "sample" in filename as well. Edited March 30, 2022 by DonMacaroni
Solution Happy2Play 9780 Posted March 30, 2022 Solution Posted March 30, 2022 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> 1
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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 March 30, 2022 by DonMacaroni
Happy2Play 9780 Posted March 30, 2022 Posted March 30, 2022 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. 1
DonMacaroni 54 Posted March 30, 2022 Author Posted March 30, 2022 (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 March 30, 2022 by DonMacaroni
Happy2Play 9780 Posted March 31, 2022 Posted March 31, 2022 (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 March 31, 2022 by Happy2Play
DonMacaroni 54 Posted March 31, 2022 Author Posted March 31, 2022 (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: @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 March 31, 2022 by DonMacaroni
Luke 42077 Posted April 18, 2022 Posted April 18, 2022 We could probably just have that apply to video files only. Thanks for the feedback. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now