diff --git a/GlobalAssemblyInfo.cs b/GlobalAssemblyInfo.cs index b7d1433..fa11f28 100644 --- a/GlobalAssemblyInfo.cs +++ b/GlobalAssemblyInfo.cs @@ -22,5 +22,5 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.8.0.0")] -[assembly: AssemblyFileVersion("2.8.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("2.8.1.0")] +[assembly: AssemblyFileVersion("2.8.1.0")] \ No newline at end of file diff --git a/Livestream.Monitor/Model/ApiClients/HitboxApiClient.cs b/Livestream.Monitor/Model/ApiClients/HitboxApiClient.cs index 4d6e00b..f532734 100644 --- a/Livestream.Monitor/Model/ApiClients/HitboxApiClient.cs +++ b/Livestream.Monitor/Model/ApiClients/HitboxApiClient.cs @@ -18,6 +18,7 @@ public class HitboxApiClient : IApiClient public const string API_NAME = "hitbox"; // this doesn't appear anywhere in the returned api values but it is where the static data comes from... private const string StaticContentPrefixUrl = "http://edge.sf.hitbox.tv"; + private const string VideoPrefix = "http://www.hitbox.tv/video/"; private readonly IHitboxReadonlyClient hitboxClient; private readonly HashSet moniteredChannels = new HashSet(); @@ -103,7 +104,7 @@ public async Task> GetVods(VodQuery vodQuery) { Length = length, Game = x.CategoryName, - Url = x.MediaFile, + Url = VideoPrefix + x.MediaId, Title = x.MediaTitle, Description = x.MediaStatus, RecordedAt = x.MediaDateAdded ?? DateTimeOffset.MinValue,