mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
* fix package and import declarations
This commit is contained in:
parent
165e65c104
commit
6fc7141fdb
@ -1,7 +1,7 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static com.dmurph.tracking.JGoogleAnalyticsTracker.GoogleAnalyticsVersion.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.filebot.Settings.*;
|
||||
|
||||
import java.awt.DisplayMode;
|
||||
import java.awt.GraphicsDevice;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.filebot.Settings.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -14,7 +14,7 @@ import java.util.Map.Entry;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.sourceforge.filebot.History.Element;
|
||||
import net.filebot.History.Element;
|
||||
|
||||
import org.apache.commons.io.input.CloseShieldInputStream;
|
||||
import org.apache.commons.io.output.CloseShieldOutputStream;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
|
@ -1,12 +1,12 @@
|
||||
//TODO MOVE package net.sourceforge.filebot to net.filebot
|
||||
package net.sourceforge.filebot;
|
||||
//TODO MOVE package net.filebot to net.filebot
|
||||
package net.filebot;
|
||||
|
||||
import static java.awt.GraphicsEnvironment.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static javax.swing.JOptionPane.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.sourceforge.filebot.util.ui.TunedUtilities.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.ui.TunedUtilities.*;
|
||||
|
||||
import java.awt.Desktop;
|
||||
import java.awt.Dialog.ModalityType;
|
||||
@ -50,19 +50,19 @@ import javax.xml.parsers.DocumentBuilderFactory;
|
||||
|
||||
import net.miginfocom.swing.MigLayout;
|
||||
import net.sf.ehcache.CacheManager;
|
||||
import net.sourceforge.filebot.cli.ArgumentBean;
|
||||
import net.sourceforge.filebot.cli.ArgumentProcessor;
|
||||
import net.sourceforge.filebot.cli.CmdlineOperations;
|
||||
import net.sourceforge.filebot.format.ExpressionFormat;
|
||||
import net.sourceforge.filebot.gio.GVFS;
|
||||
import net.sourceforge.filebot.media.MediaDetection;
|
||||
import net.sourceforge.filebot.ui.MainFrame;
|
||||
import net.sourceforge.filebot.ui.PanelBuilder;
|
||||
import net.sourceforge.filebot.ui.SinglePanelFrame;
|
||||
import net.sourceforge.filebot.util.ByteBufferInputStream;
|
||||
import net.sourceforge.filebot.util.PreferencesMap.PreferencesEntry;
|
||||
import net.sourceforge.filebot.util.TeePrintStream;
|
||||
import net.sourceforge.filebot.web.CachedResource;
|
||||
import net.filebot.cli.ArgumentBean;
|
||||
import net.filebot.cli.ArgumentProcessor;
|
||||
import net.filebot.cli.CmdlineOperations;
|
||||
import net.filebot.format.ExpressionFormat;
|
||||
import net.filebot.gio.GVFS;
|
||||
import net.filebot.media.MediaDetection;
|
||||
import net.filebot.ui.MainFrame;
|
||||
import net.filebot.ui.PanelBuilder;
|
||||
import net.filebot.ui.SinglePanelFrame;
|
||||
import net.filebot.util.ByteBufferInputStream;
|
||||
import net.filebot.util.PreferencesMap.PreferencesEntry;
|
||||
import net.filebot.util.TeePrintStream;
|
||||
import net.filebot.web.CachedResource;
|
||||
|
||||
import org.w3c.dom.NodeList;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.util.XPathUtilities.*;
|
||||
import static net.filebot.util.XPathUtilities.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@ -11,7 +11,7 @@ import java.util.Map.Entry;
|
||||
|
||||
import javax.xml.parsers.DocumentBuilderFactory;
|
||||
|
||||
import net.sourceforge.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Node;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static java.nio.file.Files.*;
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
|
||||
import java.awt.Image;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.awt.GraphicsEnvironment;
|
||||
import java.io.File;
|
||||
@ -9,12 +9,12 @@ import java.util.ResourceBundle;
|
||||
import java.util.prefs.BackingStoreException;
|
||||
import java.util.prefs.Preferences;
|
||||
|
||||
import net.sourceforge.filebot.cli.ArgumentBean;
|
||||
import net.sourceforge.filebot.util.ExceptionUtilities;
|
||||
import net.sourceforge.filebot.util.PreferencesList;
|
||||
import net.sourceforge.filebot.util.PreferencesMap;
|
||||
import net.sourceforge.filebot.util.PreferencesMap.PreferencesEntry;
|
||||
import net.sourceforge.filebot.util.PreferencesMap.StringAdapter;
|
||||
import net.filebot.cli.ArgumentBean;
|
||||
import net.filebot.util.ExceptionUtilities;
|
||||
import net.filebot.util.PreferencesList;
|
||||
import net.filebot.util.PreferencesMap;
|
||||
import net.filebot.util.PreferencesMap.PreferencesEntry;
|
||||
import net.filebot.util.PreferencesMap.StringAdapter;
|
||||
|
||||
public final class Settings {
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.filebot.util.FileUtilities;
|
||||
|
||||
public enum StandardRenameAction implements RenameAction {
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.filebot;
|
||||
package net.filebot;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.media.MediaDetection.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.media.MediaDetection.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.LinkedHashSet;
|
||||
@ -18,28 +18,28 @@ import java.util.concurrent.Future;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.sourceforge.filebot.web.AcoustIDClient;
|
||||
import net.sourceforge.filebot.web.AnidbClient;
|
||||
import net.sourceforge.filebot.web.AnidbSearchResult;
|
||||
import net.sourceforge.filebot.web.AudioTrack;
|
||||
import net.sourceforge.filebot.web.EpisodeListProvider;
|
||||
import net.sourceforge.filebot.web.FanartTVClient;
|
||||
import net.sourceforge.filebot.web.ID3Lookup;
|
||||
import net.sourceforge.filebot.web.IMDbClient;
|
||||
import net.sourceforge.filebot.web.LocalSearch;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.MovieIdentificationService;
|
||||
import net.sourceforge.filebot.web.MusicIdentificationService;
|
||||
import net.sourceforge.filebot.web.OpenSubtitlesClient;
|
||||
import net.sourceforge.filebot.web.SearchResult;
|
||||
import net.sourceforge.filebot.web.SerienjunkiesClient;
|
||||
import net.sourceforge.filebot.web.SubtitleProvider;
|
||||
import net.sourceforge.filebot.web.TMDbClient;
|
||||
import net.sourceforge.filebot.web.TVRageClient;
|
||||
import net.sourceforge.filebot.web.TVRageSearchResult;
|
||||
import net.sourceforge.filebot.web.TheTVDBClient;
|
||||
import net.sourceforge.filebot.web.TheTVDBSearchResult;
|
||||
import net.sourceforge.filebot.web.VideoHashSubtitleService;
|
||||
import net.filebot.web.AcoustIDClient;
|
||||
import net.filebot.web.AnidbClient;
|
||||
import net.filebot.web.AnidbSearchResult;
|
||||
import net.filebot.web.AudioTrack;
|
||||
import net.filebot.web.EpisodeListProvider;
|
||||
import net.filebot.web.FanartTVClient;
|
||||
import net.filebot.web.ID3Lookup;
|
||||
import net.filebot.web.IMDbClient;
|
||||
import net.filebot.web.LocalSearch;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.MovieIdentificationService;
|
||||
import net.filebot.web.MusicIdentificationService;
|
||||
import net.filebot.web.OpenSubtitlesClient;
|
||||
import net.filebot.web.SearchResult;
|
||||
import net.filebot.web.SerienjunkiesClient;
|
||||
import net.filebot.web.SubtitleProvider;
|
||||
import net.filebot.web.TMDbClient;
|
||||
import net.filebot.web.TVRageClient;
|
||||
import net.filebot.web.TVRageSearchResult;
|
||||
import net.filebot.web.TheTVDBClient;
|
||||
import net.filebot.web.TheTVDBSearchResult;
|
||||
import net.filebot.web.VideoHashSubtitleService;
|
||||
|
||||
/**
|
||||
* Reuse the same web service client so login, cache, etc. can be shared.
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
@ -20,10 +20,10 @@ import net.sf.sevenzipjbinding.ArchiveFormat;
|
||||
import net.sf.sevenzipjbinding.ISevenZipInArchive;
|
||||
import net.sf.sevenzipjbinding.PropID;
|
||||
import net.sf.sevenzipjbinding.SevenZipException;
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.sourceforge.filebot.vfs.FileInfo;
|
||||
import net.sourceforge.filebot.vfs.SimpleFileInfo;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.filebot.vfs.FileInfo;
|
||||
import net.filebot.vfs.SimpleFileInfo;
|
||||
|
||||
public class Archive implements Closeable {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.archive;
|
||||
package net.filebot.archive;
|
||||
|
||||
|
||||
import java.text.MessageFormat;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.OutputStream;
|
||||
@ -14,7 +14,7 @@ import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.sourceforge.filebot.Language;
|
||||
import net.filebot.Language;
|
||||
|
||||
import org.kohsuke.args4j.Argument;
|
||||
import org.kohsuke.args4j.CmdLineException;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.cli.CLILogging.*;
|
||||
import static net.sourceforge.filebot.util.ExceptionUtilities.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.cli.CLILogging.*;
|
||||
import static net.filebot.util.ExceptionUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
@ -23,11 +23,11 @@ import java.util.regex.Pattern;
|
||||
import javax.script.Bindings;
|
||||
import javax.script.SimpleBindings;
|
||||
|
||||
import net.sourceforge.filebot.Analytics;
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.StandardRenameAction;
|
||||
import net.sourceforge.filebot.cli.ScriptShell.ScriptProvider;
|
||||
import net.sourceforge.filebot.web.CachedResource;
|
||||
import net.filebot.Analytics;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.StandardRenameAction;
|
||||
import net.filebot.cli.ScriptShell.ScriptProvider;
|
||||
import net.filebot.web.CachedResource;
|
||||
|
||||
public class ArgumentProcessor {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
|
||||
import java.util.AbstractMap.SimpleEntry;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.lang.System.*;
|
||||
|
||||
@ -12,7 +12,7 @@ import org.codehaus.groovy.runtime.StackTraceUtils;
|
||||
|
||||
class CLILogging extends Handler {
|
||||
|
||||
public static final Logger CLILogger = createCommandlineLogger("net.sourceforge.filebot.logger.cli");
|
||||
public static final Logger CLILogger = createCommandlineLogger("net.filebot.logger.cli");
|
||||
|
||||
private static Logger createCommandlineLogger(String name) {
|
||||
Logger log = Logger.getLogger(name);
|
||||
|
@ -1,11 +1,11 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import net.sourceforge.filebot.RenameAction;
|
||||
import net.filebot.RenameAction;
|
||||
|
||||
public interface CmdlineInterface {
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.lang.String.*;
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.MediaTypes.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
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.media.MediaDetection.*;
|
||||
import static net.sourceforge.filebot.subtitle.SubtitleUtilities.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.MediaTypes.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.WebServices.*;
|
||||
import static net.filebot.cli.CLILogging.*;
|
||||
import static net.filebot.hash.VerificationUtilities.*;
|
||||
import static net.filebot.media.MediaDetection.*;
|
||||
import static net.filebot.subtitle.SubtitleUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
@ -35,48 +35,48 @@ import java.util.TreeSet;
|
||||
import java.util.logging.Level;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.Analytics;
|
||||
import net.sourceforge.filebot.HistorySpooler;
|
||||
import net.sourceforge.filebot.Language;
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.RenameAction;
|
||||
import net.sourceforge.filebot.archive.Archive;
|
||||
import net.sourceforge.filebot.archive.FileMapper;
|
||||
import net.sourceforge.filebot.format.ExpressionFilter;
|
||||
import net.sourceforge.filebot.format.ExpressionFormat;
|
||||
import net.sourceforge.filebot.format.MediaBindingBean;
|
||||
import net.sourceforge.filebot.hash.HashType;
|
||||
import net.sourceforge.filebot.hash.VerificationFileReader;
|
||||
import net.sourceforge.filebot.hash.VerificationFileWriter;
|
||||
import net.sourceforge.filebot.media.MediaDetection;
|
||||
import net.sourceforge.filebot.similarity.CommonSequenceMatcher;
|
||||
import net.sourceforge.filebot.similarity.EpisodeMatcher;
|
||||
import net.sourceforge.filebot.similarity.Match;
|
||||
import net.sourceforge.filebot.similarity.NameSimilarityMetric;
|
||||
import net.sourceforge.filebot.similarity.SeriesNameMatcher;
|
||||
import net.sourceforge.filebot.similarity.SimilarityComparator;
|
||||
import net.sourceforge.filebot.similarity.SimilarityMetric;
|
||||
import net.sourceforge.filebot.subtitle.SubtitleFormat;
|
||||
import net.sourceforge.filebot.subtitle.SubtitleNaming;
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.sourceforge.filebot.util.FileUtilities.ParentFilter;
|
||||
import net.sourceforge.filebot.vfs.FileInfo;
|
||||
import net.sourceforge.filebot.vfs.MemoryFile;
|
||||
import net.sourceforge.filebot.vfs.SimpleFileInfo;
|
||||
import net.sourceforge.filebot.web.AudioTrack;
|
||||
import net.sourceforge.filebot.web.Episode;
|
||||
import net.sourceforge.filebot.web.EpisodeFormat;
|
||||
import net.sourceforge.filebot.web.EpisodeListProvider;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.MovieFormat;
|
||||
import net.sourceforge.filebot.web.MovieIdentificationService;
|
||||
import net.sourceforge.filebot.web.MoviePart;
|
||||
import net.sourceforge.filebot.web.MusicIdentificationService;
|
||||
import net.sourceforge.filebot.web.SearchResult;
|
||||
import net.sourceforge.filebot.web.SortOrder;
|
||||
import net.sourceforge.filebot.web.SubtitleDescriptor;
|
||||
import net.sourceforge.filebot.web.SubtitleProvider;
|
||||
import net.sourceforge.filebot.web.VideoHashSubtitleService;
|
||||
import net.filebot.Analytics;
|
||||
import net.filebot.HistorySpooler;
|
||||
import net.filebot.Language;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.RenameAction;
|
||||
import net.filebot.archive.Archive;
|
||||
import net.filebot.archive.FileMapper;
|
||||
import net.filebot.format.ExpressionFilter;
|
||||
import net.filebot.format.ExpressionFormat;
|
||||
import net.filebot.format.MediaBindingBean;
|
||||
import net.filebot.hash.HashType;
|
||||
import net.filebot.hash.VerificationFileReader;
|
||||
import net.filebot.hash.VerificationFileWriter;
|
||||
import net.filebot.media.MediaDetection;
|
||||
import net.filebot.similarity.CommonSequenceMatcher;
|
||||
import net.filebot.similarity.EpisodeMatcher;
|
||||
import net.filebot.similarity.Match;
|
||||
import net.filebot.similarity.NameSimilarityMetric;
|
||||
import net.filebot.similarity.SeriesNameMatcher;
|
||||
import net.filebot.similarity.SimilarityComparator;
|
||||
import net.filebot.similarity.SimilarityMetric;
|
||||
import net.filebot.subtitle.SubtitleFormat;
|
||||
import net.filebot.subtitle.SubtitleNaming;
|
||||
import net.filebot.util.FileUtilities;
|
||||
import net.filebot.util.FileUtilities.ParentFilter;
|
||||
import net.filebot.vfs.FileInfo;
|
||||
import net.filebot.vfs.MemoryFile;
|
||||
import net.filebot.vfs.SimpleFileInfo;
|
||||
import net.filebot.web.AudioTrack;
|
||||
import net.filebot.web.Episode;
|
||||
import net.filebot.web.EpisodeFormat;
|
||||
import net.filebot.web.EpisodeListProvider;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.MovieFormat;
|
||||
import net.filebot.web.MovieIdentificationService;
|
||||
import net.filebot.web.MoviePart;
|
||||
import net.filebot.web.MusicIdentificationService;
|
||||
import net.filebot.web.SearchResult;
|
||||
import net.filebot.web.SortOrder;
|
||||
import net.filebot.web.SubtitleDescriptor;
|
||||
import net.filebot.web.SubtitleProvider;
|
||||
import net.filebot.web.VideoHashSubtitleService;
|
||||
|
||||
public class CmdlineOperations implements CmdlineInterface {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
public enum ConflictAction {
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.nio.file.StandardWatchEventKinds.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
@ -24,8 +24,8 @@ import java.util.concurrent.TimeUnit;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.sourceforge.filebot.util.DefaultThreadFactory;
|
||||
import net.sourceforge.filebot.util.Timer;
|
||||
import net.filebot.util.DefaultThreadFactory;
|
||||
import net.filebot.util.Timer;
|
||||
|
||||
public abstract class FolderWatchService implements Closeable {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static net.sourceforge.filebot.util.ui.TunedUtilities.*;
|
||||
import static net.filebot.util.ui.TunedUtilities.*;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
@ -35,11 +35,11 @@ import javax.swing.SwingWorker;
|
||||
import javax.swing.text.BadLocationException;
|
||||
import javax.swing.text.JTextComponent;
|
||||
|
||||
import net.sourceforge.filebot.Analytics;
|
||||
import net.sourceforge.filebot.ResourceManager;
|
||||
import net.sourceforge.filebot.Settings;
|
||||
import net.sourceforge.filebot.cli.ArgumentProcessor.DefaultScriptProvider;
|
||||
import net.sourceforge.filebot.util.TeePrintStream;
|
||||
import net.filebot.Analytics;
|
||||
import net.filebot.ResourceManager;
|
||||
import net.filebot.Settings;
|
||||
import net.filebot.cli.ArgumentProcessor.DefaultScriptProvider;
|
||||
import net.filebot.util.TeePrintStream;
|
||||
|
||||
import org.fife.ui.rsyntaxtextarea.FileLocation;
|
||||
import org.fife.ui.rsyntaxtextarea.SyntaxConstants;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.EnumSet.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.cli.CLILogging.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.cli.CLILogging.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
import groovy.lang.Closure;
|
||||
import groovy.lang.MissingPropertyException;
|
||||
import groovy.lang.Script;
|
||||
@ -31,17 +31,17 @@ import java.util.logging.Logger;
|
||||
import javax.script.Bindings;
|
||||
import javax.script.SimpleBindings;
|
||||
|
||||
import net.sourceforge.filebot.HistorySpooler;
|
||||
import net.sourceforge.filebot.RenameAction;
|
||||
import net.sourceforge.filebot.Settings;
|
||||
import net.sourceforge.filebot.StandardRenameAction;
|
||||
import net.sourceforge.filebot.WebServices;
|
||||
import net.sourceforge.filebot.format.AssociativeScriptObject;
|
||||
import net.sourceforge.filebot.media.MediaDetection;
|
||||
import net.sourceforge.filebot.media.MetaAttributes;
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.filebot.HistorySpooler;
|
||||
import net.filebot.RenameAction;
|
||||
import net.filebot.Settings;
|
||||
import net.filebot.StandardRenameAction;
|
||||
import net.filebot.WebServices;
|
||||
import net.filebot.format.AssociativeScriptObject;
|
||||
import net.filebot.media.MediaDetection;
|
||||
import net.filebot.media.MetaAttributes;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.util.FileUtilities;
|
||||
import net.filebot.web.Movie;
|
||||
|
||||
import org.codehaus.groovy.runtime.StackTraceUtils;
|
||||
import org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.filebot.cli;
|
||||
package net.filebot.cli;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.MediaTypes.*;
|
||||
import static net.filebot.MediaTypes.*;
|
||||
import groovy.lang.Closure;
|
||||
|
||||
import java.io.File;
|
||||
@ -22,15 +22,15 @@ import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.MetaAttributeView;
|
||||
import net.sourceforge.filebot.media.MediaDetection;
|
||||
import net.sourceforge.filebot.media.MetaAttributes;
|
||||
import net.sourceforge.filebot.similarity.NameSimilarityMetric;
|
||||
import net.sourceforge.filebot.similarity.Normalization;
|
||||
import net.sourceforge.filebot.similarity.SimilarityMetric;
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.sourceforge.filebot.web.WebRequest;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.MetaAttributeView;
|
||||
import net.filebot.media.MediaDetection;
|
||||
import net.filebot.media.MetaAttributes;
|
||||
import net.filebot.similarity.NameSimilarityMetric;
|
||||
import net.filebot.similarity.Normalization;
|
||||
import net.filebot.similarity.SimilarityMetric;
|
||||
import net.filebot.util.FileUtilities;
|
||||
import net.filebot.web.WebRequest;
|
||||
|
||||
import org.codehaus.groovy.runtime.DefaultGroovyMethods;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
|
||||
import groovy.lang.GroovyObjectSupport;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
public class BindingException extends RuntimeException {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.AbstractMap;
|
||||
@ -9,7 +9,7 @@ import java.util.TreeMap;
|
||||
|
||||
import javax.script.Bindings;
|
||||
|
||||
import net.sourceforge.filebot.util.ExceptionUtilities;
|
||||
import net.filebot.util.ExceptionUtilities;
|
||||
|
||||
public class ExpressionBindings extends AbstractMap<String, Object> implements Bindings {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
|
||||
import javax.script.ScriptException;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import java.security.AccessController;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import static net.sourceforge.filebot.util.ExceptionUtilities.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.ExceptionUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
import groovy.lang.GroovyRuntimeException;
|
||||
import groovy.lang.MissingPropertyException;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import groovy.lang.Closure;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import static java.util.regex.Pattern.*;
|
||||
|
||||
@ -7,7 +7,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.filebot.util.FileUtilities;
|
||||
|
||||
import com.ibm.icu.text.Transliterator;
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static net.sourceforge.filebot.MediaTypes.*;
|
||||
import static net.sourceforge.filebot.format.Define.*;
|
||||
import static net.sourceforge.filebot.hash.VerificationUtilities.*;
|
||||
import static net.sourceforge.filebot.media.MediaDetection.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.sourceforge.filebot.web.EpisodeFormat.*;
|
||||
import static net.filebot.MediaTypes.*;
|
||||
import static net.filebot.format.Define.*;
|
||||
import static net.filebot.hash.VerificationUtilities.*;
|
||||
import static net.filebot.media.MediaDetection.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.web.EpisodeFormat.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -27,29 +27,29 @@ import java.util.TreeSet;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.Cache;
|
||||
import net.sourceforge.filebot.Language;
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.Settings;
|
||||
import net.sourceforge.filebot.WebServices;
|
||||
import net.sourceforge.filebot.hash.HashType;
|
||||
import net.sourceforge.filebot.media.MetaAttributes;
|
||||
import net.sourceforge.filebot.mediainfo.MediaInfo;
|
||||
import net.sourceforge.filebot.mediainfo.MediaInfo.StreamKind;
|
||||
import net.sourceforge.filebot.similarity.SimilarityComparator;
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.sourceforge.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.sourceforge.filebot.web.AnidbSearchResult;
|
||||
import net.sourceforge.filebot.web.AudioTrack;
|
||||
import net.sourceforge.filebot.web.SimpleDate;
|
||||
import net.sourceforge.filebot.web.Episode;
|
||||
import net.sourceforge.filebot.web.EpisodeListProvider;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.MoviePart;
|
||||
import net.sourceforge.filebot.web.MultiEpisode;
|
||||
import net.sourceforge.filebot.web.SearchResult;
|
||||
import net.sourceforge.filebot.web.SortOrder;
|
||||
import net.sourceforge.filebot.web.TheTVDBSearchResult;
|
||||
import net.filebot.Cache;
|
||||
import net.filebot.Language;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.Settings;
|
||||
import net.filebot.WebServices;
|
||||
import net.filebot.hash.HashType;
|
||||
import net.filebot.media.MetaAttributes;
|
||||
import net.filebot.mediainfo.MediaInfo;
|
||||
import net.filebot.mediainfo.MediaInfo.StreamKind;
|
||||
import net.filebot.similarity.SimilarityComparator;
|
||||
import net.filebot.util.FileUtilities;
|
||||
import net.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.filebot.web.AnidbSearchResult;
|
||||
import net.filebot.web.AudioTrack;
|
||||
import net.filebot.web.SimpleDate;
|
||||
import net.filebot.web.Episode;
|
||||
import net.filebot.web.EpisodeListProvider;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.MoviePart;
|
||||
import net.filebot.web.MultiEpisode;
|
||||
import net.filebot.web.SearchResult;
|
||||
import net.filebot.web.SortOrder;
|
||||
import net.filebot.web.TheTVDBSearchResult;
|
||||
|
||||
import com.cedarsoftware.util.io.JsonWriter;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
|
||||
import java.lang.reflect.InvocationHandler;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.format;
|
||||
package net.filebot.format;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FilePermission;
|
||||
@ -19,7 +19,7 @@ import javax.script.ScriptContext;
|
||||
import javax.script.ScriptEngine;
|
||||
import javax.script.ScriptException;
|
||||
|
||||
import net.sourceforge.filebot.util.ExceptionUtilities;
|
||||
import net.filebot.util.ExceptionUtilities;
|
||||
|
||||
public class SecureCompiledScript extends CompiledScript {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.gio;
|
||||
package net.filebot.gio;
|
||||
|
||||
|
||||
import com.sun.jna.Library;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.gio;
|
||||
package net.filebot.gio;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.util.zip.Checksum;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
public interface Hash {
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.util.zip.CRC32;
|
||||
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
|
||||
|
||||
public enum HashType {
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
@ -8,7 +8,7 @@ import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.Date;
|
||||
|
||||
import net.sourceforge.filebot.Settings;
|
||||
import net.filebot.Settings;
|
||||
|
||||
|
||||
public class VerificationFileWriter implements Closeable {
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
package net.sourceforge.filebot.hash;
|
||||
package net.filebot.hash;
|
||||
|
||||
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
@ -1,12 +1,12 @@
|
||||
package net.sourceforge.filebot.media;
|
||||
package net.filebot.media;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.MediaTypes.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.MediaTypes.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
@ -40,31 +40,31 @@ import java.util.logging.Logger;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.WebServices;
|
||||
import net.sourceforge.filebot.archive.Archive;
|
||||
import net.sourceforge.filebot.format.MediaBindingBean;
|
||||
import net.sourceforge.filebot.similarity.CommonSequenceMatcher;
|
||||
import net.sourceforge.filebot.similarity.DateMatcher;
|
||||
import net.sourceforge.filebot.similarity.DateMetric;
|
||||
import net.sourceforge.filebot.similarity.MetricAvg;
|
||||
import net.sourceforge.filebot.similarity.NameSimilarityMetric;
|
||||
import net.sourceforge.filebot.similarity.NumericSimilarityMetric;
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher;
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SeasonEpisodePattern;
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.sourceforge.filebot.similarity.SequenceMatchSimilarity;
|
||||
import net.sourceforge.filebot.similarity.SeriesNameMatcher;
|
||||
import net.sourceforge.filebot.similarity.SimilarityComparator;
|
||||
import net.sourceforge.filebot.similarity.SimilarityMetric;
|
||||
import net.sourceforge.filebot.similarity.StringEqualsMetric;
|
||||
import net.sourceforge.filebot.vfs.FileInfo;
|
||||
import net.sourceforge.filebot.web.SimpleDate;
|
||||
import net.sourceforge.filebot.web.Episode;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.MovieIdentificationService;
|
||||
import net.sourceforge.filebot.web.SearchResult;
|
||||
import net.sourceforge.filebot.web.TheTVDBClient.SeriesInfo;
|
||||
import net.sourceforge.filebot.web.TheTVDBSearchResult;
|
||||
import net.filebot.WebServices;
|
||||
import net.filebot.archive.Archive;
|
||||
import net.filebot.format.MediaBindingBean;
|
||||
import net.filebot.similarity.CommonSequenceMatcher;
|
||||
import net.filebot.similarity.DateMatcher;
|
||||
import net.filebot.similarity.DateMetric;
|
||||
import net.filebot.similarity.MetricAvg;
|
||||
import net.filebot.similarity.NameSimilarityMetric;
|
||||
import net.filebot.similarity.NumericSimilarityMetric;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SeasonEpisodePattern;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.similarity.SequenceMatchSimilarity;
|
||||
import net.filebot.similarity.SeriesNameMatcher;
|
||||
import net.filebot.similarity.SimilarityComparator;
|
||||
import net.filebot.similarity.SimilarityMetric;
|
||||
import net.filebot.similarity.StringEqualsMetric;
|
||||
import net.filebot.vfs.FileInfo;
|
||||
import net.filebot.web.SimpleDate;
|
||||
import net.filebot.web.Episode;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.MovieIdentificationService;
|
||||
import net.filebot.web.SearchResult;
|
||||
import net.filebot.web.TheTVDBClient.SeriesInfo;
|
||||
import net.filebot.web.TheTVDBSearchResult;
|
||||
|
||||
public class MediaDetection {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.media;
|
||||
package net.filebot.media;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -6,7 +6,7 @@ import java.nio.file.Files;
|
||||
import java.nio.file.attribute.BasicFileAttributeView;
|
||||
import java.nio.file.attribute.FileTime;
|
||||
|
||||
import net.sourceforge.filebot.MetaAttributeView;
|
||||
import net.filebot.MetaAttributeView;
|
||||
|
||||
import com.cedarsoftware.util.io.JsonReader;
|
||||
import com.cedarsoftware.util.io.JsonWriter;
|
||||
|
@ -1,13 +1,13 @@
|
||||
package net.sourceforge.filebot.media;
|
||||
package net.filebot.media;
|
||||
|
||||
import static java.lang.Integer.*;
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.ResourceBundle.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
@ -31,12 +31,12 @@ import java.util.TreeMap;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.util.ByteBufferInputStream;
|
||||
import net.sourceforge.filebot.util.FileUtilities.RegexFileFilter;
|
||||
import net.sourceforge.filebot.web.AnidbSearchResult;
|
||||
import net.sourceforge.filebot.web.CachedResource;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.TheTVDBSearchResult;
|
||||
import net.filebot.util.ByteBufferInputStream;
|
||||
import net.filebot.util.FileUtilities.RegexFileFilter;
|
||||
import net.filebot.web.AnidbSearchResult;
|
||||
import net.filebot.web.CachedResource;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.TheTVDBSearchResult;
|
||||
|
||||
import org.tukaani.xz.XZInputStream;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
package net.sourceforge.filebot.media;
|
||||
package net.filebot.media;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher;
|
||||
|
||||
public class SmartSeasonEpisodeMatcher extends SeasonEpisodeMatcher {
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.filebot.mediainfo;
|
||||
package net.filebot.mediainfo;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
|
||||
import net.sourceforge.filebot.mediainfo.MediaInfo.StreamKind;
|
||||
import net.filebot.mediainfo.MediaInfo.StreamKind;
|
||||
|
||||
public class MediaDurationFilter implements FileFilter {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.mediainfo;
|
||||
package net.filebot.mediainfo;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.mediainfo;
|
||||
package net.filebot.mediainfo;
|
||||
|
||||
|
||||
import com.sun.jna.Platform;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.mediainfo;
|
||||
package net.filebot.mediainfo;
|
||||
|
||||
|
||||
import static java.util.Collections.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.Arrays.*;
|
||||
import static java.util.Collections.*;
|
||||
|
@ -1,12 +1,12 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeSet;
|
||||
|
||||
import net.sourceforge.filebot.format.PropertyBindings;
|
||||
import net.filebot.format.PropertyBindings;
|
||||
|
||||
|
||||
public class CrossPropertyMetric implements SimilarityMetric {
|
||||
|
@ -1,12 +1,12 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.util.regex.MatchResult;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.web.SimpleDate;
|
||||
import net.filebot.web.SimpleDate;
|
||||
|
||||
|
||||
public class DateMatcher {
|
||||
|
@ -1,10 +1,10 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import net.sourceforge.filebot.web.SimpleDate;
|
||||
import net.filebot.web.SimpleDate;
|
||||
|
||||
|
||||
public class DateMetric implements SimilarityMetric {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
|
||||
@ -13,9 +13,9 @@ import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.sourceforge.filebot.web.Episode;
|
||||
import net.sourceforge.filebot.web.MultiEpisode;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.web.Episode;
|
||||
import net.filebot.web.MultiEpisode;
|
||||
|
||||
public class EpisodeMatcher extends Matcher<File, Object> {
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.lang.Math.*;
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.Settings.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@ -27,17 +27,17 @@ import java.util.logging.Logger;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.WebServices;
|
||||
import net.sourceforge.filebot.media.ReleaseInfo;
|
||||
import net.sourceforge.filebot.media.SmartSeasonEpisodeMatcher;
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.sourceforge.filebot.vfs.FileInfo;
|
||||
import net.sourceforge.filebot.web.SimpleDate;
|
||||
import net.sourceforge.filebot.web.Episode;
|
||||
import net.sourceforge.filebot.web.EpisodeFormat;
|
||||
import net.sourceforge.filebot.web.Movie;
|
||||
import net.sourceforge.filebot.web.TheTVDBClient.SeriesInfo;
|
||||
import net.sourceforge.filebot.web.TheTVDBSearchResult;
|
||||
import net.filebot.WebServices;
|
||||
import net.filebot.media.ReleaseInfo;
|
||||
import net.filebot.media.SmartSeasonEpisodeMatcher;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.vfs.FileInfo;
|
||||
import net.filebot.web.SimpleDate;
|
||||
import net.filebot.web.Episode;
|
||||
import net.filebot.web.EpisodeFormat;
|
||||
import net.filebot.web.Movie;
|
||||
import net.filebot.web.TheTVDBClient.SeriesInfo;
|
||||
import net.filebot.web.TheTVDBSearchResult;
|
||||
|
||||
import com.ibm.icu.text.Transliterator;
|
||||
|
||||
@ -645,7 +645,7 @@ public enum EpisodeMetrics implements SimilarityMetric {
|
||||
// deserialize MetaAttributes if enabled and available
|
||||
if (object instanceof File && useExtendedFileAttributes()) {
|
||||
try {
|
||||
return super.getProperties(new net.sourceforge.filebot.media.MetaAttributes((File) object).getObject());
|
||||
return super.getProperties(new net.filebot.media.MetaAttributes((File) object).getObject());
|
||||
} catch (Throwable e) {
|
||||
// ignore
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.io.File;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
public class MetricAvg implements SimilarityMetric {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.lang.Math.*;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
public class MetricMin implements SimilarityMetric {
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import uk.ac.shef.wit.simmetrics.similaritymetrics.AbstractStringMetric;
|
||||
import uk.ac.shef.wit.simmetrics.similaritymetrics.QGramsDistance;
|
||||
import uk.ac.shef.wit.simmetrics.tokenisers.TokeniserQGram3;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.regex.Pattern.*;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
|
||||
public class SeasonEpisodeMetric implements SimilarityMetric {
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import static java.lang.Math.*;
|
||||
import static net.sourceforge.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static java.util.Collections.*;
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.similarity.CommonSequenceMatcher.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.text.CollationKey;
|
||||
@ -24,8 +24,8 @@ import java.util.TreeMap;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.sourceforge.filebot.util.FileUtilities;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher.SxE;
|
||||
import net.filebot.util.FileUtilities;
|
||||
|
||||
public class SeriesNameMatcher {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import java.util.Comparator;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
public interface SimilarityMetric {
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import static java.lang.Math.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
public class StringEqualsMetric implements SimilarityMetric {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
import static net.sourceforge.filebot.similarity.Normalization.*;
|
||||
import static net.filebot.similarity.Normalization.*;
|
||||
|
||||
public class SubstringMetric implements SimilarityMetric {
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.similarity;
|
||||
package net.filebot.similarity;
|
||||
|
||||
|
||||
import static java.lang.Math.*;
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import java.io.Closeable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import java.text.DateFormat;
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import static java.util.regex.Pattern.*;
|
||||
import static net.sourceforge.filebot.util.StringUtilities.*;
|
||||
import static net.filebot.util.StringUtilities.*;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.ParseException;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
public class SubtitleElement {
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
package net.sourceforge.filebot.subtitle;
|
||||
package net.filebot.subtitle;
|
||||
|
||||
|
||||
import net.sourceforge.filebot.MediaTypes;
|
||||
import net.sourceforge.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
import net.filebot.MediaTypes;
|
||||
import net.filebot.util.FileUtilities.ExtensionFileFilter;
|
||||
|
||||
|
||||
public enum SubtitleFormat {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user