-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
2,458 additions
and
4 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliCategories.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class BilibiliCategories { | ||
private List<BilibiliCategoryList> data; | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliCategoriesResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class BilibiliCategoriesResponse extends BilibiliResponse<BilibiliCategories> { | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliCategory.java
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,12 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class BilibiliCategory { | ||
private String id; | ||
private String name; | ||
private String pic; | ||
private String parent_id; | ||
private String parent_name; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliCategoryList.java
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,12 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class BilibiliCategoryList { | ||
private int id; | ||
private String name; | ||
private List<BilibiliCategory> list; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliResponse.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class BilibiliResponse<T> { | ||
private int code; | ||
private T data; | ||
private String message; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomInfo.java
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,13 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class BilibiliRoomInfo { | ||
private int roomid; | ||
private String title; | ||
private String uname; | ||
private String cover; | ||
private String area_name; | ||
private int online; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomList.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class BilibiliRoomList { | ||
private List<BilibiliRoomInfo> list; | ||
} |
53 changes: 53 additions & 0 deletions
53
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomPlayInfo.java
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,53 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class BilibiliRoomPlayInfo { | ||
private PlayInfo playurl_info; | ||
|
||
@Data | ||
public static class PlayInfo { | ||
private PlayUrl playurl; | ||
} | ||
|
||
@Data | ||
public static class PlayUrl { | ||
private List<QnDesc> g_qn_desc; | ||
private List<Stream> stream; | ||
} | ||
|
||
@Data | ||
public static class QnDesc { | ||
private String desc; | ||
private int qn; | ||
} | ||
|
||
@Data | ||
public static class Stream { | ||
private String protocol_name; | ||
private List<Format> format; | ||
} | ||
|
||
@Data | ||
public static class Format { | ||
private String format_name; | ||
private List<Codec> codec; | ||
} | ||
|
||
@Data | ||
public static class Codec { | ||
private String base_url; | ||
private String codec_name; | ||
private int current_qn; | ||
private List<UrlInfo> url_info; | ||
} | ||
|
||
@Data | ||
public static class UrlInfo { | ||
private String host; | ||
private String extra; | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomPlayResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class BilibiliRoomPlayResponse extends BilibiliResponse<BilibiliRoomPlayInfo> { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class BilibiliRoomResponse extends BilibiliResponse<BilibiliRoomInfo> { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/BilibiliRoomsResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class BilibiliRoomsResponse extends BilibiliResponse<BilibiliRoomList> { | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/CcCategory.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class CcCategory { | ||
private String name; | ||
private String gametype; | ||
private String cover; | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/java/cn/har01d/alist_tvbox/live/model/CcCategoryInfo.java
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,8 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class CcCategoryInfo { | ||
private CcCategoryList category_info; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/CcCategoryList.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class CcCategoryList { | ||
private List<CcCategory> game_list; | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/CcCategoryResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class CcCategoryResponse extends CcResponse<CcCategoryInfo> { | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/cn/har01d/alist_tvbox/live/model/CcPlayInfo.java
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,15 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
@Data | ||
public class CcPlayInfo { | ||
private List<String> cdn_list; | ||
private List<Integer> vbr_list; | ||
private Map<String, Integer> tcvbr_list; | ||
private Map<String, String> vbrname_mapping; | ||
private String videourl; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/CcResponse.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class CcResponse<T> { | ||
private int code; | ||
private T data; | ||
private String msg; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/cn/har01d/alist_tvbox/live/model/CcRoomInfo.java
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,14 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class CcRoomInfo { | ||
private String cuteid; | ||
private String title; | ||
private String poster; | ||
private String nickname; | ||
private String gamename; | ||
private String sharefile; | ||
private int visitor; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/CcRoomList.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class CcRoomList { | ||
private List<CcRoomInfo> lives; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/cn/har01d/alist_tvbox/live/model/CcRoomsResponse.java
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,6 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import java.util.List; | ||
|
||
public class CcRoomsResponse extends CcResponse<List<CcRoomInfo>> { | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuCategory.java
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,11 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DouyuCategory { | ||
private int cate2Id; | ||
private String cate2Name; | ||
private String shortName; | ||
private String pic; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuCategoryList.java
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,10 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class DouyuCategoryList { | ||
private List<DouyuCategory> cate2Info; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuCategoryResponse.java
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,7 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DouyuCategoryResponse extends DouyuResponse<DouyuCategoryList> { | ||
} |
23 changes: 23 additions & 0 deletions
23
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuLiveStream.java
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,23 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class DouyuLiveStream { | ||
private List<CdnsWithName> cdnsWithName; | ||
private List<BitRate> multirates; | ||
|
||
@Data | ||
public static class CdnsWithName { | ||
private String name; | ||
private String cdn; | ||
} | ||
|
||
@Data | ||
public static class BitRate { | ||
private String name; | ||
private int rate; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuResponse.java
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,9 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DouyuResponse<T> { | ||
private int code; | ||
private T data; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuRoom.java
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,12 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DouyuRoom { | ||
private String room_name; | ||
private String owner_name; | ||
private String room_thumb; | ||
private String cate_name; | ||
private int online; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuRoomInfo.java
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,15 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DouyuRoomInfo { | ||
private int rid; | ||
private int isLive; | ||
private int roomId; | ||
private String cateName; | ||
private String roomName; | ||
private String nickname; | ||
private String roomSrc; | ||
private String hn; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuRoomList.java
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,11 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class DouyuRoomList { | ||
private List<DouyuRoomInfo> list; | ||
private int pageCount; | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuRoomResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class DouyuRoomResponse extends DouyuResponse<DouyuRoom> { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuRoomsResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class DouyuRoomsResponse extends DouyuResponse<DouyuRoomList> { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/cn/har01d/alist_tvbox/live/model/DouyuStreamResponse.java
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,4 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
public class DouyuStreamResponse extends DouyuResponse<DouyuLiveStream> { | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/cn/har01d/alist_tvbox/live/model/HuyaCategory.java
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,9 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class HuyaCategory { | ||
private String gid; | ||
private String gameFullName; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/cn/har01d/alist_tvbox/live/model/HuyaCategoryList.java
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,11 @@ | ||
package cn.har01d.alist_tvbox.live.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Data | ||
public class HuyaCategoryList { | ||
private List<HuyaCategory> gameList = new ArrayList<>(); | ||
} |
Oops, something went wrong.