X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FRemoteLibraryServer.java;h=1f655457c96a6eb405caef125e5accd1b021f391;hb=c08c6ca10b3da06d7efbcaed7df4afa8af3b62fc;hp=43f61b096cbb6e8d452a47b13853a1a2fc15af7c;hpb=1feb447473d8176c3a218cc209c681fb41d468d1;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java index 43f61b0..1f65545 100644 --- a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java @@ -289,10 +289,10 @@ public class RemoteLibraryServer extends ServerObject { } Progress pg = createPgForwarder(action); - Story story = Instance.getLibrary().imprt( + MetaData meta = Instance.getLibrary().imprt( new URL((String) args[0]), pg); forcePgDoneSent(pg); - return story.getMeta().getLuid(); + return meta.getLuid(); } else if ("DELETE_STORY".equals(command)) { if (!rw) { throw new RemoteLibraryException("Read-Only remote library: " @@ -341,7 +341,7 @@ public class RemoteLibraryServer extends ServerObject { "Read-Only remote library: EXIT", false); } - stop(0, false); + stop(10000, false); } return null;