
daveshome at gmail
Apr 16, 2007, 8:07 AM
Post #6 of 6
(836 views)
Permalink
|
|
Re: Can a frontend have a different mythvideo directory?
[In reply to]
|
|
Found a way around this. Not for everybody but it works for me. Basically I just made mythvideo ask for a password when you enter it. Here is what I did. Edit main.cpp in the mythvideo directory Find this static int runVideoTree(VideoList *video_list) { return exec_screen(new VideoTree(gContext->GetMainWindow(), "videotree", "video-", "video tree", video_list), "videolistings"); } Change to this static int runVideoTree(VideoList *video_list) { if (checkParentPassword()) { return exec_screen(new VideoTree(gContext->GetMainWindow(), "videotree", "video-", "video tree", video_list), "videolistings"); } return 0; } On 4/13/07, David Won <daveshome [at] gmail> wrote: > > The problem with this is that the movies will show up in mythvideo. Sure I > can put parental controls on them but then the kids can't rescan the > database to add their files. > > I almost have it now but need a way to make the default for videos when > browsing is enabled to be higher than 1. Since I enabled browsing I can see > the files and they are not added to the database. This is good because they > do not show up downstairs. > > Now the problem is that I want it password protected upstairs. This is why > I need the default to be higher than 1. Any ideas on where I can edit files > or database entries to make the default when browsing video files that are > not added to the database to have a parental level of 1 or higher > > > > > On 4/12/07, Jon <jon [at] sd-6> wrote: > > > > > > Assuming frontend A user and frontend B user have different uid's. Just > > put restricted videos in a sub directory and limit access to frontend B > > user (master bedroom user). The directory will be visible to frontend A > > > > user, but if it does not have rx rights on the directory, problem > > solved. > > _______________________________________________ > > mythtv-users mailing list > > mythtv-users [at] mythtv > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > > > > -- > http://www.tabooki.com/xoops/html/ > -- http://www.tabooki.com/xoops/html/
|