[mythtv-users] Does MythWeb assume your Poster directory is in your home directory?

Michael T. Dean mtdean at thirdcontact.com
Sat Nov 28 05:44:49 UTC 2009

On 11/27/2009 09:55 PM, Greg Grotsky wrote:
> On Fri, Nov 27, 2009 at 7:35 PM, Greg Grotsky wrote:
>> I'm getting deep into coverfiles and movie posters with all my mythvideo
>> content.  I have recently added a new frontend and in order to make the
>> posters easily available to the new machine I relocated all the mythvideo
>> content to a directory that is not in ~/.mythtv/MythVideo/.  When I
>> relocated everything myth worked as expected but MythWeb now does not show
>> any screenshots/coverfiles and the urls for them is really weird, stuff
>> like:
>> "The 'Burbs" poster link should be:
>> http://mythbox/mythweb/data/video_covers/The_Burbs-1989.jpg but it is:
>> http://mythbox/mythweb/data/video_covers/bs-1989.jpg
>> "Ace Ventura: Pet Detective" poster link should be:
>> http://mythbox/mythweb/data/video_covers/Ace_Ventura_Pet_Detective-1994.jpgbut it is:
>> http://mythbox/mythweb/data/video_covers/tura_Pet_Detective-1994.jpg
>> It looks like it's chopping the same amount of characters from the
>> beginning of the file location but I don't know how to fix it.  I'm thinking
>> this is in some php file somewhere.  Little help?
> Nevermind, I figured it out.  I forgot to update "VideoArtworkDir" in the
> 'settings' table from mythconverg...
> got it updated and now all is well again!

This is just plain broken.

I /really/ think someone should take the time to write a user interface 
that allows users to change settings without having to directly edit the 
database.  After all, if you expect users to directly edit the database, 
it would be /extremely/ easy for someone to forget to edit 
VideoArtworkDir--assuming they know what it means--or to just not know 
what it means and, therefore, not realize they need to edit it.

I propose someone creates some sort of settings application.  Then we 
could create some sort of text edit setting widget that has a label, 
"Directory that holds movie posters," and some help text, "This 
directory must exist, and the user running MythVideo needs to have 
read/write permission to the directory," and we could give a a default 
value of $HOME/.mythtv/MythVideo .  Note how the description/help text 
even allows us to provide /more/ information than could be conveyed by a 
short setting name, like "VideoArtworkDir," and more than even a good 
label, like "Directory that holds movie posters."  For example, the one 
I suggest tells the user that the directory needs to exist and that read 
/and/ write permissions are required.

Then, we could create a means for a user to enter this settings 
application--something like Utilities/Setup|Setup|Media Settings|Video 
Settings|General.  Then, people who want to configure their MythVideo 
video settings would know exactly where to go and would see all the 
relevant settings in that location.

Making the users directly edit settings in the database is just plain 
broken.  WAF--.  It's just plain lazy for the devs to not provide a 
settings application.

Oh, wait...

Moral of the story: don't edit the settings directly in the database.  
Instead, go to the appropriate area of settings, where you'll find all 
relevant settings.


More information about the mythtv-users mailing list