stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.98k stars 785 forks source link

[Feature] Import metadata from Kodi-esque format (Kodi, Plex, Jellyfin) #1199

Open CosimoVestri opened 3 years ago

CosimoVestri commented 3 years ago

Is your feature request related to a problem? Please describe. No. This is a distinct feature request, not correction of existing behavior.

Describe the solution you'd like Kodi and related systems use .NFO files (XML formatted) with the same name as the media file to store metadata. Feature would entail reading this file to obtain information to populate data fields for import.

Describe alternatives you've considered Scraping from a Kodi web interface is one possibility, but it really isn't ideal.

Additional context Kodi NFO to Stash Schema mapping (approximate) Direct map:

More complex mapping:

Import of images specified in the NFO file is another matter altogether, and should probably be relegated to another issue.

This is distinct from For conversion from #428 in that it involves actual import of metadata from a Kodi-esque library. This is distinct from stashapp/CommunityScrapers#413 in that it involves scraping from Plex/Kodi, not the export of data from Stash. This issue is connected to that filed at stashapp/CommunityScrapers#429

AiWABR commented 3 years ago

Support, I like to use kodi and plex a lot, it would be great to be able to use the information obtained in the stash and also transfer it to plex

sadukar007 commented 3 years ago

Hey, guys, i created an Emby scrapper if you are interested, i am still testing it but it basically takes the exact path of the file from the stashdb database, and makes an itemssearch on the emby api with that path and some additional filters and maps everything together.

Phasetime commented 3 years ago

Hey, I just created a scraper that accomplishes ingesting from kodi/plex exports. https://github.com/stashapp/CommunityScrapers/pull/689

echo6ix commented 1 year ago

More context https://kodi.wiki/view/NFO_files/Templates

Also, NFO files would be great for galleries, either in a folder or contained in a zip.