This is what I have and everything works flawlessly: /tv/We Own This City (2022) /Season 01/We Own This City (2022) S01E01 -releasegroup.mkv Put the tvdb ID at the end of your series folder name and that should be the only place you need it. Also, Plex doesn't know what to do with them anyways because they need to be in brackets with a specific db name before it like. Q: I cant access the plex folder to run thus script?Ī: You may have to give yourself permission on the plex folder.The numbers at the end of your filename don't need to be included. Q: I have a Suggestion/Issue for the script, how do I suggest it?Ī: Do a pull request with the change or submit it as an issue with the suggestion. Plex-metaclean - will have issue if metadata is not stored in XML files. ![]() You can email me Before contacting me, please make sure you have ALL the needed files. BTW The giftcard amount can be changed to a min of $1.Ī: You can also PM me on reddit or email meĢ. Q: The script file looks all messy in notepad, How do I view it?Ī: Try using wordpad or what I recommend, Notepad Ī: If you would like to donate to me Please pick an item/giftcard from my amazon wishlist or Contact me about donating, Thanks. I may make improvements to the script to make it easier to use. I recommend you first use the dryrun option to make sure it works fine. I have tested this on a NAS running the plex server, I DO NOT know if this works on other plex servers ATM. Powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-Titles.ps1 Powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-MetaClean.ps1 -argument -dry -tv -movie WARNING: DO NOT USE if your metadata folders dont have XML files in them, otherwise ALL folders will be deleted. Runs and shows what will be deleted w/o the -dry switch (need to do a switch above too) Or use a switch/argument for automation Switch Powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-MetaClean.ps1 Tip: Use my Plex-Ttiles script to know were the folder is for the TV Show and/or Movie you want to edit is Usage Meta Clean Note: This doe not work on a BLANK xml file, sorry. In Plex tell the show you edited to refresh metadata (not sure if this is needed) ![]() Note: I recommend you add to the Info.xml file in Ĭlick add Add Cast Member button in the Gui, and fill in the info ![]() Powershell.exe -NoProfile -ExecutionPolicy Bypass -File c:/Plex-Cast.ps1įor the above, Please note you need change the c:/ to the fullpath of your fileĬlick File -> Open and select the xml file associated with the TV or Movie that you want to edit. Plex-Titles.ps1 -Gets you a list of items in your library and shows what tv/movie corresponds to what metadata folder Working On Folder does not have the following file \Contents\_combined\Info.xml.Plex-MetaClean.ps1 -Removes metadata folders (TV Shows and/or Movies) that meet the following conditions Plex-Cast.ps1 -Lets you edit the xml file to add or remove cast members from the file. Various powershell scripts for plex servers. Since PLEX has been using a single SQLite database file for there metadata agent these scripts will NOT work. These scripts will only work if the data is stored in XML files.
0 Comments
Leave a Reply. |