Parental Control Channel for PMS

But that's the whole point here, or?

Yep. However failed to see how saving shortcuts to links is user-friendly, unless I have misunderstood your suggestion. Would need to be saved and opened in a browser, granted, it would usable via a phone as well, however if I wake up at 4am and just want to watch a movie i don’t want to open up my phone/laptop just to unlock. Currently the Lock plugin shows up in Plex Connect for apple tv as well so a user can unlock section(s) directly from the tv/remote

I might have gotten your solution wrong here, but AFAICT, it works like this:

Your current solution will generate a plugin, that the user after downloading will need to install, and safekeep afterwards in order to unlock again....

And if your user then decides to lock another section, then the story repeats itself, except for the fact, that the bundles are named identical

Meh...I wouldn’t use the word "safekeep", it should just not be deleted without unlocking section(s). There is a disclaimer stating the same at the time when your prompted to download the generated app. The app is used to both lock and unlock all section(s).

If you decide to lock/unlock an additional section, you should unlock section(s) and delete the plugin, go to the plugin generation page, select that new section along with any other you'd like to lock, maybe use a different password if you like and generate the plugin...


As such, I've provided you with a way of simply sending an html command to the server, instead of installing bundles every time, so what am I missing here?

And regarding browser history, there's none, since it would be your js that sends the http req. to PMS.

Anyway....I'll see if I can build a proff of concept one of the next couple of days

/T

True, how is the user supposed to save those 'commands'? favorite it? where in the family pc browser?.How many users will be comfortable using "url commands" and saving each one for each section? There is a difference between theory and practice. Most users have a fixed number of sections they would want to hide. Its not an plugin that will be needed to be generated everyday. Yet, hey, if it does then the user needs to go through some trouble.

Would love to see a POC.

I know your trying to help and sharing thoughts positively, just feel it is not the way I would go. Still don't know where the passwords will be saved to be compared with the password your passing in the url via the method your suggesting, sigh, will wait for the POC

pushed a update!

Notes:

1) Using the plug-ins inbuilt sqlite3 is proving to be a pain for old OS X, letting that be

2) subprocess.Popen seems to rightly have permission issues, letting that be

3) Moving back to the old logic of using .commands seperately and the plugin seperately

4) Will work on support for Windows and maybe linux, if there are ppl. to provide data and be patient ; )

Enjoy!

4) Will work on support for Windows and maybe linux, if there are ppl. to provide data and be patient ; )

Enjoy!


Looking forward to windows support, can help test if needed

This sounds and looks great! Anything for windows yet? I’m willing to be a tester.




Sent from my iPhone using Tapatalk

Just pushed an update... now supports Mac OS X 10.7.5 and below as well as Mac OS X 10.8 and above (: done with Mac for now... will focus on Windows in the weeks ahead...

NaDs & Machine1000 thanks guys! Might just take you up on that ; )

Hey NaDs & Machine1000,

Pushed an update for Windows 7

Notes:

Once you’re all set up you would probably click the “Lock”,

1st, as of now you would have to be on the PMS server itself

2nd, you would have to click the back arrow in Plex/Web and click on “Lock” for a second time.

3rd, you’ll probably have Windows UAC enabled and in that case you’ll have to click on “Ok” in the prompt.

Ideally, windows support for this Lock app prolly defeats the purpose, however did want to try!

Would love to hear from Dev’s who can suggest a better way…

Enjoy!

Quick test i did before going to work...

And apologies i have windows 8 (not sure if it makes a difference)

screen shot from PMS

Unlock icon does not show

![post-117256-0-68188600-1408486017.jpg|375x500](upload://jlVrRvbqltgsQDJ3czoryn9RaQd.jpg)

Tested via plex ios app - unlock icon shows :)

![post-117256-0-14271800-1408486020.jpg|333x500](upload://gvtwxoUzcDL1wyggcgvOKyqbNYY.jpg)

With this working via plex ios app (which is better, means i dont have to walk to my computer) this is great!!!

Let me know if i can assist anymore

Thanks

Nothing big but i also noticed this ( this could be a plex issue - not your plugin )

These settings where on the folder before i locked

![post-117256-0-72940100-1408488500.jpg|690x495](upload://ans6kjbbffr2Do7xUTSwrb17qPb.jpg)

After you unlock the folder the settings are no longer there

![post-117256-0-49460900-1408488505.jpg|690x495](upload://tLNeoM2inF0kgsiMcvlo4EWStp2.jpg)

NaDs, thanks for testing!


To summarize:

It’s working in windows 8, without you having to be at the PMS server! Nice!


Is it locking and unlocking via iOS. Are the locked sections disappearing from all clients ;)?


The Plex/Web is a known issue, it will not show the unlock icon!

Once your in the screen where you can see the lock icon, type your password into the search field above the lock icon and hit enter! It should unlock ; )


Hope to hear more as to it it really licks/unlocks without you having to be at your windows 8 PMS PC


Thanks for testing :slight_smile:




Sent from my iPhone using Tapatalk

NaDs, thanks for testing!
To summarize:

Is it locking and unlocking via iOS. Are the locked sections disappearing from all clients
Sent from my iPhone using Tapatalk


Yes, fully working via iOS, locked section disappearing from clients
Works via remote access also

The Plex/Web is a known issue, it will not show the unlock icon!
Once your in the screen where you can see the lock icon, type your password into the search field above the lock icon and hit enter! It should unlock ; )
Sent from my iPhone using Tapatalk


Will test this and type password in search field - good to know :)

Nice!

Guess windows 8 has a different approach as windows 7 wrt plex python


Thanks NaDs



Sent from my iPhone using Tapatalk

Nothing big but i also noticed this ( this could be a plex issue - not your plugin )

These settings where on the folder before i locked

attachicon.gifbefore.jpg

After you unlock the folder the settings are no longer there

attachicon.gifafter.jpg

Nope, this is not a issue really, it's more of a feature!

The Lock plugin ensures all those "adult" movies never show up in recently added and ondeck, it does so by turning the date on which the movie was added, back.

I do see your point though, it should not affect the settings! Strange! I don't think it is a lock issue, just like you stated!

-------------------------------------------------------------------

--Added basic instructions for all OS which shows up when you download the zip file

--Simplified the web gui, well, atleast me feels so ;D link

TODO:

1) Will try to add the contents of the "Lock" folder to the "Lock.bundle" and access those folder contents from python/Lock.bundle, let's see... would be neat to just have one "Lock.bundle" to be moved to the plugin folder... no ETA

2) Discovering PMS GDM/bonjour requires nodejs, meh, not going to happen, devs can contribute towards that, if you like

3) Windows XP and Windows 7 requires more work, for now just gonna work on #1 which would ideally workout for all other WIndows platforms as well as Mac for that matter

-------------------------------------------------------------------

Machine 1000, did you get a chance to test?

Nope, this is not a issue really, it's more of a feature!

The Lock plugin ensures all those "adult" movies never show up in recently added and ondeck, it does so by turning the date on which the movie was added, back.

I do see your point though, it should not affect the settings! Strange! I don't think it is a lock issue, just like you stated!

hmm as you said above this is what i would like it to do

when adding my "adult" content i have the library set up like so - never show up in recently added and ondeck

[sharedmedia=core:attachments:34858]
 
when you unlock the library with lock.bundle "adult" content shows up in recently added and ondeck
because these items become ticked
[sharedmedia=core:attachments:34859]
 
Since the new introduction of cinema trailers and pre rolls - this also means when you unlock library with lock.bundle its plays my setup preroll video before my "adult" content plays

Not much of a concern - im just glad i can finally lock sections of my library :)

edit

: )  Glad you've made it your own, thanks for sharing ( :

Hey NaDs,

Need your help in testing the latest update for windows OS.

Update:

Now moved all required files into the plugin folder, so just need to drag one Lock.bundle folder into the plugins directory, also updated the instructions that show up at the download of the zip file screen, appreciate it if you had a look at those as well!

Hmm, I know your an advanced user, still will share, incase you decide to help/test:

1) Unlock Section(s)

2) Delete the "Lock" folder from C:\ Drive

3) Delete the Lock.bundle

4) Regenerate the Lock.bundle from here

5) Keep the lock_for_plex_win.zip safely, even after you drag the "Lock.bundle" to the plugins folder and start using it!, cause PMS might just delete the files in the "Lock.plugin" folder that it cannot understand, unsure of this at the moment, that is the real test actually,,,

6) If PMS does delete the files, use the zip you have (#5) to add the plugin and unlock, let me know in this forum/thread please, will then revert back to the old method, if required

Thanks.

PS:- Mac OS X 10.8 and above, requires testing, fallen back to Mike's method : )

Hey NaDs,

Need your help in testing the latest update for windows OS.

Update:

Now moved all required files into the plugin folder, so just need to drag one Lock.bundle folder into the plugins directory, also updated the instructions that show up at the download of the zip file screen, appreciate it if you had a look at those as well!


6) If PMS does delete the files, use the zip you have (#5) to add the plugin and unlock, let me know in this forum/thread please, will then revert back to the old method, if required

Followed the new steps and looked at the instructions (very easy to follow)

PMS does not seem to delete any files as asked in step 6 - so all good there :)

I never see the "Security Warning" pop-up menu, but as discussed i think this is just a windows 8 thing - no harm (it makes it even more easy to setup)

All in all this works like a charm :)

Thanks again

Just to add, Some people might not know about unlocking in the search feild... instructions on that might be handy

![post-117256-0-72872200-1409005698.jpg|515x204](upload://ynwVmMUgk97L9DxixXkTxxgECaV.jpg)

Just to add, Some people might not know about unlocking in the search feild... instructions on that might be handy

attachicon.gifUntitled-2.jpg

Will do!

Followed the new steps and looked at the instructions (very easy to follow)

PMS does not seem to delete any files as asked in step 6 - so all good there :)

I never see the "Security Warning" pop-up menu, but as discussed i think this is just a windows 8 thing - no harm (it makes it even more easy to setup)

All in all this works like a charm :)

BTW, people are screaming for this feature here https://forums.plex.tv/topic/46225-very-popular-parental-controls/ (tho you cant look at it beacuse you are not a plex pass account holder)

Its the number one requested featured for plex now with over 700+ votes

Im sure if you got their attention and setup a paypal/donation for your work people would kindly support your hard work

Just a option :)

Thanks again

Great, let me know if the plugin files are still there in a day or two ; )

Thank you!

Released --> https://forums.plex.tv/topic/119217-rel-parental-control-channel-for-pms/