Difference between revisions of "Media Center expression language-NEW"

From JRiverWiki
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
====FUNCTION POINTER====
+
this page can be deleted now.
{| style="width: 100%; border: 1px solid black" align="top" border="1" cellpadding="3"
 
|- valign="top"
 
! scope="row" style="white-space:nowrap; background: #A8E4A0; color: black; border: 1px solid black;" width=100 | FUNCTION NAME
 
| style="background: #ecfeea; color: black; border: 1px solid black" width=1200 | FUNCTION DESCRIPTION
 
|- valign="top"
 
! scope="row" style="background: #A8E4A0; color: black; border: 1px solid black;" | Construction
 
| style="background: #ecfeea; color: black; border: 1px solid black" | '''FUNCTION CONSTRUCTION'''
 
|- valign="top"
 
! scope="row" style="background: #A8E4A0; color: black; border: 1px solid black;" | Examples
 
|style="background: #ecfeea; color: black; border: 1px solid black" | '''EXAMPLES'''
 
|}
 
<div style="text-align:right;">([[#top|Back to top)]]</div>
 
 
 
<<<<<<<<<<<<<<<<<=================================>>>>>>>>>>>>>>>>>>>>>>>>>
 
 
 
====ListBuild(...): Build a list from a series of values====
 
{| style="width: 100%; border: 1px solid black" align="top" border="1" cellpadding="3"
 
|- valign="top"
 
! scope="row" style="white-space:nowrap; background: #A8E4A0; color: black; border: 1px solid black;" width=100 | ListBuild()
 
| style="background: #ecfeea; color: black; border: 1px solid black" width=1200 | This function provides the ability to create a single list from many different sources, allowing choices regarding ignoring or including empty values, and allowing a list delimiter to be specified.
 
|- valign="top"
 
! scope="row" style="background: #A8E4A0; color: black; border: 1px solid black;" | Construction
 
| style="background: #ecfeea; color: black; border: 1px solid black" | '''ListBuild(Mode,Delimiter,Items,To,Include)'''<br>
 
'''Mode:''' ''There are two different modes available:
 
* '''0''': ''combine all values.''
 
* '''1''': ''combine non-empty values''
 
 
 
'''Delimiter''': ''The character used here will be used as a delimiter between each of the specified list items. To be clear, if there are back slashes in the keywords field, and a list is built using keywords and genre, the specified delimiter is used between the keywords and genre fields when joining them, the back slashes in the keywords field would not be altered.''
 
'''Items To Include''': ''This can be any number of specified text entries or library fields, seperated by commas''
 
|- valign="top"
 
! scope="row" style="background: #A8E4A0; color: black; border: 1px solid black;" | Examples
 
|style="background: #ecfeea; color: black; border: 1px solid black" | '''listbuild(1,;,[keywords],[genre])'''<br>''This will return a list containing all keywords and genres. Mode "1" has been specified, which means that if either keyords or genre is empty, they will be ignored.''
 
 
 
<br>'''listbuild(0,;,[keywords],[genre])'''
 
<br>''Here, the keywords and genre fields are merged again, but now, mode "0" has been specified, which means that regardless of the contents of either field, the delimiter will always be shown. The results would appear as follows:
 
* File has no keywords or genre
 
|}
 
<div style="text-align:right;">([[#top|Back to top)]]</div>
 

Latest revision as of 13:37, 7 October 2010

this page can be deleted now.