diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-09-27 15:22:49 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-09-27 15:22:49 -0700 |
commit | afb194162345630d75420a7311d47ae7698b54e3 (patch) | |
tree | 632e7e369fa13c023b86395a2714cea7bf953751 | |
parent | f72f3fbeecabadd966e54f4d347fad5d5141c2c7 (diff) | |
download | twitchtools-afb194162345630d75420a7311d47ae7698b54e3.tar.gz twitchtools-afb194162345630d75420a7311d47ae7698b54e3.zip |
lstwitchvid: add date to output
-rwxr-xr-x | lstwitchvid.rb | 2 |
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 |