Win Batch replace <sorttitle> with <title> value? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Win Batch replace <sorttitle> with <title> value? (/showthread.php?tid=368185) |
Batch replace <sorttitle> with <title> value? - ntropy - 2022-05-09 Is there a way to batch replace <sorttitle> values with <title> values in a group of NFO files? Or just clear the <sorttitle> value in a group of NFO files? I have a bunch of videos that are non-scrape-able that I want Kodi to sort by the <title> metadata I've added but Kodi is sorting by <sorttitle> which is derived from the filename which is not the same as the <title> field. RE: Batch replace <sorttitle> with <title> value? - ntropy - 2022-05-09 Even if I manually replace every <sorttitle> field with a period (.) in Media Companion the sorting in Kodi then switches to "full path". Ugh. RE: Batch replace <sorttitle> with <title> value? - ntropy - 2022-05-09 Also, in Movies Table view in Media Companion, keyboard copy and paste copies the filename not the Title (over to Sort Title field). In order to copy Title you have to use the mouse context menu to select copy. This makes manually copying each Title into the Sort Title field so much slower. Ughhhh. edit: correction - copy using keyboard copies *all* the fields, not just the Title field selected. RE: Batch replace <sorttitle> with <title> value? - ntropy - 2022-05-09 And editing all the Sort Title fields manually, resets/removes the video's watched status. Ughh. RE: Batch replace <sorttitle> with <title> value? - Sylfest - 2022-06-02 If you have not resolved this yet, than I think Notepad ++ can do what you want. A tutorial i used for other textfiles at work, non Kodi related: https://darrenoneill.eu/?p=1250 \ Robert RE: Batch replace <sorttitle> with <title> value? - ntropy - 2022-06-02 (2022-06-02, 08:06)Sylfest Wrote: If you have not resolved this yet, than I think Notepad ++ can do what you want. I just got in the habit of copying the title to the sort title every time I edit the NFO data. RE: Batch replace <sorttitle> with <title> value? - Juan Mortyme - 2022-06-26 @ntropy As someone else pointed out, Notepad++ will do that, the search & replace can do batch editing. Just use the 'find in files' tab on the search dialog. |