# Problems loading RTMP streams

**URL:** <https://forums.plex.tv/t/problems-loading-rtmp-streams/5532>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [September 23, 2010, 3:33pm UTC](https://forums.plex.tv/t/problems-loading-rtmp-streams/5532 "2010-09-23T15:33:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuellinde](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@samuellinde](https://forums.plex.tv/u/samuellinde)\
**Post date:** [September 23, 2010, 3:33pm UTC](https://forums.plex.tv/t/problems-loading-rtmp-streams/5532/1 "2010-09-23T15:33:10Z")

</div>

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:

```auto

<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 />

```

---

<div class="post-metadata">

**Author:** ![samuellinde](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@samuellinde](https://forums.plex.tv/u/samuellinde)\
**Post date:** [September 23, 2010, 3:55pm UTC](https://forums.plex.tv/t/problems-loading-rtmp-streams/5532/2 "2010-09-23T15:55:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![davidpenn](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@davidpenn](https://forums.plex.tv/u/davidpenn)\
**Post date:** [November 6, 2010, 4:50pm UTC](https://forums.plex.tv/t/problems-loading-rtmp-streams/5532/3 "2010-11-06T16:50:37Z")

</div>

Where can I get this plugin?? I would love to be able to watch [espnplayer.com](http://espnplayer.com) from plex instead of opening Chrome for the games 😉

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:47pm UTC](https://forums.plex.tv/t/problems-loading-rtmp-streams/5532/4 "2019-12-20T20:47:10Z")

</div>

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