ThePornDatabase / Jellyfin.Plugin.ThePornDB

Jellyfin/Emby Metadata Provider
https://theporndb.net
MIT License
361 stars 38 forks source link

Namer changed metadata URL #68

Closed widhalmt closed 7 months ago

widhalmt commented 10 months ago

Hi,

When I started using Namer ( https://github.com/ThePornDatabase/namer ) it inserted data into .nfo files that were combined by Jellyfin / this plugin to a valid URL. e.g. in the field referencing a scene in metadataapi there was just the ID of the scene. So the plugin could fetch missing or updated metadata.

A new version of namer now prefixes the id (it's even a different id) with scene/ or movie/. Thus the resulting URL is broken and Jellyfin (more exactly this plugin) can't find the corresponding entry in metadataapi.net .

Could you add an if to either use the old URL scheme or use the new one with scene/ / movie/?

DirtyRacer1337 commented 9 months ago

maybe swap to this id format, need to think about it

widhalmt commented 9 months ago

Thanks!

I can imagine, lots of libraries still use the old one in the metadata. So if you switch, maybe it would be good to have some sort of automatic transition. Like, if scene or movie is missing, fetch the data and rewrite the metadata.

DirtyRacer1337 commented 7 months ago

in dev build