Makes '.nfo' file from metadata obtained via Stash for services like Jellyfin Kodi Emby etc .
-
Clone the repo or download zip and extract it to plugins folder of stash.
-
Make sure lxml and requests modules of python are installed.
How to install ->
pip install lxml requests
or
pip install -r requirements.txt
-
Check the config.py file in StashNfoExporter folder and update it accordingly.
-
Lastly go to Stash > Settings > Tasks > Plugin Tasks > StashNfoExporter > Creates NFO
-
Check Stash > Settings > Logs for any error
They can refer to this post #1 (comment)
It will automatically create "filename.nfo" for all the organized files at the same directory of the video file when any movie is added or updated .
I don't use kodi regularly but use jellyfin and it works very nicely with it.
I have added library as Movies and You can use select view as thumb in your library and it will show horizontal thumbs like stash with all the metadata.
By default only Videos that it scan are set to organized ones. You can change organized to False if you want in config.py.
Api key can be generated from security section in stash settings and added in config.py.
![Screenshot 2024-01-22 at 3 14 44 PM](https://private-user-images.githubusercontent.com/115462641/298534376-2617cc02-27c8-4ab9-8123-0fa7fa117cf1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5Mzk1ODgsIm5iZiI6MTcyNTkzOTI4OCwicGF0aCI6Ii8xMTU0NjI2NDEvMjk4NTM0Mzc2LTI2MTdjYzAyLTI3YzgtNGFiOS04MTIzLTBmYTdmYTExN2NmMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMFQwMzM0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNjMwNjU1MWE4NTczODZjYzM5MDU4NGNhYmI3NmNhN2M1ZTNiZGJkNzM1M2NhYTBkMjU3OTMwMDllMGMxMDZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.toKRlo912YvSIdGDnm8b0haBSB7QZHnzZxrki3fT9-c)
Click here to see example.nfo file in the repo
Theme that I am using is https://github.com/loof2736/scyfin
![Screenshot 2024-01-24 at 4 23 41 PM](https://private-user-images.githubusercontent.com/115462641/299289350-b3d246e6-c486-4ac2-9035-486fc0c32b2e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5Mzk1ODgsIm5iZiI6MTcyNTkzOTI4OCwicGF0aCI6Ii8xMTU0NjI2NDEvMjk5Mjg5MzUwLWIzZDI0NmU2LWM0ODYtNGFjMi05MDM1LTQ4NmZjMGMzMmIyZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMFQwMzM0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YzYzMjUyMjBiZjQzNDIzZGJhYjg2YTc1ZGI2ZGUzZDU5ODkwZWJlNDQ4NDhlNTAwYWE3NDhiMDlmMTg5YWM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.vFYioT7MEeeTH-5inTKpQCd0GY8EVGF8tAWAapQMWfE)
![Screenshot 2024-01-22 at 9 07 22 AM](https://private-user-images.githubusercontent.com/115462641/298450722-fdf0a168-1123-4808-b00b-ff6fe53f2dd6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5Mzk1ODgsIm5iZiI6MTcyNTkzOTI4OCwicGF0aCI6Ii8xMTU0NjI2NDEvMjk4NDUwNzIyLWZkZjBhMTY4LTExMjMtNDgwOC1iMDBiLWZmNmZlNTNmMmRkNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMFQwMzM0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01Y2ViYzQyMzk5MzZmOTRmN2MzYTdjMzg2Yzc4NGFiZTFlNjdhMzQxOGNmZmY1MjU3YjFhY2U4ZjlkZmI0NDM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oyaMW_VznDVu6oFxICZC0lHBrgtQAIzUkgNzvyJUv5E)
I will add .nfo naming according how you need once i get time in few weeks.
For Now i use this naming and achieve it by renamer plugin for stash.
You can also add all movies in same directory without creating subdirectories but make sure filenames are different as now i have changed saving nfo as "filename.nfo".
![Screenshot 2024-01-22 at 9 38 58 AM](https://private-user-images.githubusercontent.com/115462641/298451390-4a599cfa-dba1-43af-b863-1d820f4cd21d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5Mzk1ODgsIm5iZiI6MTcyNTkzOTI4OCwicGF0aCI6Ii8xMTU0NjI2NDEvMjk4NDUxMzkwLTRhNTk5Y2ZhLWRiYTEtNDNhZi1iODYzLTFkODIwZjRjZDIxZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMFQwMzM0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZmI3Y2MwNjYzY2E4YjcyNzhmYWYyNTllNGRmYjVlYTM1MjEyMDU5NDExYTU2MTQ3Y2YzYTcxMTRmM2QzMDk0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.AmH8DFMxc-pLJGUc2k1hCvlXyUPCAVggwYJ5gDsXHQ8)
Source: https://kodi.wiki/view/Naming_video_files/Movies
If Movie poster is not showing you can add local ip (192.168.xxx.xxx) in config instead of localhost and readd the library.
I just created this plugin as the https://github.com/scruffynerf/StashNfoExporterKodi was broken after 24.1.
I don't use Emby but I think it will work fine there too.
There will be issues which I don't know yet so pls report them in issues Thanks !