git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: sort fixes
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
RemoteLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/RemoteLibrary.java
b/src/be/nikiroo/fanfix/library/RemoteLibrary.java
index ce4305aadad96bfe9446817d467234545ccfce7a..65be7b1759e4893b2412f2c74cc00c0b3a95a2a7 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/RemoteLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/RemoteLibrary.java
@@
-124,9
+124,9
@@
public class RemoteLibrary extends BasicLibrary {
@Override
public Status getStatus() {
@Override
public Status getStatus() {
- Instance.getTraceHandler().trace("Getting remote lib status...");
+ Instance.get
Instance().get
TraceHandler().trace("Getting remote lib status...");
Status status = getStatusDo();
Status status = getStatusDo();
- Instance.getTraceHandler().trace("Remote lib status: " + status);
+ Instance.get
Instance().get
TraceHandler().trace("Remote lib status: " + status);
return status;
}
return status;
}
@@
-443,6
+443,7
@@
public class RemoteLibrary extends BasicLibrary {
public void action(ConnectActionClientObject action)
throws Exception {
action.send(new Object[] { subkey, "EXIT" });
public void action(ConnectActionClientObject action)
throws Exception {
action.send(new Object[] { subkey, "EXIT" });
+ Thread.sleep(100);
}
});
}
}
});
}
@@
-458,7
+459,7
@@
public class RemoteLibrary extends BasicLibrary {
}
@Override
}
@Override
- protected List<MetaData> getMetas(Progress pg) throws IOException {
+ protected
synchronized
List<MetaData> getMetas(Progress pg) throws IOException {
return getMetasList("*", pg);
}
return getMetasList("*", pg);
}
@@
-559,7
+560,7
@@
public class RemoteLibrary extends BasicLibrary {
@Override
protected void onError(Exception e) {
if (!(e instanceof IOException)) {
@Override
protected void onError(Exception e) {
if (!(e instanceof IOException)) {
- Instance.getTraceHandler().error(e);
+ Instance.get
Instance().get
TraceHandler().error(e);
return;
}
return;
}