diff --git a/build.xml b/build.xml
index 4d124971..42049d6c 100644
--- a/build.xml
+++ b/build.xml
@@ -163,7 +163,7 @@
-
+
@@ -227,7 +227,6 @@
-
@@ -235,6 +234,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/webstart/filebot.jnlp b/installer/webstart/filebot.jnlp
index f92cfc40..d49a0c7f 100644
--- a/installer/webstart/filebot.jnlp
+++ b/installer/webstart/filebot.jnlp
@@ -1,5 +1,5 @@
-
+
FileBot
Reinhard Pointner
@@ -28,43 +28,44 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
diff --git a/source/net/sourceforge/filebot/cli/CmdlineOperations.java b/source/net/sourceforge/filebot/cli/CmdlineOperations.java
index 0a9cd271..5d619f27 100644
--- a/source/net/sourceforge/filebot/cli/CmdlineOperations.java
+++ b/source/net/sourceforge/filebot/cli/CmdlineOperations.java
@@ -8,7 +8,7 @@ import static net.sourceforge.filebot.MediaTypes.*;
import static net.sourceforge.filebot.WebServices.*;
import static net.sourceforge.filebot.cli.CLILogging.*;
import static net.sourceforge.filebot.hash.VerificationUtilities.*;
-import static net.sourceforge.filebot.mediainfo.MediaDetection.*;
+import static net.sourceforge.filebot.media.MediaDetection.*;
import static net.sourceforge.filebot.subtitle.SubtitleUtilities.*;
import static net.sourceforge.tuned.FileUtilities.*;
diff --git a/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy b/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy
index 984858ab..f97c396d 100644
--- a/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy
+++ b/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy
@@ -56,7 +56,7 @@ def parallel(List closures, int threads = Runtime.getRuntime().availableProcesso
// Web and File IO helpers
-import java.nio.charset.Charset;
+import java.nio.charset.Charset
import static net.sourceforge.filebot.web.WebRequest.*
URL.metaClass.parseHtml = { new XmlParser(false, false).parseText(getXmlString(getHtmlDocument(delegate))) }
@@ -73,7 +73,7 @@ Object.metaClass.applyTextTemplate = { template -> new GStringTemplateEngine().c
// Shell helper
-import static com.sun.jna.Platform.*;
+import static com.sun.jna.Platform.*
def execute(String... args) {
def cmd = args.toList()
@@ -96,7 +96,7 @@ def execute(String... args) {
// WatchService helper
-import net.sourceforge.filebot.cli.FolderWatchService;
+import net.sourceforge.filebot.cli.FolderWatchService
def createWatchService(Closure callback, List folders, boolean watchTree) {
// sanity check
@@ -126,7 +126,7 @@ List.metaClass.watch = { c -> createWatchService(c, delegate, true) }
// Season / Episode helpers
-import net.sourceforge.filebot.mediainfo.*
+import net.sourceforge.filebot.media.*
import net.sourceforge.filebot.similarity.*
def parseEpisodeNumber(path) {
diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java
index 5c6181e2..7ddfabc7 100644
--- a/source/net/sourceforge/filebot/format/MediaBindingBean.java
+++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java
@@ -18,9 +18,9 @@ import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Element;
import net.sourceforge.filebot.WebServices;
import net.sourceforge.filebot.hash.HashType;
+import net.sourceforge.filebot.media.ReleaseInfo;
import net.sourceforge.filebot.mediainfo.MediaInfo;
import net.sourceforge.filebot.mediainfo.MediaInfo.StreamKind;
-import net.sourceforge.filebot.mediainfo.ReleaseInfo;
import net.sourceforge.filebot.web.Date;
import net.sourceforge.filebot.web.Episode;
import net.sourceforge.filebot.web.Movie;
@@ -403,7 +403,7 @@ public class MediaBindingBean {
mediaInfo = newMediaInfo;
}
- return mediaInfo;
+ return (MediaInfo) mediaInfo;
}
diff --git a/source/net/sourceforge/filebot/mediainfo/MediaDetection.java b/source/net/sourceforge/filebot/media/MediaDetection.java
similarity index 99%
rename from source/net/sourceforge/filebot/mediainfo/MediaDetection.java
rename to source/net/sourceforge/filebot/media/MediaDetection.java
index e230235a..6ea32205 100644
--- a/source/net/sourceforge/filebot/mediainfo/MediaDetection.java
+++ b/source/net/sourceforge/filebot/media/MediaDetection.java
@@ -1,5 +1,5 @@
-package net.sourceforge.filebot.mediainfo;
+package net.sourceforge.filebot.media;
import static net.sourceforge.filebot.MediaTypes.*;
diff --git a/source/net/sourceforge/filebot/mediainfo/ReleaseInfo.java b/source/net/sourceforge/filebot/media/ReleaseInfo.java
similarity index 98%
rename from source/net/sourceforge/filebot/mediainfo/ReleaseInfo.java
rename to source/net/sourceforge/filebot/media/ReleaseInfo.java
index fbfbe029..4ffa464c 100644
--- a/source/net/sourceforge/filebot/mediainfo/ReleaseInfo.java
+++ b/source/net/sourceforge/filebot/media/ReleaseInfo.java
@@ -1,5 +1,5 @@
-package net.sourceforge.filebot.mediainfo;
+package net.sourceforge.filebot.media;
import static java.util.ResourceBundle.*;
diff --git a/source/net/sourceforge/filebot/mediainfo/ReleaseInfo.properties b/source/net/sourceforge/filebot/media/ReleaseInfo.properties
similarity index 100%
rename from source/net/sourceforge/filebot/mediainfo/ReleaseInfo.properties
rename to source/net/sourceforge/filebot/media/ReleaseInfo.properties
diff --git a/source/net/sourceforge/filebot/ui/rename/EpisodeListMatcher.java b/source/net/sourceforge/filebot/ui/rename/EpisodeListMatcher.java
index 8150e784..3a01db9b 100644
--- a/source/net/sourceforge/filebot/ui/rename/EpisodeListMatcher.java
+++ b/source/net/sourceforge/filebot/ui/rename/EpisodeListMatcher.java
@@ -4,7 +4,7 @@ package net.sourceforge.filebot.ui.rename;
import static java.util.Collections.*;
import static net.sourceforge.filebot.MediaTypes.*;
-import static net.sourceforge.filebot.mediainfo.MediaDetection.*;
+import static net.sourceforge.filebot.media.MediaDetection.*;
import static net.sourceforge.filebot.web.EpisodeUtilities.*;
import static net.sourceforge.tuned.FileUtilities.*;
import static net.sourceforge.tuned.ui.TunedUtilities.*;
@@ -33,7 +33,7 @@ import javax.swing.Action;
import javax.swing.SwingUtilities;
import net.sourceforge.filebot.Analytics;
-import net.sourceforge.filebot.mediainfo.ReleaseInfo;
+import net.sourceforge.filebot.media.ReleaseInfo;
import net.sourceforge.filebot.similarity.EpisodeMetrics;
import net.sourceforge.filebot.similarity.Match;
import net.sourceforge.filebot.similarity.Matcher;
diff --git a/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java b/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java
index 0feffd4b..2ebe37dd 100644
--- a/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java
+++ b/source/net/sourceforge/filebot/ui/rename/MovieHashMatcher.java
@@ -5,7 +5,7 @@ package net.sourceforge.filebot.ui.rename;
import static java.util.Arrays.*;
import static java.util.Collections.*;
import static net.sourceforge.filebot.MediaTypes.*;
-import static net.sourceforge.filebot.mediainfo.MediaDetection.*;
+import static net.sourceforge.filebot.media.MediaDetection.*;
import static net.sourceforge.tuned.FileUtilities.*;
import static net.sourceforge.tuned.ui.TunedUtilities.*;
@@ -30,7 +30,7 @@ import javax.swing.Action;
import javax.swing.SwingUtilities;
import net.sourceforge.filebot.Analytics;
-import net.sourceforge.filebot.mediainfo.ReleaseInfo;
+import net.sourceforge.filebot.media.ReleaseInfo;
import net.sourceforge.filebot.similarity.Match;
import net.sourceforge.filebot.ui.SelectDialog;
import net.sourceforge.filebot.web.Movie;
diff --git a/source/net/sourceforge/filebot/ui/subtitle/SubtitleAutoMatchDialog.java b/source/net/sourceforge/filebot/ui/subtitle/SubtitleAutoMatchDialog.java
index 2c6c95e6..78887ae7 100644
--- a/source/net/sourceforge/filebot/ui/subtitle/SubtitleAutoMatchDialog.java
+++ b/source/net/sourceforge/filebot/ui/subtitle/SubtitleAutoMatchDialog.java
@@ -4,7 +4,7 @@ package net.sourceforge.filebot.ui.subtitle;
import static javax.swing.BorderFactory.*;
import static javax.swing.JOptionPane.*;
-import static net.sourceforge.filebot.mediainfo.MediaDetection.*;
+import static net.sourceforge.filebot.media.MediaDetection.*;
import static net.sourceforge.filebot.subtitle.SubtitleUtilities.*;
import static net.sourceforge.tuned.FileUtilities.*;
import static net.sourceforge.tuned.StringUtilities.*;
diff --git a/test/net/sourceforge/filebot/FileBotTestSuite.java b/test/net/sourceforge/filebot/FileBotTestSuite.java
index 78af0c83..f3086a60 100644
--- a/test/net/sourceforge/filebot/FileBotTestSuite.java
+++ b/test/net/sourceforge/filebot/FileBotTestSuite.java
@@ -8,7 +8,7 @@ import org.junit.runners.Suite.SuiteClasses;
import net.sourceforge.filebot.format.ExpressionFormatTest;
import net.sourceforge.filebot.hash.VerificationFormatTest;
-import net.sourceforge.filebot.mediainfo.ReleaseInfoTest;
+import net.sourceforge.filebot.media.ReleaseInfoTest;
import net.sourceforge.filebot.similarity.EpisodeMetricsTest;
import net.sourceforge.filebot.similarity.SimilarityTestSuite;
import net.sourceforge.filebot.subtitle.SubtitleReaderTestSuite;
diff --git a/test/net/sourceforge/filebot/mediainfo/ReleaseInfoTest.java b/test/net/sourceforge/filebot/media/ReleaseInfoTest.java
similarity index 85%
rename from test/net/sourceforge/filebot/mediainfo/ReleaseInfoTest.java
rename to test/net/sourceforge/filebot/media/ReleaseInfoTest.java
index 02d962f9..0be93a3d 100644
--- a/test/net/sourceforge/filebot/mediainfo/ReleaseInfoTest.java
+++ b/test/net/sourceforge/filebot/media/ReleaseInfoTest.java
@@ -1,5 +1,5 @@
-package net.sourceforge.filebot.mediainfo;
+package net.sourceforge.filebot.media;
import static org.junit.Assert.*;
@@ -8,6 +8,8 @@ import java.io.File;
import org.junit.Test;
+import net.sourceforge.filebot.media.ReleaseInfo;
+
public class ReleaseInfoTest {