[mythtv] "Missing Cover" in mythweb videos

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

Nicolas Riendeau wrote:
> 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.

BTW, I am not sure this is such a great idea to put the path of these files in the 
database and then strip them like it's currently being done though but the fix for 
that would need to be done elsewhere, not in MythWeb...


More information about the mythtv-dev mailing list