Plex app for Panasonic Smart Viera Working DNS Method Python 4k and HD

Another Question:

Run fakedns.py pointing to the config file (probably want to automate this so it always runs)…
python I:\scripts\Python\fakedns.py -c I:\scripts\Python\dns.conf Where do I get FakeDNS.py?

@“mcurtin@tds.net” said:
Any chance this procedure can be dummied down even further? I have a TC-P60ST60 plasma that I would like to get PLEX running on. My computer is running Windows 10. ZERO programming experience! However, I am willing to try. Downloaded Apache24 and Python, but have no clue HOW to use them as outlined above.

HELP!

Thanks!

No offence but the questions that you are asking show that there is quite a skills gap to cover.

Looking at your questions you need to learn about Domain Name System (DNS) and IP Addresses (Nothing heavy, just what they are and the basics of how they work)

Once you have read about them you need to learn how to install and set up Apache Web Server and browse to your website.(This will be specific to your PC)

Next you need to learn about installing Python 2.7 (If memory serves its as simple as double clicking the executable)

You then need to learn about **GIT **and how to download and run source code from it so that you can get the actual DNS redirect program and set it up.

Specific answers to your questions…

  1. Files are located at GitHub - ClosestStorm/panasonic-plex-dns, find your ip address by typing ipconfig in a cmd window or PowerShell window, yes this will be your Apache web server.

  2. This script is run by the python.exe program that you will need to install on your PC. It will not automatically run if your PC restarts unless you tell it to.

  3. The default Apache Webserver Root directory is C:\Program Files\Apache2.4\htdocs however it can be configured to wherever you want to point it.

  4. This is a setting in the network settings of your TV.

  5. all of the files are provided in the download link on git.

No offense taken- just trying to get PLEX up and running on my Panny.

Trying to run Install.sh using CYGWIN however I get the following error message:

$ bash d:/plexdns/install.sh
tar (child): plex-dns.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Does the unzipped Plex dns folder need to be located in a specific location relative to other folders?

If you are setting it up on windows I wouldnt use install.sh or cygwin. Thats why I wrote the instructions in the firstplace so you can manually do everything that the install.sh was doing (when running on windows)

Thanks. How do I edit usr/local/bin/dns.conf? Do I need to use LINUX?

it should be included in the files that you extract from git. Edit it with notepad++

OK- edited the DNS.conf file. Where is the FakeDNS.py file? Do I have to download this from GitHub? There are several versions of this available.

Found the fakedns.py file in /usr/local/dns/ - however, having trouble running it. Received the following message:

File “/usr/local/dns/fakedns.py”, line 281
print “>> Built NONEFOUND response”
SyntaxError: Missing parentheses in call to ‘print’

Got it! Able to launch PLEX through Lifeshow. Thanks everyone! Now need to figure out why some movies have audio and others do not.

It might be an idea for you to write the more simple set of instructions that you requested initially?

hello

sorry, my english is very bad

i dont find the files:

Main.js
Main.html
Init.json

in plex-dns.zip.

I found in plex.hd

index.html
init.json
manifest.webapp

but dont work

windows 10 working 100%

1.- Install Apache web server

windows 64 bits apachelounge.com/download/VC15/binaries/httpd-2.4.29-Win64-VC15.zip
windows 32 bits apachelounge.com/download/VC15/binaries/httpd-2.4.29-Win32-VC15.zip
in this video you can see how it’s done youtube.com/watch?v=A_NGnq31d18. Install apache in C:\apache and if you installed it correctly you should be se in your web browser IT WORKS!

2.- Install Python 2.7. you can dowload in this link python.org/ftp/python/2.7.13/python-2.7.13.amd64.msi, install Python in c:\Python27

3.-Download plex hd to closeststorm github.com/ClosestStorm/PlexTVFirefoxOS/raw/master/Plex%20HD.zip and extract it. you should see these files:

index.html
init.json
manifeset.webapp
_MACOSX
icons

rename index.html to main.html

and copy files to c:\apache\htdocs\

4.- Download plex dns to closeststorm github.com/ClosestStorm/panasonic-plex-dns/raw/master/plex-dns.zip, and extract files. You should see plex-dns.tar.gz

extract it and in opt/plexdns folder you should see these files:

plexdns.conf
plexdns.py

edit with the notebook the file plexdns.conf and change 192.168.1.153 for your PC ip. My ip is 192.168.0.20

copy this files in c:\python27/scripts

5.- In your TV install app lifeshow. Change your TV network Setting to manual.

Ip TV: (my example) 192.168.0.32
Subnet mask:255.255.255.0
Gateway:192.168.0.1
DNS:192.168.0.20 (my pc address)

6.-in your desktop create file plexdns.bat. Open the file with the notebook and paste this.

echo off
C:
cd \apache\bin
httpd -k start
cd \python27
python c:\python27\scripts\plexdns.py -c c:\python27\scripts\plexdns.conf

7.- Restart PC, and run plexdns.bat You should be see plex when you open lifeshow app in your Tv.

Sorry im spanish my english is very bad..

sorry … dont work hyperlink