Jump to content

Plugin: Ginjaninja Tools - Identity Helper - Improving Emby Identification


Recommended Posts

ginjaninja
Posted (edited)

 image.png.99e854b85ecbd27930f8936c6b7eebc5.png 

Purpose and Function

  • A library provider (Currently for TV Series) which improves first time identification success rate, especially for automatic library ingestion.
  • Rather than the unreliable default firstordefault approach of the TMDB|TVDB result set, this provider uses Levenshtein distance and year weighting to nudge Emby's TMDB and TVDB providers in the right direction.
  • Example D:\TV\Honey , Emby's TVDB detects as an Indian show from 2019 called "Money Honey", rather than a show "Honey" from current year. TMDB detects as "Cutie Honey Universe"
  • Design Goal: Do the bare minimum, just provide the IDs of the winning result and let Emby proceed under its default TMDB|TVDB behaviour.
  • Supports Emby's manual and automatic identification pathways. Inherits the library's TVDB|TMDB isenabled/order.
  • image.thumb.png.82e4e10bfa1b85ce9906b68538780b16.png

Getting Started

  • Backup database prior to use until comfortable, I am running in live  but with limited 'day forward' testing.
  • Enable debug logging during testing.
  • Click on the plugin to configure its settings. "Enable Resolver" and "Apply Selected Ids".
  • Enable the provider in the library metadata configuration (it needs to be first in order above TVDB and TMDB to do its job).
  • Manually or automatically identify a tv show and see the results / log / behaviour.
  • Turning off the resolver allows you to easily compare standard vs new behaviour.

Download

https://github.com/ginjaninja1/IdentityChecker

Changes

 

Known issues

  • Local NFOs (and the library configured to read NFOs) avoid this and all providers (normal emby behaviour)
  • Emby's manual pathway doesnt provide access to library provider settings, so the manual pathway  has to rely on user configuration of preffered provider (TMDB|TVDB) in a tie break (see cong options), if both sources are in use.
  • chasing down a potential bug with stale folders. The plugin is possibly too cautious and takes a step back if a show is reintroduced in the same path, allow default bad behaviour to override. Dont think it affacts real world use.

Roadmap

  • Add to plugin store, after some wider feedback.
  • Introduce a Movie helper and any others on request. Movies also use 'firstordefault' and can go 'wrong' too.

Other Info

  • Vibe coded with ChatGPT Codex, 50% of free monthly subscription, Light Luna model. This model / Codex is a notable improvement from a few months ago IMO.
  • Tested on 4.11.0.13 (although should work on 4.9.1.90 onwards), on a server with default TMDB and TVDB providers available.
  • Issues and Suggestions welcome.
Edited by ginjaninja

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