« on: April 24, 2009, 11:09:15 pm »
I'm about finished with implementing the new MythTV storage groups in for 0810. Here is a brief rundown of what it does:
-As usual, your public will have a videos/tv_shows_X directory
-Now, all users will also have a videos/tv_shows_X directory (so you can save to a private directory)
-Symbolic links are now created from all of the above listed directories to each of your other storage devices.
-A mythTV storage group is created for each of the above directories. This means that you will be able to record to any LMCE storage device, in either the public directory or a private user's directory.
-Each "moon" (myth front end) will only be able to record to its own tv_shows_<moon#> directories. This simplifies the complexity.. For example, in my install with 4 MD's and 1 extra storage device, and 7 users, over 90 storage groups are generated. However, from any front end, you only have storage group options for that front end. For example, from my core, I have available:
/home/public/data/videos/tv_shows_1/Software Raid 5 
/user_1/public/data/videos/tv_shows_1/Software Raid 5 
/user_2/public/data/videos/tv_shows_1/Software Raid 5 
/user_3/public/data/videos/tv_shows_1/Software Raid 5 
/user_4/public/data/videos/tv_shows_1/Software Raid 5 
/user_5/public/data/videos/tv_shows_1/Software Raid 5 
/user_6/public/data/videos/tv_shows_1/Software Raid 5 
/user_7/public/data/videos/tv_shows_1/Software Raid 5 
Now, on my next MD (device #41), its list of storage groups would be:
/home/public/data/videos/tv_shows_41/Software Raid 5 
/user_1/public/data/videos/tv_shows_41/Software Raid 5 
/user_2/public/data/videos/tv_shows_41/Software Raid 5 
/user_3/public/data/videos/tv_shows_41/Software Raid 5 
/user_4/public/data/videos/tv_shows_41/Software Raid 5 
/user_5/public/data/videos/tv_shows_41/Software Raid 5 
/user_6/public/data/videos/tv_shows_41/Software Raid 5 
/user_7/public/data/videos/tv_shows_41/Software Raid 5 
... and so on..
-Notice in the above list of Storage Groups, the special "Default" and "LiveTV" storage groups. Default will automatically be selected for new recordings, but you can change it to any other storage group. Also note that Default always points to the device with the most storage. The "LiveTV" storage group always points to the tv_shows_* dir on your root drive, and is used just for your pvr pause/ff/rew etc. functionality
- One last new feature to 0810 is that recording will be saved with a meaningful filename instead of 3458_200904281700.mpg. The title and subtitle are instead used to make a filename like "Mythbusters - Alaska Myths.mpg", and the lmce database and myth database are sync'd to this so that videos are still available from mythweb, etc.
Regarding 0710, if you really wanted to record to a different directory and do it the right way, you would have to compile your own MythTV Plugin. More specifically, modify MythTV_PlugIn::SetPaths() to set your preferred paths and database settings. Then just recompile a new MythTV_Plugin, put it on your core, and it would work fine.