Very nice! I'll try to get this to work, but first, will this work from an external web server not on the same network as the PMS or plexWatch? I have a Hosted server I run my website on, and was wondering if I could run this page from there?
Edit: Okay, by specifying the port my PMS is using in the config file, along with the PMS IP, I've been able to get it to show my PMS as Online in plexWatchWeb on my Hosted server. But I don't think it can find my plexWatch.db on my PMS Windows box, so nothing actually displays. All I get is a blank page. I'll keep playing around, but if anyone has any ideas, I'd be glad to try them. lol...
Very nice! I'll try to get this to work, but first, will this work from an external web server not on the same network as the PMS or plexWatch? I have a Hosted server I run my website on, and was wondering if I could run this page from there?
Edit: Okay, by specifying the port my PMS is using in the config file, along with the PMS IP, I've been able to get it to show my PMS as Online in plexWatchWeb on my Hosted server. But I don't think it can find my plexWatch.db on my PMS Windows box, so nothing actually displays. All I get is a blank page. I'll keep playing around, but if anyone has any ideas, I'd be glad to try them. lol...
I'm not sure I'm entirely clear on your infrastructure but it sounds like you have a website hosted somewhere and want to try and run plexWatch/Web on this server to access your home Windows PMS server and plexWatch instance? If so, plexWatch/Web was not designed for this type of setup.
There is no myPlex authentication built into plexWatch/Web at this time. The web server for plexWatch/Web should be on the same local network PMS and plexWatch are on to properly access the PMS web API. My suggestion for Windows users not familiar with web server setup would be to download and install XAMPP on the same server PMS and plexWatch are running on. Also, plexWatch Windows users may run into some issues with plexWatch/Web until ljunkie updates plexWatch for Windows to v0.1.0 or above.
I'm not sure I'm entirely clear on your infrastructure but it sounds like you have a website hosted somewhere and want to try and run plexWatch/Web on this server to access your home Windows PMS server and plexWatch instance? If so, plexWatch/Web was not designed for this type of setup.
There is no myPlex authentication built into plexWatch/Web at this time. The web server for plexWatch/Web should be on the same local network PMS and plexWatch are on to properly access the PMS web API. My suggestion for Windows users not familiar with web server setup would be to download and install XAMPP on the same server PMS and plexWatch are running on. Also, plexWatch Windows users may run into some issues with plexWatch/Web until ljunkie updates plexWatch for Windows to v0.1.0 or above.
Thanks for the info. I guess it's not for me. But such is life. You don't get everything you want. lol
I will mention that I did not need MyPlex to get your page to find my server. I was able to do that easily by simply specifying the port of my server along with the IP address in your config file. Where it fails is the inability to access the plexWatch.db. Finding the server is not an issue.
Thanks for the info. I guess it's not for me. But such is life. You don't get everything you want. lol
I will mention that I did not need MyPlex to get your page to find my server. I was able to do that easily by simply specifying the port of my server along with the IP address in your config file. Where it fails is the inability to access the plexWatch.db. Finding the server is not an issue.
In any case, good luck with this.
Including the port number with the ip address in config.php will cause issues for the rest of the app. In a future update to plexWatch/Web I will include a new variable in config.php for the port number. This will allow those of you using non-standard ports (32400, 32443) to use plexWatch/Web.
hthighway had a good suggestion using plexWatch on your web server if the server meets all requirements for plexWatch or if you have access to add the additional requirements.
Have you tried running plexWatch from your web server?
And then have plexwatch/web find the db file there?
Nah, it was going to be more trouble than it was worth. lol
But I did install XAMPP, as suggested. I've used web sever packages like it more than a few times in the past (I've been a developer for about 30 years now). I've just been trying to avoid having to have a web server process running on this machine, but I figured I'd install it to try this out.
I basically have it all working. Unfortunately I'm getting a bunch of errors from the PlexWatchWeb scripts that I have a feeling are related to not having the latest version of plexWatch built for Windows yet. Parts of it work fine, other parts simply fail with errors for undefined fields/variables. Probably going to have to wait for Windows plexWatch to be updated before actually being able to use this.
Nah, it was going to be more trouble than it was worth. lol
But I did install XAMPP, as suggested. I've used web sever packages like it more than a few times in the past (I've been a developer for about 30 years now). I've just been trying to avoid having to have a web server process running on this machine, but I figured I'd install it to try this out.
I basically have it all working. Unfortunately I'm getting a bunch of errors from the PlexWatchWeb scripts that I have a feeling are related to not having the latest version of plexWatch built for Windows yet. Parts of it work fine, other parts simply fail with errors for undefined fields/variables. Probably going to have to wait for Windows plexWatch to be updated before actually being able to use this.
As I was writing to report the same thing this reply was posted :) Same thing, home page and charts works, history errors out and Users show up but cannot click them. I'll assume I need to just wait for an updated PlexWatch for Windows so will report back then. For now, it's looking great! The error for reference is:
Warning: SQLite3::query(): Unable to prepare statement: 1, no such column: paused_counter in D:\xampp\htdocs\plexWatchWeb\history.php on line 76
Fatal error: Call to a member function fetchArray() on a non-object in D:\xampp\htdocs\plexWatchWeb\history.php on line 100
Since paused_counter isn't present in current Windows releases, it makes sense that this error would be present currently.
As I was writing to report the same thing this reply was posted :) Same thing, home page and charts works, history errors out and Users show up but cannot click them. I'll assume I need to just wait for an updated PlexWatch for Windows so will report back then. For now, it's looking great! The error for reference is:
Warning: SQLite3::query(): Unable to prepare statement: 1, no such column: paused_counter in D:\xampp\htdocs\plexWatchWeb\history.php on line 76
Fatal error: Call to a member function fetchArray() on a non-object in D:\xampp\htdocs\plexWatchWeb\history.php on line 100
Since paused_counter isn't present in current Windows releases, it makes sense that this error would be present currently.
yeah, that's the same functionality and resulting error's I am seeing. Thanks for confirming it for me! hehe... :)
Can I not just get a simple app that looks at , then converts them to HTML for me?
I'm perfectly capable of installing all the dependencies required, I just don't want to.
The more dependencies installed, the more unstable a machine might run.
The more time it takes me to configure/keep up to date/keep secure with patches.
For now, I give up, and hope PMS devs will get a clue and include something in PMS by default for historical reporting for users I share with.
Now Playing and the myplex site devices connected just don't cut it.
Wow, that's just rude. This is not an offical Plex addon, but a 3rd party, made in the developers own freetime for the few of use who actually have the need for this. And it's not like the UI is halfarsed, it's on par with the Plex/Web UI, and that says alot.
I thank ljunkie and Eleese for the work they both did for those that have the time and the patience for the effort of configuring and installing additional software.
Earlier in my life, I had many hours I could spend installing/updating technology.
Now I do not, and wish for a drop-in solution.
I simply search for a simple drop-in solution, and keep finding 'add <Apache or IIS or python or php or perl or , cross my eyes, dot my Ts.
As beautiful as this project is, it doesn't meet my desire.
Sorry to say, I´m not getting much of this to work. Just installed the 0.0.3 dev.
Home gives me:
Warning: simplexml_load_file(http://192.168.1.50:443/status/sessions): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in C:\xampp\htdocs\plexWatchWeb\index.php on line 67
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://192.168.1.50:443/status/sessions” in C:\xampp\htdocs\plexWatchWeb\index.php on line 67
Failed to access Plex Media Server. Please check your server and config.php settings.
History gives me:
Warning: SQLite3::query(): Unable to prepare statement: 1, no such column: paused_counter in C:\xampp\htdocs\plexWatchWeb\history.php on line 76
Failed to access plexWatch database. Please check your server and config.php settings.
Users appear, clicking on them gives me an SQLite error.
Charts work, but no icons load.
I tried disabling authentication on local networks, didn't change anything. Ideas?
Sorry to say, I´m not getting much of this to work. Just installed the 0.0.3 dev.
Home gives me:
Warning: simplexml_load_file(http://192.168.1.50:443/status/sessions): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in C:\xampp\htdocs\plexWatchWeb\index.php on line 67
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://192.168.1.50:443/status/sessions” in C:\xampp\htdocs\plexWatchWeb\index.php on line 67
Failed to access Plex Media Server. Please check your server and config.php settings.
History gives me:
Warning: SQLite3::query(): Unable to prepare statement: 1, no such column: paused_counter in C:\xampp\htdocs\plexWatchWeb\history.php on line 76
Failed to access plexWatch database. Please check your server and config.php settings.
Users appear, clicking on them gives me an SQLite error.
Charts work, but no icons load.
I tried disabling authentication on local networks, didn't change anything. Ideas?
The history errors won't resolve until your plexWatch database is upgraded to include the "paused_counter". This is a plexWatch v0.1.0 feature.
Two questions for the home page errors,
Is your PMS mapped to port 443 for the standard http port or the https port?
Is the server running plexWatch and plexWatch/Web on the same LAN as your PMS server? If not, do you have you the option configured in plex/Web for List of networks that are allowed without auth?
My apologies.
I do not mean to be or sound rude.
I thank ljunkie and Eleese for the work they both did for those that have the time and the patience for the effort of configuring and installing additional software.
Earlier in my life, I had many hours I could spend installing/updating technology.
Now I do not, and wish for a drop-in solution.
I simply search for a simple drop-in solution, and keep finding 'add <Apache or IIS or python or php or perl or , cross my eyes, dot my Ts.
As beautiful as this project is, it doesn't meet my desire.
plexWatch is a drop in for windows. It's a simple exe and there's a vbs script you add to the scheduler. I'm not sure it gets easier unless I write an installer (not going to happen).
plexWatch requires a web server + php. Again in windows that's a few simple exes to install.
note: I'll hopefully be releasing a new version for windows soon.