Yet Another Media Meta Manager (Yammm)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mikinho Offline
Junior Member
Posts: 4
Joined: May 2009
Reputation: 0
Post: #1
Yet Another Media Meta Manager (Yammm)

Not that we need another meta manager but none of the ones available that I've tried (quite a few) really suited my needs so I developed Yet Another Media Meta Manager (Yammm).

Download: YammmSetup.msi

Yammm runs as a Windows Service and will download any missing artwork (folder.jpg). It will also optionally rename the movie folder and create any combination of dvdid.xml, mymovies.xml and\or nfo file. All meta information and artwork is provided via themoviedb.org. I purposely did not include a way to manually edit the meta datato promote contributing to The Movie DB.

I created Yammm because I haven't used any meta manager that runs "headless" without ANY user interaction and used folder.jpg instead of custom artwork locations. This is important to me as I use various htpc software depending on the situation and development. I also found that most did not match well. Yammm uses various checks other than the provider's score value.

Folder Structure

Yammm currently only looks as movie folders (TV support is currently being tested). This means as a folder is checked the name will be used for matching. A folder name is broken into three parts. The title, year and "tags". i.e. For "Cidade de Deus (2002) [City of God] [Director's Cut]" the year is 2002, the tags are City of God and Director's Cut and the title is "Cidade de Deus". Yammm will ignore any tags when searching for a matching movie but will preserve them when renaming the folder.

Folder Rename

Yammm will optionally rename matching movie folders to "Title (Year) [Tags]". If the movie is a foreign film Yammm will also attempt to append the local title as a tag. i.e. "City of God" will be renamed to "Cidade de Deus (2002) [City of God]".

File Rename

Yammm determines the "primary" movie in a folder by grouping similar named files togethor. The largest combined size is considered the primary movie. This is to prevent trailers and samples files from being touch.

If it a single file then it renames it to "Title (Year)". If there are multiple files then they are renamed to "Title (Year) [# of ##]". All associated files are also renamed.

To give an example:

Seven Swords (2005) [1 of 2].avi
Seven Swords (2005) [1 of 2].idx
Seven Swords (2005) [1 of 2].sub
Seven Swords (2005) [2 of 2].avi
Seven Swords (2005) [2 of 2].idx
Seven Swords (2005) [2 of 2].sub
Seven Swords (2005).dvdid.xml
Seven Swords (2005).wvx

The files were renamed and the playlist created for it. Thoughts?

Playlist Create

Yammm will optionally create playlists for movies spanning over several files. It can also optionally hide the actual files so only the playlist is shown and not the individual files.

Media Center DVD ID Metadata

If enabled Yammm can create dvdid.xml files for matching movies. When possible it will use the real ID (CRC64) otherwise it will create one. When enabled you must specifiy which accounts to create the corresponding cache files. This allows you to keep your HTPC and media center extenders Movie Library metadata in sync. If present Windows 7 (RC1) Movie Library will display the metadata as well.

Artwork

Yammm can optionally resize artwork to improvement performance of your htpc software of choice.


[Image: yammm-config-01.jpg]

[Image: yammm-config-02.jpg]

[Image: yammm-config-03.jpg]

[Image: yammm-config-04.jpg]

In the works....

The below items are currently being tested

◦Renaming files Done
◦TV Series support
◦Custom folder\file renames
◦Media Center plugin (MCML) for selecting artwork
◦Better DVR-MS support, it will check DVR-MS for meta data prior to checking provider
◦Optional embed metadata into artwork and\or dvr-mr
◦Option to add a layer on the top of artwork before saving

Note:

1.Required .NET Fx 3.5 SP1
2.Rename and image overwrite is disabled by default.
3.Requires admin rights to the movie folders and admin rights to run Yammm Config.
4.Currently only detects movies (TV series is in testing
5.Currently only supports a single rename format: "Title (Year) [Tags]
6.Run the Yammm Config application to Add\Remove Watched Folders
7.Meta XML files will not be overwritten, I will update soon with an option to update missing information for existing meta files (i.e. dvdid.xml, mymovies.xml, ...
8.I purposely did not include a way to manually edit the meta data. Please help the community and contribute to The Movie DB.

If you currently have all your movies in a single file you can use the below command to create a subfolder for each movie and move the file into it.

Code:
FOR %i IN (*.*) DO (IF NOT EXIST "%~ni" MD "%~ni") & (MOVE "%i" "%~ni")

http://yammm.mikinho.com/
(This post was last modified: 2009-06-03 20:36 by mikinho.)
find quote
mikinho Offline
Junior Member
Posts: 4
Joined: May 2009
Reputation: 0
Post: #2
Per request I've updated the NFO generation to append the IMDB link at the end of the file.

Note: XMBC NFO creation is disabled by default (along with MyMovies and VMC)

i.e.

Code:
<movie>
  <title>The Dark Knight</title>
  <originaltitle>The Dark Knight</originaltitle>
  <id>tt0468569</id>
  <outline>Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.</outline>
  <rating>8.42857</rating>
  <year>2008</year>
  <runtime>152</runtime>
  <trailer>http://www.youtube.com/watch?v=6UBP2nXtRRo</trailer>
  <director>Christopher Nolan</director>
  <actor>
    <name>Christian Bale</name>
    <role>Batman</role>
  </actor>
  <actor>
    <name>Heath Ledger</name>
    <role>Joker</role>
  </actor>
  <actor>
    <name>Michael Caine</name>
    <role>Alfred Pennyworth</role>
  </actor>
  <actor>
    <name>Gary Oldman</name>
    <role>James Gordon</role>
  </actor>
  <actor>
    <name>Aaron Eckhart</name>
    <role>Harvey Dent</role>
  </actor>
  <actor>
    <name>Morgan Freeman</name>
    <role>Lucius Fox</role>
  </actor>
  <actor>
    <name>Maggie Gyllenhaal</name>
    <role>Rachel Dawes</role>
  </actor>
  <actor>
    <name>Eric Roberts</name>
    <role>Sal Maroni</role>
  </actor>
  <actor>
    <name>Nestor Carbonell</name>
    <role>Mayor of Gotham City</role>
  </actor>
  <actor>
    <name>James Smith</name>
    <role>Tommy</role>
  </actor>
</movie>
http://www.imdb.com/title/tt0468569
find quote
mikinho Offline
Junior Member
Posts: 4
Joined: May 2009
Reputation: 0
Post: #3
Updated feature set above.
find quote
TheStretchedElf Offline
Senior Member
Posts: 202
Joined: Jan 2011
Reputation: 0
Post: #4
I don't know if this is still in development or supported but I recently downloaded it as a means of automatically replace NFOs which Couch Potato has created (CP only has imdb link in the entire nfo).

However, I've found that the NFO created by Yammm is always named movie.nfo instead of <moviefilename>.nfo which simply causes xbmc to use the CP nfo as a link for it's own scraper and the movie.nfo is redundant.
find quote