Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Win Batch replace <sorttitle> with <title> value?
#1
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.
Reply
#2
Even if I manually replace every <sorttitle> field with a period (.) in Media Companion the sorting in Kodi then switches to "full path".  Ugh.
Reply
#3
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.
Reply
#4
And editing all the Sort Title fields manually, resets/removes the video's watched status.   Ughh.
Reply
#5
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
Reply
#6
(2022-06-02, 08:06)Sylfest Wrote: 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

I just got in the habit of copying the title to the sort title every time I edit the NFO data.
Reply
#7
@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.
"When the going gets weird, the weird turn pro." - Hunter S. Thompson
Using: Windows 10 Pro | Kodi 21.1 Aeon MQ7 Multi-Mod 1.1.0| Kodi 21.1  + Aeon MQ9 Multi-Mod 1.4.2
Reply

Logout Mark Read Team Forum Stats Members Help
Batch replace <sorttitle> with <title> value?0
This forum uses Lukasz Tkacz MyBB addons.