* fixfix
This commit is contained in:
parent
21fa1a19c4
commit
c6a883a538
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ->
|
||||
|
|
Loading…
Reference in New Issue