07.10.2021, 10:17
Našiel som príkaz do Win Powershell na masové prepísanie.
powershell -Command "(gc guide.xml) -replace '>Animované<', '>Cartoons/Puppets</category<' -replace '>Sci-fi<', '>Science Fiction/Fantasy/Horror<' -replace '>Drama<' , '>Movie/Drama<' -replace '>Akční a dobrodružný<' , '>Detective/Thriller<' -replace '>Komedie<' , '>Comedy<' -replace '>Oceňované<' , '>Serious/Classical/Religious/Historical Movie/Drama<' -replace '>Detektivní<', '>Detective/Thriller<' -replace '>Dokumenty<', '>Documentary<'-replace '>Vše<', '>Undefined<' -replace '>Nachrichten<', '>News/Current Affairs<'-replace '>Natur und Tiere<', '>Nature/Animals/Environment<'-replace '>Unterhaltung<', '>Magazines/Reports/Documentary</category<' | Out-File -encoding ASCII xmltv.xml"
powershell -Command "(gc guide.xml) -replace '>Animované<', '>Cartoons/Puppets</category<' -replace '>Sci-fi<', '>Science Fiction/Fantasy/Horror<' -replace '>Drama<' , '>Movie/Drama<' -replace '>Akční a dobrodružný<' , '>Detective/Thriller<' -replace '>Komedie<' , '>Comedy<' -replace '>Oceňované<' , '>Serious/Classical/Religious/Historical Movie/Drama<' -replace '>Detektivní<', '>Detective/Thriller<' -replace '>Dokumenty<', '>Documentary<'-replace '>Vše<', '>Undefined<' -replace '>Nachrichten<', '>News/Current Affairs<'-replace '>Natur und Tiere<', '>Nature/Animals/Environment<'-replace '>Unterhaltung<', '>Magazines/Reports/Documentary</category<' | Out-File -encoding ASCII xmltv.xml"