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.<br><br>Edit main.cpp in the mythvideo directory<br><br>Find this<br>
<br><br> static int runVideoTree(VideoList *video_list)<br> {<br> return exec_screen(new VideoTree(gContext->GetMainWindow(),<br> "videotree", "video-",
<br> "video tree", video_list),<br> "videolistings");<br> }<br><br><br><br><br>Change to this<br><br> static int runVideoTree(VideoList *video_list)
<br> {<br> if (checkParentPassword())<br> {<br> return exec_screen(new VideoTree(gContext->GetMainWindow(),<br> "videotree", "video-",
<br> "video tree", video_list),<br> "videolistings");<br> }<br> return 0;<br> }<br><br><br><div><span class="gmail_quote">
On 4/13/07, <b class="gmail_sendername">David Won</b> <<a href="mailto:daveshome@gmail.com">daveshome@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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. <br><br>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.
<br><br>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
<span class="q"><br><br><br><br><br><div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Jon</b> <<a href="mailto:jon@sd-6.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jon@sd-6.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Assuming frontend A user and frontend B user have different uid's. Just<br>put restricted videos in a sub directory and limit access to frontend B<br>user (master bedroom user). The directory will be visible to frontend A
<br>user, but if it does not have rx rights on the directory, problem solved.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mythtv-users@mythtv.org
</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote>
</div><br><br clear="all"><br></span>-- <div><span class="e" id="q_111eb4411888888f_3"><br><a href="http://www.tabooki.com/xoops/html/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.tabooki.com/xoops/html/</a>
</span></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.tabooki.com/xoops/html/">http://www.tabooki.com/xoops/html/</a>