Skip to content

Commit

Permalink
Correct mapping for name/description on beam.pro streams
Browse files Browse the repository at this point in the history
  • Loading branch information
laurencee committed Aug 29, 2016
1 parent 506cf67 commit 678c4cf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Livestream.Monitor/Model/ApiClients/BeamProApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,8 @@ private LivestreamModel ConvertToLivestreamModel(Channel channel)
{
return new LivestreamModel(channel.token, new ChannelIdentifier(this, channel.token))
{
DisplayName = channel.name,
// Beam.Pro doesn't seem to have a short description field like twitch/youtube etc.
// the "description" field from the channel is the full html output from the channels description, not the current live stream
//Description = channel.user?.bio,
DisplayName = channel.user?.username,
Description = channel.name,
Viewers = channel.viewersCurrent,
Live = channel.online,
Game = channel.type?.name,
Expand Down

0 comments on commit 678c4cf

Please sign in to comment.