I have given up on making this change as it just gets overwritten with the new versions. I hope it's configurable someday...
I have given up on making this change as it just gets overwritten with the new versions. I hope it's configurable someday...
I only started using your method a few days ago, and even though I have Plex auto-updates turned off, the plex.js file still seems to be resetting itself at least once a day. I noticed that a newer version of plex.js is four lines longer than a previous version that I have, yet I did not update Plex. I was hoping to just periodically overwrite the plex.js file, but if it is changing itself (without updating Plex), that doesn't seem like a good idea.
It is frustrating that this isn't a configurable option, and also that there are no actor listings at all for TV Shows. I really miss these things from XBMC.
I only started using your method a few days ago, and even though I have Plex auto-updates turned off, the plex.js file still seems to be resetting itself at least once a day. I noticed that a newer version of plex.js is four lines longer than a previous version that I have, yet I did not update Plex. I was hoping to just periodically overwrite the plex.js file, but if it is changing itself (without updating Plex), that doesn't seem like a good idea.
It is frustrating that this isn't a configurable option, and also that there are no actor listings at all for TV Shows. I really miss these things from XBMC.
My guess would be that Plex/Web is a separate update that can't be turned off. You would probably be safe just replacing that file as I'd assume you'll only lose new features that they write into it and that shouldn't be a big deal. You could just back up the file before replacing it just in case as well.
Agreed about it being frustrating as well as missing actors for TV shows.
I just posted this as a feature request in the "Feature & Bug Voting" forum. Hopefully some devs will take notice. https://forums.plex.tv/topic/144868-option-to-change-the-limit-of-cast-members-and-genre-tags-displayed-in-plex-web/
If anyone really wants this feature added, please vote and reply on that thread. Thanks.
Cheers.
Well, only one person has voted on the feature request link in my last post on this thread. I doubt that the genre and actor limit will ever change as this isn't exactly a high priority issue, so I figured out a workaround that is easier than manually editing the plex.js file every day.
It simply requires a "search and replace text" tool. I am using this one: https://sites.google.com/site/simplesearchreplace/. I created a very simple VBS script that edits plex.js automatically.
First, create an empty text file with a .vbs extension. Name it whatever you want. I created a file named "fix plex.vbs".
Add this code to the file:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "ssr.exe -f ""C:\Users\UserName\AppData\Local\Plex Media Server\Plug-ins\WebClient.bundle\Contents\Resources\js\plex.js"" -a -s {model:this.model,key:''genre'',tags:t,maxLen:50,maxTags:2} -r {model:this.model,key:''genre'',tags:t,maxLen:50,maxTags:5} -s {model:this.model,key:''actor'',tags:t,maxLen:50,maxTags:5} -r {model:this.model,key:''actor'',tags:t,maxLen:50,maxTags:12} --no-backup", 0, True
Set WshShell = Nothing
I have ssr.exe in my Windows PATH so I did not need to specify the directory from which to run it. Otherwise, I suppose you could put the .vbs file in the same directory as ssr.exe, or specify the full path to ssr.exe in the script. Simply change the last number of each string after the "-r" to whatever number genre and actors that you want to display in Plex Web as described in the first post on this thread. Also be sure to change "UserName" to your own Windows user name.
Now you can simply run the .vbs file that you created whenever you want to "fix" the plex.js file rather than editing it manually each time. I added it as a scheduled task in Windows Task Scheduler to run the script every 30 minutes after I log on to my computer. I suppose you could make it run every minute and you wouldn't notice the trivial CPU usage, but I figured every 30 minutes is good enough.
It's worth noting that I tried the program "FNR.exe," which works fine as well, but it will always pop up a DOS window even when it's set as a background task. SSR.exe works perfectly.
I realize that this may seem like a lot of effort for such a "trivial" issue. I suppose I'm just a little OCD when it comes to simple details such as this. Hopefully this helps someone else who may feel the same way.
Well, only one person has voted on the feature request link in my last post on this thread. I doubt that the genre and actor limit will ever change as this isn't exactly a high priority issue, so I figured out a workaround that is easier than manually editing the plex.js file every day.
It simply requires a "search and replace text" tool. I am using this one: https://sites.google.com/site/simplesearchreplace/. I created a very simple VBS script that edits plex.js automatically.
First, create an empty text file with a .vbs extension. Name it whatever you want. I created a file named "fix plex.vbs".
Add this code to the file:
Set WshShell = CreateObject("WScript.Shell") WshShell.Run "ssr.exe -f ""C:\Users\UserName\AppData\Local\Plex Media Server\Plug-ins\WebClient.bundle\Contents\Resources\js\plex.js"" -a -s {model:this.model,key:''genre'',tags:t,maxLen:50,maxTags:2} -r {model:this.model,key:''genre'',tags:t,maxLen:50,maxTags:5} -s {model:this.model,key:''actor'',tags:t,maxLen:50,maxTags:5} -r {model:this.model,key:''actor'',tags:t,maxLen:50,maxTags:12} --no-backup", 0, True Set WshShell = NothingI have ssr.exe in my Windows PATH so I did not need to specify the directory from which to run it. Otherwise, I suppose you could put the .vbs file in the same directory as ssr.exe, or specify the full path to ssr.exe in the script. Simply change the last number of each string after the "-r" to whatever number genre and actors that you want to display in Plex Web as described in the first post on this thread. Also be sure to change "UserName" to your own Windows user name.
Now you can simply run the .vbs file that you created whenever you want to "fix" the plex.js file rather than editing it manually each time. I added it as a scheduled task in Windows Task Scheduler to run the script every 30 minutes after I log on to my computer. I suppose you could make it run every minute and you wouldn't notice the trivial CPU usage, but I figured every 30 minutes is good enough.
It's worth noting that I tried the program "FNR.exe," which works fine as well, but it will always pop up a DOS window even when it's set as a background task. SSR.exe works perfectly.
I realize that this may seem like a lot of effort for such a "trivial" issue. I suppose I'm just a little OCD when it comes to simple details such as this. Hopefully this helps someone else who may feel the same way.
Haven't tried it yet but this sounds terrific! I'd been thinking about doing something like this but haven't been using Plex/web as much as I used to so didn't feel like putting in the effort to write a vbscript. Great work saving us time!
The WebClient.bundle file doesn’t exist anymore in my installation. Anyone know if the relevant code has been moved somewhere else or just removed entirely?
Is there a way to display more than 2 genres now? The plex.js file don´t exits anymore 
I have same question as todesstelzer. Is there another way to display more than 2 genres tag? Thanks 
I have the same question as todesstelzer and Happynarium. Where can I increase number of tags?
I have the same question as todesstelzer and Happynarium and PuddyServer. How can I increase how to tags?
How to increase more than 2 tags! i want that option added aswell!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.