# Plugin for Dreamfilm?

**URL:** <https://forums.plex.tv/t/plugin-for-dreamfilm/22487>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [October 21, 2012, 1:05pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487 "2012-10-21T13:05:35Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [October 21, 2012, 1:05pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/1 "2012-10-21T13:05:35Z")

</div>

Hi,  
  
  
  
Dreamfilm.se is a site that streams movies and TV shows with Swedish subs. Is it possible to do a plugin for this site? All i know is that the site uses flash in their web player.

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [October 21, 2012, 3:18pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/2 "2012-10-21T15:18:47Z")

</div>

As long as its only the player and not the entire UI that uses Flash, then it’s likely possible to build a plugin for it. I would suggest using HTTPFox add-on for Firefox or Chrome’s developer tools to see if the video streams underlying the flash-player are exposed. If they are then youcan grab them directly rather than having to use a site config file.

---

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [October 21, 2012, 3:21pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/3 "2012-10-21T15:21:22Z")

</div>

> [@](#):
>
> As long as its only the player and not the entire UI that uses Flash, then it's likely possible to build a plugin for it. I would suggest using HTTPFox add-on for Firefox or Chrome's developer tools to see if the video streams underlying the flash-player are exposed. If they are then youcan grab them directly rather than having to use a site config file.

  
  
Nice :)  
  
I'm not a developer myself, but i'm a fast learner :) Could you point me to the right direction to find the info needed? I have already used the developer tool in Chrome to find out where the streams come from, but without success.

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [October 21, 2012, 3:31pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/4 "2012-10-21T15:31:41Z")

</div>

> [@](#):
>
> Nice :)  
>   
> I'm not a developer myself, but i'm a fast learner :) Could you point me to the right direction to find the info needed? I have already used the developer tool in Chrome to find out where the streams come from, but without success.

  
  
Usually, I watch the http traffic for any signs of direct links to MP4 or FLV files. These days we can also use RTMP or RTMPE URLs to grab video directly. The RTMP(E) URLs tend to be hidden within XML returned by some type of a player config URL, often labelled as a SMIL file. If you can find any of those, then you've got a good start to grabbing the video directly. If not, you'll need a site config file so that PMS can lock on to the flash player directly. There's info on working with site configs here: http://dev.plexapp.com/docs/channels/siteconfigs.html

---

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [October 21, 2012, 3:32pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/5 "2012-10-21T15:32:33Z")

</div>

> [@](#):
>
> Usually, I watch the http traffic for any signs of direct links to MP4 or FLV files. These days we can also use RTMP or RTMPE URLs to grab video directly. The RTMP(E) URLs tend to be hidden within XML returned by some type of a player config URL, often labelled as a SMIL file. If you can find any of those, then you've got a good start to grabbing the video directly. If not, you'll need a site config file so that PMS can lock on to the flash player directly. There's info on working with site configs here: http://dev.plexapp.com/docs/channels/siteconfigs.html

  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![shopgirl284](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shopgirl284](https://forums.plex.tv/u/shopgirl284)\
**Post date:** [June 3, 2013, 5:11pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/6 "2013-06-03T17:11:10Z")

</div>

I know this is an old post, found it searching for more info on best practices for pulling video files, rtmp, etc.

> Usually, I watch the http traffic for any signs of direct links to MP4 or FLV files. These days we can also use RTMP or RTMPE URLs to grab video directly. The RTMP(E) URLs tend to be hidden within XML returned by some type of a player config URL, often labelled as a SMIL file. If you can find any of those, then you've got a good start to grabbing the video directly. If not, you'll need a site config file so that PMS can lock on to the flash player directly. There's info on working with site configs here: [http://dev.plexapp.com/docs/channels/siteconfigs.html](http://dev.plexapp.com/docs/channels/siteconfigs.html)

I am having trouble with the concept of exactly what RTMP is. Does RTMP just mean the video object within the web page? Where rather than find the source video you just access the video player object with its parameters? And you could use the RTMPVideoURL() command, and use the parameters easily available in the web page to access the video, but that uses webkit and you want to avoid that if at all possible?

So pretty much you want to try to find a direct link to the mp4 or flv files. But if you can't find these files easily in the web page you are trying to access with Plex, RTMPE just means that you can look in the video object within the code of the page for some type of xml document that gives you the address of the .smil file that does give you the direct address of the mp4 or flv file?

Am I starting to grasps this or am I completely off?

---

<div class="post-metadata">

**Author:** ![shopgirl284](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shopgirl284](https://forums.plex.tv/u/shopgirl284)\
**Post date:** [June 3, 2013, 6:14pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/7 "2013-06-03T18:14:28Z")

</div>

Never mind. Finally figured out the concept of RTMP thanks to Sanders

---

<div class="post-metadata">

**Author:** ![ankan78](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@ankan78](https://forums.plex.tv/u/ankan78)\
**Post date:** [August 12, 2013, 6:10pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/8 "2013-08-12T18:10:25Z")

</div>

Hello!  
  
I would love a plugin for dreamfilm or other sites that stream movies with swedish subtitles. Is any plugin available?  
  
  
/Hans

---

<div class="post-metadata">

**Author:** ![realozone](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@realozone](https://forums.plex.tv/u/realozone)\
**Post date:** [September 9, 2013, 8:41am UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/9 "2013-09-09T08:41:08Z")

</div>

> Hello!  
> I would love a plugin for dreamfilm or other sites that stream movies with swedish subtitles. Is any plugin available?  
>   
> /Hans

Ill second that. A lot of swedes are looking for it as its mentioned in different forums.

Plugin is available for the xbmc but i really dont like that media solution ;)

---

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [November 25, 2013, 11:27pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/10 "2013-11-25T23:27:42Z")

</div>

Could anyone help me get this started? XBMC plugin:

[https://github.com/diggidanne/dreamfilm-xbmc](https://github.com/diggidanne/dreamfilm-xbmc)

Ping! @[Mikedm139](https://forums.plexapp.com/index.php/user/14450-mikedm139/)

---

<div class="post-metadata">

**Author:** ![Gerk](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gerk/32/81980_2.png) [@Gerk](https://forums.plex.tv/u/Gerk)\
**Post date:** [November 26, 2013, 5:35pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/11 "2013-11-26T17:35:59Z")

</div>

Most of the "magic" happens in this file:

[https://github.com/diggidanne/dreamfilm-xbmc/blob/master/dreamfilm.py](https://github.com/diggidanne/dreamfilm-xbmc/blob/master/dreamfilm.py)

---

<div class="post-metadata">

**Author:** ![mikedm139](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mikedm139/32/96909_2.png) [@mikedm139](https://forums.plex.tv/u/mikedm139)\
**Post date:** [November 26, 2013, 7:39pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/12 "2013-11-26T19:39:47Z")

</div>

> Most of the "magic" happens in this file:
> 
> [https://github.com/diggidanne/dreamfilm-xbmc/blob/master/dreamfilm.py](https://github.com/diggidanne/dreamfilm-xbmc/blob/master/dreamfilm.py)

What he said :)

---

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [November 26, 2013, 9:05pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/13 "2013-11-26T21:05:44Z")

</div>

> What he said :)

Yeah, what i can tell the .py contains the stream URL´s. Could it be so easy as including these in a random flash-steam-app? Just changing a bit of the code?

---

<div class="post-metadata">

**Author:** ![Gerk](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gerk/32/81980_2.png) [@Gerk](https://forums.plex.tv/u/Gerk)\
**Post date:** [November 26, 2013, 9:13pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/14 "2013-11-26T21:13:18Z")

</div>

Alas it's not that simple. &nbsp;There's no such thing as a random flash-stream-app, but you may be able to figure out enough clues for how to access the actual content (not just the flash player) from that XBMC channel. &nbsp;And for-the-record, porting an XBMC channel to Plex is not a trivial process (it's basically rewriting it) .. the channel framework in Plex is nothing like the XBMC one, it's a whole different ballgame. &nbsp;About the only similarity these days is that they both use python ;)

---

<div class="post-metadata">

**Author:** ![joesoes](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/joesoes/32/1658_2.png) [@joesoes](https://forums.plex.tv/u/joesoes)\
**Post date:** [November 26, 2013, 9:27pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/15 "2013-11-26T21:27:54Z")

</div>

> Alas it's not that simple. &nbsp;There's no such thing as a random flash-stream-app, but you may be able to figure out enough clues for how to access the actual content (not just the flash player) from that XBMC channel. &nbsp;And for-the-record, porting an XBMC channel to Plex is not a trivial process (it's basically rewriting it) .. the channel framework in Plex is nothing like the XBMC one, it's a whole different ballgame. &nbsp;About the only similarity these days is that they both use python ;)

Bummer.. Well, i might have some spare time to figure it out some say. Thanks for the info though.

---

<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, 10:21pm UTC](https://forums.plex.tv/t/plugin-for-dreamfilm/22487/16 "2019-12-20T22:21:00Z")

</div>

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