Skip to content

Sonarr v3 adding <tag> </tag> lines in tvshow.nfo, causing duplicate show entries in Plex for each tag #116

@ghost

Description

@gboudreau

XBMCnfoTVImporter (V 1.1-93)

Host OS: UnRAID 6.8.3
Plex Install Type: Docker
Docker version 19.03.5, build 633a0ea838
Plex Server version: 1.21.1.3876
Plex docker repo: https://registry.hub.docker.com/r/binhex/arch-plex/

Issue

In Sonarr v3, when using the Kodi (XBMC) / Emby Metadata option, it looks like they are now adding into the tvshow.nfo file, a separate entry for each Sonarr tag that is assigned for that show. This then results in XBMCnfoTVImporter to create duplicate show entries in Plex, with the names of each tag.

Example:

Sonarr v3 show with tags assigned

Screen Shot 2021-01-17 at 6 49 51 pm

image

Sonarr v3 metadata agent

image

Resulting duplicate show entries in Plex

image

Suggested solution?

Hardcode in to ignore the lines in nfo files, or maybe better yet, a new option that allows the user to specify any line entries to ignore in nfo files. e.g.
"Ignore lines in NFO that start with (separate entries with comma) : ,,"

Workarounds?

  • Least painful = disable metadata agent in Sonarr and use a different metadata scraper like TinyMM that doesn't include the lines in NFO
  • Quite painful = keep using Sonarr metadata agent, then create a script that recursively scans all tvshow.nfo files and removes any lines beginning with .
  • Most painful - Not use any local NFO and not use XMBCnfo* ....nooooooooooooooo! ;)

NOTE: Radarr v3 doesn't seem to be adding in the same lines for tags assigned to movies, however if you decide to implement a fix for the above, its probably worth adding into both then TV and Movie bundles.

Hopefully this is enough info for you, let me know if you need/want any more.

Cheers,

blade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions