Willing to code a plugin but there is no Guide! Please Help

Hi! I’m trying top develop my first plugin and followed the guide on wiki, but I had no results after few hours playing with it. Here is my code: I’m using Plex 8.0. Site configuration file is in Site config folder of plex media server, the strm file is on my desktop. Thanks for any help!!!



Site Config:



[codebox]<?xml version="1.0" encoding="UTF-8"?>

<site site="

http://www.tvn24.pl/wideo.html"

plugin=“http://.*.tvn24.pl/_d/wideo/flash/player_big_16x9_006.swf”

initialState=“playing”

version=“1.0”>





































































[/codebox]



tvn24.strm



[codebox]plex://localhost/video/:/webkit?url=http://www.tvn24.pl/2229932%2C0%2C0%2C1%2C1%2Ckryzys-i-polityka%2Cwideo.html[/codebox]

I had the same trouble … but here are a few pointers:



The Plug-in I wrote



This has relative good documentation … I tried to explain what I did at various steps in the process.



So the SITECONFIG is definitely the first step … look at the one I included in the plug-in.



Most of my troubles came from WRONG colors.



Here is a STEP by STEP plugin dev guide:



http://forums.plexapp.com/index.php?showtopic=5547



Look at the last post here for ENHANCED debug:



http://forums.plexapp.com/index.php?showtopic=6144



Hope this helps.

I get this error in terminal:



Request: GET /video/:/webkit?url=http%3A%2F%2Fwww.tvn24.pl%2Fwideo.html




















































	<event><br />












[/codebox]

and .strm file
[codebox]plex://localhost/video/:/webkit?url=http%3A%2F%2Fwww.tvn24.pl%2F2229922%2C0%2C0%2C1%2C1%2Cale-meksyk%2Cwideo.html[/codebox]

Thanks for helping me!!

It works! I’m very messy at coding and forgot to close some brackets:) Now the video plays and I’m eager to learn how to transform my work into a real plugin! Please point me to some threads where I can start with basics!

Thanks!



For others looking for some help don’t forget to:


  1. Open Console and navigate to Plex logs: they will update after you will try to load you config site and give you info what is wrong!


  2. Start this in Terminal: same as Console but a bit more specific! (it informed me of a missing bracket for example!)



    ~/Library/Application\ Support/Plex/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Server

Hey failo.
Where could i find finished plugin?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.