Add GetRealUrlOrPathAsync for TYTDClient
This commit is contained in:
parent
4a03e3398e
commit
26c9960003
|
@ -314,8 +314,13 @@ internal class SegmentedHttpStream : Stream
|
|||
}
|
||||
}
|
||||
}
|
||||
public override async Task<(string Path,bool Delete)> GetRealUrlOrPathAsync(string path)
|
||||
{
|
||||
return await Task.FromResult(($"{url}api/Storage/File/{path.TrimStart('/')}",false));
|
||||
}
|
||||
public async IAsyncEnumerable<Subscription> GetSubscriptionsAsync()
|
||||
{
|
||||
|
||||
string v="[]";
|
||||
try{
|
||||
v=await client.GetStringAsync($"{url}api/v2/subscriptions");
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
<PackageId>Tesses.YouTubeDownloader</PackageId>
|
||||
<Author>Mike Nolan</Author>
|
||||
<Company>Tesses</Company>
|
||||
<Version>2.0.2</Version>
|
||||
<AssemblyVersion>2.0.2</AssemblyVersion>
|
||||
<FileVersion>2.0.2</FileVersion>
|
||||
<Version>2.0.2.1</Version>
|
||||
<AssemblyVersion>2.0.2.1</AssemblyVersion>
|
||||
<FileVersion>2.0.2.1</FileVersion>
|
||||
<Description>A YouTube Downloader</Description>
|
||||
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
|
|
Loading…
Reference in New Issue