Up Up Home Home

BoxStar config file example

This is a working example of a BoxStar config file which I use in my own HTPC. In fact I use a number of files (devinput, media, misc and mplayer); I've 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.

<?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>df_xine -a 5:4 -l 0 -s -f top xvdr://localhost:37890</viewer>
		<remote host="localhost" port="3333">
			<all_actions>0</all_actions>
		</remote>
	</vdr>
</boxstar>


Up Up Home Home