Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrape/Import from Kodi/Plex/Emby NFO metadata files #429

Open
CosimoVestri opened this issue Mar 11, 2021 · 4 comments
Open

Scrape/Import from Kodi/Plex/Emby NFO metadata files #429

CosimoVestri opened this issue Mar 11, 2021 · 4 comments

Comments

@CosimoVestri
Copy link

For conversion from Kodi or similar, the ability to obtain details like the scene name, description, and actors from an NFO file matching the file name of the media in question would be ideal. I'll duplicate this issue in stashapp/stash since it probably falls outside of the scope of the community scraper project.

This is distinct from stashapp/stash#428 in that it involves actual import of metadata from a Kodi-esque library.
This is distinct from #413 in that it involves scraping from Plex/Kodi, not the export of data from Stash.

@bnkai
Copy link
Collaborator

bnkai commented Mar 12, 2021

I would probably add it as a request
A script scraper could be made to check the path and if an .nfo file is present parse it and return the results.
Another possibility would be to make a request for stash so that when scanning those files get detected and parsed ( that will not work with existing files, only for newly scanned files).
So a fetaure request should be valid for both the scrapers here and stash in the other repo
Could you also link a few valid sample files ? Checking the sites for their nfo definition is ok but a valid sample is also helpful for testing

@CosimoVestri
Copy link
Author

So here's an example: https://gist.github.com/CosimoVestri/9cb96440273063ce0e3a614bf8965e2e

Notes: Metadata management software like MediaElch often only specify a year, rather than a complete date for movies. Also, one can't necessarily uniformly select poster/fanart to be used as a cover image for movies. I actually wrote a script concatenating poster and fanart images to use for cases in which there was a vertical (portrait) format poster which had the title and a horizontal fanart without.

@Phasetime
Copy link
Contributor

Just wrote a scraper for this #689. Let me know what you think.

@robertoleonardo
Copy link

any chance someone has a few minutes to update this to work with v24? i spent forever trying to figure it out but lack the the know-how...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants