![]() |
Hosted FLV Dumps: Duration Request
This is to all the sponsors who offer hosted FLVs:
Can you please offer a duration like this - 3:03 Instead of this - 183 Thanks! |
It doesn't make sense to store duration in minutes seconds when just seconds would suffice and minutes:seconds can be displayed on the view...
Same reason every good dev I know would store a height in cm or inches rather than ft/inches... |
|
Quote:
flv|title|desc|3:00|sponsor|url It may not make sense to you because you don't use a script that displays that column exactly as it is. I do. |
I can second that one
|
Ii prefer seconds over minutes because of the script I use, so giving us the "choice" is the only way to go.
|
Simple solution would be to drop the list in excel and do a find and replace on |180 with |3:00. Some scripts require the duration to be in total number of seconds. Most scripts call for completely different delimiters. It's hard to please all the affiliates all of the time but I know we do our best to get you what you need. Most sponsors do what they can to provide the tools that anybody can use. Sometimes it may take a little finagling with the provided tools section with each sponsor.
|
Quote:
<?=floor($duration / 60)?>:<?=($duration%60)?> That doesn't account for 0 padding on seconds but that's easy enough... |
Quote:
|
Quote:
Then just use the same logic on import... if the duration field has a : in it you don't need to do anything, if it doesn't, you convert and store in your DB that way... What I'm getting at is this isn't something sponsors should offer, it's logic that should reside on the receiving end and it's very simplistic. If you have a custom need and you're not a programmer... Pay a dev for an hour's worth of time. No sponsor should be changing their output format from seconds to minutes:seconds... :upsidedow |
We don't even do time:
{video_url} {title} {description} {site_link} {site} {keywords} |
We offer that. See sig:
|
Quote:
All I'm looking for is a choice on export. Let me dump the files as 180 seconds, 3 mins, 03:00, etc. |
Quote:
I misunderstood that part. |
Quote:
|
webcams.com Affiliate Program offer to his affiliates hosted flvs with 3 - 7 minutes cam recorded shows, predefined dump scripts for multiple tube scripts. |
Quote:
:thumbsup |
| All times are GMT -7. The time now is 08:50 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123