summaryrefslogtreecommitdiff
path: root/lstwitchvid.rb
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2017-09-27 15:22:49 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2017-09-27 15:22:49 -0700
commitafb194162345630d75420a7311d47ae7698b54e3 (patch)
tree632e7e369fa13c023b86395a2714cea7bf953751 /lstwitchvid.rb
parentf72f3fbeecabadd966e54f4d347fad5d5141c2c7 (diff)
downloadtwitchtools-afb194162345630d75420a7311d47ae7698b54e3.tar.gz
twitchtools-afb194162345630d75420a7311d47ae7698b54e3.zip
lstwitchvid: add date to output
Diffstat (limited to 'lstwitchvid.rb')
-rwxr-xr-xlstwitchvid.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstwitchvid.rb b/lstwitchvid.rb
index c8dd7b5..fc269d1 100755
--- a/lstwitchvid.rb
+++ b/lstwitchvid.rb
@@ -38,7 +38,7 @@ def videos(http, path, width, broadcasts, client_id)
if response['videos']
total = response['_total']
for video in response['videos']
- printf( "%-45s %6i %6i %-36s %-.#{width-46-37-7-7}s\n", video['url'].to_s, video['length'].to_i, video['views'].to_i, video['game'].to_s, video['title'].to_s)
+ printf( "%-45s %s %6i %6i %-36s %-.#{width-46-37-7-7}s\n", video['url'].to_s, video['recorded_at'].to_s, video['length'].to_i, video['views'].to_i, video['game'].to_s, video['title'].to_s)
# Curses.cols
end
end