X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FRemoteLibraryServer.java;h=1f655457c96a6eb405caef125e5accd1b021f391;hb=159c11da407dfb004c57efd995b6c799275e5fc3;hp=43f61b096cbb6e8d452a47b13853a1a2fc15af7c;hpb=533dc2b8abb2287becdc7bb03a937dff8fafea07;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;