forked from xiaoyaocz/biliuwp-lite
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #453 from ywmoyue/dev
4.6.24
- Loading branch information
Showing
32 changed files
with
697 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/BiliLite.UWP/Models/Common/Live/DefaultPlayUrlSourceOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace BiliLite.Models.Common.Live | ||
{ | ||
public static class DefaultPlayUrlSourceOptions | ||
{ | ||
public static LivePlayUrlSourceOption[] DefaultLivePlayUrlSourceOption = new LivePlayUrlSourceOption[] | ||
{ | ||
new LivePlayUrlSourceOption() { Name = "京东云MCDN(PCDN?)", Value = "mcdn" }, | ||
new LivePlayUrlSourceOption() { Name = "B站自建地区CDN", Value = "cn-"}, | ||
new LivePlayUrlSourceOption() { Name = "备用及第三方CDN", Value = "-gotcha"}, | ||
}; | ||
|
||
public const string DEFAULT_PLAY_URL_SOURCE = "cn-"; //默认使用B站自建CDN | ||
} | ||
|
||
public class LivePlayUrlSourceOption | ||
{ | ||
public string Name { get; set; } | ||
|
||
public string Value { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
src/BiliLite.UWP/Models/Common/User/SubmitCollectionItemModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace BiliLite.Models.Common.User | ||
{ | ||
public class SubmitCollectionItemModel | ||
{ | ||
/// <summary> | ||
/// 本合集的视频数量 | ||
/// </summary> | ||
public int Count { get; set; } | ||
|
||
/// <summary> | ||
/// 本合集的封面 | ||
/// </summary> | ||
public string Cover { get; set; } | ||
|
||
/// <summary> | ||
/// 跳转格式? 常见值: av | ||
/// </summary> | ||
public string Goto { get; set; } | ||
|
||
/// <summary> | ||
/// 可能是收费视频合集? | ||
/// </summary> | ||
[JsonProperty("is_pay")] | ||
public bool IsPay { get; set; } | ||
|
||
/// <summary> | ||
/// 合集最后更新时间戳 | ||
/// </summary> | ||
[JsonProperty("mtime")] | ||
public int LatestUpdateTime { get; set; } | ||
|
||
/// <summary> | ||
/// 未知参数 | ||
/// 对于直播回放列表为其纯数字列表id. | ||
/// </summary> | ||
public string Param { get; set; } | ||
|
||
/// <summary> | ||
/// 合集标题 | ||
/// </summary> | ||
public string Title { get; set; } | ||
|
||
/// <summary> | ||
/// 合集类型 | ||
/// 目前发现用户自己创建的为season, 直播回放列表为series | ||
/// </summary> | ||
public string Type { get; set; } | ||
|
||
/// <summary> | ||
/// 跳转链接 | ||
/// 以bilibili://开头. | ||
/// 对于直播回放, 其特别的, 为: bilibili://music/playlist/playpage/{Id} | ||
/// Id可能为合集的纯数字id. | ||
/// </summary> | ||
public string Uri { get; set; } | ||
} | ||
} |
Oops, something went wrong.