[mythtv-users] Theme hacking?

David Campbell dave at cpfc.org
Sun Jun 10 19:20:32 UTC 2007


In mythvideo - is there any way to have the theme display a default 
image for a file type when that file has no metadata?

If I was doing it in shell it would be something like:

extension = $(ls $file | cut -d . -f 2)

if $extension = iso
	theme_image = dvd.png
elif $extention = avi
	theme_image = xvid.png
.
.
else $extension = default.png

Make sense?

Dave


More information about the mythtv-users mailing list