VideoClipObject from server local file. Possible?

I’m new to Plex media server and python but am a developer and I am trying to create a channel that can browser the servers’ local file system. I’ve managed to create the browsing bit but not the playing of the video files found.

All I’ve been able to uncover is to use the Redirect(Stream.LocalFile(…)) but in the com.plexapp.system log it says:

INFO (logkit:16) - Registered local file stream: b7326f59-2c79-47af-834f-6cb4a7185283 -> …

and a bit latter fails with:

015-11-22 18:48:37,549 (117c) : DEBUG (runtime:717) - Handling request GET /:/stream/token/b7326f59-2c79-47af-834f-6cb4a7185283.avi
2015-11-22 18:48:37,763 (117c) : CRITICAL (core:572) - Exception matching route for path “/stream/token/b7326f59-2c79-47af-834f-6cb4a7185283.avi” (most recent call last):
File “bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 464, in match_route
FrameworkException: No route found matching ‘/stream/token/b7326f59-2c79-47af-834f-6cb4a7185283.avi’

2015-11-22 18:48:37,813 (117c) : ERROR (runtime:846) - Could not find route matching /:/stream/token/b7326f59-2c79-47af-834f-6cb4a7185283.avi
2015-11-22 18:48:37,815 (117c) : DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes

I’m at a loss with it. The forum posts I have seen suggest that Stream.LocalFile is maybe deprecated.

I’m sure I’ve probably got other issues with media data and objects misuse but for now if there is a way to do this I’d appreciate it if someone could let me know.

Thanks