Kodi Community Forum

Full Version: tinyMediaManager - a media manager written in Java (Win/Mac/Linux)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is a media management tool written in Java/Swing. It is written to provide metadata and artwork for Kodi/XBMC and MediaPortal.
For more infomations, or to ask questions, please use this Kodi/XBMC SubForum


  • Unique Movie Scanner
    • find Movies in subdirectories (unlimited depth; one movie per directory or multiple)
    • find supplemental files (subtitles, poster, nfo, ..) in nearby directories and match to movie
    • Detect clean and searchable movie name
    • Handle common "release directory" structures and names
    • Handle DVD/BluRay structures
    • runs in parallel for better performance
  • parsing existing NFO files (Kodi/XBMC/EMM/MP format)
  • scraping metadata and artwork from TMDB
  • scraping metadata from IMDB
  • scraping metadata from OFDb.de
  • scraping metadata from zelluloid.de
  • scraping artwork from fanart.tv
  • scraping trailer from OFDb.de
  • scraping trailer from hd-trailers.net
  • writing NFO files (Kodi/XBMC and MediaPortal format; MediaPortal is not fully tested)
  • changing movie metadata (also choosing different images)
  • batch processing (search all unscraped movies - forcing best match; scrape all selected movies - forcing best match)
  • rename and cleanup all items accordingly
  • movieset management ( http://code.google.com/p/tinymediamanage.../Moviesets )
  • list exporting

TV shows:
  • Powerful TV show importer (see here)
  • Handle DVD/BluRay structures
  • scraping metadata and artwork from TMDB
  • parsing existing NFO files (KodiXBMC/EMM format)
  • writing NFO files (Kodi/XBMC format)
  • TV show renamer

Features to be implemented
  • polishing ui

some screenshots - more at tinyMediaManager

Bug reporting and Feature requests
please report bugs and feature requests at GitHub whenever its possible (it gives a better overview over bugs than a forum).

tinyMediaManager is available at release.tinymediamanager.org

Native starters should work on every OS.
The first time you start tinyMediaManager it will create some files and directories in the running directory (except Mac version - all files will be created inside the App)

tinyMediaManager does not show correct movie information or is acting weird: try to delete tmm.odb (via the "debug menu - initialize database" and/or config.xml! Sometimes a change in the sourcecode can create an inconsistency between the database/config and tinyMediaManager

The first time you start, you will have to add an existing directory containing the movies (the structure has to be "one movie per directory"). For example:
  • movies
    • Aladdin
      • Aladdin.mkv
    • A-Team
      • movie.avi

After you added a directory containing movies, you can update the datasources in the "movie panel". Once the movies are imported, you can either search for it in TMDB/IMDB/OFDB (magnifying glass icon) or change it manually (pencil image);
When changing a movie, you can also choose other images (just click the image you want to change). All available images for this movie will be downloaded from TMDB/Fanart.tv, as soon as there is a IMDB id or TMDB id is present.
Whenever you scrape or change a movie, the NFO file next to the movie will the modified; the poster and the fanart will also be modified, if they have been found.

If there are any questions, feel free to ask!

Kodi Media Manager
XBMC Media Manager
MediaPortal Media Manager
same like Ember Media Manager, ViMediaManager or MediaElch

If you appreciate all the effort that has gone into this application then consider a donation. While it's neither expected nor required it is highly appreciated!

You can also:
  • help testing and send bug reports / feature requests
  • support any site which tinyMediaManager contacts (TheMovieDB.org, Fanart.tv, ...)
Will check this out, have used emm but it is currently broken. I currently use mediaelch which is great but windows only. A cross platform media manager will be great.
Looking forward to this!!! : )
Hi , look very nice Smile
looking trow the screenshots , i think missing some info , like :
- Certification (G,PG,PG-13,R)
- Genre
- Writer
- Studio
- Runtime

Will they be add ?
(2012-10-14, 23:09)xysm Wrote: [ -> ]Hi , look very nice Smile
looking trow the screenshots , i think missing some info , like :
- Certification (G,PG,PG-13,R)
- Genre
- Writer
- Studio
- Runtime

Will they be add ?


yes, I will add these informations;
genres and runtime are already present in the model/NFO.

I added the other things to my ToDo list

(2012-10-14, 18:21)slithers Wrote: [ -> ]Will check this out, have used emm but it is currently broken. I currently use mediaelch which is great but windows only. A cross platform media manager will be great.
I won't hijack this thread, but MediaElch is cross plattform (Mac, Linux and Windows) Wink
Alpha 1 released - find it at Google Code
Finally a MediaManager in a language i speak Smile

Just tried it minutes ago... looks very promising Smile
(Waiting for a first alpha release / more workable svn version...)

Will definitely monitor this thread...

damn i should type faster :p

did some quick testing:
- the AppBundler exe on windows fires up my firewall spyware module as "suspicious". Maybe you might want to try another lib... (launch4j et all)
- didnt get my movie file directory listed. The Movie.parseNFO() locks the thread somehow up.
after commenting out, i have the list, but scraping and editing does not work... (jvm crashes)
- sourcecode could need more debug log output Wink

But hey, it's an alpha release.
Keep on the good work!
thanks for your feedback

could you send me (via PM) some information[/quote] about your movie directory structure (including a sample NFO) and maybe run the app from console via
java -jar lib/tmm.jar
to get a stacktrace if the program crashes.

thanks and have a good night Wink
Hi mlaggner ,

same as "myron" post ,
with windows version (win7)

thank you for your work Smile
r37 working fine now Smile

But i can only edit scraped movies. Unscraped throw exception... ( java.lang.NumberFormatException: For input string: "" at org.tinymediamanager.ui.MovieEditor.<init>(MovieEditor.java:372)
(this is initially needed to clean the title, to get results from tmdb - or possible scrape with a custom name/input box?)
After that, we can start testing...
i fixed the issue right now, but will upload the new packages tomorrow morning

you can change the search string in the inputfield of the search panel:


(have a look at the upper part)

just a little hint (maybe you didn't see that):
in the main window, the search button is a kind of split button: clicking on the left side will open the mentioned search window with the actual name as search string. Clicking at the right side of the button, there is a menu with batch processing options

EDIT: just an information for everyone: I uploaded Alpha 1 - r37 in the morning. It fixes the crash reported by myron and xysm; so initially importing data should work with different NFO formats
yeah, i found the dropdown... but theres always "force best match" and never showing me any popup results from scraper (b/c my title is not clean ;)
but for that the edit has to work....

fast, fast;
r38 fixed that edit issue... :)

facepalm 2 me - i ALWAYS clicked the dropdown on search, never the icon :p
I can't get the UI to launch on Ubuntu. Running the shell script creates the config.xml and tmm.odb, but the UI never opens. It throws an exception.

Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:477)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1754)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1831)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1692)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:864)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:668)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:639)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:610)
at org.tinymediamanager.TinyMediaManager$1.run(TinyMediaManager.java:65)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
at java.awt.EventQueue.access$400(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.awt.EventQueue$2.run(EventQueue.java:629)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Hi Aenima99x,

it looks like your are trying to run it with an "incomplete" jre (UI libs are missing).
Consulting Google, there are several threads about this exception; maybe THIS thread will help you.

btw: my main computer is running an Arch Linux x64 and its working fine

Quote:#java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (ArchLinux-6.b24_1.11.4-1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)