Skip to content

Commit bb8617a

Browse files
Tweaks to RemoteLocatorImporter.
1 parent e41c513 commit bb8617a

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

src/main/java/org/harctoolbox/irscrutinizer/HelpTexts.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,10 @@ class HelpTexts {
115115
+ "The Export button initiates an export to a file format selected by the Export pane. The three lower buttons transfer the signal(s) to the scrutinize signal panel, the raw remote table, or the parameterized panel.\n\n"
116116
+ "For the export and the transfer to the \"scrutinize remote\" tables, not only a single parameter value can be selected, but whole sets. The complete syntax and semantics is given in the IrpMaster documentation. Here we just mention that e.g. 12:34 means all numbers between 12 and 34, and * denotes all possible values.";
117117

118-
@SuppressWarnings("PackageVisibleField")
119-
public static String importControlTowerHelp
120-
= "<html>The support for the Control Tower Data base is limited. It can be used for browsing the data base "
121-
+ "for devices and the contained commands, but it cannot retreive the very codes of the commands. "
122-
+ "For this, <a href=\"http://irdb.globalcache.com\">login there</a>, and have the codes emailed. "
123-
+ "The received email can be parsed by Import -> Raw; use Name col. = 1 and Raw signal col. = 3 (or 2), Field separator \", (comma)\"."
124-
+ "<p>Please observe the <a href=\"https://www.globalcache.com/files/docs/CT_tos_ver1.pdf\">Terms of service</a>.</p></html>";
125-
126118
@SuppressWarnings("PackageVisibleField")
127119
public static String remoteLocatorHelp
128-
= "FIXME: To use the IRDB data base, select, in order, a manufacturer, a device type, and a protocol/parameter combination, the latter possibly by trial-and-error.\n\n"
120+
= "To use the RemoteLocator, select, in order, a manufacturer, a device type,"
121+
+ " and a model (or, in the case of IRDB,aprotocol/parameter combination), possibly by trial-and-error.\n\n"
129122
+ "Pressing the \"Load all\" button transfers all present protocol/parameters combinations to the tree.\n\n"
130123
+ "When pressing the \"Load\" button, " + treeHelp;
131124

@@ -142,7 +135,7 @@ class HelpTexts {
142135
+ fileUrlImportHelp + "\n\n"
143136
+ treeHelpReaderImporterIntro
144137
+ treeHelp;
145-
138+
146139
@SuppressWarnings("PackageVisibleField")
147140
public static String importFlipperHelp
148141
= "Flipper IR files can be imported here.\n\n"

src/main/java/org/harctoolbox/irscrutinizer/importer/RemoteLocatorImporter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public final class RemoteLocatorImporter extends DatabaseImporter implements IRe
3434

3535
public static final String CATALOG = "http://www.harctoolbox.org/downloads/remotelocator";
3636
// public static final String CATALOG = "http://www.harctoolbox.org/downloads/remotelocator.html";
37-
public static final String CATALOG_URL = CATALOG + ".xml";
38-
public static final String CATALOG_HTML = CATALOG + ".html";
37+
public static final String CATALOG_URL = CATALOG + "-" + RemoteDatabase.FORMATVERSION + ".xml";
38+
public static final String CATALOG_HTML = CATALOG + "-" + RemoteDatabase.FORMATVERSION + ".html";
3939

4040
private static String catalog = CATALOG_URL;
4141

0 commit comments

Comments
 (0)