Problems loading RTMP streams

Hi,



I’m developing a plugin that’s supposed to access videos provided via RTMP. My problem is that none of my streams load correctly. They work fine via rtmpdump, but somehow Plex has trouble parsing the URLs (or so it seems). I’ve provided my log below:



<br />
17:34:22.412183: com.plexapp.plugins.espnplayer          :   rtmp://wdigesnhl.fcod.llnwd.net/a4187/e1/mp4:u/nhl/svod/flv/2009/3_416_chi_phi_0910_20100609_FINAL_sd?e=1285256122&ru=49&h=902f9ad641cdc5d33d619608d82911b6<br />
17:34:22.650485: com.plexapp.plugins.espnplayer          :   (Framework) An exception happened:<br />
Traceback (most recent call last):<br />
  File "/Users/samuel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Plugin.py", line 692, in __call<br />
    return function(*args, **kwargs)<br />
  File "/Users/samuel/Library/Application Support/Plex Media Server/Plug-ins/ESPNPlayer.bundle/Contents/Code/__init__.py", line 148, in ArchiveMenu<br />
    dir.Append(RTMPVideoItem(new_url, width=640, height=360, title=name, subtitle=game.find("./gameTime").text))<br />
  File "/Users/samuel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/Objects.py", line 385, in __init__<br />
    "&height=" + str(height) + \<br />
  File "/Users/samuel/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/1/Python/PMS/String.py", line 24, in Quote<br />
    return urllib.quote(url)<br />
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 1205, in quote<br />
    res = map(safe_map.__getitem__, s)<br />
TypeError: argument 2 to map() must support iteration<br />


Sorry, got it running. Didn’t realize that I had to split the URL in two parts!

Where can I get this plugin?? I would love to be able to watch espnplayer.com from plex instead of opening Chrome for the games :wink:

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