Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Video metadata guidance

Help
2011-05-25
2013-05-30
  • Greetings to all.

    I have just succeeded build-and-install mediatomb with Samsung subtitles support and it's working like a charm.

    I have a couple of questions and i will try to be as quick and specific as i can.

    All my movies are populated through XMBC having a complete metadata list  for each movie. A single movie's structure is as follows

    A Lot Like Love <dir container>
         A Lot Like Love.avi <movie>
         A Lot Like Love.srt <subtitles>
         A Lot Like Love.nfo <XML structured metadata>
         A Lot Like Love.tbn <thumbnail Cover>
         A Lot Like Love.jpg <Fun's Art Cover>
    

    with the .nfo's file structure being as follows

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <movie>
        <title>A Lot Like Love</title>
        <rating>6.400000</rating>
        <year>0</year>
        <top250>0</top250>
        <votes>17,921</votes>
        <outline>On a flight from Los Angeles to New York, Oliver and Emily make a connection, only to decide that they are poorly suited to be together... &#x0A;See more&amp;raquo;</outline>
        <plot>On a flight from Los Angeles to New York, Oliver and Emily make a connection, only to decide that they are poorly suited to be together. Over the next seven years, however, they are reunited time and time again, they go from being acquaintances to close friends to ... lovers?</plot>
        <tagline></tagline>
        <runtime>107 min</runtime>
        <thumb preview="http://hwcdn.themoviedb.org/posters/2a4/4bc92390017a3c57fe00e2a4/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/2a4/4bc92390017a3c57fe00e2a4/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/29f/4bc92390017a3c57fe00e29f/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/29f/4bc92390017a3c57fe00e29f/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/29a/4bc9238f017a3c57fe00e29a/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/29a/4bc9238f017a3c57fe00e29a/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/295/4bc9238d017a3c57fe00e295/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/295/4bc9238d017a3c57fe00e295/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/290/4bc9238c017a3c57fe00e290/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/290/4bc9238c017a3c57fe00e290/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/28b/4bc9238c017a3c57fe00e28b/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/28b/4bc9238c017a3c57fe00e28b/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/286/4bc9238c017a3c57fe00e286/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/286/4bc9238c017a3c57fe00e286/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/281/4bc9238b017a3c57fe00e281/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/281/4bc9238b017a3c57fe00e281/a-lot-like-love-original.jpg</thumb>
        <thumb preview="http://hwcdn.themoviedb.org/posters/27c/4bc9238b017a3c57fe00e27c/a-lot-like-love-mid.jpg">http://hwcdn.themoviedb.org/posters/27c/4bc9238b017a3c57fe00e27c/a-lot-like-love-original.jpg</thumb>
        <thumb>http://ia.media-imdb.com/images/M/MV5BMTQyMjU1MTYxNl5BMl5BanBnXkFtZTcwMjI2MjgyMQ@@._V1._SX512_SY512_.jpg</thumb>
        <fanart>
            <thumb preview="http://hwcdn.themoviedb.org/backdrops/278/4bc9238b017a3c57fe00e278/a-lot-like-love-poster.jpg">http://hwcdn.themoviedb.org/backdrops/278/4bc9238b017a3c57fe00e278/a-lot-like-love-original.jpg</thumb>
            <thumb preview="http://hwcdn.themoviedb.org/backdrops/274/4bc9238b017a3c57fe00e274/a-lot-like-love-poster.jpg">http://hwcdn.themoviedb.org/backdrops/274/4bc9238b017a3c57fe00e274/a-lot-like-love-original.jpg</thumb>
            <thumb preview="http://hwcdn.themoviedb.org/backdrops/270/4bc9238a017a3c57fe00e270/a-lot-like-love-poster.jpg">http://hwcdn.themoviedb.org/backdrops/270/4bc9238a017a3c57fe00e270/a-lot-like-love-original.jpg</thumb>
        </fanart>
        <mpaa></mpaa>
        <playcount>1</playcount>
        <lastplayed>2010-09-16 17:52:15</lastplayed>
        <id>tt0391304</id>
        <genre>Comedy / Drama / Romance</genre>
        <set></set>
        <credits>Colin Patrick Lynch</credits>
        <director>Nigel Cole</director>
        <premiered></premiered>
        <status></status>
        <code></code>
        <aired></aired>
        <studio>Mile High Productions</studio>
        <trailer>http://www.totaleclips.com/Player/Bounce.aspx?eclipid=e24069&amp;bitrateid=455&amp;vendorid=102&amp;type=.mp4</trailer>
        <fileinfo>
            <streamdetails>
                <video>
                    <codec>xvid</codec>
                    <aspect>1.500000</aspect>
                    <width>720</width>
                    <height>480</height>
                </video>
                <audio>
                    <codec>mp3</codec>
                    <language></language>
                    <channels>2</channels>
                </audio>
            </streamdetails>
        </fileinfo>
        <actor>
            <name>Amanda Peet</name>
            <role>Emily Friehl</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTM2NTYwODg4MF5BMl5BanBnXkFtZTcwMjI2MDkyMQ@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Ashton Kutcher</name>
            <role>Oliver Martin</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTg1Mzc0NTQxMl5BMl5BanBnXkFtZTcwOTM0ODQzMg@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Taryn Manning</name>
            <role>Ellen Martin</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMjE0OTQxNDk3OV5BMl5BanBnXkFtZTcwNTU2NDY3Mw@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Aimee Garcia</name>
            <role>Nicole</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTczODI1MTMyOF5BMl5BanBnXkFtZTcwNTIxMjQyMw@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Lee Garlington</name>
            <role>Stewardess</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMjA0OTUzMDkxOV5BMl5BanBnXkFtZTcwMzM4OTQzMQ@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Birdie M. Hale</name>
            <role>Old Woman</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>Tyrone Giordano</name>
            <role>Graham Martin (as Ty Giordano)</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BODA4MzQ1MjM4M15BMl5BanBnXkFtZTcwNzI1MTgxMw@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Melissa van der Schyff</name>
            <role>Carol Martin</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>Theresa Spruill</name>
            <role>Street Vendor</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>James Read</name>
            <role>Brent Friehl</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTM2MDk5ODYyNF5BMl5BanBnXkFyZXN1bWU@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Molly Cheek</name>
            <role>Christine</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>Sarah Ann Morris</name>
            <role>Bartender</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BNjUxNzExOTA2Nl5BMl5BanBnXkFtZTcwMjQxNTkxMg@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Gabriel Mann</name>
            <role>Peter</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTY5MzU0MTg1MV5BMl5BanBnXkFtZTcwMjg4ODkxMQ@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Kathryn Hahn</name>
            <role>Michelle</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMjE1OTcxNDczMl5BMl5BanBnXkFtZTcwMDA1NDcyMQ@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <actor>
            <name>Ali Larter</name>
            <role>Gina</role>
            <thumb>http://ia.media-imdb.com/images/M/MV5BMTI5MDQxMTAwNF5BMl5BanBnXkFtZTcwMjc1NDUwMw@@._V1._SX512_SY512_.jpg</thumb>
        </actor>
        <artist></artist>
    </movie>
    

    So my questions are:
    1) Can I use the .nfo metadata file since it's xml structured to have details database on each movie?
    2) Categorize them by Genre / Year / Actors?
    3) Use any of the images in the movie's folder as cover?

    Thanks in advance for reading my post and congrats on your effort and progress on mediatomb.

    best regards,
    amats