1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Rework playlist updates

This commit is contained in:
Maksym Pavlenko
2019-05-29 15:10:39 -07:00
parent 6296a2bb56
commit 11932bbce2
4 changed files with 59 additions and 32 deletions

View File

@@ -10,6 +10,8 @@ import (
"github.com/aws/aws-sdk-go/service/sqs"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/mxpv/podsync/pkg/api"
)
var (
@@ -23,13 +25,14 @@ const (
)
type Item struct {
ID string `json:"id"`
URL string `json:"url"`
Start int `json:"start"`
Count int `json:"count"`
LastID string `json:"last_id"`
Format string `json:"format"`
Quality string `json:"quality"`
ID string `json:"id"`
URL string `json:"url"`
Start int `json:"start"`
Count int `json:"count"`
LastID string `json:"last_id"`
LinkType api.LinkType `json:"link_type"`
Format string `json:"format"`
Quality string `json:"quality"`
}
type Sender struct {