HMS

Home Media Server for Roku Players
git clone https://www.brianlane.com/git/HMS
Log | Files | Refs | README | LICENSE

commit c176a0034892aaa95145c19d1618a6673ba6d39f
parent 28fef0a8b82bd48e516641f9aa6073992f84923f
Author: Brian C. Lane <bcl@brianlane.com>
Date:   Fri, 29 Oct 2010 20:30:47 -0700

Added .bif file checking

Diffstat:
MHMS/source/appDisplayDirectory.brs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/HMS/source/appDisplayDirectory.brs b/HMS/source/appDisplayDirectory.brs @@ -197,6 +197,13 @@ Function showMovies( screen As Object, files As Object, dir as Object, url as St end if end for + if dir.DoesExist(f[1]["basename"]+"-SD.bif") then + o.SDBifUrl = url+f[1]["basename"]+"-SD.bif" + end if + if dir.DoesExist(f[1]["basename"]+"-HD.bif") then + o.SDBifUrl = url+f[1]["basename"]+"-HD.bif" + end if + o.IsHD = false o.HDBranded = false o.Description = "Should try reading this from a file"