Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Build a random file list based on content length?
Post Flair (click to view more posts with a particular flair)
Post Body

Based on my last problem, which is working quite nicely now, I've run into the next issue...

So the script is outputting the results properly, and says this:

*  Total Movie Length: 8:04:50
*  Filler Needed:  0:52:47

"Filler" is the short bits, trailers, cartoons, etc, between movies. According to this test run, I need to gather 52 minutes and 47 seconds of filler.

I have a database of all available filler, including their lengths (in the format of h:m:s).

Using that, how can I tell it to build a playlist of filler items 52 minutes and 47 seconds long minimum?

Going over by a minute or two is perfectly acceptable, but it can't be shorter than that amount.

Note: "efficiency" isn't really needed here. The computer running this has this one job to do. And it doesn't matter how long it takes (as long as it's done in less than a week), or how much memory it eats up doing it.

Thanks!

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
19,425
Link Karma
6,051
Comment Karma
13,278
Profile updated: 3 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago