On 23.5.2005, at 14:14, Ed W wrote:
On 15.4.2005, at 22:20, Eggert Thorlacius wrote:
This small patch adds a checkbox to the MythGallery Settings page
where the user can choose between the current functionality of
storing .thumbcache directories inside the image directory or
storing them in ~/.mythtv/mythgallery/
This makes it possible to use MythGallery to browse a read-only
directory
I'm not sure if there was a reason why this patch never made it to
CVS, but it works really nicely for me (I mount my photos share
read-only for safety...).
I have modified it so that actually the settings flag acts as an
over-ride, but actually it also uses the local home dir if it finds
that the gallery dir is read-only for any reason. This means that
you can eithe force it locally or let it auto-detect. Perhaps this
removes one of the main objections from before?
The way I understoood Isaacs comment, that was indeed the reason why
it was not applied. I was going to change it but never had the time
and now you seem to have beat me to it.
One thing I was wondering about, though: If the code falls back to
~/.mythtv when the gallery dir is read-only, do we still need the
checkbox? Wouldn't it be enough to mention it in the docs that if
you don't like .thumbcache dirs, you should not give the mythtv user
write access to the image dir?
Eggert
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev