From afb194162345630d75420a7311d47ae7698b54e3 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 27 Sep 2017 15:22:49 -0700 Subject: lstwitchvid: add date to output --- lstwitchvid.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lstwitchvid.rb') 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 -- cgit v1.2.3