summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlstwitch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstwitch.rb b/lstwitch.rb
index 92e5255..f3194db 100755
--- a/lstwitch.rb
+++ b/lstwitch.rb
@@ -26,7 +26,7 @@ while offset < total
response = JSON.parse(http.request(Net::HTTP::Get.new("/kraken/streams/?offset=#{offset}#{game}")).body)
total = response["_total"]
for stream in response['streams']
- printf( "%-45s %-36s %6i %-.#{width-46-37-7}s\n", stream['channel']['url'].to_s, stream['channel']['game'].to_s, stream['viewers'], stream['channel']['status'].to_s.gsub(/\n/,'') )
+ printf( "%-45s %-36s %6i %6i %-.#{width-46-37-7-7}s\n", stream['channel']['url'].to_s, stream['channel']['game'].to_s, stream['viewers'], stream['channel']['followers'], stream['channel']['status'].to_s.gsub(/\n/,'') )
end
offset += 100