Plex Timeout

anyway to extend it from within a plugin?
I am attempting to expand the videoRip plugin to allow me to scan the titles on a dvd and label them from within Plex before i start ripping in order to rip all my TV DVDs.

Unfortunately it can take more than a minute to scan a DVD so I am hitting this time out error:


I cant seem to find a way to have plex wait indefinitely for my function to return.

If there is no way to increase the timeout; what options do i have to dispatch a thread to scan the dvd and callback someplace to load a new menu/list containing the dvd titles?

I have located the framework code where the timeout is set.



in PMS.app/Contents/Plug-ins/Framework.bundle/Contents/Resources/Versions/X/Python there is a script named config.py. at the top is a variable called default_network_timeout



the question is: can i change this from my plugin code? and if so will it actually have any effect or will it be too late by then?