Netflix for Mediaportal... MPFlix :p (1 Viewer)

0kk0

Portal Member
March 28, 2011
13
16
35
Netherlands Netherlands
Country flag
Hi everyone,

I've created a simple program that i use to watch netflix from mediaportal using Multishortcut from: https://forum.team-mediaportal.com/threads/multishortcut-plugin.75305/

2.png

1.png

It opens a Chrome borderless and fullscreen window on given monitor and opens a url you can set in app.config.
In my case http://netflix.com/browse

You can control the mouse by pressing arrow keys on your remote. Ok button on remote simulates mouse click event.

to close press stop button on remote...this fires an alt+f4

Let me know what you think? :D

Download Complete package v1.2:
https://forum.team-mediaportal.com/...1/?temp_hash=438cce20a19dec911b26d39857329237

Download MPFlix v1.2 only:
https://forum.team-mediaportal.com/...0/?temp_hash=438cce20a19dec911b26d39857329237

Bye,

Sicco

App.config:
I explain a littje about positioning...
I use 2 displays... Main monitor (1600x1200) and a tv (1920x1080)
So the program (chrome in this case) opens at pos x 1600(+1) and pos y = 0
The width of chrome must be fullscreen, so repos_height 1080 x repos_width 1920.

I think its not that hard? ;)

XML:
<setting name="repos_width" serializeAs="String">
                <value>1920</value>
            </setting>
            <setting name="repos_height" serializeAs="String">
                <value>1080</value>
            </setting>
            <setting name="repos_runningExe" serializeAs="String">
                <value>MediaPortal.exe</value>
            </setting>
            <setting name="repos_x" serializeAs="String">
                <value>1600</value>
            </setting>
            <setting name="repos_y" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="repos_windowCaption" serializeAs="String">
                <value>Netflix</value>
            </setting>
            <setting name="repos_browserExe" serializeAs="String">
                <value>C:\Program Files (x86)\Google\Chrome\Application\chrome.exe</value>
            </setting>
            <setting name="repos_quitMediaportal" serializeAs="String">
                <value>false</value>
            </setting>
            <setting name="repos_simulateMouse" serializeAs="String">
                <value>true</value>
            </setting>
            <setting name="repos_browserArgs" serializeAs="String">
                <value>--chrome-frame -app=http://netflix.com/browse</value>
            </setting>
 

Attachments

Last edited:

Olli123

Portal Pro
February 3, 2012
144
17
Sound nice. I will test it this evening at home.

But on thing i dont understant. When you launch chrome by multishortcut........... what is the MPFlix.exe used for? When do i have to start it?

EDIT: Ah now i get it. I have to launch MPFlix.exe by multishortcut and then MPFlix starts my crhome? Right?
 

0kk0

Portal Member
March 28, 2011
13
16
35
Netherlands Netherlands
Country flag
Sound nice. I will test it this evening at home.

But on thing i dont understant. When you launch chrome by multishortcut........... what is the MPFlix.exe used for? When do i have to start it?
Well is set in multishortcut to launch MPFlix... mpflix lauches chrome... and it does make a borderless fullscreen window. Also possibility to use arrow keys of my MCE Remote to navigate the mouse cursor...
Press stop on your remote and you are back in mediaportal ;)

So main thing was to navigate mouse withoud using mouse :p but also borderless window[DOUBLEPOST=1442993052][/DOUBLEPOST]
Sound nice. I will test it this evening at home.

But on thing i dont understant. When you launch chrome by multishortcut........... what is the MPFlix.exe used for? When do i have to start it?

EDIT: Ah now i get it. I have to launch MPFlix.exe by multishortcut and then MPFlix starts my crhome? Right?
Yeah thats right ! :DYou also can use Kylo browser or firefox but i preffer chrome
 
Last edited:

Olli123

Portal Pro
February 3, 2012
144
17
Problem: MPFlix.exe is not starting. It seems not to be compatible with 32bit operating system.

Find the error message in the screeenshoot. Is it comiled for any cpu?
 

Attachments

0kk0

Portal Member
March 28, 2011
13
16
35
Netherlands Netherlands
Country flag
Problem: MPFlix.exe is not starting. It seems not to be compatible with 32bit operating system.

Find the error message in the screeenshoot. Is it comiled for any cpu?
oops... youre right.. i will recompile it in next hour... thanks for your feedback!
 

Olli123

Portal Pro
February 3, 2012
144
17
Testing the MPFlix.exe on a x64 system doesn´t start also.

When I click on the MPFlix.exe a short loading cursor apears and then happens nothing.

I also tried to start MPFlix.exe as administrator. Path to chrome is set up correctly in the .config file. Dunno whats wrong with it?
Normaly it should start the chrome when MPFlix.exe is started outside Mediaportal right?
 

0kk0

Portal Member
March 28, 2011
13
16
35
Netherlands Netherlands
Country flag
if you run it as administrator when mediaportal is also started on x64 system i think it will work.

im making some changes right now... ;)[DOUBLEPOST=1443077428][/DOUBLEPOST]also if it works... dont use chrome for anything else. If you open a new tab...chrome does some strange things with its processes etc... mpflix will shutdown automaticly when u close netflix from chrome[DOUBLEPOST=1443077996][/DOUBLEPOST]
Try this new one: https://forum.team-mediaportal.com/...2/?temp_hash=1a73a4a2082adfcff2b2b53d7926e3e8

This new version can run also when mediaportal isnt running and x32 or x64 systems...

Please let me know if it works? Thanks!!
 

Attachments

Last edited:

Olli123

Portal Pro
February 3, 2012
144
17
OK, the .exe is working now and opens the netflix page.

I will test this evening the controll with my remote during playback! Looks nice so far........

Thanks! :)
 

Olli123

Portal Pro
February 3, 2012
144
17
Feedback: It´s working great............. Gonna like it.

Noticed some problem with focus settings............. I have to use "Media Portal always on top" setting. So the chrome will never been shown when started. Is there a need to keep MP open or can i close and restart it after using netflix/chrome?

Another thing i noticed is that when mouse pointer in at the top border and i move it downwards it starts already scrolling down the page although the pointer is still in the top area........ i think it has to deal with the netflix webpage layout. have to test it more before i can give you more details. time was limited yesterday......

Maybe it can be used for amazon prime video streaming also? will try it this weekend........

Anyway this is realy nice work. was excatly what i need. btw: where is your donate button? ;)
 

0kk0

Portal Member
March 28, 2011
13
16
35
Netherlands Netherlands
Country flag
Nice dude ! :D

If you change the value repos_quitMediaportal from false to true... it will quit mediaportal before chrome opens... You can maybe open MP again with remote green button?
Ive made mouse pointer navigation changes is new version (1.2).. just try and you will see ;)
Also possibility to zoom in and out using volume up and down buttons on remote... Maybe strange but thers a reason for it :p
Reset zoom using mute button... lol

And i also tried to use it with other videosites... and works nice :D
About the donate button..... lol Maybe in the future? :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
fischy667 Money Heist - Netflix Order My TVSeries 7
T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
M.Hulot [solved] Netflix und amazon Prime in MP1 möglich? TV / Streaming 6
BlueMax1916 [Evaluate] Windows 10 Apps for Sky, Netflix, Amazon etc. to be accessible via MP2 Plugin Feature Requests 3
H MP2.2 Netflix kein Player registriert OnlineVideos for MediaPortal 2 11
T [Evaluate] Own plugins for AmazonPrime and Netflix Feature Requests 2
C Netflix My List & Continue Watching Blank OnlineVideos 4
Symphy Version 0.2.9.0 for MediaPortal 1.25 ASIO music player 0
doskabouter Installing mediaportal MediaPortal 1 3
A Mediaportal Allgemeines Support- und Diskussionsforum 0
G Update von MediaPortal Installationsprobleme? 0
ajs [News] MediaPortal 1 - 1.25 Released! News and Announcements 1
horned_reaper Standby is prevented by MediaPortal client General Support 0
U [solved] MediaPortal crashing on startup General Support 10
g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
high [unanswered] Hallo möchte gerne Mediaportal. nutzen kann mich jemand anrufen? contactform feedback and requests 2
ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
ajs [Rejected] Mediaportal Codename MediaPortal 1 41
M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
N Steam release of MediaPortal MediaPortal 1 Talk 0
torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
M Fehlerhafter Link auf der aktuellen MediaPortal Seite Page- und Forumsfeedback 0
H 1.24.0 MP 1.24 high CPU utilization when 'Keep MediaPortal always on top' option enabled Bugreports 4
mickb [solved] Mediaportal Stops working General Support 5
J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
Similar threads

























Top Bottom