guide.xml mdb.xml defaults defaults defaults defaults content - the content of the xmltv-target elements can be specified by means of a mixture of text and element-values. - content can be left empty to remove the xmltv element (except the element ) - the element-values must be entered by their (wg++) element-name enclosed by ' ' - optionally, element values can be processed by means of certain operations, E.g. 'description[cleanup(style=upper), max_sentences=2]' - optionally, element xmltv attribute values can be added to the content by adding /a (only attribute value) or /a+ (value + attributename) to the 'elementname' - multiple value elements (like actor) will be converted to single value elements if the xmltv-target element is a single value element, like <desc>. The individual values will be listed with a (standard WG++ internal element separator character) | as separator unless another separator is specified as follows: 'element-name(separator-string)' e.g. 'actor(, )' or with attribute 'actor/a(, )' - text and element-names can be linked together by enclosing them by {}. This will ensure that, when the element in it is empty, everything between the {} is ignored. E.g. {\nProduced in : ('productiondate')} - the text in the xmltv-target elements may contain the following simple formatting : - \n or \r to force a newline - \t to add a tab 2. The allowed xmltv-target elements (the ones in the target file specified above) are : - IMPORTANT! : any of the next listed xmltv-target elements that is specified in this allocation specification, replaces the existing xmltv element and its content! 2.1 'Full' function , these can be added, changed and removed <title> <sub-title> <desc> <star-rating> <director> <actor> <category> <episode> <icon> <review> (=optional new xmltv element) 2.2 'Remove/Keep' only, cannot be added, changed, only removed or kept as 'is' <date> <producer> <writer> <presenter> <composer> <commentator> <rating> <aspect> <quality> <url> <country> 3. Supported element-names (from the existing xmltv listing, name definitions as in Appendix E of the documentation) to be used as content to expand: 'title' 'description' 'starrating' 'subtitle' 'productiondate' 'category' 'director' 'actor' 'presenter' 'writer' 'composer' 'producer' 'commentator' 'rating' 'episode' 'showicon' 'review' 'subtitles' 'premiere' 'previously-shown' 'aspect' 'quality' 'country' 'url' 4. Attributes - for each of the xmltv-elements the following attribute can be specified (if not specified, the existing one, if present in the xmltv, will be used) : - lang for <title> and <desc> , default : no attribute - system for <star-rating> , default : no attribute - type for <review> , default: type="text" - Existing xmltv attribute values can be added to expanded content. (see above) ]]> <!--mdb-starrating correction: allows to convert the mdb-starrating into a value that suits a media-center starrating display. E.g. , the majority of the IMDb starrating values are between 4 (bad) and 8 (good) in a scale of 10. In a 5 star display system , like the one in MCE, there is too little difference between these values. The following settings, first subtracts 4 from the grabbed mdb-starrating and multiplies the result by 1.2 with a maximum of 5 . That will convert the values above, in 0 (was 4) and 5 (was 8) Default values: subtract="0" multiply="1" and max="10"--> <mdb-starrating subtract="4" multiply="1.2" max="5" /> <!--example The next two lines add mdb-title (if different) as an extra <title> element before the existing one: --> <title lang="xx">'mdb-title' 'title' {'mdb-title'...}{[plot: 'mdb-plot']\n}'description'{\n[imdb description: 'mdb-description[max_sentences=2]']} 'starrating' 'mdb-starrating' {Viewers comments : 'mdb-commentsummary'} {IMDb review: 'mdb-review'} Disney Channel RTL 4