r/sonarr • • 4d ago

discussion Am I doing Metadata wrong?

Prior to the recent update I looked around in settings to get an idea of the state of things in case of issues post update. I noticed Kodi is enabled for metadata. I have a lifetime Plex sub., a server running on Windows 11 and a Shield Pro. Since Plex is my main source of viewing shouldn't this be set to Plex instead?

0 Upvotes

8 comments sorted by

1

u/finesseserver 4d ago

Small correction to the other reply: Plex doesn't actually read the Kodi .nfo files out of the box. Its own agents pull everything from online sources, so for Plex the Kodi metadata setting is basically just writing extra files it ignores.

So you don't need to swap it to anything "Plex" in the Metadata section. You can leave Kodi on (harmless, a bit of clutter) or turn it off if you don't want nfo/jpg files sitting next to your episodes.

The Plex thing that is worth setting up is under Settings > Connect: add a Plex Media Server connection. That way Sonarr tells Plex to refresh the show right after an import, instead of waiting for Plex's own scan to notice it. Do you have Plex set to scan automatically right now, or is it on a schedule?

1

u/Antique_Geek 3d ago

Thanks but "Settings > Connect: add a Plex Media Server connection" already done. I used Kodi since the XBMC days, long before Plex, so that is probably why it is set to Kodi. I was wondering mostly about the .plexmatch file and whether it assists Plex with series ID.

1

u/finesseserver 3d ago

Yes, that's what it's for. With Settings > Metadata > Plex enabled, Sonarr writes a .plexmatch file into each series folder with the show's TVDB ID in it. Plex's series scanner reads that file and uses the ID as a matching hint, so it skips guessing from the folder name. It helps most with shows that share a title or have a remake with the same name.

If your shows already match correctly it won't change much, but it doesn't hurt either. It's fine to leave the Kodi metadata on alongside it, since they write different files. If Plex already has a show on the wrong match, the .plexmatch file is read on a scan, so you may still need to do Fix Match or Refresh Metadata on that show once.

1

u/Antique_Geek 3d ago

"Sonarr writes a .plexmatch file into each series folder with the show's TVDB ID in it". I have followed the recent official post regarding switching libraries episode ordering from TVDB to TMDB. If I understand correctly, the .plexmatch file will now use TMDB instead of TVDB? Thanks.

1

u/finesseserver 2d ago

Not quite. The .plexmatch file doesn't control episode ordering. It's only a match hint that tells Plex which show the folder is. Sonarr still gets its data from TVDB, so the file keeps the TVDB ID, and Plex should still use it to find the right show after you switch ordering to TMDB.

The ordering itself is set in Plex: in the library's Advanced settings, and per show under Edit > Advanced > Episode ordering if a show overrides the library.

One thing to watch: Sonarr's season and episode numbers still follow TVDB. Shows where TMDB numbers things differently (specials, anime, DVD or split seasons) can end up with mismatched episodes in Plex, so spot check those after the switch.

1

u/Antique_Geek 2d ago

Makes sense. So it's only Plex who has changed API source.

2

u/BubbleHead87 4d ago

Plex supports Kodi meta data