LinuxMCE Forums
May 21, 2013, 03:29:34 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2
  Print  
Author Topic: MythTV and 0810 - how to use Storage Groups ?  (Read 2439 times)
Viking
Addicted
*
Posts: 521


View Profile
« on: July 07, 2009, 09:50:53 pm »

Hi,

I saw that there were added some changes to 0810 alpha2 to use Storage Groups. How is that usable ?

Greetings
Viking
Logged

merkur2k
Addicted
*
Posts: 513


View Profile
« Reply #1 on: July 07, 2009, 11:44:34 pm »

The storage groups stuff seems to be in a bit of a flux right now, due to the developer that was working on it having gone MIA...
Logged
Viking
Addicted
*
Posts: 521


View Profile
« Reply #2 on: July 09, 2009, 12:51:43 pm »

MIA = Missing In Action ?

OK, so he is the one that did the changes here :
http://wiki.linuxmce.org/index.php/LinuxMCE-0810_alpha2#20090601_.28alpha_2.22.29

Storage group enhancements to use the new pvr directory, as well as addition of a new script to handle mythtv storagegroup creation nd maintenance. Hopefully this will also fix some stability issues. Mythtv auto expire set from 1GB to 10GB to match the LMCE low disk space nag.

The 10G part i saw in the myth logfile. But where is the rest Smiley Maybe I should take a look at the package, what is in there.

Greetings
Viking
Logged

merkur2k
Addicted
*
Posts: 513


View Profile
« Reply #3 on: July 09, 2009, 03:17:14 pm »

so far as i can tell, that was never completed. which is the problem.
Logged
donpaul
Guru
****
Posts: 300


View Profile
« Reply #4 on: September 15, 2009, 09:37:45 pm »

The problem with LiveTV recordings being scanned and added to the video list is still there. Could we seperate the LiveTV and Recording directories? We can then folderlock the LiveTV dir so it is never scanned.

Recording dirs: 
 CheckMythTVStorageGroup("/home/public/data/pvr/Recordings","Default","$hostName");

LiveTV Dirs:         
 CheckMythTVStorageGroup("/home/public/data/pvr/LiveTV","LiveTV","$hostName");
Logged
donpaul
Guru
****
Posts: 300


View Profile
« Reply #5 on: September 16, 2009, 12:04:52 am »

Here are patch files for changes I made, and it works well for me. Does anyone else see value or problems with doing it that way?
Logged
Viking
Addicted
*
Posts: 521


View Profile
« Reply #6 on: September 21, 2009, 03:31:12 pm »

Hi,

could be a soultion Smiley

At the moment i have manually configured LiveTV to my primary disk with OS and the Default to "/home/public/data/pvr".

Greetings
Viking
Logged

chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #7 on: March 01, 2010, 06:26:16 pm »

I didn't want mythtv to record to my small local drive (I have 2 big NAS drives for that), so I ran the following:

mysql mythconverg
delete from storagegroup where dirname='/home/public/data/pvr';

Is there a more elegant way of dealing with this issue that I've missed? I'm sure it's quite a common one.

Thanks,

Chris
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1269


If it ain't broke, tweak it


View Profile
« Reply #8 on: March 04, 2010, 11:17:23 am »

I sorted mine out by going into mythTV setup through the computing menu in the main orbiter window, and selecting the appropriate path in the "storage groups" menu.

Definitely a vast improvement on 0710 - thanks devs.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
donpaul
Guru
****
Posts: 300


View Profile
« Reply #9 on: March 05, 2010, 01:19:29 am »

Those changes will not stick. To make it permanent, edit /usr/pluto/bin/mythtv_setup.pl

Comment out the lines for the local drive path
Code:
#CheckMythTVStorageGroup("/home/public/data/pvr....."); 

Logged
merkur2k
Addicted
*
Posts: 513


View Profile
« Reply #10 on: March 05, 2010, 06:28:06 am »

cmon guys, use the tools that are there the way they are meant to be used!
mythtv will only ever use a drive with little space if the larger ones fill up.
you can also set storage groups by recording profile in mythweb.
editing the mythtv_setup.pl file is also not permanent, the next time that package is updated your file will be overwritten.
Logged
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #11 on: March 16, 2010, 01:22:57 pm »

Problem is that be default mythtv fills up my local drive first, then starts on my NAS. LMCE then complains constantly that my local drive is full. :-(

Logged
merkur2k
Addicted
*
Posts: 513


View Profile
« Reply #12 on: March 16, 2010, 03:40:12 pm »

you have changed something in mythtv's config then, or you arent running 0810.
Logged
mythtified
Guru
****
Posts: 176


View Profile
« Reply #13 on: March 16, 2010, 09:41:41 pm »

Problem is that be default mythtv fills up my local drive first, then starts on my NAS. LinuxMCE then complains constantly that my local drive is full. :-(



create a folder on your nas and call it what ever you want.  Then go into mythbackendsetup and edit your default storage group to point at the folder you created on your nas or am I missing something.
Logged
Viking
Addicted
*
Posts: 521


View Profile
« Reply #14 on: March 17, 2010, 10:39:10 am »

you are missing the automatic setup of storage groups that is done by Linuxmce (/usr/pluto/bin/mythtv_setup.pl) IIRC on each boot.
Viking
Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!