justinemter / pseudo-channel

This is a python based cli-app using the python-plex-api to control a plex-client and act like a real TV channel with show scheduling, commercial breaks, movie nights, etc. "Home-Brewed TV Channel(s) for Hackers"
GNU General Public License v3.0
128 stars 18 forks source link

Unknown client name #50

Closed NolanBecker closed 6 years ago

NolanBecker commented 6 years ago

I'm just confused on connecting it to the client. I have a raspberry pi setup with RasPlex and when I try to run PseudoChannel.py it tells me "Unknown client name: RasPlex". The System Name of my rasplex is "RasPlex". Can you tell me how to set up the client so that PseudoChannel can find it?

Thanks, Nolan

irodimus commented 6 years ago

Try running PseudoChannel.py -c and see what clients show up. If your client doesn't show there, that could cause your issue.

justinemter commented 6 years ago

If that doesn't work, you may not have authenticated your RasPlex with your Plex Server... make sure you can use your RasPlex device as-is to play your Plex content outside of PseudoChannel. That'll ensure that it is recognized.

NolanBecker commented 6 years ago

I've authenticated it and connected to my Plex Server and can watch videos without any problem, but when I run PseudoChannel.py -c nothing shows up. I can try reinstalling RasPlex completely, maybe that will help.

justinemter commented 6 years ago

hmm, it might be the plex_token.py file... have you moved the plex_token.py from the project directory up one level so it sits just outside the ./pseudo-channel/ dir? Or if you try and run python PseudoChannel.py -u it should throw an error that it cannot find the plex_token.py file and/or it cannot connect to your Plex lib.

justinemter commented 6 years ago

@NolanBecker @irodimus I've been tweaking the xml today and committing my changes to the master repo... I'd hate for anyone to pull the latest commit to find that their xml has been overwritten. Just wanted to give you a heads up!

NolanBecker commented 6 years ago

Thanks for the heads up! My plex_token.py file is in the right place and seems to be working correctly. It updates the database and is able to connect to my plex server and find shows without any problem so I don't think that's the issue. I'm re-writing RasPlex to my raspberry pi sd card right now, so I will see if that fixes it. I'm also going to connect my Raspberry Pi to a different internet network and see if that helps at all.

justinemter commented 6 years ago

Ok great. I remember re-naming my RasPlex a while ago and there are actually 2 places where you name it in settings/preferences.. 1 of the places affects the actual name as seen by Plex, and the other - I don't really know. I think I used this thread to fix the issue for me: https://github.com/RasPlex/RasPlex/issues/174. Scroll to the bottom to find the solution I used... this helped me change the default name from "RasPlex" to "RasPlex2". This may or may not help.