User:Glynor: Difference between revisions
Line 63: | Line 63: | ||
'''{{monospace|field(date, 0)}}''' |
'''{{monospace|field(date, 0)}}''' |
||
: Returns the raw, unformatted value stored in the <span style="font-family: monospace,monospace; font-size:1em;">date</span> field. Note that this is equivalent to {{monospace|[date,0]}}. |
: Returns the raw, unformatted value stored in the <span style="font-family: monospace,monospace; font-size:1em;">date</span> field. Note that this is equivalent to {{monospace|[date,0]}}. |
||
}} |
|||
== Function Description Template == |
|||
{{function description box |
|||
| name=saveadd |
|||
| arguments=variable, value, mode |
|||
| description= |
|||
The [[#SaveAdd|SaveAdd()]] function adds <i>value</i> to a global <i>variable</i> either numerically or as a list item. |
|||
The <i>mode</i> argument indicates how <i>variable</i> is modified. |
|||
{{argument table |
|||
| name=mode |
|||
| contents= |
|||
{{argument table row|0|Add numeric <i>value</i> (integer or decimal) to <i>variable</i>}} |
|||
{{argument table row|1|Append string <i>value</i> as a list item to <i>variable</i>}} |
|||
{{argument table row|2|Prepend string <i>value</i> as a list item to <i>variable</i>}} |
|||
}} |
|||
{{argument optional|mode|0}} |
|||
| examples= |
|||
'''{{monospace|saveadd(v, 1)}}''' |
|||
: Numerically increments the global <i>variable</i> {{monospace|v}} by {{monospace|1}}. |
|||
'''{{monospace|saveadd(v, math(2 - 6))}}''' |
|||
: Numerically increments the global <i>variable</i> {{monospace|v}} by the outcome of the [[#Math|Math()]], which is {{monospace|-4}}. |
|||
'''{{monospace|load(foo, v)saveadd(v, bar, 1)load(v)}}''' |
|||
: Loads <i>value</i> {{monospace|foo}} into <i>variable</i> {{monospace|v}}, then appends the <i>value</i> {{monospace|bar}} as a list item, and the final {{monospace|load(v)}} expression outputs the result of {{monospace|foo; bar}}. |
|||
'''{{monospace|load(That, v)saveadd(v, This, 2)load(v)}}''' |
|||
: Similar to the previous example, but using the prepend <i>mode</i>, resulting in the output {{monospace|This; That}}. |
|||
}} |
}} |
||
Revision as of 03:45, 24 January 2016
This is my page on the Wiki. My real name is Ed, I live in Maine, and this is me:
Start building the Media Center Troubleshooting Guide page.
Build the Troubleshooting Solutions page.
Span Styles
Media Center Menus
Actually, I think Template:Menu Flow would be better for long term. Or something like that...
<span style="color:#8B4513">Tools > Options > Audio</span>
Tools > Options > Audio
- Include all items starting from the top menu for consistency.
Tree Hierarchy
<span style="color:#006400">Playing Now > Playing from <Current Library's Name></span>
Playing Now > Playing from <Current Library's Name>
OS Menus
<span style="color:#007A62">Control Panel > Hardware and Sound > Sound</span>
Control Panel > Hardware and Sound > Sound
Fix These
- http://wiki.jriver.com/index.php/Supported_Remote_Control_Devices
- http://wiki.jriver.com/index.php/Remotes
Function Description Test
Description | field(name, mode)
The Field() function returns the value stored in field name. The format of return is selected by mode. Available mode values:
| ||||
---|---|---|---|---|---|
Examples | field(album)
field(date, 0)
|
Function Description Template
Description | saveadd(variable, value, mode)
The SaveAdd() function adds value to a global variable either numerically or as a list item. The mode argument indicates how variable is modified. Available mode values:
| ||||||
---|---|---|---|---|---|---|---|
Examples | saveadd(v, 1)
saveadd(v, math(2 - 6))
load(foo, v)saveadd(v, bar, 1)load(v)
load(That, v)saveadd(v, This, 2)load(v)
|
Scratch Pad
20.0.64 (1/29/2015)
8. Changed: The automation call ProcessWebService(...) returns the response instead of just 0 or 1.
<XMLPH version="1.0"> <Item Name="UseDirectoryRule">1</Item> <Item Name="Name">TV Shows</Item> <Item Name="Replace Slash">1</Item> <Item Name="FilenameRule">If(IsEmpty([Season],1),,s[Season])If(IsEmpty([Episode],1),e00,e[Episode]) - [Name]</Item> <Item Name="BasePath">M:\</Item> <Item Name="UseFilenameRule">1</Item> <Item Name="Find"/> <Item Name="Mode">0</Item> <Item Name="UseFindReplace">0</Item> <Item Name="Move All">0</Item> <Item Name="DirectorySmartMultiArtistHandling">0</Item> <Item Name="Replace"/> <Item Name="DirectoryRule">[Media Type]\[Media Sub Type]\[Series]\[Season]\</Item> </XMLPH>
Creating Advanced Media Views Using the Expand Search Modifier