namer icon indicating copy to clipboard operation
namer copied to clipboard

Default all searches to the TPDB movies

Open thedesi1 opened this issue 2 years ago • 7 comments

Enhancement to namer so that a flag is set in config file and all the queries go to TPDB movies vs trying to also search Scenes

thedesi1 avatar Jan 20 '23 18:01 thedesi1

This is already implemented in the JF TPDB plugin

thedesi1 avatar Jan 25 '23 22:01 thedesi1

This will have to work differently.

Namer needs another regex parser for movie formats.... parse as scene first, if that fails parse as movie (name - year.ext) -- ignore matching on site.

Namer likely should decide which data source to query first based which parser succeeds. The jellyfin plugin likely should be left to match scenes first, and then movies if you are using namer's default name output pattern of site - data - name. Which I don't think you are.

But keep in mind it's not about just your use case, but other's as well -- and it's up in the air if we should force movies and scenes to be in different libraries in jelly/plex or in one. I happen to keep them all in one folder.

4c0d3r avatar Jan 25 '23 22:01 4c0d3r

I agree, from my experience in Stash world, most folks are keeping them separate and I am asking to use default which is the current scenario or option to separate it like JF, which works perfectly fine. Just for the reference, 98% of the movies that are collected from various sources dont match today and whatever match is incorrect, I have tested it with 1000+ titles.

thedesi1 avatar Jan 25 '23 22:01 thedesi1

also the manual mode that went with #170 will work for my use case so not very important to implement this.

thedesi1 avatar Jan 25 '23 22:01 thedesi1

The matching may work if "name - year.ext" searching were a thing. Glad 170 eases your current needs, but if namer ever supports movies fully I'd want to do it right. Not sure what that means yet. Is "name - year.ext" really that common? Or is site-date-name.ext more common? Should all the plugins be updated to support "name-year.ext", or should namer always output sites-date-name.ext instead (so the plugins just work)? I don't know if we know the right answers yet.

4c0d3r avatar Jan 25 '23 22:01 4c0d3r

You are right, I have been trying to figure out myself, each movie has multiple years and multiple studios, exactly same movie, tpdb needs to dedupe and do something like what I proposed in discord:

One Movie - Multiple Studios One Movie - Multiple release dates by Studios

thedesi1 avatar Jan 25 '23 22:01 thedesi1

What's been working 99% time is this for me: name} ({year})/{name} ({year}) - {site} - {date} - {resolution}.{ext}

thedesi1 avatar Jan 25 '23 22:01 thedesi1