✨ Add drop:tmdb command for adding shows/movies to watched log
This commit is contained in:
parent
21d27f8068
commit
88802020fe
10 changed files with 377 additions and 3 deletions
24
tmdb/type.go
Normal file
24
tmdb/type.go
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
package tmdb
|
||||
|
||||
import sdk "github.com/cyruzin/golang-tmdb"
|
||||
|
||||
//go:generate stringer -type=Type
|
||||
type Type uint8
|
||||
|
||||
const (
|
||||
Unknown Type = iota
|
||||
Movie
|
||||
Series
|
||||
)
|
||||
|
||||
type TVDetails struct {
|
||||
Series *sdk.TVDetails
|
||||
Episode *sdk.TVEpisodeDetails
|
||||
}
|
||||
|
||||
type Info struct {
|
||||
ID int
|
||||
Type Type
|
||||
Season int
|
||||
Episode int
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue