[mythtv-users] Moving the location where my videos are stored...

Mark Chang mark.chang at gmail.com
Sun Dec 10 17:52:29 UTC 2006


On 12/10/06, Jesse Dhillon <tobor at berkeley.edu> wrote:
> If you're talking about moving the place where MythVideo stores its
> videos, you'll need to do a little SQL magic to change the paths to your
> videos.
>
> One option is to write a script which examines files in the current
> directory and uses imdb.pl to inject metadata into mysql.
>
> Another is to write a script which passes the results of 'select
> filename from mythconverg.videometadata' into sed, which will then apply
> a search and replace regexp to the results, and then update the values
> in the db.

Can't you just move the video dir in the setup, then run video
manager? It should complain that there is an inconsistency because of
missing videos. Let it update the database. Then, move in your videos
and then run video manager again.

Mark

-- 
Mark L. Chang


More information about the mythtv-users mailing list