How To Change Xml File In Plez
To Download get to -> Plex Tools -Release
Current Version
Cast Edit: 1.0.0
(March 05, 2020)
Meta Clean: 1.one.one
(Febuary 08, 2020)
Title List: 1.0.1
(Febuary 04, 2020)
Contents
- Clarification
- Working On
- Usage Cast Edit
- Usage Meta Clean
- Usage Titles
- Notes
- FAQ
Clarification
Various powershell scripts for plex servers.
Plex-Bandage.ps1
-Lets y'all edit the xml file to add or remove cast members from the file.
Plex-MetaClean.ps1
-Removes metadata folders (TV Shows and/or Movies) that encounter the following conditions
- Folder does not take the post-obit file
\Contents\_combined\Info.xml
- There is no tile in the file above
Plex-Titles.ps1
-Gets you a list of items in your library and shows what tv/movie corresponds to what metadata folder
Working On
Nil Atm
Usage Cast Edit
-
Run the script
powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-Cast.ps1
For the above, Please note you need change the c:/ to the fullpath of your file -
Click File -> Open up and select the xml file associated with the Television receiver or Motion-picture show that you lot want to edit.
Notation: I recommend y'all add to theInfo.xml
file incom.plexapp.agents.localmedia
-
Click add together
Add Bandage Member
push button at of thr Gui, and fill in the info -
Click File -> Save
-
In Plex tell the show you edited to refresh metadata (non sure if this is needed)
-
Your done
Tip: Use my Plex-Ttiles script to know were the folder is for the TV Show snd/or Moving-picture show you want to edit is
Usage Meta Clean
- Run the script
powershell.exe -NoProfile -ExecutionPolicy Featherbed -File c:/Plex-MetaClean.ps1
For the above, Delight note you demand change the c:/ to the fullpath of your file
or use a switch/argument for automation
Switch | Description |
---|---|
-flick | Cleans the motion picture metadata folder |
-boob tube | Cleans the television receiver metadata folder |
-dry | Runs and shows what will be deleted west/o the -dry out switch (need to exercise a switch higher up too) |
WARNING: Due to how plex now store Picture metadata all folders for movies volition be deleted. See Effect
Example: powershell.exe -NoProfile -ExecutionPolicy Featherbed -File c:/Plex-MetaClean.ps1 -statement -dry -idiot box -motion-picture show
- Enjoy a cleaner metadata folder
Usage Titles
- Run the script
powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-Titles.ps1
For the above, Please note you need change the c:/ to the fullpath of your file
Notes
I have tested this on a NAS running the plex server, I Practice NOT know if this works on other plex servers ATM. I recommend you offset use the dryrun option to make sure it works fine.
I may make improvements to the script to make it easier to use.
FAQ
Q: The script file looks all messy in notepad, How practise I view it?
A: Try using wordpad or what I recommend, Notepad++ https://notepad-plus-plus.org/
Q: Do you accept any donations?
A: If you lot would like to donate to me Please pick an item/giftcard from my amazon wishlist or Contact me about donating, Thanks. BTW The giftcard corporeality can be changed to a min of $1.
Wishlist: https://www.amazon.com/gp/registry/wishlist/YBAYWBJES5DE/
Q: How can I contact you?
A: You can also PM me on reddit or electronic mail me
1. reddit /u/madbomb122 https://world wide web.reddit.com/user/madbomb122
ii. You tin e-mail me @ madbomb122@gmail.com.
Note Before contacting me, please make sure you have ALL the needed files.
Q: Tin can I run the script safely?
A: Ples-titles
- is 100% safe.
Plex-metaclean
- unlikly to crusade issues for tv shows only, can cause a show to not exist listed if it accidently deletes a incorrect folder.
- issue with movies due to how plex stores moving picture metadata at present. See Consequence
Plex-Cast
- is 100% safe.
Q: I have a Suggestion/Issue for the script, how do I suggest information technology?
A: Practice a pull asking with the alter or submit information technology as an effect with the suggestion.
Q: I cant admission the plex folder to run thus script?
A: You may have to requite yourself permission on the plex folder.
Source: https://github.com/madbomb122/PlexTools
Posted by: alvarezhourgen39.blogspot.com
0 Response to "How To Change Xml File In Plez"
Post a Comment