GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Hosted FLV Dumps: Duration Request (https://gfy.com/showthread.php?t=988169)

iTugIt 09-20-2010 08:33 AM

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!

BestXXXPorn 09-20-2010 08:40 AM

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...

CamJack 09-20-2010 09:03 AM

are these correct?
http://galleries.nakednewsanchors.co...omm_011110.flv
http://galleries.nakednewsanchors.co...omm_020910.flv
http://galleries.nakednewsanchors.co...omm_021510.flv
http://galleries.nakednewsanchors.co...omm_022210.flv

iTugIt 09-20-2010 10:56 AM

Quote:

Originally Posted by BestXXXPorn (Post 17519276)
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...

Stored as 180 seconds is fine. I get it. I'm asking that on batch exports (dumps), it could look like this:

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.

icymelon 09-20-2010 11:05 AM

I can second that one

StinkyPink 09-20-2010 11:11 AM

Ii prefer seconds over minutes because of the script I use, so giving us the "choice" is the only way to go.

dirtybaker1331 09-20-2010 11:18 AM

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.

BestXXXPorn 09-20-2010 12:22 PM

Quote:

Originally Posted by iTugIt (Post 17519732)
Stored as 180 seconds is fine. I get it. I'm asking that on batch exports (dumps), it could look like this:

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.

So why not mod the php (I'm guessing) script to display minutes:seconds?

<?=floor($duration / 60)?>:<?=($duration%60)?>

That doesn't account for 0 padding on seconds but that's easy enough...

StinkyPink 09-20-2010 12:42 PM

Quote:

Originally Posted by BestXXXPorn (Post 17520035)
So why not mod the php (I'm guessing) script to display minutes:seconds?

<?=floor($duration / 60)?>:<?=($duration%60)?>

That doesn't account for 0 padding on seconds but that's easy enough...

It isn't the display he is concerned about... it is the import dump file.

BestXXXPorn 09-20-2010 12:47 PM

Quote:

Originally Posted by StinkyPink (Post 17520152)
It isn't the display he is concerned about... it is the import dump file.

"It may not make sense to you because you don't use a script that displays that column exactly as it is. I do."

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

CamJack 09-20-2010 12:50 PM

We don't even do time:

{video_url} {title} {description} {site_link} {site} {keywords}

Titan 09-20-2010 01:32 PM

We offer that. See sig:

iTugIt 09-20-2010 01:33 PM

Quote:

Originally Posted by dirtybaker1331 (Post 17519813)
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.

Problem is, this can take a lot of time when the durations vary. I just did a search and replace for 300 flvs. Each of them had times ranging from 160 seconds to 220 seconds. It took a while.

All I'm looking for is a choice on export. Let me dump the files as 180 seconds, 3 mins, 03:00, etc.

StinkyPink 09-20-2010 02:16 PM

Quote:

Originally Posted by BestXXXPorn (Post 17520169)
"It may not make sense to you because you don't use a script that displays that column exactly as it is. I do."

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

My bad you were right :upsidedow

I misunderstood that part.

ArsewithClass 09-20-2010 02:53 PM

Quote:

Originally Posted by iTugIt (Post 17519260)
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!

Sign up to GspotCash for a 1:1000 ratio with hosted flv galleries & flv links between 3 & 5 mins long :2 cents:

daniel_webcams 09-21-2010 01:19 AM

webcams.com Affiliate Program offer to his affiliates hosted flvs with 3 - 7 minutes cam recorded shows, predefined dump scripts for multiple tube scripts.

Email me or hit me up on ICQ, I will help you to make a dump and choose the right promo tool your site, the $100 PPO is still on TOP

topsiteking 09-21-2010 01:23 AM

Quote:

Originally Posted by daniel_webcams (Post 17522019)
webcams.com Affiliate Program offer to his affiliates hosted flvs with 3 - 7 minutes cam recorded shows, predefined dump scripts for multiple tube scripts.

Email me or hit me up on ICQ, I will help you to make a dump and choose the right promo tool your site, the $100 PPO is still on TOP

Very nice!
: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