Search found 177 matches

by LotsOCds
Sat Nov 25, 2017 6:31 am
Forum: Using CATVids
Topic: [Solved] if length and 0 displays link
Replies: 22
Views: 3132

Re: if length and 0 displays link

Alex,

Always look at the XML. Here you will find the answer.

Code: Select all

<length hours="0" minutes="0" seconds="0">0:00</length>
So you need to write:

Code: Select all

<xsl:when test="length='0:00'">
by LotsOCds
Sat Sep 16, 2017 2:30 pm
Forum: Using CATVids
Topic: orderby=Leadingroles
Replies: 2
Views: 694

Re: orderby=Leadingroles

I would like to enable sorting for the field orderby = leadingroles You cannot sort the way you want using a lookup field in a list template like this. Notice that the default ContentsList template does not allow sorting on the Director field. It is for the same reasons since Director is also a loo...
by LotsOCds
Tue Sep 12, 2017 2:55 pm
Forum: Using CATVids
Topic: CATVids - running a batch file with wget
Replies: 9
Views: 1215

Re: CATVids - running a batch file with wget

If I understand correctly, you want Person.xsl to read and display display the file modification date? This is not possible since XSL cannot read the file dates.
by LotsOCds
Tue Sep 12, 2017 5:49 am
Forum: Using CATVids
Topic: CATVids - running a batch file with wget
Replies: 9
Views: 1215

Re: CATVids - running a batch file with wget

You need to be more specific. I do not know what file you are talking about or how it is created.
by LotsOCds
Mon Sep 11, 2017 11:04 pm
Forum: Using CATVids
Topic: Count total hours of videoseries
Replies: 5
Views: 1208

Re: Count total hours of videoseries

Alex Ivanovich wrote: I can get this :roll:
39 hours :47 hours :00 hours
This is not possible.
by LotsOCds
Mon Sep 11, 2017 10:14 pm
Forum: Using CATVids
Topic: CATVids - running a batch file with wget
Replies: 9
Views: 1215

Re: CATVids - running a batch file with wget

Strange, if I go to the folder and click on the .cmd file it all works (wget.exe and in the same folder) from CATVids does not work :| Probably because wget.exe is in the PATH in that environment. It is not in the PATH of the environment started by CATvids. how do i write the path? :roll: Instead o...
by LotsOCds
Mon Sep 11, 2017 9:32 pm
Forum: Using CATVids
Topic: CATVids - running a batch file with wget
Replies: 9
Views: 1215

Re: CATVids - running a batch file with wget

You need to provide the full path to wget.exe in the cmd file.
by LotsOCds
Fri Sep 08, 2017 2:32 am
Forum: Using AssetCAT
Topic: Filter description
Replies: 2
Views: 2036

Re: Filter description

Can you provide an example using the Sample database? The filters I've tried appear to work properly.
by LotsOCds
Tue Jul 18, 2017 1:43 pm
Forum: Using AssetCAT
Topic: Filter Month - Year (before and after)
Replies: 2
Views: 1077

Re: Filter Month - Year (before and after)

Alex Ivanovich wrote:Now I would like to create more filters
1 for the previous month
And another for the following month

how to do?
I don't think it is possible.
by LotsOCds
Tue Jul 18, 2017 1:43 pm
Forum: Using CATraxx
Topic: Convert bitrate to integer
Replies: 2
Views: 652

Re: Convert bitrate to integer

I am far away from my CATraxx computer so I can't test it, however this should work:

Code: Select all

<xsl:value-of select="round(sum(../trackdata/disc/side/track/audiosample/bitrate) div (count(../trackdata /disc/side/track/audiosample[bitrate>0])))"/>