XBMC Community Forum
[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



- Repeater07 - 2011-07-15 05:36

xboxbox451...

thanks for the xml on your Eventghost setup. I used this as my base...and this may not be the correct form for my question...so slap me down if so...

I have everything working with the the netflix and xmbc from a software point of view...just not from the remote...I used your file you provided as a base and the only delta is the remote I am using is the base mode...which works great for xbmc...but when I click to netflick window the commands seem to lose focus and I can't ensure the commands work...did you have to do anything to ensure "focus" was on netflix (iexplorer)? or am i missing something?


- xboxbox451 - 2011-07-15 13:16

Repeater07 Wrote:but when I click to netflick window the commands seem to lose focus and I can't ensure the commands work...did you have to do anything to ensure "focus" was on netflix (iexplorer)? or am i missing something?


The "Netflix" folder becomes active only when the process "iexplore.exe" is called by the Netflix Web API which is when a Netflix show is started, at the same time the "XBMC2 Buttons" folder disables. The reverse happens when the "iexplore.exe" process is closed or unfocused.

This was necessary, since the emulated keyboard macros used in the Netflix folder share the same remote events as the macros in the XBMC Buttons folder. Otherwise there may be conflicts upon launching certain macros.

The only way I tested the commands in the "Netflix" folder, was by adding my remote events to the macros, then starting a Netflix show so the "iexplore.exe" process starts and comes into focus, then test. Even if you minimized the Netflix show while playing, the "Netflix" folder will deactivate when "iexplore.exe" loses focus.

If you can minimize Netflix during playback for testing, and want to test the macros, then either disable the "Task Create/Switch Events" plugin, or disable the last two macros in the tree titled, "Enable Netflix..." "Enable XBMC2...". Also enable the "Netflix" folder once the others are disabled.

Hope this helps.


- Repeater07 - 2011-07-15 16:56

Thanks xbox. It helped some. I switched the iexplore.exe to a window for testing. Eventghost is working correctly and so is my remote. The "Netflix" window just isn't doing anything with the keys when they are pressed. I think my next step is to continue to play around with the keys that Netflix will respond to.


- xboxbox451 - 2011-07-15 17:18

Repeater07 Wrote:Thanks xbox. It helped some. I switched the iexplore.exe to a window for testing. Eventghost is working correctly and so is my remote. The "Netflix" window just isn't doing anything with the keys when they are pressed. I think my next step is to continue to play around with the keys that Netflix will respond to.

1. Did you add your remote control events into the associated Netflix Macros?

2. When the Netflix movie window is open, it must be also focused for the netflix folder to become active. If there's a red X on the netflix folder, then the folder is disabled.

You can PM me if you have more questions, since I don't want to clog this topic with a bunch of EventGhost talk.


- speed32219 - 2011-07-15 18:27

Update to my previous post about HTML5/Netflix and Android/Linux support.

Update: I have just installed the latest chrome for linux, went to youtube and tested it on their beta html5 videos using the XBMC launcher plugin. It works great with the videos in full screen, just needs the ability to go full screen on startup which is being worked on from the google searches I did. Netflix is still looking for MAC/Win devices though, so the html5 is not yet implemented on their end. As soon as netflix releases HTML5 for the droid market, which is suppose to be out in beta now, should be good to go with our Ubuntu/Linux boxes. FYI, I am using the daily/dev version of Chrome, it has the html5 support in it.

Well it seems that Netflix for anroid is out and it is run by an App with Andoid 2.2 or 2.3 OS. No mention of HTML5 with that App though, so maybe the stuff on the net is wishing and not reality. Maybe a hack to the app is going to be needed, yes "hack the app" is the new motto for linux users wanting to use the netlix product.


Also, it seems that html5 right now as far as I can see is doing SW rendering and Not hardware accelerated as in flash, although 20% across the atom cpu's seems like some sort of acceleration is going on.

--------------------------------------------------------------------------------


- RGB_Gamer - 2011-07-17 04:16

Repeater07 Wrote:xboxbox451...

thanks for the xml on your Eventghost setup. I used this as my base...and this may not be the correct form for my question...so slap me down if so...

I have everything working with the the netflix and XBMC from a software point of view...just not from the remote...I used your file you provided as a base and the only delta is the remote I am using is the base mode...which works great for xbmc...but when I click to netflick window the commands seem to lose focus and I can't ensure the commands work...did you have to do anything to ensure "focus" was on netflix (iexplorer)? or am i missing something?


Would you mind providing xml files so I can get my Windows 7 64-bit machine with XBMC working with Netflix? The wife really would appreciate it!


- Petoria - 2011-07-20 04:44

Can someone look at this xml file for me and tell me where I went wrong. I'm guessing I put things out of order and it's not working. If I delete say all the lines for netflix, the regular player and ISO automount will work. Thanks in advanced

Code:
<playercorefactory>
  <players>
    <!-- These are compiled-in as re-ordering them would break scripts
    The following aliases may also be used:
      audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
    <player name="DVDPlayer" audio="true" video="true" />
    <player name="DVDPlayer" /> placeholder for MPlayer
    <player name="PAPlayer" audio="true" />
   -->
    <player name="PowerDVD11" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISO Mount ini.exe</filename>
    <args>-iso "{1}" -useIni "C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISOMount.ini"</args>
        <hideconsole>true</hideconsole>     <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
</player> <player name="IE" type="ExternalPlayer"> <filename>C:\Program Files\Internet Explorer\iexplore.exe</filename> <args> "{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player>  </players>
  
  <rules action="prepend">
  <rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
<rule name="html" filetypes="*html" player="IE"/>

  <rules name="system rules">
    <rule name="rtv" protocols="rtv" player="DVDPlayer" />
    <rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />

    <!-- dvdplayer can play standard rtsp streams -->
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />

    <!-- Internet streams -->
    <rule name="streams" internetstream="true">
      <rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>

    <!-- DVDs -->
    <rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
    <rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
    <rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />

    <!-- Only dvdplayer can handle these normally -->
    <rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />

    <!-- Pass these to dvdplayer as we do not know if they are audio or video -->
    <rule name="nsv" filetypes="nsv" player="DVDPlayer" />
  </rules>
</playercorefactory>



- fekker - 2011-07-21 04:22

Petoria Wrote:Can someone look at this xml file for me and tell me where I went wrong. I'm guessing I put things out of order and it's not working. If I delete say all the lines for netflix, the regular player and ISO automount will work. Thanks in advanced

Code:
<playercorefactory>
  <players>
    <!-- These are compiled-in as re-ordering them would break scripts
    The following aliases may also be used:
      audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
    <player name="DVDPlayer" audio="true" video="true" />
    <player name="DVDPlayer" /> placeholder for MPlayer
    <player name="PAPlayer" audio="true" />
   -->
    <player name="PowerDVD11" type="ExternalPlayer" audio="false" video="true">
            <filename>C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISO Mount ini.exe</filename>
    <args>-iso "{1}" -useIni "C:\Program Files\Elaborate Bytes\VirtualCloneDrive\ISOMount.ini"</args>
        <hideconsole>true</hideconsole>     <forceontop>false</forceontop>
            <hidexbmc>false</hidexbmc>
            <hidecursor>false</hidecursor>
</player> <player name="IE" type="ExternalPlayer"> <filename>C:\Program Files\Internet Explorer\iexplore.exe</filename> <args> "{1}"</args> <hidexbmc>false</hidexbmc> <hideconsole>false</hideconsole> <warpcursor>none</warpcursor> </player>  </players>
  
  <rules action="prepend">
  <rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
<rule name="html" filetypes="*html" player="IE"/>

  <rules name="system rules">
    <rule name="rtv" protocols="rtv" player="DVDPlayer" />
    <rule name="hdhomerun/myth/rtmp/mms/udp" protocols="hdhomerun|myth|cmyth|rtmp|mms|mmsh|udp" player="DVDPlayer" />
    <rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />

    <!-- dvdplayer can play standard rtsp streams -->
    <rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)"  player="PAPlayer" />

    <!-- Internet streams -->
    <rule name="streams" internetstream="true">
      <rule name="flv/aacp/sdp" mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
      <rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
    </rule>

    <!-- DVDs -->
    <rule name="dvd" dvd="true" player="videodefaultdvdplayer" />
    <rule name="dvdfile" dvdfile="true" player="videodefaultdvdplayer" />
    <rule name="dvdimage" dvdimage="true" player="videodefaultdvdplayer" />

    <!-- Only dvdplayer can handle these normally -->
    <rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />

    <!-- Pass these to dvdplayer as we do not know if they are audio or video -->
    <rule name="nsv" filetypes="nsv" player="DVDPlayer" />
  </rules>
</playercorefactory>

You have an un-closed element for the rules.
Code:
<rules action="prepend">
    <rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
    <rule name="html" filetypes="*html" player="IE"/>
  <rules name="system rules">
see how it says <rules action="prepend"> .. there needs to be an end tag or that section needs to be rewritten as the <rules name="system rules"> ... section is there and ends properly

you can try adding the end tag to the first rules element, but it's going to depend if it will read multiple elements for the rules or if they all need to be in the <rules> .... </rules> section
Code:
<rule name="html" filetypes="*html" player="IE"/>
  </rules>
  <rules name="system rules">

but that might not work


- samzstein - 2011-07-23 04:40

my TV and Movie queues keep coming up empty,
http://pastebin.com/G4YAZpc8
link to my log file. please help Smile


- Petoria - 2011-07-23 04:52

fekker Wrote:You have an un-closed element for the rules.
Code:
<rules action="prepend">
    <rule filetypes="iso" filename="*.iso" player="PowerDVD11"/>
    <rule name="html" filetypes="*html" player="IE"/>
  <rules name="system rules">
see how it says <rules action="prepend"> .. there needs to be an end tag or that section needs to be rewritten as the <rules name="system rules"> ... section is there and ends properly

you can try adding the end tag to the first rules element, but it's going to depend if it will read multiple elements for the rules or if they all need to be in the <rules> .... </rules> section
Code:
<rules name="system rules">

but that might not work

After playing around with it to see what works, i've gotten my auto mount and netflix to work by placing
Code:
<rule name="html" filetypes="*html" player="IE"/>
  </rules>
after the system rules. But when I play regular MKV files, it's not using xbmc default player. I'm not sure what order it reads the stuff so I don't know where to put the rules for netflix now =/