Posts: 1,252
Joined: Dec 2008
Reputation:
4
And what exactly needs 'converted'? xml files?
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
or if you have a linux box just run dos2unix on them and it will do it.
Yes its the xml files that need changed - the linefeeds/eol's need converting to linux format.
Posts: 1,252
Joined: Dec 2008
Reputation:
4
Why does this need to be done? This wont prevent anyone else from using the skin correct? And does this include ALL .xml files in the skin?
Posts: 2,710
Joined: Feb 2009
Reputation:
12
ppic
Skilled Python Coder
Posts: 2,710
this include all xml file yes !
that does not change skin behaviours, but allow a better valid xml search.
Posts: 1,190
Joined: Oct 2010
Reputation:
8
I use dreaweaver to edit .xml files. It has a nice feature that lets you search for text and then replace it automatically with new text. I think notepad++ can do the same thing. That way you could update the paths to your animation files quickly. You would still have to open all the xml files and run the find/replace text option. It might also be possible to run a batch script to search all the xml files and update the paths.
How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony Smart Control Remote| 52" Sharp Aquos LED TV | Denon AVR-X1000 |
| Freenas Server with 18TB ASRock Intel Avoton C2750 |
Posts: 1,252
Joined: Dec 2008
Reputation:
4
I'm hoping for something like that, however all xml's that point towards the animations folder are like this animations\ripples\*.png. I'm assuming I'd have to change the code to something related to special right?
Problem with that is I have no idea (Rocky5 did most of the coding) how the special path stuff works...
Posts: 17,243
Joined: Aug 2007
Reputation:
566
Hitcher
Team-Kodi Member
Posts: 17,243
Open up all your XMLs in Notepad++
CRTL+F and select Replace
Find >animations/
Replace >special://skin/
Replace All in All opened documents
Save all.
Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
Notepad++
Press ctrl+f
3rd tab is "Find in Files"
Option for Directory - Navigate to your 720p folder
Find what: animations/
That'll will look in all files in the 720p folder for the phrase "animations/"
Now do a "find and replace"
Find what: animations/
Replace with: special://skin/animations/
Short answer you need to put special://skin/ before the path
Check out Night - A Skin For XBMC
Posts: 1,252
Joined: Dec 2008
Reputation:
4
Thanks for the help guys! you guys are freaking geniuses!