X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FRemoteLibraryServer.java;h=dc9688c4de69c0348a1ee7dbac4665ec581d905a;hb=b6b657954954280c9ab0efcec67f3fe4a3ae0945;hp=43f61b096cbb6e8d452a47b13853a1a2fc15af7c;hpb=e64228f886196dd1ad602c46c8b2604b5b0558c9;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java index 43f61b0..dc9688c 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: "