Up Up Home Home

BoxStar config file example

This is a working example of a BoxStar config file which I used to use in my own HTPC. In fact I use a number of files (devinput, media, misc and mplayer); I merged them into one here for simplification. The first occurence of each option has a link to its definition in the config tag reference. Bear in mind not all options are described here. A more comprehensive example for use with an HDTV, albeit without links to the reference, is available here.

<?xml version="1.0" standalone="yes"?>
<boxstar>
    <profile>pal</profile>
    <profile>dfbmga</profile>
    <sdl>
        <no_input>1</no_input>
    </sdl>
    <devinput match="saa7146"/>
    <media>
        <dvd title="Watch DVD" dev="/dev/dvd" mount="/cdrom"/>
        <match>\.(avi|mpg|mpeg|mkv|mov|rm|wmv)$</match>
        <match>\.(mpa|mp3|mp2|wav|au|ram)$</match>
        <match>\.[tp]s$</match>
        <match>0[0-9][0-9]\.vdr$</match>
        <filemenu title="Watch VDR recordings" dir="/video" />
        <filemenu title="Watch films" dir="~/films" />
        <filemenu title="Watch other videos" dir="~/videos" />
        <filemenu title="Browse home directory" dir="~" show_hidden="1" />
    </media>
    <mplayer>
        <slave>1</slave>
        <nolirc>1</nolirc>
        <auto_aspect>16:9</auto_aspect>
        <video_opts>
            <suboption name="-vo dfbmga" sep1=":" sep2=":">noinput</suboption>
        </video_opts>
    </mplayer>
    <vdr>
        <viewer>vdr-fbfe --aspect=16:9 --fullscreen --nokbd</viewer>
        <remote host="localhost" port="3333" timeout="2"> 
            <all_actions>0</all_actions>
        </remote>
    </vdr>
    <tvnorm>
        <telecine>ntsc<telecine>
    </tvnorm>
</boxstar>


Up Up Home Home