Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.79 KB

File metadata and controls

52 lines (38 loc) · 1.79 KB

Contributing

Thank you for contributing to Jellyfin Youtube Metadata Plugin.

Build and install from source

  1. Clone or download this repository.

  2. Ensure you have .NET Core SDK set up and installed.

  3. Build plugin with following command.

    dotnet publish --configuration Release --output bin
  4. Create folder named YoutubeMetadata in the plugins directory 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 <Jellyfin Data Directory>/plugins/YoutubeMetadata/
  5. Place the resulting files from step 3 in the plugins/YoutubeMetadata folder created in step 4.

    cp -r bin/*.dll <Jellyfin Data Directory>/plugins/YoutubeMetadata/
  6. Be sure that the plugin files are owned by your jellyfin user:

    chown -R jellyfin:jellyfin /var/lib/jellyfin/plugins/YoutubeMetadata/
  7. If performed correctly you will see a plugin named YoutubeMetadata in Admin -> Dashboard -> Advanced -> Plugins.

Releasing a new version

  1. Update build.yaml with the new version number and changelog.

  2. Update also Jellyfin.Plugin.YoutubeMetadata/Jellyfin.Plugin.YoutubeMetadata.csproj with the changes on version.

  3. Commit and push the changes.

  4. Create a new Tag and Release on GitHub.

    • Important: The tag must match the version in build.yaml with the inclusion of a prefixing v. i.e. if build.yaml has 1.2.3.4 the tag version must be v1.2.3.4.
    • Create version release notes that match the changelog.
    • Publish the release.
  5. The GitHub Action will automatically:

    • Build the plugin.
    • Verify the tag matches build.yaml.
    • Upload artifacts.
    • Update the repository manifest.