As per @dane22 's suggestion, I'm taking a few questions I had for him in PM and posting them here, as I'm new to Channel development, but fairly versed in other projects.
Without further ado...
So, the plugin in question(s) are here:
- I'd like it to use the PyChromeCast Library, which has it's own set of dependencies, etc. In my latest commit, I have taken and created the directory /Contents/Libraries/Shared under my project, placed in all the files pulled down by doing a pip install as directed in the PCC readme:
Yet when I try to access the plugin via URL, I see an error in the log about being unable to find pychromecast.
What am I doing wrong?
Is there a specific trick to forcing Plex to reload my code changes, or is it automagic every time I reload the endpoint?
One of the commands I'll need to do is to the /Devices endpoint. I see I can basically return a MediaContainer from the call, which is cool, because I'm already scraping Plex.tv for device listings.
Question being - is there some documentation on the containers I can return? Is it possible for me to return (more or less) the same structure as I'd find at Plex.tv/devices - so I can just add data from that URL to my existing parser for Plex.tv/devices?
- Is there a particular/recommended editor for doing Python work? I don't know the syntax well yet, so having a smarter IDE would probably help a lot, and Pycharm seems to really hate Plex plugin format. Ideally, Pycharm would be my tool of choice, but I don't see anything posted anywhere about how to provide the libraries it needs to understand the native Plex calls.