elduran
September 12, 2009, 4:24pm
1
ok, i found the swf, this is the first time i try to make a code :rolleyes: without luck, here is the code:
[codebox]
<?xml version="1.0" encoding="UTF-8"?>
<site site=“http://www.livestream.com/.* ”
plugin=“http://cdn.livestream.com/grid/PlayerV2.swf?channel=TelemedellinTV ”
initialState=“playing”
version=“1.0”>
[/codebox]
i placed the bundle inside Plug-ins folder and the xml inside Site Configurations, but still doesn’t show up in Plex/videos, what am i doing wrong?
elan
September 13, 2009, 8:00am
2
Make sure you edit the Contents/Info.plist too, can you post the contents of that?
Also, run the Media Server from Terminal and watch the output, or else check the logs for your plug-in in ~/Library/Logs/PMS Plug-ins/
elan
September 13, 2009, 8:01am
3
This could be just a typo, but you have:
from PMS.Shortcuts import *s
That should be:
from PMS.Shortcuts import *
elduran
September 13, 2009, 7:50pm
4
Thanks for your answer, i removed the last line, and now it shows up in videos, but is using “icon-default”, i take the porn hub plugin, replaced the pictures, and edit the code, renaming it as “Telemedellin.bundle” here is the actual code:
[codebox]<?xml version="1.0" encoding="UTF-8"?>
<site site=“http://www.livestream.com/.* ”
plugin=“http://cdn.livestream.com/grid/PlayerV2.swf?channel=TelemedellinTV ”
initialState=“playing”
version=“1.0”>
[/codebox]
Here is the info.plist code:
[codebox]
CFBundleDevelopmentRegion
English
CFBundleExecutable
Hello
CFBundleIdentifier
com.plexapp.plugins.Telemedellin
CFBundleInfoDictionaryVersion
6.0
CFBundlePackageType
AAPL
CFBundleSignature
hook
CFBundleVersion
1.0
PlexPluginMode
AlwaysOn
PlexPluginDebug
1
PlexFrameworkVersion
1
[/codebox]
And here is the console log:
[codebox]
15:35:07.792352: com.plexapp.plugins.Telemedellin : (Framework) Bundle verification complete
15:35:07.793143: com.plexapp.plugins.Telemedellin : (Framework) Debugging is enabled
15:35:07.793223: com.plexapp.plugins.Telemedellin : (Framework) Default encoding is utf-8
15:35:07.793418: com.plexapp.plugins.Telemedellin : (Framework) Couldn’t find en strings
15:35:07.793496: com.plexapp.plugins.Telemedellin : (Framework) Couldn’t find en-us strings
15:35:07.793739: com.plexapp.plugins.Telemedellin : (Framework) Configured framework modules
15:35:07.796807: com.plexapp.plugins.Telemedellin : (Framework) Imported plug-in module
15:35:07.797059: com.plexapp.plugins.Telemedellin : (Framework) Loaded shared resource named ‘trust.json’
15:35:07.801522: com.plexapp.plugins.Telemedellin : (Framework) Checked module imports
15:35:07.801752: com.plexapp.plugins.Telemedellin : (Framework) Loaded the dictionary file
15:35:07.801934: com.plexapp.plugins.Telemedellin : (Framework) No cookie jar found
15:35:07.847869: com.plexapp.plugins.Telemedellin : (Framework) Initialized framework modules
15:35:07.847944: com.plexapp.plugins.Telemedellin : (Framework) Attempting to start the plug-in…
15:35:07.847992: com.plexapp.plugins.Telemedellin : (Framework) Added a handler for prefix ‘/video/Telemedellin’
15:35:07.927769: com.plexapp.plugins.Telemedellin : (Framework) Plug-in started
15:35:07.927840: com.plexapp.plugins.Telemedellin : (Framework) Entering run loop
15:35:07.927963: com.plexapp.plugins.Telemedellin : (Framework) Handling request : /:/prefixes
15:35:07.928110: com.plexapp.plugins.Telemedellin : (Framework) Resource named ‘art-default.jpg’ of type ‘image/jpeg’ was made public.
15:35:07.928299: com.plexapp.plugins.Telemedellin : (Framework) Response OK
15:35:07.929587: com.plexapp.plugins.Telemedellin : (Framework) Handling request : /:/prefixes
15:35:07.929898: com.plexapp.plugins.Telemedellin : (Framework) Response OK
15:35:28.158281: com.plexapp.plugins.Telemedellin : (Framework) Couldn’t find en strings
15:35:28.159008: com.plexapp.plugins.Telemedellin : (Framework) Handling request : /video/Telemedellin
15:35:28.159326: com.plexapp.plugins.Telemedellin : (Framework) An exception happened:
Traceback (most recent call last):
File “/Users/elduran/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py”, line 459, in __run
result = handler(**kwargs)
TypeError: ‘str’ object is not callable
[/codebox]
And here is how it looks
What am i doing wrong?
system
Closed
December 20, 2019, 8:30pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.