Skip to content

Commit

Permalink
BUGFIX: File size not time in enclosure length
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Mar 16, 2017
1 parent 1a67b36 commit 02293b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Partials/Episode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<description><f:format.cdata>
{description}
</f:format.cdata></description>
<enclosure url="{f:uri.resource(resource: audio.resource)}" length="{audioLength}" type="{audio.mediaType}" />
<enclosure url="{f:uri.resource(resource: audio.resource)}" length="{audio.resource.fileSize}" type="{audio.mediaType}" />
<itunes:duration>{audioLength}</itunes:duration>
<itunes:subtitle>{subtitle}</itunes:subtitle>
<itunes:summary><f:format.cdata>
Expand Down

0 comments on commit 02293b6

Please sign in to comment.