X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FRemoteLibraryServer.java;h=1fe182b87980c01e44844b34a1916d40bda6a97e;hp=8c836ed07ea6916c4c67818a6370bc66980631c1;hb=5e848e6a19a87f4e14b13147f628667376503d74;hpb=e06632eecd6d4b194c3dbe6322097ee61457ec33 diff --git a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java index 8c836ed..1fe182b 100644 --- a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java @@ -27,6 +27,7 @@ import be.nikiroo.utils.serial.Server; *
  • GET_SOURCE_COVER [source]: return the cover for this source
  • *
  • SET_SOURCE_COVER [source], [luid]: set the default cover for the given * source to the cover of the story denoted by luid
  • + *
  • EXIT: stop the server
  • * * * @author niki @@ -87,6 +88,8 @@ public class RemoteLibraryServer extends Server { return Instance.getLibrary().getSourceCover("" + args[1]); } else if ("SET_SOURCE_COVER".equals(command)) { Instance.getLibrary().setSourceCover("" + args[1], "" + args[2]); + } else if ("EXIT".equals(command)) { + stop(0, false); } return null;