Quantcast
Channel: PlexConnect (Apple TV 2 & 3) — Plex Forums
Viewing all 540 articles
Browse latest View live

PlexConnect as service, while accessible from System Tray or as channel in Plex Web App?

$
0
0

I like having PlexConnect running as a Windows Service, so that it loads quickly on boot and runs in the background regardless of if I'm logged in. However, I would like to still be able to view the real-time actviity log that it generates, and to do so 1) without Python showing in the taskbar; and 2) without it ending the process when I close the PlexConnect window,

Essentially, I request the ability to either have a PlexConnect system tray (notification area) icon, that (come to think of it) perhaps itself can start and stop the PlexConnect-Service, but can display PlexConnect's live activity and do so without killing said activity when the pane closes.

On the other hand, PlexConnect could instead have an app channel plugin that could then display PlexConnect's activity within Plex itself, which would be fantastic even if said activity window was only viewable from the Plex Web App.


el capitan openplex

$
0
0

went through the whole thing of unlocking mac to install and it installed but then................................nothing. No way to open. very frustrated. any help would be welcome

Issue with all shows view - files will not play , but will via on deck view ( TV)

$
0
0
Your ATV model (2 or 3) and firmware version 

V3. AppleTV/7.1 iOS/8.2 AppleTV/7.1 model/AppleTV3,1 build/12D508
The DNS server set on the ATV
192.168.0.40
The local IP address of the device that PlexConnect is installed on:
192.168.0.40
The device and operating system (including version number) that PlexConnect is installed on:
PC - Windows 10
The device and operating system (including version number) that the Plex media server (PMS) is installed on:
PC-windows 10
The Plex media server (PMS) version number you are running (do not put 'latest'):
V2.4.23
The local IP address of the device that the Plex media server (PMS) is installed on:
192.168.0.40
The PlexConnect version number --
modified 21/10/2015

The contents of your 'Settings.cfg' file (this is created at first clean shutdown of PlexConnect, using CTR+c)

[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.0.40
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 54.252.183.4
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.0.40
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = High
logpath = .

A detailed description of the issue (the clearer you can make this the better):

HI All - hoping you can help ---

Just been setting up plex and plex connect- seem to have it working however I have a weird error. I can login the plex via the trailers app with no problems. When I navigate to my TV folder it shows the files via the on deck view and I can play them from this view. However If i go to the all shows view I get the medadata however when I click play I get the error -- trailers unavailable - try again later.
The same file plays via view plex on andriod / ios and through the web portal.
Any ideas ?

Ensure you post your 'PlexConnect.log' file 

http://pastebin.com/hJm1VxTH

Connection Lost After Viewing

$
0
0

Have an odd issue that has only surfaced recently where I can watch something no worries, but if I finish the show and hit the back button I lose the connection totally to Plex.

I can only continue to hit the back button on the Apple TV to go back to the ATV main screen and then go back into Plex to start it off again.

There is no other way to continue watching if I hit the back button whatsoever.

Am running Verison 0.6 even though there is an update waiting, but that Update doesn't work as noted in other threads.

Any ideas please?

delete show / movie from PlexConnect

$
0
0

Hi

 

Is there a way to directly delete a show / movie from the PlexConnect aTV interface ?

I've searched but not been able to find one. It is possible to mark watch / unwatch but not to delete.

 

If it does not exist, this would be usefull to implement it.

 

Regards

Bruno

Plex Network Command for Roku

$
0
0

I'm trying to find HTTP Commands to go directly to my Movies or TV Shows libraries without using arrow commands.
Is there any easy way to do this?

No library sections available for home users

$
0
0

I'm using an Apple TV 2. I can log into the main account and access everything just fine. When using the iPad, all of my home users are able to access the libraries from their accounts.

However, when I try to login to PlexConnect with a home user, nothing shows up. It works everywhere besides PlexConnect.

Any ideas? Has anyone seen this before?

Plexconnect ATV2 and 3 stopped working

$
0
0

I had an issue with my home network the other day and ever since, both ATV2 and 3 can't see Plexconnect, I just get the Trailers app again. It's been working fine for almost 2 years.
Nothing changed on the server (At least not that I can think of)
Not sure if it was on wifi or ethernet before. It's on ethernet now.

I deleted the version of plexconnect I had, reinstalled it. Changed the config file. It runs fine with no error but the ATV's can't see it

I deleted the cert on the ATV3 but can't put it back
An error occurred (109)

Server is a 2008 macpro running MacOS 10.11
Server with plex and plexconnect is 10.10.1.100
Plex is 2.4.23

ATV3 is A1427 running 7.2.1 (8011)
DNS Server on ATV is 10.10.1.100

Modified the config file, did not detect the right ip. Disabling plexgdm does nothing
[PlexConnect]
enable_plexgdm = True
ip_pms = 10.10.1.100
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 10.10.1.100
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = High

LOGS
21:42:36 PlexConnect: ***
21:42:36 PlexConnect: PlexConnect
21:42:36 PlexConnect: Press CTRL-C to shut down.
21:42:36 PlexConnect: ***
21:42:36 PlexConnect: started: 21:42:36
21:42:36 PlexConnect: Version: 0.5-dev-110516
21:42:36 PlexConnect: Python: 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)]
21:42:36 PlexConnect: Host OS: darwin
21:42:36 PlexConnect: PILBackgrounds: Is PIL installed? False
21:42:36 PlexConnect: IP_self (from settings): 10.10.1.100
21:42:36 DNSServer: started: 21:42:36
21:42:36 DNSServer: ***
21:42:36 DNSServer: DNSServer: Serving DNS on 10.10.1.100 port 53.
21:42:36 DNSServer: intercept: ['trailers.apple.com'] => 10.10.1.100
21:42:36 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
21:42:36 DNSServer: forward other to higher level DNS: 8.8.8.8
21:42:36 DNSServer: ***
21:42:36 WebServer: started: 21:42:36
21:42:36 WebServer: ***
21:42:36 WebServer: WebServer: Serving HTTP on 10.10.1.100 port 80.
21:42:36 WebServer: ***
21:42:36 WebServer: started: 21:42:36
21:42:36 WebServer: ***
21:42:36 WebServer: WebServer: Serving HTTPS on 10.10.1.100 port 443.
21:42:36 WebServer: ***

Thanks


PlexConnect Queue channel is crashing PMS 0.9.16.6

$
0
0

I'm not sure if I should be posting this in the PMS Mac forum or here. This problem appeared recently, about a week ago or so: playing a video with the Queue channel in PlexConnect causes the PMS to crash. Playing a video in the Watch Later Queue channel from the web client or PHT does not trigger the crash.

Let me know if I should post logs here or in the PMS forum.

Apple TV 3rd Gen

$
0
0

I have the apple tv 3rd version, Is there to get plex on it. Please help, Thanks.

Ubuntu 15+, Debian 8+, Raspbian (Jessie) guide for Service installation (AutoStart)

$
0
0

Background Story
(New users skip straight to How to install)

I have been running Plexconnect as a service through sysvinit (/etc/init.d/) as explained in this post:
https://forums.plex.tv/discussion/156534/install-on-ubuntu-server#latest

After each reboot i still had to restart the service because it would start as

Active (exited)

I belive that's because in order to get the init file to work now one would have to remove plexmediaserver

# Required-Start: networking **plexmediaserver**

from /etc/init.d/plexconnect for it to work properly. This is because now Ubuntu uses systemd, naturally Plex Media Server now comes with a unit file (systemd) . So what we need now is a systemd unit file for plexconnect. Ill follow most of the old steps as i have no intention of reinventing the wheel.

It's also worth mentioning if you have your init.d script running without any issues, you dont need to follow this guide.

Removing the old sysvinit script (/etc/init.d/plexconnect)
(If you never followed the old guide you obviously dont have to do this)

Stop the server:

sudo service plexconnect stop

Backup your current script in case our new unit file does not work for you!

sudo mv /etc/init.d/plexconnect /etc/init.d/plexconnect.bak

Remove the script from rc.d

sudo update-rc.d plexconnect remove

Now you are ready to proceed.

If for some reason our new unit file does not work:

sudo mv /etc/init.d/plexconnect.bak /etc/init.d/plexconnect
sudo update-rc.d plexconnect defaults

How to Install

Full installation documentation can be found here:
https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Linux

We start by downloading Plexconnect, moving it to a more suitable location, adding some sql keys & certificates for the appletv and then moving the certificates. Do this commands one at a time (Trippel click on each line and copy) .
(If you allready have Plexconnect you can skip this step)

wget https://github.com/iBaa/PlexConnect/archive/master.zip
unzip master.zip
sudo mv PlexConnect-master/ /usr/local/lib/PlexConnect
openssl req -new -nodes -newkey rsa:2048 -out ./trailers.pem -keyout ./trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"
openssl x509 -in ./trailers.pem -outform der -out ./trailers.cer && cat ./trailers.key >> ./trailers.pem
mv trailers.* /usr/local/lib/PlexConnect/assets/certificates/

Now we are going to make the unit file for the startup process:
(If you have installed Plexconnect somewhere else than "/usr/local/lib/PlexConnect" you need to replace this path with yours in every step its mentioned)

sudo nano /etc/systemd/system/plexconnect.service

Paste the following:

[Unit]
Description=Plexconnect
After=plexmediaserver.service

[Service]
Type=simple
ExecStart=/usr/bin/python /usr/local/lib/PlexConnect/PlexConnect.py
User=root
Group=root
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3


[Install]
WantedBy=multi-user.target

Exit and save with: "Ctrl-x, Y, Enter"

Now we need to set the right permissions for our unit file:

 sudo chmod 644 /etc/systemd/system/plexconnect.service

Now we update systemd:

 sudo systemctl daemon-reload

Finally we add our unit file:

sudo systemctl enable plexconnect.service

Now our service is ready and we can start it with:

sudo systemctl start plexconnect.service

You can check your service status with:

sudo systemctl status plexconnect.service

or:

sudo service plexconnect status

Finally, how to setup your apple-tv:
https://github.com/iBaa/PlexConnect/wiki/Install-Guide

Sources:

http://www.raspberrypi-spy.co.uk/2015/10/how-to-autorun-a-python-script-on-boot-using-systemd/
https://gist.github.com/tstellanova/7323116
https://forums.plex.tv/discussion/156534/install-on-ubuntu-server#latest
https://wiki.ubuntu.com/SystemdForUpstartUsers

Plex, PlexConnect and OpenPlex working on Apple TV - thread (Part II)

$
0
0

This is the continuation thread of https://forums.plex.tv/discussion/123791/plex-plexconnect-and-openplex-working-on-apple-tv-thread#latest because the maximum character size of the OP was reached.

--> Plex, PlexConnect and OpenPlex are working on:

Apple TV software updates (latest update 26.02.2016!):

Final releases:

Beta releases:

Mac OS X 10.11.5 El Capitan (latest update June 14, 2016):

Final release:

Mac OS X 10.11.4 El Capitan (latest update March 22, 2016):

Final release:

Mac OS X 10.11.3 El Capitan (latest update January 28, 2016):

Final release:

Beta releases:

Mac OS X 10.11.2 El Capitan (latest update December 8, 2015):

Final release:
Mac OS X 10.11.2: build number (bn) 15C50, December 8, 2015: https://miapple.me/plex-plexconnect-and-openplex-running-on-os-x-10-11-2-el-capitan/

Beta releases:

Mac OS X 10.11.1 El Capitan (latest update October 21, 2015):

Final release:
Mac OS X 10.11.1: build number (bn) 15B42, October 21, 2015: https://miapple.me/plex-plexconnect-and-openplex-running-on-os-x-10-11-1-el-capitan/

Beta releases:

Mac OS X 10.11 El Capitan (latest update October 1 2015):

Final release:
Mac OS X 10.11: build number (bn) 15A284, September 30, 2015: https://miapple.me/plex-plexconnect-and-openplex-running-on-os-x-10-11-el-capitan/

Beta releases:

Mac OS X 10.10.5 Yosemite updates (latest update 13.08.2015):

Final releases:
Mac OS X 10.10.5, build number 14F27, August 13, 2015: https://miapple.me/plex-plexconnect-and-openplex-running-on-os-x-10-10-5-yosemite/

Beta releases:

PlexConnect running on QNAP NAS : Failed to Connect to port 443 Address Already in Use

$
0
0

Hello, I have a QNAS T251+, which is also running my PlexMedia Server. I want to run the PlexConnect to be able to see all in my Apple TV3. I have all the sw (phyton 2.7x, PlexConnect , the trailers certificate) installed on the QNAP. I have changed the QNAP WebServer Port to 81 (to release the port 80) and have disable HTTPS on the QNAP, to release the port 443. However, I am still getting the "Failed to connect to HTTPS on 192.168.1.113 port 443: [Errno 98] Address already in use
05:12:19 PlexConnect: WebServer_SSL not alive. Shutting down."message.

Using netstat, I can see this :
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4433 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.113:53365 45.79.211.86:443 ESTABLISHED
tcp 32 0 192.168.1.113:56794 52.17.111.136:443 CLOSE_WAIT

Any ideas of what can I do?
Many thanks!

Autostart Plexconnect

$
0
0

When starting the computer(latest Ubuntu) and enter "Trailers" on AT3 it just says "Accessing Trailers"...

➜  ~ sudo service plexconnect status              
[sudo] password for johan: 
● plexconnect.service - LSB: This is the Plex Connect daemon
   Loaded: loaded (/etc/init.d/plexconnect; bad; vendor preset: enabled)
   Active: active (exited) since tis 2016-06-21 20:00:55 CEST; 2min 54s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 855 ExecStart=/etc/init.d/plexconnect start (code=exited, status=0/SU
    Tasks: 0 (limit: 512)

jun 21 20:00:55 s1 systemd[1]: Starting LSB: This is the Plex Connect daemon...
jun 21 20:00:55 s1 plexconnect[855]:  * Starting the process PlexConnect
jun 21 20:00:55 s1 systemd[1]: Started LSB: This is the Plex Connect daemon.
lines 1-10/10 (END)

Also trying to start manual fails(still just "Accessing Trailers"):
sudo service plexconnect start

Only that works is to start manually:
➜ ~ cd /usr/local/lib/PlexConnect/
➜ PlexConnect sudo ./PlexConnect_daemon.bash start
Starting PlexConnect...

Why dose not my auto-start deamon work?

This is how my deamon config looks like:

➜  PlexConnect cat /etc/init.d/plexconnect
#!/bin/bash
### BEGIN INIT INFO
# Provides:          plexconnect
# Required-Start:    networking
# Required-Stop:    networking
# Default-Start:     3 4 5
# Default-Stop:      0 1 6
# Short-Description: This is the Plex Connect daemon
# Description:       This script starts the Plex Connect
#                    Python scripts in a detached screen.
### END INIT INFO

# Using the lsb functions to perform the operations.
. /lib/lsb/init-functions

# Process name ( For display )
NAME=PlexConnect

# Daemon name, where is the actual executable
DAEMON="/usr/bin/screen"
DAEMON_OPTS="-S PlexConnect -d -m /usr/local/lib/PlexConnect/PlexConnect.py"
DAEMON_USER="root"

# pid file for the daemon
PIDFILE=/var/run/PlexConnect.pid

# If the daemon is not there, then exit.
test -x "$DAEMON" || exit 5

case $1 in
 start)
  # Checked the PID file exists and check the actual status of process
  if [ -e $PIDFILE ]; then
   status_of_proc -p $PIDFILE "$DAEMON $DAEMON_OPTS" "$NAME process" && status="0" || status="$?"
   # If the status is SUCCESS then don't need to start again.
   if [ $? = "0" ]; then
    log_success_msg "Starting the process $NAME"
    exit # Exit
   fi
  fi
  # Start the daemon.
  # Start the daemon with the help of start-stop-daemon
  # Log the message appropriately
  if start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -p $PIDFILE -- ${DAEMON_OPTS}; then
   while read line ; do [[ $line =~ ([0-9]*).PlexConnect ]] && echo ${BASH_REMATCH[1]} ; done < <(screen -ls) > $PIDFILE
   log_success_msg "Starting the process $NAME"
  else
   log_failure_msg "Starting the process $NAME"
  fi
  ;;
 stop)

  # Stop the daemon.
  if [ -e $PIDFILE ]; then
   status_of_proc -p $PIDFILE "$DAEMON DAEMON_OPTS" "Stoppping the $NAME process" && status="0" || status="$?"
   if [ "$?" = 0 ]; then
    start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
    /bin/rm -rf $PIDFILE
    log_success_msg ""Stopping the $NAME process""
   fi
  else
   log_failure_msg "$NAME process is not running"
  fi
  ;;
 restart)
  # Restart the daemon.
  $0 stop && sleep 2 && $0 start
  ;;
 status)
  # Check the status of the process.
  if [ -e $PIDFILE ]; then
   status_of_proc -p $PIDFILE "$DAEMON $DAEMON_OPTS" "$NAME process" && exit 0 || exit $?
   log_success_msg "$NAME process is running"
  else
   log_failure_msg "$NAME process is not running"
  fi
  ;;
 reload)
  $0 restart
  ;;
 *)
  # For invalid arguments, print the usage message.
  echo "Usage: $0 {start|stop|restart|reload|status}"
  exit 2
  ;;
esac

PlexConnect will not start via the bat file - have to do it manually

$
0
0

I'm running win7, but I have to start PlexConnect manually. I've created a .bat file with the following:

c:\python27\python.exe -b C:\Program Files (x86)\PlexConnect-master\PlexConnect.py

but running it doesn't seem to start PlexConnect.

Also, neither does running the start.bat that is there.

I've installed Pywin32 but it threw a couple of errors at me during install but said it installed OK on the final screen.

Any clues as to how I can start it? I know how to add a TaskScheduler for when I reboot my PC and so the PC can start it automatically.

Any help would be great.

Cheers.


AppleTV Crashing

$
0
0
I really love having PlexConnect to use on my un-jailbroken AppleTV 2 with Plex Media Server. Mostly it works flawlessly. One issue I've noticed is with 1080p movies. Several times during the movie the AppleTV will crash and restart. I will see the spinning wheel on the screen, and then I will be back at the home screen. It seems to happen more often towards the end of a movie, though it can happen anytime. I haven't noticed this issue with 720p content.

I am running Plex Media Server 0.9.8.0 on Mac OS 10.8.4. I'm using the Plex connect build downloaded on 6/20. My AppleTV is running 5.3, although I have had the same issue on 5.2.

Thanks in advance for any light anone can shed on this!

The voice very low AC3 5.1 or DTS 5.1 Music sound OK play on App (google chrome)

$
0
0

Music sound OK but voice very low AC3 5.1 or DTS 5.1 server windows 10 pro plex server 1.0.0.2261
Plex app 2.7 on google chrome How can I set up the config, before upgrade no problem

On android app fine

ATV 3rebooting

$
0
0

Having a few issues with plex connect and atv3 rebooting when playing certain movies. Any idea where to start me debugging this problem?

Python.app not accepting incoming network connections

$
0
0

I have been running PlexConnect and Plex Media Server on my 2009 iMac with Yosemite 10.11 without any issues. I am using an Apple TV 3rd gen and it plays movies and TV shows with no problems. I just installed El Capitan 10.11.5 and my PMS and ATV3 still play movies and TV shows fine. However, now when I start my iMac (with El Capitan), I have 3 of the same pop ups (sometimes just 2) asking "Do you want the application "python.app" to accept incoming network connections?". I found an explanation from another post in October 2015 for the similar problem. I followed the steps here:
I turned off the firewall in Security & Privacy.
I booted into recovery mode (option key at start), in terminal - "csrutil disable"
Reboot into 10.11.5, in terminal "sudo codesign -f -s - /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app"
Reboot into recovery mode, in terminal - "csrutil enable".
Reboot into 10.11.5 and all is fine. I can run Plex Media Server and watch on my aTV3. As long as I don't enable my El Capitan firewall, I do not receive the 2 or 3 pop ups "Do you want the application python.app.....
When I do enable the firewall, the pop ups come back, but I still can watch on my aTV3 just fine.
I do see that I have Python 2.7 in my applications which must have been from past years. I read that python is now built in to OSX? I don't know much more than this about how it functions.
Can anyone help me to stop these pop ups? It is greatly appreciated.

Plex Media Server + PlexConnect on RaspberryPi: Match made in heaven (so far)

$
0
0

I'm not that much of a forum poster but i have to get this out:

thank you for making plexconnect!
I have set up PMS on my raspberry but still was searching for a good way to access my media (did not want to use Raspbian) through apple-tv and now PlexConnect has finally saved me from throwing everything out of the window.

With the proper setup (i am still fiddling a bit) it seems to be the most easy way to access my movies and tv shows with very little clicks and pretty solid performace!

i still have a few things to figure out, but so far i really love it.

if anybody has any questions regarding the setup, let me know

Viewing all 540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>