Jellyfin Forum
Custom nfo File Examples - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Guides, Walkthroughs & Tutorials (https://forum.jellyfin.org/f-guides-walkthroughs-tutorials)
+--- Thread: Custom nfo File Examples (/t-custom-nfo-file-examples)



Custom nfo File Examples - linesma - 2023-12-21

Adding a custom videos and music to Jellyfin is easy, but it requires the user to generate an nfo file for the content. Here are some examples of what I use that are Jellyfin friendly. Just copy the nfo template from here, and paste it into your favorite text editor to edit the information. If you do not want to use a certain piece of data, just leave the entry blank.


Just a quick note on text editors. I have found that Windows Notepad will sometimes add "hidden" characters at the end of the lines. This will cause the nfo file not to work properly. I suggest using Notepad++ or a different 3rd party editor to be safe.


Custom TV Show


Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
    <title>Cats and Dogs</title>
    <originaltitle>Cats and Dogs</originaltitle>
    <showtitle>Cats and Dogs</showtitle>
    <userrating>8</userrating>
    <plot>Follow the antics of Spot and Mittens as they go through life together.</plot>
    <mpaa>United States:TV-G</mpaa>
    <genre>Documentary</genre>
    <genre>Humor</genre>
    <premiered>2015-05-26</premiered>
    <status>Continuing</status>
    <studio>Me</studio>
</tvshow>


Custom TV Show Episode


Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
        <episodedetails>
        <title>Mittens Gets a Hairball</title>
        <rating></rating>
        <season>1</season>
        <episode>1</episode>
        <plot>Mittens gets her first hairball, and Spot tries to help them.</plot>
        <runtime>30 min</runtime>
        <credits>Me</credits>
        <director>Me</director>
        <aired> 2015-05-26</aired>
</episodedetails>


Movie not in a set


Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>Dog With a Bone</title>
    <originaltitle>Dog With a Bone</originaltitle>
    <userrating>8</userrating>
    <plot>Movie about a dog with his bone.</plot>
    <mpaa>PG</mpaa>
    <genre>Documentary</genre>
    <tag></tag>
    <country></country>
    <credits></credits>
    <director>Me!</director>
    <premiered>2010-12-13</premiered>
    <studio>Mine</studio>
</movie>


Movie with a custom set


Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>Dog With a Bone</title>
    <originaltitle>Dog With a Bone</originaltitle>
    <userrating>8</userrating>
    <plot>Movie about a dog with his bone.</plot>
    <mpaa>PG</mpaa>
    <genre>Documentary</genre>
    <tag></tag>
    <country></country>
    <credits></credits>
    <director>Me!</director>
    <premiered>2010-12-13</premiered>
    <studio>Mine</studio>
<set>
     <name>The Life and Times of a Dog</name>
     <overview>A heartwarming saga of a dog and his woobie.</overview>
</set>
</movie>




Music Artist


Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<artist>
    <name>Anda</name>
    <musicBrainzArtistID>28d093c55-3604-4078-8b4c-d944edf6a117</musicBrainzArtistID>
    <sortname>Anda</sortname>
    <type>Person</type>
    <gender>Female</gender>
    <disambiguation>South Korean K-Pop Singer</disambiguation>
    <genre>K-Pop</genre>
    <style>Rock/Pop</style>
    <mood>Energetic</mood>
    <born></born>
    <formed>1991-02-05</formed>
    <biography>Anda (formerly known as Andamiro) is a South Korean singer currently under YGX Entertainment.</biography>
    <died></died>
    <disbanded></disbanded>
</artist>


If the artist does not have a MusicBrainz ID, as some of the independent artists I have, just leave that section empty.


Music Video


Code:
<musicvideo>
  <title>Mastering</title>
  <artist>Anda</artist>
  <album>Mastering</album>
  <genre>K-Pop</genre>
  <year>2015</year>
  <studio>Emperor Entertainment Korea</studio>
</musicvideo>


I hope this will be of use to you all in the future.


RE: Custom nfo File Examples - cecilgagne - 2024-07-18

Great! These codes are useful for me. This is what I am looking for