[mythtv] strlen bug in mythweb 0.15

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Sun May 30 08:54:28 EDT 2004


I have found a bug in the video list part of mythweb

In themes/Default/video.php ther is a few lines that contains:
rawurlencode(substr($show->filename,strlen($videodir)+1))
The problem is the +1 part, it cuts of the first char of the directory and
that makes the links point to the wrong directory.


And if you had a config option to conf.php like this:
define('videos_url','myth://'.$_SERVER['HTTP_HOST'].':6543/path_to_video');
And have the windows filters installed you will be able to click on any
video and have the mediaplayer open and stream the file from mythbackend.
Asuming that the directory from mythvideo is located under the directory
where mythbackend stores the nuv files.



More information about the mythtv-dev mailing list