[mythtv-commits] Ticket #2809: If video cover is in subdirectory of /home/mythtv/.mythtv/MythVideo, mythweb thinks it does not exist
MythTV
mythtv at cvs.mythtv.org
Wed Aug 15 22:14:17 UTC 2007
#2809: If video cover is in subdirectory of /home/mythtv/.mythtv/MythVideo,
mythweb thinks it does not exist
--------------------------------------+-------------------------------------
Reporter: spencercw at googlemail.com | Owner: xris
Type: defect | Status: reopened
Priority: minor | Milestone: unknown
Component: mythweb | Version: 0.20
Severity: medium | Resolution:
Mlocked: 0 |
--------------------------------------+-------------------------------------
Changes (by hp-mythtv.org at oeri.ch):
* status: closed => reopened
* resolution: fixed =>
Comment:
I'm on trunk/mythplugins, Rev. 13534 on video.php - which does not include
any fix. I patched:
--- video.php.old 2007-08-15 23:57:48.000000000 +0200
+++ video.php 2007-08-16 00:03:30.000000000 +0200
@@ -374,7 +374,7 @@
<div id="<?php echo $video->intid; ?>_genre" class="hidden"><?php
if (count($video->genres)) foreach ($video->genres as $genre) echo '
'.$genre.' ';?></div>
<div id="<?php echo $video->intid; ?>_browse"
class="hidden"><?php echo $video->browse; ?></div>
<div id="<?php echo $video->intid; ?>-title" class="title"><a
href="<?php echo $video->url; ?>"><?php echo htmlentities($video->title);
?></a></div>
- <div id="<?php echo $video->intid; ?>_img"> <img
<?php if (show_video_covers && file_exists($video->cover_file)) echo
'src="data/video_covers/'.basename($video->cover_file).'"'; echo '
width="'.$video->cover_scaled_width.'"
height="'.$video->cover_scaled_height.'"'; ?> alt="<?php echo t('Missing
Cover'); ?>"></div>
+ <div id="<?php echo $video->intid; ?>_img"> <img
<?php if (show_video_covers && file_exists($video->cover_file)) echo
'src="'.$video->cover_url.'"'; echo '
width="'.$video->cover_scaled_width.'"
height="'.$video->cover_scaled_height.'"'; ?> alt="<?php echo t('Missing
Cover'); ?>"></div>
<div id="<?php echo $video->intid; ?>-category"> <?php
echo $Category_String[$video->category]; ?></div>
<div id="<?php echo $video->intid; ?>_playtime"> <?php
echo nice_length($video->length * 60); ?></div>
<div id="<?php echo $video->intid; ?>_imdb"> <?php
if ($video->inetref != '00000000') { ?><a href="<?php echo
makeImdbWebUrl($video->inetref); ?>"><?php echo $video->inetref
?></a><?php } ?></div>
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2809#comment:4>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list