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

Enigma enigma at thedonnerparty.com
Thu Dec 21 19:01:20 UTC 2006

> R. G. Newbury wrote:
>>> >> So the new path is used but MythTV is doing strange stuff to the
>>> >> filenames  (using them as path?).
>>> >> Is this a bug?
>>> >> Is this user error?
>>> >>
>>> >> Please help!
>> > 
>> > I was talking about 2 distinct things: moving your recorded tv programs, 
>> > and moving your videos. 'RecordFilePrefix' is the place where your 
>> > record tv programs are stored.
>> > And the procedure to move your record tv programs is *IN THE DOCUMENTATION*.
>> > 
>> > You might want to take the trailing '/' off your changed 
>> > 'RecordFilePrefix' value as there is a '//' in the output.
> The old path ended in a slash: /mnt/store/ and worked without the double
> slash. Now the paths are funny.
>> > IF and ONLY IF you want to live dangerously, after backing up the 
>> > database again (you did do that?) you might want to try running 
>> > myth.rebuilddatabase.pl against the new mount point partition, and see 
>> > what happens....Please report your result.
>> > 
>> > (Please note: this is your final examination and is worth 100% of your 
>> > mark for the term.)
> So there is (after a few days) still no definitive howto about changing
> this RecordFilePrefix for 0.21.something?
> In the tables we have filenames without paths and just a stagegroup
> reference.
> MytHTV does funny stuff with filenames as pathnames if we change the
> path from  /mnt/store/ to /MythTV/. (one less slass, yes)
> Why does this happen?
> Why can't I just change the prefix since it is the only mention?
> What is the procedure and why does it work?
> Please explain to an interested user.
> Thanks,
> Udo

I think the reason you got so many conflicting opinions is that most of 
the people were describing the process for moving VIDEOS in MythVideo.  
What you were really asking is how to move RECORDINGS in MythTV.  I'm 
sure the title of the email just threw people off. Reading this thread 
was like fingernails on a chalkboard - I was just screaming "NO! imdb.pl 
has nothing to do with his problem!  Read the post again!". 

Anyway, try taking the trailing slash off your RecordFilePrefix.  If you 
have multiple backends, you will need to change the value for each of 
them.  IIRC, Myth makes the full file path by using the RecordFilePrefix 
parameter for the backend that recorded the program, and appends a slash 
and the 'basename' column from the recording.  If those 2 parameters 
accurately reflect where the file is located it SHOULD work.  (YMMV, I 
am on 0.20 and I don't know how much this has changed)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20061221/047edb08/attachment.htm 

More information about the mythtv-users mailing list