8
« on: July 23, 2015, 05:20:10 PM »
Ok so I think I have it cleaned up enough for someone to test if they want.
First I have installed VoxCommando in the c:\voxcommando folder, you will need to create 2 new folders inside that directory called PY and PlexPayloads. Copy plexAuth.py and getMovieOffset.py into the PY folder and modify using your plex.tv username and password so you can generate an auth token needed to access your server.
Import the VC XML I have attached and you will just need to change the "Generate PLEX map" script inside "PLEX admin 2.0.0" to include your server IP and port.
Once that is done you can run the Generate Auth token script, then "Generate PLEX map", and the "Generate plex xml vc2.0.0" script. By default the script will choose the first client on your network as the default client so you can say "Play movie spaceballs" and it will select the first client. You can also specify client names "Play movie spaceballs on bedroom roku" Or you can run the default client script and you can select a different default client. I haven't used it in a while and I think that resuming was working as well by saying "Resume, film or movie, then the movie title"
It should find your movie libraries and tv libraries automatically and if you have multiples of each like I do it will combine all movies and all tv shows. It will do the same for clients in your house which need to be running when you generate plex map and generate client payloads. once the payloads are saved and as long as the client is accessible you should not have to run generate client payload unless your client names change.
Music payloads are not working as I don't use plex for music at all so I apologize for that, it should be simple using my code as a base for adding that feature.
Many thanks to vulcanjedi and nime5ter for base code snippets and ideas as well as other people in the forums. Let me know if you have questions, comments, or feedback and I would be happy to help modify for fix issues or explain any methods to my madness.