}
System.out.println(trace);
- Object rep = doRequest(action, command, args, rw, whitelist);
+ Object rep = null;
+ try {
+ rep = doRequest(action, command, args, rw, whitelist);
+ } catch (IOException e) {
+ rep = new RemoteLibraryException(e);
+ }
commands.put(id, command);
wls.put(id, wl);
forcePgDoneSent(pg);
} else {
- metas.add(Instance.getLibrary().getInfo((String) args[0]));
+ MetaData meta = Instance.getLibrary().getInfo((String) args[0]);
+ MetaData light;
+ if (meta.getCover() == null) {
+ light = meta;
+ } else {
+ light = meta.clone();
+ light.setCover(null);
+ }
+
+ metas.add(light);
}
if (!whitelist.isEmpty()) {