now you can comment out stations in stations.txt
This commit is contained in:
@@ -32,7 +32,7 @@ Readiness status
|
|||||||
* config.txt (format/fields): ready/tested
|
* config.txt (format/fields): ready/tested
|
||||||
* stations.txt (format): ready/tested
|
* stations.txt (format): ready/tested
|
||||||
* auth.txt (format): ready/tested
|
* auth.txt (format): ready/tested
|
||||||
* tiix.tcl: planned
|
* tiix.tcl: work in progress
|
||||||
* Overall status: CLI-ready. work in progress for GUI
|
* Overall status: CLI-ready. work in progress for GUI
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
@@ -63,7 +63,8 @@ Fetching is supported for the following station URL schemes and protocols:
|
|||||||
If the station_url parameter is empty or no parameters are passed at all,
|
If the station_url parameter is empty or no parameters are passed at all,
|
||||||
tiifetch.tcl will look for a file called stations.txt that lists (each on a
|
tiifetch.tcl will look for a file called stations.txt that lists (each on a
|
||||||
new line) all the station URLs to sync from. Messages from all listed stations
|
new line) all the station URLs to sync from. Messages from all listed stations
|
||||||
will be merged into the same echo conference database.
|
will be merged into the same echo conference database. You can comment out a
|
||||||
|
station to temporarily stop fetching from it by prepending the # sign.
|
||||||
|
|
||||||
### Viewing the messages from CLI (tiiview.tcl): ###
|
### Viewing the messages from CLI (tiiview.tcl): ###
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
useragent "curl/7.54.1"
|
useragent "curl/7.54.1"
|
||||||
proxyhost ""
|
proxyhost ""
|
||||||
proxyport 0
|
proxyport 0
|
||||||
|
tiix_font "Fira Code"
|
||||||
|
tiix_fontsize 12
|
||||||
|
tiix_fgcolor #eee
|
||||||
|
tiix_bgcolor #111
|
||||||
|
tiix_linkcolor cyan
|
||||||
|
|||||||
+1
-1
@@ -275,7 +275,7 @@ proc massfetch {echos dbdir dolog} {
|
|||||||
set stlist [split [readfile $stfile] "\n"]
|
set stlist [split [readfile $stfile] "\n"]
|
||||||
foreach station $stlist {
|
foreach station $stlist {
|
||||||
set station [string trim $station]
|
set station [string trim $station]
|
||||||
if {$station ne ""} {
|
if {$station ne "" && ![string match "#*" $station]} {
|
||||||
if {$dolog eq 1} {puts "Fetching from $station"}
|
if {$dolog eq 1} {puts "Fetching from $station"}
|
||||||
fetchiidb $station $echos $dbdir $dolog
|
fetchiidb $station $echos $dbdir $dolog
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user