Also, I noticed that when I click on the Charts link, I see all the data and text but the image links of the films are broken (i.e. they do not appear)
What about the permissions on the /opt/ folder?
For the VM, are you using Virtualbox? VMWare Workstation?
Is the IP address for the VM in the same subnet as your PMS server (bridged adapter mode) or is Virtualbox networking in NAT mode?
using virtualbox and it is in Host-Only Bridge mode
and they are all on 192.168.1.xxx
root was the owner of the opt folder but changing it to www-data did not make a difference.
Still get the "Failed to access plexWatch database. Please check your server and config.php settings" on the history page
I was able to fix the image problem. It was related to having the "require users to authenticate" selected in the PMS settings.
When that is selected I had to add my windows 7 box IP address as well as the address on the VM. For the Windows 7 box 127.0.0.1 wasn't enough. I had to add 192.168.1.89 to make it work.
I can though see the history of the currently playing movie when I click on that movie
using virtualbox and it is in Host-Only Bridge mode
and they are all on 192.168.1.xxx
root was the owner of the opt folder but changing it to www-data did not make a difference.
Still get the "Failed to access plexWatch database. Please check your server and config.php settings" on the history page
I was able to fix the image problem. It was related to having the "require users to authenticate" selected in the PMS settings.
When that is selected I had to add my windows 7 box IP address as well as the address on the VM. For the Windows 7 box 127.0.0.1 wasn't enough. I had to add 192.168.1.89 to make it work.
I can though see the history of the currently playing movie when I click on that movie
Hmm, if that works then my guess would be that an element or row in your database is causing an issue. Try running this in a terminal session and then navigate to history.php to see what kind of errors report back to the apache log.
If I delete the plexWatch.db will plexwatch recreate the correct version?
What version of plexWatch are you using? You should be using v0.1.0 or above. If you upgrade to the latest it will automatically create that column for you without the need to lose your existing database.
What version of plexWatch are you using? You should be using v0.1.0 or above. If you upgrade to the latest it will automatically create that column for you without the need to lose your existing database.
The issue was, during the update to the newest plexwatch I didn't realize the old version wasn't being over written.
I was downloading the newest versions and instead of over witting plexWatch.pl it was creating plexWatch.pl.2
So I was still running the older version and not realizing it.
Now that I am running the newest version all seems to be running fine
thanks for the help, the interface you created looks really good
So the only real change I had to do to get it running was in the PMS settings to add the IP addresses because I and running with "Auth Required"
Installed, and so far all is well. The problem with showing deleted items on the Home Page is gone. If I find any bugs anywhere I'll be sure to let you know, but so far, so good. Thanks for all your hard work, and making this available to all of us! It is very much appreciated!
Any ideas why the user icon for my user account is some strange error icon from gravatar.com (). I don't see anywhere to create an icon in Plex Media Server, PlexWeb or PlexWatch/Web.
Any ideas why the user icon for my user account is some strange error icon from gravatar.com (). I don't see anywhere to create an icon in Plex Media Server, PlexWeb or PlexWatch/Web.
Not documented well, but you need to create a gravatar account (aside from plex). You can them add images on gravatar for any associated emails. I did that and after a couples hours/days it started to show up.
Note: I added a gravatar for all my shared users too however those still don't work yet. I'll investigate that at some point :)
I do see one minor error on the Home Page, but I am uncertain if it's an issue with plexWatch, or plexWatchWeb. When a new TV show is added, the display text on the Home Page that accompanies the Series Thumbnail always says Season 1, even if the season for the episode added is something other than Season 1. The Episode Number displayed is also incorrect, so far the episode number seems to be off by 1 on all the episodes I added today. None of this a big deal, but just thought I'd pass the info along.
Edit: Actually, now that I've added a few more, I think it is displaying the Season Number for Episode Number, The Season number for every show I've added so far today is what it is displaying for Episode number. I don;t see the actual episode number displaying for either.
Example: Adding a new episode of "Test Show - Season 5, Episode 3" is displaying on the Home Page as "Test Show - Season 1, Episode 5".
I do see one minor error on the Home Page, but I am uncertain if it's an issue with plexWatch, or plexWatchWeb. When a new TV show is added, the display text on the Home Page that accompanies the Series Thumbnail always says Season 1, even if the season for the episode added is something other than Season 1. The Episode Number displayed is also incorrect, so far the episode number seems to be off by 1 on all the episodes I added today. None of this a big deal, but just thought I'd pass the info along.
Hmm, you are correct sir. Will fix that now!
Yeah, PMS is grouping multiple episodes together (if recently added) just like it does in other clients so the only information it reports back to me is the Season #. I will have a new commit shortly that will fix this and a couple other reported issues.
One more issue that I just noticed. Perhaps it has already been reported. But I just had a shared User start watching something. The Home Page correctly notes that there is 1 Active User, but the Thumbnail that appeared in the previous version of pWW is not showing now with this new version. The User is shown correctly on PMS in the Now Playing section.
Installed, and as far as I can tell, has fixed all my previously reported issues. If i come across anything else in the coming days, I will be sure to mention them. Thanks again for all your time and effort!
On the user pages, under Recently watched, if media is no longer in PMS you get the following errors:
Warning: simplexml_load_file(http://10.0.1.200:32400/library/metadata/30370): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /Users/rob/Development/plexWatchWeb-dev/user.php on line 400
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://10.0.1.200:32400/library/metadata/30370” in /Users/rob/Development/plexWatchWeb-dev/user.php on line 400
Notice: Trying to get property of non-object in /Users/rob/Development/plexWatchWeb-dev/user.php on line 401
Notice: Trying to get property of non-object in /Users/rob/Development/plexWatchWeb-dev/user.php on line 407
On the user pages, under Recently watched, if media is no longer in PMS you get the following errors:
Warning: simplexml_load_file(http://10.0.1.200:32400/library/metadata/30370): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /Users/rob/Development/plexWatchWeb-dev/user.php on line 400
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://10.0.1.200:32400/library/metadata/30370” in /Users/rob/Development/plexWatchWeb-dev/user.php on line 400
Notice: Trying to get property of non-object in /Users/rob/Development/plexWatchWeb-dev/user.php on line 401
Notice: Trying to get property of non-object in /Users/rob/Development/plexWatchWeb-dev/user.php on line 407
You see these errors on the user.php page or in your server log after clicking on the link (info.php) to that item?
I see. I must have "show errors" turned off on my web server. I see the errors in apache logs but not onscreen so I thought it would be safe to leave it like this. Either I'll have to take your advice and not display removed media or come up with something else.