mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 13:58:16 -05:00
* don't show annoying logging by default
This commit is contained in:
parent
71d0bd4786
commit
47cd4a8a2d
@ -24,14 +24,13 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import java.util.zip.DeflaterInputStream;
|
import java.util.zip.DeflaterInputStream;
|
||||||
|
|
||||||
|
import net.sourceforge.filebot.web.OpenSubtitlesSubtitleDescriptor.Property;
|
||||||
|
import net.sourceforge.tuned.ByteBufferOutputStream;
|
||||||
import redstone.xmlrpc.XmlRpcClient;
|
import redstone.xmlrpc.XmlRpcClient;
|
||||||
import redstone.xmlrpc.XmlRpcException;
|
import redstone.xmlrpc.XmlRpcException;
|
||||||
import redstone.xmlrpc.XmlRpcFault;
|
import redstone.xmlrpc.XmlRpcFault;
|
||||||
import redstone.xmlrpc.util.Base64;
|
import redstone.xmlrpc.util.Base64;
|
||||||
|
|
||||||
import net.sourceforge.filebot.web.OpenSubtitlesSubtitleDescriptor.Property;
|
|
||||||
import net.sourceforge.tuned.ByteBufferOutputStream;
|
|
||||||
|
|
||||||
|
|
||||||
public class OpenSubtitlesXmlRpc {
|
public class OpenSubtitlesXmlRpc {
|
||||||
|
|
||||||
@ -146,7 +145,7 @@ public class OpenSubtitlesXmlRpc {
|
|||||||
|
|
||||||
movies.add(new Movie(name, year, Integer.parseInt(imdbid)));
|
movies.add(new Movie(name, year, Integer.parseInt(imdbid)));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Logger.getLogger(OpenSubtitlesXmlRpc.class.getName()).log(Level.INFO, String.format("Ignore movie [%s]: %s", movie, e.getMessage()));
|
Logger.getLogger(OpenSubtitlesXmlRpc.class.getName()).log(Level.FINE, String.format("Ignore movie [%s]: %s", movie, e.getMessage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,15 +26,15 @@ import java.util.logging.Logger;
|
|||||||
|
|
||||||
import javax.swing.Icon;
|
import javax.swing.Icon;
|
||||||
|
|
||||||
import org.w3c.dom.Document;
|
|
||||||
import org.w3c.dom.Node;
|
|
||||||
import org.xml.sax.SAXException;
|
|
||||||
|
|
||||||
import net.sourceforge.filebot.ResourceManager;
|
import net.sourceforge.filebot.ResourceManager;
|
||||||
import net.sourceforge.filebot.web.TMDbClient.Artwork.ArtworkProperty;
|
import net.sourceforge.filebot.web.TMDbClient.Artwork.ArtworkProperty;
|
||||||
import net.sourceforge.filebot.web.TMDbClient.MovieInfo.MovieProperty;
|
import net.sourceforge.filebot.web.TMDbClient.MovieInfo.MovieProperty;
|
||||||
import net.sourceforge.filebot.web.TMDbClient.Person.PersonProperty;
|
import net.sourceforge.filebot.web.TMDbClient.Person.PersonProperty;
|
||||||
|
|
||||||
|
import org.w3c.dom.Document;
|
||||||
|
import org.w3c.dom.Node;
|
||||||
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
|
|
||||||
public class TMDbClient implements MovieIdentificationService {
|
public class TMDbClient implements MovieIdentificationService {
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ public class TMDbClient implements MovieIdentificationService {
|
|||||||
|
|
||||||
result.add(new Movie(name, year, imdbid));
|
result.add(new Movie(name, year, imdbid));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Logger.getLogger(TMDbClient.class.getName()).log(Level.INFO, String.format("Ignore movie [%s]: %s", name, e.getMessage()));
|
Logger.getLogger(TMDbClient.class.getName()).log(Level.FINE, String.format("Ignore movie [%s]: %s", name, e.getMessage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user