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

Main Menu

MythTV and 0810 - how to use Storage Groups ?

Started by Viking, July 07, 2009, 10:50:53 PM

Previous topic - Next topic

Viking

Hi,

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

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

merkur2k

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...

Viking

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 :) Maybe I should take a look at the package, what is in there.

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

merkur2k

so far as i can tell, that was never completed. which is the problem.

donpaul

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");

donpaul

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?

Viking

Hi,

could be a soultion :)

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

Greetings
Viking
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]

chrisbirkinshaw

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

purps

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.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

donpaul

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
#CheckMythTVStorageGroup("/home/public/data/pvr....."); 


merkur2k

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.

chrisbirkinshaw

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. :-(


merkur2k

you have changed something in mythtv's config then, or you arent running 0810.

mythtified

Quote from: chrisbirkinshaw 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. 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.

Viking

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
My System :

[url="http://wiki.linuxmce.org/index.php/User:Viking"]http://wiki.linuxmce.org/index.php/User:Viking[/url]