Page 1 of 2

"Duration" parsing

Posted: Wed Oct 07, 2020 10:08 am
by orion-m
Half of my vids have no "duration" info (it was not parsed as some sponsors do not include such info). Is there any feature in SmartCJ to recheck all active videos for length and setup the "duration" info for each clip automatically? If not, would it be possible to add such an option?

Thx

Re: "Duration" parsing

Posted: Wed Oct 07, 2020 10:12 am
by admin
How do you import videos?
pattern

Re: "Duration" parsing

Posted: Wed Oct 07, 2020 6:11 pm
by orion-m
It goes like
URL|Title|Tags|Duration|Category|Thumb
Something like that

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 6:34 am
by admin
URL = url of a gallery like xhamster?
no, you need to add duration here

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 7:48 am
by orion-m
Sorry, I don't understand

URL stands for the video URL (I don't use embed codes)
Duration stands for the length of the video clip
Now in some cases sponsors do not include "duration" info in the dump file
And it shows "0" instead of the original movie length

Now my question is:
Is there any feature in SmartCJ to check videos for duration?

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 9:26 am
by admin
do you use URL to add something like http://server/movie.mp4 ?
and it works?

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 3:30 pm
by orion-m
I don't use embeded videos, so I link directly to sponsors (like xhamster, etc.).
They provide list of their videos

Example:
https://www.tube8.com/fetish/kinky-fant ... tish|Kinky fantasy of hooker bound|bdsm,bondage,kinky,slave|331|https://ei1.t8cdn.com/201212/20/7578911 ... gaaaa).jpg

I import it like this:
URL|Category|Title|Tags|Duration|Thumb

However some sponsors don't provide the 'Duration' info to import.
The question is:
Is there any feature in SmartCJ to parse the video length?
Is there any way to setup 'Duration' in such cases automatically?

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 4:45 pm
by admin
Is there any feature in SmartCJ to parse the video length?

Yes, but only if you import rul to VIDEO file, not to a random gallery

Is there any way to setup 'Duration' in such cases automatically?

what exactly should be done automatically?

Re: "Duration" parsing

Posted: Thu Oct 08, 2020 6:40 pm
by orion-m
Yes, I do import URLs to video files. Specific video files (not random ones).
How can I setup duration for my videos?

Re: "Duration" parsing

Posted: Fri Oct 09, 2020 5:01 am
by admin
The script detects duration for video files, you gave a gallery url as an example