File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ type PodcastRemoteItem struct {
81
81
XMLName xml.Name `xml:"podcast:remoteItem"`
82
82
ItemGUID * string `xml:"itemGuid,attr"`
83
83
FeedGUID uuid.UUID `xml:"feedGuid,attr"`
84
+ FeedURL * string `xml:"feedUrl,attr"`
84
85
Medium * PodcastMedium `xml:"medium,attr"`
85
86
}
86
87
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ func TestMarshal(t *testing.T) {
101
101
RemoteItem : types.PodcastRemoteItem {
102
102
ItemGUID : pointer ("https://podcastindex.org/podcast/4148683#1" ),
103
103
FeedGUID : uuid .MustParse ("a94f5cc9-8c58-55fc-91fe-a324087a655b" ),
104
+ FeedURL : pointer ("https://feeds.podcastindex.org/Album-TourconVII.xml" ),
104
105
Medium : pointer (types .PodcastMediumMusic ),
105
106
},
106
107
RemotePercentage : pointer [uint ](95 ),
@@ -403,7 +404,7 @@ func TestMarshal(t *testing.T) {
403
404
<podcast:valueRecipient name="Co-Host #2" type="node" address="032f4ffbbafffbe51726ad3c164a3d0d37ec27bc67b29a159b0f49ae8ac21b8508" split="40"></podcast:valueRecipient>
404
405
<podcast:valueRecipient name="Producer" type="node" address="03ae9f91a0cb8ff43840e3c322c4c61f019d8c1c3cea15a25cfc425ac605e61a4a" split="10"></podcast:valueRecipient>
405
406
<podcast:valueTimeSplit startTime="60" duration="237" remotePercentage="95">
406
- <podcast:remoteItem itemGuid="https://podcastindex.org/podcast/4148683#1" feedGuid="a94f5cc9-8c58-55fc-91fe-a324087a655b" medium="music"></podcast:remoteItem>
407
+ <podcast:remoteItem itemGuid="https://podcastindex.org/podcast/4148683#1" feedGuid="a94f5cc9-8c58-55fc-91fe-a324087a655b" feedUrl="https://feeds.podcastindex.org/Album-TourconVII.xml" medium="music"></podcast:remoteItem>
407
408
</podcast:valueTimeSplit>
408
409
<podcast:valueTimeSplit startTime="330" duration="53" remoteStartTime="174" remotePercentage="95">
409
410
<podcast:remoteItem itemGuid="https://podcastindex.org/podcast/4148683#3" feedGuid="a94f5cc9-8c58-55fc-91fe-a324087a655b" medium="music"></podcast:remoteItem>
You can’t perform that action at this time.
0 commit comments