[mythtv] Problem with mythweb thumbnails in trunk

Mr. Myth mythtv at blandford.net
Sat May 19 15:22:20 UTC 2007


Otto Kolsi wrote:
> Mr. Myth wrote:
>   
>> I am having a problem with thumbnails in mythweb while running trunk.
>> I do not believe this is the upnp problem mentioned previously. 
>>     
>
> I was earlier struggling with thumbnails because I had started backend 
> with -noupnp switch. But if not all of your thumbnails fail, it's 
> probably something else.
>
> Check the HTML-page source for your recorded programs page in MythWeb. 
> For me, because the UPnP was not enabled MythWeb couldn't get thumbnails 
>   from the backend. End result was that (if I remember correctly) a HTTP 
> 404 type of error message is printed to image source tag. This is not 
> visible when you look at the page, you have to check the page source to 
> see it. Chris, maybe this could be improved somehow..? :)
>
> I also thought about putting some special icon/image to thumbnail when 
> thumbnail creation fails (some kind of red error symbol), but I'm not 
> really sure if these (ugly?) error symbols are better than just showing 
> black area when thumbnail cannot be found.
>   

Here is what I am seeing with two shows as an example.

"Flowjet Bike 1" has a thumbnail but episode 2 doesn't.

<table id="recorded_list" border="0" cellpadding="0" cellspacing="0" class="list small">
<tr class="menu">
    <td class="list" colspan="2">&nbsp;</td>
    <th class="-title"><a href="/tv/recorded?sortby=title">Title</a></th>

    <th class="-subtitle"><a href="/tv/recorded?sortby=subtitle">Subtitle</a></th>
    <th class="-programid"><a href="/tv/recorded?sortby=programid">Program ID</a></th>
    <th class="-airdate"><a href="/tv/recorded?sortby=airdate">Airdate <span class="large">&uarr;</span></a></th>
    <th class="-channum"><a href="/tv/recorded?sortby=channum">Channel</a></th>
    <th class="-recgroup"><a href="/tv/recorded?sortby=recgroup">Recording Group</a></td>
    <th class="-length"><a href="/tv/recorded?sortby=length">Length</a></td>

    <th class="-filesize"><a href="/tv/recorded?sortby=file_size">File Size</a></td>
</tr><tr id="breakrow_0" class="list_separator">
    <td colspan="11" class="list_separator">Thu May 10, 2007</td>
</tr><tr id="inforow_0" class="recorded">
    <td class="list" rowspan="2">&nbsp;</td>
    <td rowspan="2" class="-pixmap">
        <a class="-pixmap" href="/tv/detail/1063/1178856000" title="Recording Details"
            ><img src="/data/cache/American%20Chopper%20-%202007-05-10%2C%209-00%20PM%20-%20Flowjet%20Bike%202.mpg.100x0x64.png"></a>
        <a class="-download"
            href="http://mythweb.blandford.net/pl/stream/1063/1178856000.asx" title="ASX Stream"
            ><img src="/skins/default//img/play_sm.png"></a>
        <a class="-download"
            href="http://mythweb.blandford.net/pl/stream/1063/1178856000" title="Direct Download"
            ><img src="/skins/default//img/video_sm.png"></a>

        </td>
    <td class="-title"><a href="/tv/detail/1063/1178856000" title="Recording Details">American Chopper</a></td>
    <td class="-subtitle"><a href="/tv/detail/1063/1178856000" title="Recording Details">Flowjet Bike 2</a></td>
    <td class="-programid">EP5657830122</td>
    <td class="-airdate">Thu May 10, 2007<br />(10:00 PM)</td>
    <td class="-channum">63 - The Learning Channel (Pacific)</td>

    <td class="-recgroup">Default</td>
    <td class="-length">1 hr</td>
    <td class="-filesize">2.8 GB</td>
    <td class="-commands commands" rowspan="2"><a onclick="javascript:confirm_delete(0, false)"
            title="Delete American Chopper: Flowjet Bike 2"
            >Delete</a>
        <a onclick="javascript:confirm_delete(0, true)"
            title="Delete and allow rerecord: American Chopper: Flowjet Bike 2"
            >Delete + Rerecord</a>
        </td>

</tr><tr id="statusrow_0" class="recorded">
    <td colspan="4" valign="top">Work continues on the custom chopper; the crew heads to a paintball course.</td>
    <td colspan="4" class="-progflags"><a onclick="set_autoexpire(0)" class="_autoexpire"><img id="autoexpire_0" src="/skins/default//img/flags/no_autoexpire.png" title="Click to enable Auto Expire"></a><img src="/skins/default//img/flags/cc.png" title="Closed Captioning"><img src="/skins/default//img/flags/commflagged.png" title="Commercials Flagged"></td>
</tr><tr id="inforow_1" class="recorded">
    <td class="list" rowspan="2">&nbsp;</td>
    <td rowspan="2" class="-pixmap">
        <a class="-pixmap" href="/tv/detail/1063/1178852400" title="Recording Details"
            ><img src="/data/cache/American%20Chopper%20-%202007-05-10%2C%208-00%20PM%20-%20Flowjet%20Bike%201.mpg.100x0x64.png"></a>
        <a class="-download"
            href="http://mythweb.blandford.net/pl/stream/1063/1178852400.asx" title="ASX Stream"
            ><img src="/skins/default//img/play_sm.png"></a>
        <a class="-download"
            href="http://mythweb.blandford.net/pl/stream/1063/1178852400" title="Direct Download"
            ><img src="/skins/default//img/video_sm.png"></a>

        </td>
    <td class="-title"><a href="/tv/detail/1063/1178852400" title="Recording Details">American Chopper</a></td>
    <td class="-subtitle"><a href="/tv/detail/1063/1178852400" title="Recording Details">Flowjet Bike 1</a></td>
    <td class="-programid">EP5657830121</td>
    <td class="-airdate">Thu May 10, 2007<br />(09:00 PM)</td>
    <td class="-channum">63 - The Learning Channel (Pacific)</td>

    <td class="-recgroup">Default</td>
    <td class="-length">1 hr</td>
    <td class="-filesize">2.8 GB</td>
    <td class="-commands commands" rowspan="2"><a onclick="javascript:confirm_delete(1, false)"
            title="Delete American Chopper: Flowjet Bike 1"
            >Delete</a>
        <a onclick="javascript:confirm_delete(1, true)"
            title="Delete and allow rerecord: American Chopper: Flowjet Bike 1"
            >Delete + Rerecord</a>
        </td>

</tr><tr id="statusrow_1" class="recorded">
    <td colspan="4" valign="top">Work begins on a new chopper, and Mikey starts a secret project.</td>
    <td colspan="4" class="-progflags"><a onclick="set_autoexpire(1)" class="_autoexpire"><img id="autoexpire_1" src="/skins/default//img/flags/no_autoexpire.png" title="Click to enable Auto Expire"></a><img src="/skins/default//img/flags/cc.png" title="Closed Captioning"><img src="/skins/default//img/flags/commflagged.png" title="Commercials Flagged"></td>
</tr>
</table>

I don't immediately see any errors.

In the recordings directory I have:

-rw-rw-rw- 1 root root 33670 May 18 10:00 American Chopper - 2007-05-10, 
8-00 PM - Flowjet Bike 1.mpg.png
-rw-r--r-- 1 root root 12878 May 18 10:00 American Chopper - 2007-05-10, 
9-00 PM - Flowjet Bike 2.mpg.100x0x64.png
-rw-rw-rw- 1 root root 30174 May 18 10:00 American Chopper - 2007-05-10, 
9-00 PM - Flowjet Bike 2.mpg.png

In the data/cache directory I have:

-rw-r--r-- 1 apache apache 12878 May 18 10:00 American Chopper - 
2007-05-10, 8-00 PM - Flowjet Bike 1.mpg.100x0x64.png
-rw-r--r-- 1 apache apache     0 May 18 10:00 American Chopper - 
2007-05-10, 9-00 PM - Flowjet Bike 2.mpg.100x0x64.png

Michael





More information about the mythtv-dev mailing list