![]() ![]() 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |