Jump to content

Newly added music not showing under "Genres"


Go to solution Solved by FunkyB,

Recommended Posts

Posted

This started happening a few months ago. Any new tracks I've added after to a music library after a certain date a few months back, don't show up under "Genres". They are definitely tagged properly, as I use then in my DJ software, and Emby shows them under the auto-generated "Latest ... Music" lists. Also, they show up if I browse by Albums or Artists and Emby plays them fine.

I've updated Emby manually by downloading the spk from the website. I also tried re-scanning the library but it didn't make any difference, probably because the tracks are already in it. I'm at a loss as to how to even trouble-shoot this further. Any suggestions greatly appreciated.

Emby 4.8.11.0 running on Synology DSM.

Posted

Hi there, let’s look at a specific example. Thanks.

Posted

I'm not sure how to show this except post a bunch of screenshots. Sorry for the massive images.

The same thing happens if I open it on mobile or another browser. It's also the same whether I log in to my admin account or normal account. I double-checked and the "emby" user has Read/Write permission on the Music folder where all of these are stored.

Suggestions view - everything shows OK: (the underlined ones are from 2025)

suggestions.thumb.png.3b9abce198f14cba62355f026278252d.png

Albums view - all OK:

albums.thumb.png.14711278b63b7ad281195c1bd05bc6a9.png

Songs view - again. no problem:

Songs.thumb.png.c2ae47b8e457a8daf6e7f0394a3b4eb3.png

Artists and Composers also display as expected. But with Genre, newer tracks are just not there. Genre > House:

Genre-House-Album.thumb.png.b50d16bf41660dc51cb2ec5bc499ec34.png

Even if I Filter to 2024 (there isn't even a 2025 for date added):

Screenshot2025-04-27111018.thumb.png.dbdb74e1762fe21721d4611bb287051a.png

I hope that helps show the situation. Any idea how I can further troubleshoot this?

Posted
Quote

Even if I Filter to 2024 (there isn't even a 2025 for date added):

Hi, what do you mean by this? There is no year filter for date added.

What you are referring to is the release year value. Do your albums have these values filled in? You can check in the metadata editor.

  • 2 weeks later...
Posted

Filtering the year in the last screenshot was just to drill down on newer tracks. The filters are all working for me as intended.

I've found the issue, though. When I open the metadata editor in Emby on any of the tracks that aren't showing under Genre, there is no Genre assigned to them. If I manually add a Genre there, the track immediately shows up in the Genre tab. So the problem is that for some reason Emby isn't reading the genre tags from track metadata for tracks added sometime after the last install.

To double check, I opened both an older track (Paradise Life) and a newer one (Chronicles - that Emby doesn't show a genre for) in MP3Tag, and both have the same genre. There are no ghost trailing spaces or anything either - they are exactly the same. Note that for the track Paradise Life, I did not edit anything in Emby to assign a Genre. I only tagged it before copying it into my library and Emby detected it automatically.

Do I need to do a manual re-fresh to re-read the metadata, or is there some setting that maybe I turned off by mistake? I looked through but didn't see anything (however, I also missed the metadata editor :).

Screenshot 2025-05-06 130530.png

Screenshot 2025-05-06 130834.png

Screenshot 2025-05-06 132147.png

Screenshot 2025-05-06 132033.png

Happy2Play
Posted

 

Ultimately in the end you have to see what ffprobe sees on each track but had no issue testing here.

image.png.0734f635a838d575b30ee8d7a52b656b.png

From my log you can see the ffprobe command

Quote

2025-05-06 07:14:08.227 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\Media\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"E:\Media\Music - emby metadata\Di Saronno\Spittin' Bars EP\DJ Simi, Di Saronno - Spittin Bars (Original Mix).mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3

output manually running that command first section

Microsoft Windows [Version 10.0.26200.5581]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Media>C:\Users\Media\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"E:\Media\Music - emby metadata\Di Saronno\Spittin' Bars EP\DJ Simi, Di Saronno - Spittin Bars (Original Mix).mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3
ffprobe version 5.1-emby_2023_06_25_p4 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
{
Input #0, mp3, from 'file:E:\Media\Music - emby metadata\Di Saronno\Spittin' Bars EP\DJ Simi, Di Saronno - Spittin Bars (Original Mix).mp3':
  Metadata:
    album           : Spittin' Bars EP [DE025]
    artist          : DJ Simi; Di Saronno
    album_artist    : Di Saronno
    encoder         : Lavf61.1.100
    genre           : House
    publisher       : D'EAUPE
    title           : Spittin' Bars (Original Mix)
  Duration: 00:06:58.64, start: 0.025056, bitrate: 131 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s, Start-Time 0.025s

 

Posted (edited)

Emby is installed on my NAS, and I don't know how I'd run ffprobe there, but I had ffprobe on my PC and here's what it gives me. It looks like the genre is there.

EDIT: Drive M: is mapped to the music folder on my NAS.

Microsoft Windows [Version 10.0.26100.3775]
(c) Microsoft Corporation. All rights reserved.

M:\Audio PC\C\Music\DJ\2025\Di Saronno - Spittin' Bars EP (2025)>ffprobe "02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif"
ffprobe version 2021-01-01-git-63505fc60a-full_build-www.gyan.dev Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 62.100 / 56. 62.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.100 / 58. 65.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 94.100 /  7. 94.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, aiff, from '02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif':
  Metadata:
    genre           : House
    album           : Spittin' Bars EP
    artist          : Di Saronno & K'Alexi Shelby
    title           : Chronicles (original mix)
    track           : 2
    date            : 2025
    album_artist    : Di Saronno
    TBPM            : 125
    publisher       : D'Eaupe
    TKEY            : 5A
  Duration: 00:06:58.59, start: 0.000000, bitrate: 1413 kb/s
    Stream #0:0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
    Stream #0:1: Video: png, rgb24(pc), 300x300 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)

I just noticed that there are "album.nfo" files in each folder which are not present in the original data that is copied to the NAS. The "album.nfo" file in the folder for this album contains the following -- note that it is missing genre information.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<album>
  <review />
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2025-04-23 00:15:37</dateadded>
  <title>Spittin' Bars EP</title>
  <year>2025</year>
  <sorttitle>Spittin' Bars EP</sorttitle>
  <runtime>7</runtime>
  <artist>Di Saronno &amp; K'Alexi Shelby</artist>
  <albumartist>Di Saronno</albumartist>
</album>

In the Library settings, I'm going to try unchecking "Nfo" under Metadata Readers and also Metadata Savers and rescan. My Sync software mirrors the DJ PC content to the NAS, so it will probably delete them next time I sync anyway as they aren't part of the original data (I can change that if needed).

Edited by FunkyB
Happy2Play
Posted (edited)

Not sure unless something appears in the server log during import as I get this for aiff and mp3 formats.  Only thing I changed on orginal tags is ARTIST to secondard line but could have used semicolons instead.  And added AlbumArtist.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<album>
  <review />
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2025-05-06 07:05:55</dateadded>
  <title>Spittin' Bars EP [DE025]</title>
  <sorttitle>Spittin' Bars EP [DE025]</sorttitle>
  <runtime>26</runtime>
  <genre>UK Garage</genre>
  <genre>Bassline</genre>
  <genre>House</genre>
  <genre>Deep House</genre>
  <artist>DJ Simi</artist>
  <artist>Di Saronno</artist>
  <artist>K'Alexi Shelby</artist>
  <albumartist>Di Saronno</albumartist>
</album>

image.png.9154926c752adb96694ea34292491799.png

Edited by Happy2Play
  • 2 weeks later...
Posted
On 5/7/2025 at 10:44 AM, FunkyB said:

Emby is installed on my NAS, and I don't know how I'd run ffprobe there, but I had ffprobe on my PC and here's what it gives me. It looks like the genre is there.

EDIT: Drive M: is mapped to the music folder on my NAS.

Microsoft Windows [Version 10.0.26100.3775]
(c) Microsoft Corporation. All rights reserved.

M:\Audio PC\C\Music\DJ\2025\Di Saronno - Spittin' Bars EP (2025)>ffprobe "02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif"
ffprobe version 2021-01-01-git-63505fc60a-full_build-www.gyan.dev Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 62.100 / 56. 62.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.100 / 58. 65.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 94.100 /  7. 94.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, aiff, from '02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif':
  Metadata:
    genre           : House
    album           : Spittin' Bars EP
    artist          : Di Saronno & K'Alexi Shelby
    title           : Chronicles (original mix)
    track           : 2
    date            : 2025
    album_artist    : Di Saronno
    TBPM            : 125
    publisher       : D'Eaupe
    TKEY            : 5A
  Duration: 00:06:58.59, start: 0.000000, bitrate: 1413 kb/s
    Stream #0:0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
    Stream #0:1: Video: png, rgb24(pc), 300x300 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)

I just noticed that there are "album.nfo" files in each folder which are not present in the original data that is copied to the NAS. The "album.nfo" file in the folder for this album contains the following -- note that it is missing genre information.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<album>
  <review />
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2025-04-23 00:15:37</dateadded>
  <title>Spittin' Bars EP</title>
  <year>2025</year>
  <sorttitle>Spittin' Bars EP</sorttitle>
  <runtime>7</runtime>
  <artist>Di Saronno &amp; K'Alexi Shelby</artist>
  <albumartist>Di Saronno</albumartist>
</album>

In the Library settings, I'm going to try unchecking "Nfo" under Metadata Readers and also Metadata Savers and rescan. My Sync software mirrors the DJ PC content to the NAS, so it will probably delete them next time I sync anyway as they aren't part of the original data (I can change that if needed).

@FunkyBcan you try this with the ffprobe build that ships with Emby Server?

Posted (edited)

Sure. I have no idea how I'd run ffprobe from my NAS, though. Is there any way to download that build without having to install Emby Server on my PC? I'll install if that's the only way, but just checking. I don't see information on the download pages for FFmpeg's packages about which version of ffprobe is included with which release.

Edit: Re-scanning the library after the last attempt didn't change anything.

Edited by FunkyB
Happy2Play
Posted (edited)
4 minutes ago, FunkyB said:

Is there any way to download that build without having to install Emby Server on my PC?

Sort of as you can grab the portable zip file assuming Windows.  As I don't believe the ffmpeg package is available by itself

Emby Server for Windows

or from GitHub

Releases · MediaBrowser/Emby.Releases

Edited by Happy2Play
Posted

Yea I would just try it on windows. Thanks.

Posted (edited)

OK, here is is. I ran it twice: once on the PC local music folder, where I copied a sampling of files to test the Windows Server installation, and then once more on the file on the NAS. The results look the same; not surprising because it's a copy of the same file.

Microsoft Windows [Version 10.0.26100.4061]
(c) Microsoft Corporation. All rights reserved.

C:\Users\inert\AppData\Roaming\Emby-Server\system>ffprobe "D:\inert\Music\Emby music\2025\Di Saronno - Spittin' Bars EP (2025)\02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif"
ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
Input #0, aiff, from 'D:\inert\Music\Emby music\2025\Di Saronno - Spittin' Bars EP (2025)\02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif':
  Metadata:
    genre           : House
    album           : Spittin' Bars EP
    artist          : Di Saronno & K'Alexi Shelby
    title           : Chronicles (original mix)
    track           : 2
    date            : 2025
    album_artist    : Di Saronno
    TBPM            : 125
    publisher       : D'Eaupe
    TKEY            : 5A
  Duration: 00:06:58.59, start: 0.000000, bitrate: 1413 kb/s
  Stream #0:0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
  Stream #0:1: Video: png, rgb24(pc), 300x300 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic)
    Metadata:
      comment         : Cover (front)

C:\Users\inert\AppData\Roaming\Emby-Server\system>ffprobe "M:\Audio PC\C\Music\DJ\2025\Di Saronno - Spittin' Bars EP (2025)\02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif"
ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
Input #0, aiff, from 'M:\Audio PC\C\Music\DJ\2025\Di Saronno - Spittin' Bars EP (2025)\02. Di Saronno & K'Alexi Shelby - Chronicles (original mix).aif':
  Metadata:
    genre           : House
    album           : Spittin' Bars EP
    artist          : Di Saronno & K'Alexi Shelby
    title           : Chronicles (original mix)
    track           : 2
    date            : 2025
    album_artist    : Di Saronno
    TBPM            : 125
    publisher       : D'Eaupe
    TKEY            : 5A
  Duration: 00:06:58.59, start: 0.000000, bitrate: 1413 kb/s
  Stream #0:0: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
  Stream #0:1: Video: png, rgb24(pc), 300x300 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic)
    Metadata:
      comment         : Cover (front)

The Windows installation of Emby server did pick up the Genres of the same files that it isn't getting on the NAS. They display both in Emby's metatag editor, and I can also browse properly by (Library) > Genre > (Genre Folder) > (Anything under that). Both Emby installations are version 4.8.11.0. I'm starting to wonder if I should just delete the installation on the NAS and then reinstall it from the .spk file.

Edited by FunkyB
  • 2 weeks later...
  • Solution
Posted

After seeing that the install on Windows worked fine, I decided to delete the NAS install, including the database, and set it up again from scratch. Emby is now showing the genre on all tracks and everything works as expected. Hopefully there was just some random corruption and it will be OK now.

It was not readily apparent how to delete the database files. What I did was follow the instructions in this thread:
https://emby.media/community/index.php?/topic/120043-i-have-hosed-my-emby-on-synology-how-to-resetremove-etc/

...but I couldn't remove /volume1/@appdata/EmbyServer as I didn't have permissions even as admin.
I finally used the command:
bash
sudo rm -rf /volume1/@appdata/EmbyServer

which got rid of it. Be really careful with that command because if you make a mistake with it, it could definitely trash your system.

  • Thanks 1
  • 4 weeks later...
Posted

Just a follow-up to say that I've added several new tracks and they all show up as expected in all of the views in Emby after a clean re-install.

It appears that this was indeed some glitch caused by leftover files in the @appdata/EmyServer folder from the old installation, and not a bug. 

If deleting and reinstalling the package doesn't fix the problem, try manually removing that folder.

  • Thanks 1
p30better
Posted

Hi there, let’s look at a specific example. Thanks.

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...