Custom Metadata DB
January 15, 2024 ยท View on GitHub
This is a plugin for Jellyfin Media Server that purely here to generate unique custom IDs for TV series. to work with my other two plugins for Emby and Plex.
This plugin require server that respond with a unique ID for a given TV series name in the following format.
[
{
"id": "jp-bded21fb4b",
"title": "Show Real title",
"match": [
"Matchers"
]
},
...
]
Server implementation
For a quick server implementation please refer to this page.
Installation
Go to the Releases page and download the latest release.
Unzip the file and make sure the contents are stored inside a folder named CustomMetadataDB and then copy the folder to the Jellyfin plugins directory. You can find your directory by going to Dashboard, and noticing the Paths section. Mine is the root folder of the default Metadata directory.
Building from source
- Clone or download this repository.
- Ensure you have .NET Core SDK setup and installed.
- Build plugin with following command.
$ dotnet publish CustomMetadataDB --configuration Release --output bin - Create folder named
CustomMetadataDBin thepluginsdirectory inside your Jellyfin data directory. You can find your directory by going to Dashboard, and noticing the Paths section. Mine is the root folder of the default Metadata directory.$ mkdir -p <Jellyfin Data Directory>/plugins/CustomMetadataDB/ - Place the resulting files from step 3 in the
plugins/CustomMetadataDBfolder created in step 4.$ cp -r bin/*.dll <Jellyfin Data Directory>/plugins/CustomMetadataDB/` - Be sure that the plugin files are owned by your
jellyfinuser:$ chown -R jellyfin:jellyfin /var/lib/jellyfin/plugins/CustomMetadataDB/ - Restart jellyfin.
If performed correctly you will see a plugin named CustomMetadataDB in Admin -> Dashboard -> Advanced -> Plugins.
Change the API URL
go to Admin -> Dashboard -> Advanced -> Plugins -> Custom Metadata DB -> URL for the custom database: and change the URL to your server URL, then click on Save.