Kodi Community Forum
Release tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: Release tinyMediaManager - a media manager written in Java (Win/Mac/Linux) (/showthread.php?tid=142723)



RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - saitoh183 - 2013-03-01

(2013-02-28, 20:31)mlaggner Wrote: saitoh183 you could do one more thing for me. If a thread crashes in tmm, there is no log written for this crash and a user cannot see it.

BUT: could you start tmm via command line?

Quote:open cmd.exe
go to the tmm install folder and execute the following command: java -Xms64m -Xmx512m -Xss512k -splashConfusedplashscreen.png -jar tmm.jar

maybe you get an output to the console if something crashes

Thanks!

Here is the error from the console:

Code:
java.lang.NullPointerException
        at org.tinymediamanager.core.movie.MovieSet$MovieInMovieSetComparator.co
mpare(MovieSet.java:506)
        at org.tinymediamanager.core.movie.MovieSet$MovieInMovieSetComparator.co
mpare(MovieSet.java:497)
        at java.util.TimSort.countRunAndMakeAscending(Unknown Source)
        at java.util.TimSort.sort(Unknown Source)
        at java.util.TimSort.sort(Unknown Source)
        at java.util.Arrays.sort(Unknown Source)
        at java.util.Collections.sort(Unknown Source)
        at org.tinymediamanager.core.movie.MovieSet.sortMovies(MovieSet.java:325
)
        at org.tinymediamanager.core.movie.MovieList.sortMoviesInMovieSet(MovieL
ist.java:1019)
        at org.tinymediamanager.core.movie.MovieList.findMovieInDirectory(MovieL
ist.java:447)
        at org.tinymediamanager.core.movie.MovieList.findMoviesInPath(MovieList.
java:288)
        at org.tinymediamanager.ui.movies.MoviePanel$UpdateDataSourcesTask.doInB
ackground(MoviePanel.java:812)
        at org.tinymediamanager.ui.movies.MoviePanel$UpdateDataSourcesTask.doInB
ackground(MoviePanel.java:793)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

It happened after the line

Code:
2013-02-28 22:05:44,680 DEBUG [SwingWorker-pool-2-thread-1] (MovieList.java:443) - store movie D:\Videos\Movies\Asterix at the Olympic Games (2008)
2013-02-28 22:05:44,714 DEBUG [SwingWorker-pool-2-thread-1] (MovieList.java:387) - find movies in directory D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)
2013-02-28 22:05:44,739 DEBUG [SwingWorker-pool-2-thread-1] (MovieList.java:424) - found video files in D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)
2013-02-28 22:05:44,740 DEBUG [SwingWorker-pool-2-thread-1] (MovieList.java:428) - movie not yet in our DB, so add D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)
2013-02-28 22:05:44,740 DEBUG [SwingWorker-pool-2-thread-1] (Movie.java:1155) - try to find a nfo for D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)
2013-02-28 22:05:44,741 DEBUG [SwingWorker-pool-2-thread-1] (Movie.java:1177) - parsing nfoD:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)\Asterix et Obelix, Au service de Sa Majesté (2012).nfo
2013-02-28 22:05:45,527 DEBUG [SwingWorker-pool-2-thread-1] (Movie.java:780) - found poster D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)\Asterix et Obelix, Au service de Sa Majesté (2012)-poster.jpg
2013-02-28 22:05:45,528 DEBUG [SwingWorker-pool-2-thread-1] (Movie.java:838) - found fanart D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)\Asterix et Obelix, Au service de Sa Majesté (2012)-fanart.jpg
2013-02-28 22:05:45,528 DEBUG [SwingWorker-pool-2-thread-1] (MovieList.java:443) - store movie D:\Videos\Movies\Asterix et Obelix, Au service de Sa Majesté (2012)



RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-01

thanks for the information.

I (hope) I found the problem: it occurs if you add a movie within a movieset, but sorttitle is not set.
I will publish a fix for that when I get home (eta 6hrs)

thanks
manuel


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-01

01.03.2013 - Beta - r314
feature: added "abort queue" when selecting multiple movies and do edit/search actions
fix: NPE on moviesorting in moviesets
added numerous logging locations


hope this solves crashing at import


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - saitoh183 - 2013-03-01

(2013-03-01, 09:12)mlaggner Wrote: thanks for the information.

I (hope) I found the problem: it occurs if you add a movie within a movieset, but sorttitle is not set.
I will publish a fix for that when I get home (eta 6hrs)

thanks
manuel

working now, thanks Smile


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - gibxxi - 2013-03-02

(2013-03-01, 15:06)mlaggner Wrote: 01.03.2013 - Beta - r314
feature: added "abort queue" when selecting multiple movies and do edit/search actions
fix: NPE on moviesorting in moviesets
added numerous logging locations


hope this solves crashing at import

Thanks mlaggner. Smile


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - myron - 2013-03-07

no news are good news!
nearly a week without any comments; so i guess TMM is already running smoothly w/o any errors?!
Big Grin

just a small heads-up what is planned for the next version:
- added support for custom genres
- Movie list exporter

And for the last thing we need your help Smile
We now have the ability to export a (sub)list of movies to a single HTML|XML|CSV file, and/or separate files per movie.
Since i'm no web designer (you really don't want to see my first export example Big Grin) we would ask you guys, if anyone has the time and ability to generate some nice templates?
Any designers around?
Would be cool, if you could design a sample html document (with inline css)
(or if you just have an idea, what information on this list could be useful for you - please tell Smile )

tia,
Myron


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - d3maxt - 2013-03-07

Running great so far! Smile Just waiting on the "separate extrafanart folder" feature to be added. :p


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-16

16.03.2013 - Beta - r348
feature: support of custom genres (the dropdown for genres is now editable, import of new genres through NFO will create them)
feature: improved support of extrathumbs and initially support of extrafanart (for details see here)
feature: added support for a movieset artwork folder (for use with the XBMC Addon "Movie Set Artwork Automator - for more details see here)
feature: added trailer column in movie list
fix: display of movie name will no longer be weird after renaming the movie
fix: improved renaming logic (should work better on windows)
fix: improved writing of certifications to the NFO
fix: moved statusbar a bit down, so it will be visible on all screens
fix: added a "loading image" to visualize wether background tasks are still running
fix: added a warning on close of tmm, if a background task is running
fix: some minor things I forgot Wink

Once again: thx to Myron for his work!


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - Ecwfrk - 2013-03-16

(2013-03-16, 15:55)mlaggner Wrote: feature: added support for a movieset artwork folder (for use with the XBMC Addon "Movie Set Artwork Automator - for more details see here)

Would it be possible to be able to define a custom folder for the movie set artwork folder?
With it in the datasource folder my trailer downloader downloaded a youtube video of artwork set to music thinking the folder was a movie called MoviesetArtwork. Having a video in the folder then caused XBMC to think it was a movie too. :p

Also, I don't think the addon supports having multiple artwork folders (unless they follow the common folder schematic). If so, that'd be a problem for those with multiple datasources who want to use the addon's single artwork folder option.


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-17

i think you could declare to ignore this folder inside xbmc,

but do you think about to change the folder name from a relative path inside the datasources to an absolute path on the filesystem? (ie D:\Movies containing movies and D:\Artwork containing artwork?)

I like the idea because I did not like the solution with storing the artwork folder in multiple datasources (but it seemed to be the correct way though)


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - Marx1 - 2013-03-20

I successfully scraped through proxy (you probably would like to know it).


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-20

thanks for the information Wink good to hear its working (and it's not that good, that apache httpclient isn't able to get logon credentials via system settings Sad )


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - Ecwfrk - 2013-03-22

(2013-03-17, 18:05)mlaggner Wrote: but do you think about to change the folder name from a relative path inside the datasources to an absolute path on the filesystem? (ie D:\Movies containing movies and D:\Artwork containing artwork?)

Absolute path would be perfect (I use "D:\MoviesetArt" for my set artwork folder while my movies are in G:\HD)


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - mlaggner - 2013-03-22

included it with r368 Smile (the release will come this weekend)


RE: tinyMediaManager - a media manager written in Java (Win/Mac/Linux) - nanohits - 2013-03-23

One quick question on this program before I download. LEts say it scrapes everything and I add new episodes to a TV show already scraped. Does it do it by a click of a button or do I have to go to each TV show and click on update? This is the biggest pain of the other programs like MediaElch, Vmedia etc.

Edit: So I just installed it. It does not allow file browsing for SAMBA shares.. hmm. So how does one scrape movies that are located in a NAS?