NetTV Plex - Development Preview

NetTV Plex Client



What is it?



A Plex client designed for the NetTV platform used by Philips, Sharp, B&O and Loewe.

Be warned that since this is in a pre-alpha state it may require some technical ninja skills to get up and running. Needless to say it is “use at own risk” :wink:



Preview Video



Quick overview of the current state.



[media]http://www.youtube.com/watch?v=aCfC58Dhae8[/media]



Known Major Issues



[list=1]



[] Unable to access local services from a remote server.

Opera (which is used by NetTV) does per default not allow connections from a remote server to the local network. This is an big issue since NetTV apps are hosted remotely and Plex is accessed locally. I’ve created an issue a month ago on the NetTV partner site however they havn’t responded.

It is working in the emulator so it might just be a bug in the NetTV running on my TV since it is running a newer version of Opera than the emulator.

[
] Unable to seek in video containers other than MPEG4.

This is kind of weird since the TV is able to seek in other formats when using DLNA but when using the NetTV media object seek is only working for MPEG4. I will create an issue with NetTV partner site, however I’ve kind of lost faith in their willingness to help.

[/list]



What is Supported



[list]



[] Home screen like Laika

[
] Browse Movies and TV Show from PMS in list view

[] Play media from PMS

[
] View meta data

[] Resume from last played position

[
]Send progress information to PMS (i.e. can resume on other devices)



[/list]



What is not Supported



[list]



[] Transcoding

[
] Subtitles

[] Non-video content

[
] Search

[/list]



Hosted App



The app is available here http://udvikl.es/nettv/plex/ however it doesn’t work on my TV due to restrictions in accessing the local network from a non-local site.



It does work through the NetTV emulator so it may work on some TVs.



Installation



[list]



[] Download here

[
] Unzip it to a local webserver directory

[*] Make sure that the webserver returns mime type


application/ce-html+xml;charset="UTF-8";supportspointer=false

for HTML files in the given directory (this should work per default if you use Apache as a .htaccess file is distributed with the app).

[] Access the local webserver from the NetTV browser

[/list]





Source



The source code and build instructions are available on Github http://github.com/hitolaus/nettv-plex-client



Versions



[list]



[
]0.5.0, 12/31-2012: First official announcement

[/list]

Hey, that is SUPER cool! Please drop me a line (elan at plexapp) if you’d like access to our third party chat room :slight_smile:



I'll have a go at trying this out on my Loewe Connect ID ASAP...

Thank you for your hard work and efforts making this possible for Philps TV’s. Much appreciated.

hi its very nice

since philips /lg and other are in Smart TV alliance, we should try to make this as a universal smart tv app

i have tested it in a LG simulator and it basically “works” the Layout/design should be adapted for LG



maybe we can work together to make this app runnable on different platforms



While I like the idea, the problem is that the Smart TV Alliance is a bit like DLNA, where it is not an end-to-end specification and there are a lot of vendor specific "loop-holes" (i.e. the reason why DLNA will never, Just Work ;)).

In the Smart TV Alliance current state it is still very separated between NetTV (Philips, Sharp, etc) and LG. NetTV runs on Opera using CE-HTML where LG on WebKit using HTML5.

In my development effort I try to be as non-NetTV as possible, but my current focus is get a CE-HTML app that can be released in the NetTV app store (which might not even be possible due to the local XHR request issue).

But the code is available on [Github](https://github.com/hitolaus/nettv-plex-client) and any help is appreciated :).


I tried a previous version on my Loewe tv. It basically worked as you described (I needed to run it locally to access local assets, for example.)

I norice that you are looking for NETTV in the user agent string now. I don't have the UA for the plex client currently but the DLNA server reports the following:-

Dec 23, 2012 09:46:27 [0xb0081000] DEBUG - Mapped client to generic profile: Range: bytes=2420647-; User-Agent: LOEWE/TV HbbTV/1.1.1 (+PVR; Loewe; SL150; LOH;;) CE-HTML/1.0 SL150/17.20.0; Host: 192.168.1.201:32469; Accept: */*

I'd be happy to help this project in any way I can (I am a developer by profession, but not javascript) - how do you want to proceed? Private messages, posts on this forum, email exchange?

Thanks

Neil

hi i have the same “problem” like Neil

i’m developer but not in javascript



but i think i’m able to port this on webkit based browser

-----



you are right whey are in the same alliance, but uses different technologies

i did not downloades the http://www.smarttv-alliance.org SDK, maybe with this SDK it would run on all TVs…



if not, so the PLEX-Code is the same on all plattforms, only the VIEW-Part is different on other systems, so if you can keep the other parts generic, it should be able to create different views for other platforms like Toshiba/Sony and other.

Hi,



It is awesome that you guys are willing to help. Since the client is still in a very early state I think it is best if we just keep it on an adhoc-basis at the moment. Write me a PM if you have a question, create a Github issue, create a Github pull request, … it’s all good.

I’m a bit reluctant to create a more coordinated effort right now since I don’t even know if the project has a viable future due to the XHR LAN issue.



In regards to the XHR LAN issue I actually got a reply from NetTV partner support yesterday. Unfortunately they totally misunderstood the question even though I did a long explanation with several examples. Hopefully they will get back to me quicker the second time.



BTW I too am not a Javascript developer, but that is properly why this is so much fun as a hobby project as opposed to the enterprise backend systems I develop at my daily job :wink:

hi the client is now basically works with LG TV simulator, i will test it today on my TV

the code is nearly 99,9% the same like philips nettv, i must do some little changes on the CSS files for webkit engine

and some little LG specific video settings



i’m trying to make this changes in different files and create a function to load it on startup, so that the application can detect the right TV engine and load needed files

if its done i will upload it to git and make pull request.

Hi,



wow, great work + news! Sorry for this stupid question: How can i try it on my LOEWE Connect?



Thanks for help;-)



BR

Peter



Hi,

Remember that this is still in a very early state. The installation instructions are in the first post. Due to point 1 under *Major Known Issues* you have to run it on a webserver on your local network.

I'm still in contact with NetTV partner support regarding this issue, but for whatever reason they have trouble grasping the problem :)

First off thanks for making the app ;)

But I cant seem to get it to install on a Philips TV. When I browse the URL hosted on my local webserver (apache from xampp) the TV only displays the PLEX logo and does nothing else.

Any idea how to get the TV to install the app?

I have the Philips TV: 37PFL9606K

Any help would be greatly appreciated!

I've been waiting for this! I hope the guys over at NetTV are willing to help.
Good luck and thanks.

Any chance you can share more details on this issue? It's possible we might have a workaround for you.

I'm a bit reluctant to create a more coordinated effort right now since I don't even know if the project has a viable future due to the XHR LAN issue.

Any chance you can share more details on this issue? It's possible we might have a workaround for you.

Thanks for the reply. Here are the steps I do trying to install the PLEX client.

I also already tried compiling the sources myself and with the downloadable version above.

1. I installed XAMP on my Laptop and started the Apache2 webserver on it.

2. copied the unzipped files (+ .htaccess) into the webroot of the webserver

3. I opened the web page locally (first I had to rename the .htaccess file) in order to test if it is working. Also when I open the page with the .htaccess file it wants me to download something.

4. I go to my TV (Philips TV 37PFL9606K) into the SmartTV App and then to Internet. There I enter the local IP of my Laptop (192.168.0.X).

5. It loads the page fairly quick but then it looks like the page is loading (the big PLEX logo is showing in the middle of the screen). I left it like that for over 1 hour but nothing changed.

Thanks for looking into it!

hi, i have the same problem as silthus, i am stuck at the plex logo

Cool !

Unfortunately I am also stuck on Plex logo.

What about MyPlex? That is over the internet, so not locally.

I am looking into giving my parents access to my server that is in my home. They have a Philips tv.

I tested the hosted web version on my own Philips 42PFL7606H and it gets stuck at the plex logo.

I will test local install.

update

I tested the git head version that I build myself and used apache to serve it locally. It hangs on the plex logo too.

By testing I mean: visiting the website using the browser of the nettv.

**/update**

MyPlex would really be cool, especially if it runs hosted on the internet. That way I can just give people easily access to my server! 

Also tested the hosted version in the SDK emulator from the website: http://www.yourappontv.com/ (is that philips only?)

Also got the same logo screen with no other activity there. Are you using the same emulator?

Error.log file shows:

--- 04 May 2013 22:15:34 ---
http://udvikl.es/nettv/plex/
Uncaught exception: TypeError: 'Object.defineProperty' is not a function

Error thrown at line 1, column 110686 in (a)
 
--- 04 May 2013 22:16:25 ---
http://udvikl.es/nettv/plex/
Uncaught exception: TypeError: 'Settings.init' is not a function
 
Error thrown at line 1, column 49879 in init() in http://udvikl.es/nettv/plex/scripts/15821ffb.app.js:
    var a=Settings.init();
called from line 1, column 0 in (event):
    init()
 
I opened a issue at github with more detailed logmessage.