Project

General

Profile

Adding recording, and auto rec.

Added by Kjell A. Stormo about 12 years ago

Is there a way to enable my recordings to other users?
When adding a recording from web i am not able to watch the recordings from my xbmc client, is there a way to add recordigs as user " * " or something so i don't have to move the recording somewhere else and do a chown and chmod to be able to watch recordings somewhere else?

Normally i add the recordings from web, because i am not at home to watch, when i get home i'm not able to see the recording due to -- 401 error.

I could start tvheadend with the -C option, but then the users system would bee a waist.
When i start the recording from my xbmc, it is marked with user xbmc, not the user name i put in the Tvheadend plugin, but starting a stream xbmc is identifyed by the right user name?

Any ide' on how to solve this??


Replies (3)

RE: Adding recording, and auto rec. - Added by Adam Sutton about 12 years ago

Recordings created by TVH are owned by the user that TVH runs as, this cannot be changed since that user is normally restricted and won't have permission to chown the files etc (though it could and probably should chmod them for global read, not sure if it does or not).

Personally I run TVH as the same user/group that I use to access my remote storage from my XBMC machines, that way I can always see the files just fine without going via TVH interface.

Adam

RE: Adding recording, and auto rec. - Added by Kjell A. Stormo about 12 years ago

Have checked a bit about this, because i have several users.
I have two xbmc in each living room attached to tv, and 4 normal pc's all connected to tvheadend.
All users do not have the same access to movies, the children do not have access to movies for adults due to the age.
But when they add a recording, it should be possible to watch the recording in the living room.
Or the other way around, if i start a recoring in my living room i would much like to be able to watch it at my other tv set later that day.
I have added different users for each player, because it is much easier to find if there is some errors with each separat user(unit).
If im at work, and add a recording, im not shore yet where i'll watch.

And it is not a good ide to have all users have the same username, due to other accounts and personal areas on my server.

I was hoping it would be possible to maybe ease up a bit on the acces controll to the recordigs or maybe add checkboxes to witch users would have acces to the recording (only apply to webui) or if it would be possible just to say that if a user is aloud to record then all recordings would be available.

In the file system all recordings are ovned by root and root group, so the access to the recordings are handled by tvheadend.

Thank you
Kjell A

RE: Adding recording, and auto rec. - Added by Kjell A. Stormo about 12 years ago

Partly solved - - - - in a way..

I found out that if i add a recording as auto record, changed the creator before the recording starts to *, then it would be viewable to all users :). but this option is not abled for the single recording.

But then again, if added, i'm not able to use this before the TBS issue is solved :-(

    (1-3/3)