[mythtv-users] .22RC Moving the art directories?

Nasa nasa01 at comcast.net
Thu Oct 22 16:25:35 UTC 2009


----- "Doug Vaughan" <r.d.vaughan at rogers.com> wrote:

> Question: "Can one use the move features of Jamu be used to move
> videos 
> from non-storage groups to storage groups?"
> Answer: Yes
> 
> First Jamu must always be run on a MythTV backend as it needs local RW
> 
> access to files and their directories. Of course NFS shares are 
> considered local by Jamu. So if you want to move files from a local 
> directory to a storage group that is local to the MythTV backend you
> are 
> running Jamu that should work.
> 
> If the directory you are moving the video files from has the exact
> same 
> path as is currently in MythVideo the existing MythVideo records will
> 
> just be updated with the new Storage Group relative path for both
> Videos 
> and graphics files. If not then new MythVideo records will be added
> and 
> you would need to do a MythVideo scan to purge the old duplicate
> entries.
> 
> You can experiment with Jamu without risk by adding the option -s 
> (simulation) for example:
> 
> ./jamu -MIFVs "/local/video/dir" "/local/video/storage group"
> 
> This would SIMULATE:
> 1) Moving the video files to the local storage group directory
> 2) Rename if required renaming the video files
> 3) Update MythVideo and also download missing metadata and graphics
> The -V option for verbose will let you see all the actions that would
> 
> have occured if this was not a simulation.
> 
> For the example above if any of the involved directories are on NFS 
> shares add the -N (NFS override) option. As such:
> 
> ./jamu -MIFNVs "/local/video/dir" "/local/video/storage group"
> 
> The Jamu move functionality can be very powerful in re-organising a 
> video collection without trashing all your MythVideo metadata.
> 
SWEET!

Thanks Doug, will play with this tonight...

Nasa


More information about the mythtv-users mailing list