1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00
This commit is contained in:
Reinhard Pointner 2012-11-24 21:56:09 +00:00
parent 21fa1a19c4
commit c6a883a538
2 changed files with 3 additions and 3 deletions

View File

@ -120,14 +120,14 @@ public class FileTransferable implements Transferable {
try {
// file URIs
file = new File(uri);
} catch (IllegalArgumentException e) {
} catch (IllegalArgumentException exception) {
// try handle other GVFS URI schemes
try {
if (GVFS.isSupported()) {
file = GVFS.getPathForURI(uri);
}
} catch (LinkageError error) {
Logger.getLogger(FileTransferable.class.getName()).log(Level.WARNING, "Unable to resolve GVFS URI", e);
Logger.getLogger(FileTransferable.class.getName()).log(Level.WARNING, "Unable to resolve GVFS URI", error);
}
}

View File

@ -144,7 +144,7 @@ groups.each{ group, files ->
if ((group.tvs || group.anime) && !group.mov) {
// choose series / anime config
def config = group.tvs ? [name:group.tvs, format:format.tvs, db:'TheTVDB', seasonFolder:true ]
: [name:group.anime, format:format.anime, db:'AniDB', seasonFolder:false]
: [name:group.anime, format:format.anime, db:'AniDB', seasonFolder:false]
def dest = rename(file: files, format: config.format, db: config.db)
if (dest && artwork) {
dest.mapByFolder().each{ dir, fs ->