mark as unplayable and availability check
This commit is contained in:
@@ -130,3 +130,17 @@ type User struct {
|
||||
Premium int `json:"premium"` // seconds left as a Premium user
|
||||
Expiration string `json:"expiration"` // jsonDate
|
||||
}
|
||||
|
||||
// key: torrent hash
|
||||
type AvailabilityResponse map[string]HosterHash
|
||||
|
||||
// key: "rd"
|
||||
type HosterHash map[string][]SelectionVariant
|
||||
|
||||
// key: file id
|
||||
type SelectionVariant map[int]FileData
|
||||
|
||||
type FileData struct {
|
||||
Filename string `json:"filename"`
|
||||
Filesize int `json:"filesize"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user