Skip to content

Commit

Permalink
Highlight highlighted twitch videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jun 25, 2016
1 parent f30a8a2 commit 212b63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/twitch_feed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<entry>
<id>twitch:video:<%= video["_id"] %><%= ":#{params[:cachebuster]}" if params[:cachebuster] %></id>
<title>[<%= video["length"].to_i.to_duration %>] <%= video["title"].to_line.esc %></title>
<title><%= "* " if video["broadcast_type"] == "highlight" %>[<%= video["length"].to_i.to_duration %>] <%= video["title"].to_line.esc %></title>
<link href="<%= "https://www.twitch.tv/#{video["channel"]["name"]}/v/#{video["_id"][1..-1]}" %>" />
<updated><%= Time.parse(video["created_at"]) %></updated>
<author><name><%= video["channel"]["display_name"] %></name></author>
Expand Down

0 comments on commit 212b63d

Please sign in to comment.