File size being set given duration in RSS feeds

Steps to reproduce

Steps to reproduce:
1. Look at some RSS feeds,
Actual Results:

1 The file sizes are wrong. If you look at the raw RSS feed xml <enclosure> length param has been set to the file duration

Expected Results:

Correct file size given.

Activity

Show:
James Perrin
August 13, 2013, 3:20 PM

Revision: 15325
Author: jamesp
Date: 2013-08-13 16:20
Message: MH-9822, Added a guess at the files size from the bitrate of the video and audio tracks and duration. If all else fails default, as before, to the duration which is of an order of magnitude correct.

James Perrin
August 13, 2013, 3:51 PM

Revision: 15326
Author: jamesp
Date: 2013-08-13 16:51
Message: MH-9822, Changed, checks the element is a Track before getting bitrates.

James Perrin
August 13, 2013, 3:54 PM

A couple of commits that should safely guess the filesize from the track's bitrate.

James Perrin
August 14, 2013, 11:08 AM

The length (filesize) parameter is required in RSS feed <enclosure> elements. The filesize on elements seems to be unset by workflowoperations that create new tracks.

Greg Logan
August 15, 2013, 3:40 PM

Merged into 1.4.x with rev 15354.

Fixed and reviewed

Assignee

James Perrin

Reporter

James Perrin

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Time tracking

0m

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Minor
Configure