* upload subtitles required valid login... duh

This commit is contained in:
Reinhard Pointner 2013-09-23 05:17:51 +00:00
parent edc0c2417a
commit 23219a3001

View File

@ -266,8 +266,10 @@ public class OpenSubtitlesClient implements SubtitleProvider, VideoHashSubtitleS
Logger.getLogger(getClass().getName()).log(Level.WARNING, e.getMessage(), e);
}
URI resource = xmlrpc.uploadSubtitles(info, sub);
System.out.println(resource);
// require login
login();
xmlrpc.uploadSubtitles(info, sub);
}
/**