[mythtv] "Missing Cover" in mythweb videos

Nicolas Riendeau knight at teksavvy.com
Sat Jan 16 21:32:34 UTC 2010


Nicolas Riendeau wrote:

> It should work, right? (the cover_file doesn't have a path, does it? If 
> it does it would explain why it works here).

OK the cover_file DOES HAVE the path in it...

I get this in this variable for one of my movies:

/storage/coverart/0343818_coverart.jpg

So what the code you posted does is OK. It tests for the presence of the file using 
the actual path of the file (to which the web server must have access) and then it 
strips this path and replaces it with the path reliative to the web server root in 
cover_url.

Nick



More information about the mythtv-dev mailing list