New one-item-per-source-type mode
[fanfix.git] / src / be / nikiroo / fanfix / library / RemoteLibrary.java
index 6c1e56f5d22f4ceee61ab260b722352efe583225..83766396499fa783712b0558e51c3ad63def314e 100644 (file)
@@ -57,6 +57,7 @@ public class RemoteLibrary extends BasicLibrary {
 
                        try {
                                new ConnectActionClient(host, port, true, null) {
+                                       @Override
                                        public void action(Version serverVersion) throws Exception {
                                                try {
                                                        Object rep = send("GET_METADATA *");
@@ -83,6 +84,7 @@ public class RemoteLibrary extends BasicLibrary {
                        final File[] tmp = new File[1];
                        try {
                                new ConnectActionClient(host, port, true, null) {
+                                       @Override
                                        public void action(Version serverVersion) throws Exception {
                                                try {
                                                        Object rep = send("GET_STORY " + luid);
@@ -151,4 +153,10 @@ public class RemoteLibrary extends BasicLibrary {
                throw new java.lang.InternalError(
                                "No write support allowed on remote Libraries");
        }
+
+       @Override
+       public void setSourceCover(String source, String luid) {
+               throw new java.lang.InternalError(
+                               "No write support allowed on remote Libraries");
+       }
 }