handler.php File Reference

Go to the source code of this file.

Namespaces

namespace  MythWeb

$mythvideo_dir

This points to the local filesystem path where MythVideo has been told to look for videos.

string $GLOBALS['mythvideo_dir']

/*

enum  video_img_width
global $mythvideo_dir = setting('VideoStartupDir', hostname)
 $video_dirs
 $sh
 $paths = explode('/', $dirname)
 $dir = array_shift($paths)
 $PATH = &$PATH_TREE[$dir]
 $Category_String = array()
 $Category_String [0] = t('Uncategorized')
 $Genre_String = array()
 $Genre_String [0] = t('No Genre')
 $Total_Programs = 0
 $All_Videos = array()
else $Filter_Category = -1
 makeImdbWebUrl ($num)
 output_path_picker ($path, $padding=0)


Enumeration Type Documentation

Definition at line 125 of file video/handler.php.


Function Documentation

makeImdbWebUrl ( num  ) 

Definition at line 36 of file video/handler.php.

output_path_picker ( path,
padding = 0 
)

Definition at line 183 of file video/handler.php.


Variable Documentation

$mythvideo_dir = setting('VideoStartupDir', hostname)

Definition at line 22 of file video/handler.php.

Referenced by Video::__construct().

$video_dirs

Initial value:

 $db->query_list('
        SELECT  dirname
        FROM    storagegroup
        WHERE   groupname="Videos"
        ')

Definition at line 26 of file video/handler.php.

Referenced by Video::__construct().

$sh

Initial value:

 $db->query('
        SELECT      DISTINCT IF(INSTR(filename,"/"), LEFT(filename, CHAR_LENGTH(filename) - LOCATE("/", REVERSE(filename))), "/") AS dirname
        FROM        videometadata
        ORDER BY    dirname')

Definition at line 142 of file video/handler.php.

$paths = explode('/', $dirname)

Definition at line 151 of file video/handler.php.

$dir = array_shift($paths)

Definition at line 153 of file video/handler.php.

$PATH = &$PATH_TREE[$dir]

Definition at line 161 of file video/handler.php.

$Category_String = array()

Definition at line 201 of file video/handler.php.

Referenced by Video::metadata().

$Category_String[0] = t('Uncategorized')

Definition at line 206 of file video/handler.php.

$Genre_String = array()

Definition at line 209 of file video/handler.php.

$Genre_String[0] = t('No Genre')

Definition at line 214 of file video/handler.php.

$Total_Programs = 0

Definition at line 218 of file video/handler.php.

$All_Videos = array()

Definition at line 219 of file video/handler.php.

else $Filter_Category = -1

Definition at line 227 of file video/handler.php.


Generated on Mon Sep 6 06:39:38 2010 for MythTV by  doxygen 1.5.5