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

Simon Kenyon simon at koala.ie
Mon Dec 31 08:56:54 UTC 2007


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".
>  
> Think about when there are a bunch of "DVD dumps" that have *multiple* 
> .VOB files (all named identically across folders by necessity) in 
> multiple VIDEO_TS folders.  Also, how would a VIDEO_TS folder be 
> handled "special" (ie treated as a mounted DVD) if you are ignoring 
> the path/folder names?
>  
> My suggestion would be that it's necessary to store at least 
> "relative" path information, which could easily be updated through the 
> video manager jsut like path information is now (if you move a video 
> about).
>  

something like:

box1 mapping:-

fav: /myth/favmovies
other: /myth/othermovies
more: /u3/myth/more
test: /tmp

box2 mapping (using nfs):-

fav: /nfs/box1/favmovies
other: /nfs/box1/othermovies
more: /nfs/box1/moremovies
test: /tmp/box1

box3 mapping (using CIFS - last one is a mapped drive):-

fav: \\box1\favmovies
other: \\box1\othermovies
more: \\box1\moremovies
test: T:

and then store in the database:

fav:video.avi
other:video.avi
more:video.avi
test:video.avi

or did i miss something?

regards
--
simon



More information about the mythtv-dev mailing list