[mythtv] Ticket #4270: MythTV on Windows (with MinGW)

Lucas Meijer lucas at mach8.nl
Mon Dec 31 09:29:37 UTC 2007


Chris Pinkham wrote:
> * On Mon Dec 31, 2007 at 09:36:18AM +1000, buzz wrote:
>   
>>> If you only store the actual filename in the DB, then the user can move
>>> files around without needing to update the DB.
>>>       
>> ...this sort of mythvideo configuration would be immediately broken by that
>> suggestion.....
>> myfavmovie/video.avi
>> othermovie/video.avi
>> moremovie/video.avi
>> testmovie/video.avi
>> so, which movie does "video.avi" belong to if you only store the filename?
>> If it sounds contrived, think again about it if I call the video file
>> "VTS_01_1.VOB".
>>     
>
> And that boys and girls is why I don't touch MythVideo, I have enough
> Myth code in my head dealing with the other parts. :)
>
> Point taken....
>   
How about always storing storage container relative paths as 
"identifiers", for videos, and then having a per box configurable path 
to a storage group..   so have:

myfavmovie/video.avi
othermovie/video.avi

be in the db, and these files being stored on box1:

/mymyth/storagegroup1/

with box1's path to storagegroup1 being: /mymtyh/storagegroup1/
with box2's path to storagegroup1 being /nfs/box1/storagegroup1/
with box3's path to storagegroup1 being \\box1\storagegroup1

Bye, Lucas


More information about the mythtv-dev mailing list