First off, let me apologize for being noobish, but I’ve been looking through the documentation, and while there’s enough to go on as to what files are needed for a channel and what have you, there’s precious little on how to actually get the channel to show up in Plex Media Center. I have Plex Media Server and Plex Media Center installed on the same Win7 box, and I copied the bundle folder to AppData\Local\Plex Media Server\Plug-ins\ under my profile folder, as it seems like this is where the channel plug-ins are stored; however, the plugin doesn’t show up under video channels in PMC, and doesn’t even show up in the installed plug-ins list in the Channel Directory. Any ideas what I’m doing wrong?
I should probably specify that I’m using the 9.5 beta, as that’s the only version supported under Windows.
Hi!
Since you posted this in Channel Development I assume you wrote your own plugin?
If so, for a video plugin to show up under the Video Channels, be sure to give it a unique ‘prefix’ in Plugin.AddPrefixHandler, starting with /video (and without spaces or any special characters):
Plugin.AddPrefixHandler('/video/yourpluginname', MainMenu, 'My Plugin', 'icon-default.png', 'art-default.jpg')
Also, be sure to give it a unique 'CFBundleIdentifier' in the *Info.plist* file inside the bundle.
<key>CFBundleIdentifier</key><br />
<string>com.plexapp.plugins.yourpluginname</string>
Another problem could be that the plugin can't load, because of an error in the Python code. Check out the plugin log file for more info. Under Windows 7 the plugin log files can be found in
%LOCALAPPDATA%\Plex Media Server\Logs
OK, I found the issue. I was using code copied from the development walkthrough thread, and apparently that C&P’d with spaces instead of tabs. When I put in new lines, Notepad++ put in tabs instead of maintaining consistency. Replacing all the indents with tabs did the trick.
Man, Python is really touchy about whitespace.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.