mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Bump all the deps in the project
This commit is contained in:
parent
324888a759
commit
a9ea0421be
@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
|
@ -7,13 +7,13 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="Xunit.Priority" Version="1.1.6" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
<PackageReference Include="coverlet.collector" Version="1.2.1" />
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.1" />
|
||||
<PackageReference Include="XunitContext" Version="1.9.1" />
|
||||
<PackageReference Include="XunitContext" Version="1.9.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -16,7 +16,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CsvHelper" Version="15.0.4" />
|
||||
<PackageReference Include="CsvHelper" Version="15.0.5" />
|
||||
<PackageReference Include="Dapper" Version="2.0.35" />
|
||||
<PackageReference Include="FluentFTP" Version="32.3.3" />
|
||||
<PackageReference Include="graphiql" Version="2.0.0" />
|
||||
@ -28,7 +28,7 @@
|
||||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.OpenApi" Version="1.1.4" />
|
||||
<PackageReference Include="Nettle" Version="1.3.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.2" />
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.1" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommandLineParser" Version="2.7.82" />
|
||||
<PackageReference Include="F23.StringSimilarity" Version="3.1.0" />
|
||||
<PackageReference Include="Markdig" Version="0.18.3" />
|
||||
<PackageReference Include="Markdig" Version="0.20.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -14,7 +14,7 @@ namespace Wabbajack.Lib.Downloaders.UrlDownloaders
|
||||
if (state == null) return null;
|
||||
|
||||
var client = new YoutubeClient(Common.Http.ClientFactory.Client);
|
||||
var video = await client.GetVideoAsync(state.Key);
|
||||
var video = await client.Videos.GetAsync(state.Key);
|
||||
|
||||
var desc = video.Description;
|
||||
|
||||
|
@ -13,7 +13,7 @@ using Wabbajack.Common.Serialization.Json;
|
||||
using Wabbajack.Lib.Validation;
|
||||
using YoutubeExplode;
|
||||
using YoutubeExplode.Exceptions;
|
||||
using YoutubeExplode.Models.MediaStreams;
|
||||
using YoutubeExplode.Videos.Streams;
|
||||
using File = Alphaleonis.Win32.Filesystem.File;
|
||||
using Path = Alphaleonis.Win32.Filesystem.Path;
|
||||
|
||||
@ -105,10 +105,9 @@ namespace Wabbajack.Lib.Downloaders
|
||||
await using var folder = new TempFolder();
|
||||
folder.Dir.Combine("tracks").CreateDirectory();
|
||||
var client = new YoutubeClient(Common.Http.ClientFactory.Client);
|
||||
var meta = await client.GetVideoAsync(Key);
|
||||
var video = await client.GetVideoMediaStreamInfosAsync(Key);
|
||||
var all = video.GetAll();
|
||||
var stream = video.GetAll().OfType<AudioStreamInfo>().Where(f => f.AudioEncoding == AudioEncoding.Aac).OrderByDescending(a => a.Bitrate)
|
||||
var meta = await client.Videos.GetAsync(Key);
|
||||
var video = await client.Videos.Streams.GetManifestAsync(Key);
|
||||
var stream = video.Streams.OfType<AudioOnlyStreamInfo>().Where(f => f.AudioCodec.StartsWith("mp4a")).OrderByDescending(a => a.Bitrate)
|
||||
.ToArray().First();
|
||||
|
||||
var initialDownload = folder.Dir.Combine("initial_download");
|
||||
@ -117,11 +116,11 @@ namespace Wabbajack.Lib.Downloaders
|
||||
|
||||
await using (var fs = initialDownload.Create())
|
||||
{
|
||||
await client.DownloadMediaStreamAsync(stream, fs, new Progress($"Downloading {a.Name}"),
|
||||
await client.Videos.Streams.CopyToAsync(stream, fs, new Progress($"Downloading {a.Name}"),
|
||||
CancellationToken.None);
|
||||
}
|
||||
|
||||
initialDownload.CopyTo(destination.WithExtension(new Extension(".dest_stream")));
|
||||
await initialDownload.CopyToAsync(destination.WithExtension(new Extension(".dest_stream")));
|
||||
|
||||
await Tracks.PMap(queue, async track =>
|
||||
{
|
||||
@ -212,7 +211,7 @@ namespace Wabbajack.Lib.Downloaders
|
||||
try
|
||||
{
|
||||
var client = new YoutubeClient(Common.Http.ClientFactory.Client);
|
||||
var video = await client.GetVideoAsync(Key);
|
||||
var video = await client.Videos.GetAsync(Key);
|
||||
return true;
|
||||
}
|
||||
catch (VideoUnavailableException)
|
||||
|
@ -20,7 +20,7 @@
|
||||
<Version>2.2.2.1</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="GraphQL.Client">
|
||||
<Version>3.0.1</Version>
|
||||
<Version>3.0.3</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="HtmlAgilityPack">
|
||||
<Version>1.11.23</Version>
|
||||
@ -65,7 +65,7 @@
|
||||
<Version>1.0.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="YoutubeExplode">
|
||||
<Version>4.7.16</Version>
|
||||
<Version>5.0.1</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -29,11 +29,11 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CefSharp.Common" Version="79.1.360" />
|
||||
<PackageReference Include="CefSharp.OffScreen" Version="79.1.360" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
<PackageReference Include="coverlet.collector" Version="1.2.1" />
|
||||
<PackageReference Include="XunitContext" Version="1.9.1" />
|
||||
<PackageReference Include="XunitContext" Version="1.9.3" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -70,7 +70,7 @@
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="MahApps.Metro" Version="2.0.0-alpha0748" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks" Version="3.7.0" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks" Version="4.0.0" />
|
||||
<PackageReference Include="PInvoke.Gdi32" Version="0.6.6" />
|
||||
<PackageReference Include="PInvoke.User32" Version="0.6.6" />
|
||||
<PackageReference Include="ReactiveUI" Version="11.3.1" />
|
||||
|
Loading…
Reference in New Issue
Block a user