[mythtv-users] Recordings Paths

Mark Perkins perkins1724 at hotmail.com
Tue Feb 18 20:42:31 UTC 2014



> On 19 Feb 2014, at 5:42 am, "Forum" <forum-da at padaba.de> wrote:
> 
> Am 17.02.2014 07:59, schrieb Mark Perkins:
>> 
>>> On 17 Feb 2014, at 5:08 pm, "Forum" <forum-da at padaba.de> wrote:
>>> 
>>> Hi,
>>> 
>>> after setting up a new HTPC, my backend preferences for recordings "storage path" is:
>>> /var/lib/mythtv/recordings/
>>> AND
>>> /home/MyName/mythtv/recordings/
>>> 
>>> Problem:
>>> Recordings are stored in /var/lib/mythtv/recordings/ and this primary partition is limited to 60 GB. This size is O.K. for Linux, but not for videos and recordings.
>>> 
>>> How can I set that recordings should be made in
>>> /home/MyName/mythtv/recordings/
>>> instead of
>>> /var/lib/mythtv/recordings/  ??
>>> 
>>> D.
>>> _______________________________________________
>> If you don't want recordings in a particular folder, delete it from your storage groups as previously recommended. Run mythtv-setup and select storage groups. More info on storage groups here - http://www.mythtv.org/wiki/Storage_Groups.
>> 
>> 
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
> 
> Today, I've removed "/var/lib/mythtv/recordings/ " from STANDARD and RECORDINGS in "Storage Preferences". But now, I'm not able to view TV and also not able to record something.
> I suppose, I have to change user rights for "/home/MyName/mythtv/recordings/". I think, MythTV needs user rights to access to this path. But how can I allow MythTV this rights. I think, a simple command should be the best, but I don't know the command for doing this (Linux). Can you help me?
> 
> _______________________________________________
I assume you meant "Storage Groups" not "Storage Preferences"? Normally the default storage group is called "default" and this is where you will need your folder added, in addition to the "LiveTV" storage group (although I think it falls back to default if livetv group is not present). I don't recognize "Standard" and "Recordings" being default storage group names but perhaps they were in earlier versions.

Provided you run mythtv-setup as the user that runs mythbackend (normally mythtv user) I think mythtv-setup normally checks that it can write to the storage groups on exit and gives a warning if it can't write to the storage groups.

Do you run mythbackend with the mythtv user? Are you on stock Mythbuntu or something else? What version of mythtv?

To change permissions of the folder, try from a terminal window:
sudo chown mythtv:mythtv -R /home/MyName/mythtv/recordings/
sudo chmod 777 -R /home/MyName/mythtv/recordings/

First line changes the folder owner. Second line changes permissions. With permissions set to 777 (essentially access by anyone) it shouldn't matter who the owner is so if you wanted to you could probably skip the first line.



More information about the mythtv-users mailing list