media: add support for legacy tvdb api (#16)
This commit is contained in:
@@ -3,6 +3,7 @@ package media
|
||||
import (
|
||||
"encoding/xml"
|
||||
"github.com/l3uddz/nabarr/media/omdb"
|
||||
"github.com/l3uddz/nabarr/media/tvdb"
|
||||
"github.com/pkg/errors"
|
||||
"time"
|
||||
)
|
||||
@@ -29,6 +30,7 @@ type Item struct {
|
||||
|
||||
// additional media provider data
|
||||
Omdb omdb.Item `json:"Omdb,omitempty"`
|
||||
Tvdb tvdb.Item `json:"Tvdb,omitempty"`
|
||||
}
|
||||
|
||||
type Rss struct {
|
||||
|
||||
Reference in New Issue
Block a user