Permalink
Browse files

hint clarification

  • Loading branch information...
1 parent 1931646 commit 575b6c788faf5bbd3e220dad2a52a2e577734b03 @Acerbic committed Sep 2, 2011
Showing with 6 additions and 5 deletions.
  1. +1 −2 Bandcamp_Dloader.cmd
  2. +4 −2 src/dloader/AbstractPage.java
  3. +1 −1 src/dloader/Main.java
View
@@ -1,2 +1 @@
-@REM @java -cp "bin/jdom.jar;bin;bin/entagged-audioformats-0.15.jar" Main %*
-java -cp "build;lib" dloader.Main
+@java -cp "build;lib/entagged-audioformats-0.15.jar;lib/jaxen-1.1.3.jar;lib/jdom.jar;lib/tagsoup-1.2.jar;lib/xerces.jar;lib/xml-apis.jar" dloader.Main %*
@@ -53,7 +53,7 @@ public ProblemsReadingDocumentException(Throwable e) {
/**
* title of this item (as stored into cache) - SHOULD NOT be null
*/
- String title;
+ private String title;
/**
* url of a page referencing this item - SHOULD NOT be null
*/
@@ -204,7 +204,9 @@ boolean loadFromCache (org.jdom.Document doc) {
try {
Element e = scanXMLForThisElement(doc);
if (null == e) return false;
- setTitle(e.getAttributeValue("title"));
+ String t = e.getAttributeValue("title");
+ if (t == null) return false;
+ setTitle(t);
readCacheSelf(e);
@SuppressWarnings("unchecked")
View
@@ -45,7 +45,7 @@ private static void parseCommandLine(String[] args) {
+ "HINT: if the program discovers that a file for given track already exists, \n"
+ "\tthat track download will be skipped, so if previous download session was interrupted you can\n"
+ "\tjust run the program over and it will download only new files. \n"
- + "\t\t-forcetag\t will suppress this program's tagging efforts, keeping the original ID3 tags if any \n"
+ + "\t\t-forcetag\t will force tagging, otherwise this program will be keeping original ID3 tags if any \n"
+ "\t\t\t (without it all files will be retagged, both new and 'skipped')\n"
+ "\n"
+ "HINT: the program tries to cache relevant data from all the pages it goes through,\n"

0 comments on commit 575b6c7

Please sign in to comment.