Skip to content

Commit

Permalink
feat: include episode duraiton in dump
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 14, 2024
1 parent f91b72b commit 0f095e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/archive/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ type Episode struct {
Description string `json:"description"`
AirDate string `json:"airdate"`
Disc uint8 `json:"disc"`
Duration string `json:"duration"`
SubjectID model.SubjectID `json:"subject_id"`
Sort float32 `json:"sort"`
Type episode.Type `json:"type"`
Expand All @@ -428,6 +429,7 @@ func exportEpisodes(q *query.Query, w io.Writer) {
NameCn: e.NameCn,
Sort: e.Sort,
SubjectID: e.SubjectID,
Duration: e.Duration,
Description: e.Desc,
Type: e.Type,
AirDate: e.Airdate,
Expand Down

0 comments on commit 0f095e3

Please # to comment.