xboxscene.org forums

Author Topic: What Do You Use To Edit The Xml?  (Read 76 times)

Nailbunny

  • Archived User
  • Newbie
  • *
  • Posts: 18
What Do You Use To Edit The Xml?
« on: November 16, 2003, 09:08:00 AM »

I meant WordPad, not Notepad.

I'm trying to use XBMP, but I can't get it to see my video files in F:Videos.  I've edited the config.xml, but it still comes up empty.  I thought maybe in my edited of the config, I'm doing something wrong?  I'm using Wordpad and saving it as an RTF file.  When I try to save as text, it prompts that it will lose formatting.  I've tried both ways and when saved as text, it locked up trying to access the HDD.  I've reinstalled it a few times now with no luck each time.

Now I'm going to try to use XBMC, but I would like XBMP to work.

Also, I'm using X2 4277 BIOS w/Slayers' 2.5 install with XBMP upgraded to the 10-29-03 version.
Logged

bong888

  • Archived User
  • Sr. Member
  • *
  • Posts: 480
What Do You Use To Edit The Xml?
« Reply #1 on: November 16, 2003, 09:19:00 AM »

open your config.ini file with note pad. drag and drop config.ini in note pad

copy my config.ini
and paste over yours, this is the hole file. now dont save as, just close - it will ask you if u want to save changes , say yes
your videos will have to be in a folder called video on the f: drive or g: drive

the leds are set to cycle though red ,green and orange
hope this helps

<configuration>
   
<media>

   <map>C:,Harddisk0Partition2</map>
   <map>E:,Harddisk0Partition1</map>
   <map>F:,Harddisk0Partition6</map>
   <map>G:,Harddisk0Partition7</map>




   
   
   
   
   
   
   
   
   

   <local>
       
       <address*>192.168.1.3</address*>
       <subnet*>255.255.255.0</subnet*>
       <gateway*>192.168.1.1</gateway*>
       <nameserver>192.168.1.1</nameserver>
       <playlists>$HOMEplaylists</playlists>
       <timeserver*>207.46.248.43</timeserver*>
       <cddbserver>194.97.4.18</cddbserver>
       <thumbnails>$HOMEthumbs</thumbnails>
       <bookmarks>$HOMEbookmarks</bookmarks>
   <subtitles>$HOMEsubtitles</subtitles>
       <cddb>$HOMEcddb</cddb>  
       <imdb>$HOMEimdb</imdb>  
   </local>

   
   
   
   
   <music>
     <visible>true</visible>
     <share>
       <name>Music on my PC</name>
       <url>smb://username:password@workgroup/computer/share</url>
       <cachesize>256</cachesize>
     </share>
     <share>
       <name>Live ShoutCast from XboX</name>
       <url>f:musicshoutcast</url>
   <cachesize>128</cachesize>
     </share>
     <share>
       <name>F Drive</name>
       <url>f:musicRecordings</url>
     </share>
     <share>
       <name>G drive</name>
       <url>g:music</url>
     </share>
     <share>
       <name>XboX Music Playlists</name>
       <url>$HOMEplaylists</url>
       <cachesize>32</cachesize>
     </share>
     <share>
       <name>CD/DVD in Xbox (UDF)</name>
       <url>d:</url>
     </share>
     <share>
       <name>CD/DVD in Xbox (ISO)</name>
       <url>iso9660:</url>
     </share>
     <share>
       <name>CDDA</name>
       <url>cdda:</url>
     </share>
   </music>

   <pictures>
     <visible>true</visible>
     <share>
       <name>Pictures on my PC</name>
       <url>smb://username:password@workgroup/computer/share</url>
       <cachesize>256</cachesize>
     </share>
     <share>
       <name>Pictures on Pictures F drive</name>
       <url>f:pictures</url>
     </share>
      <share>
       <name>Pictures G Drive</name>
       <url>g:pictures</url>
     </share>
     <share>
       <name>CD/DVD in Xbox (UDF)</name>
       <url>d:</url>
     </share>
     <share>
       <name>CD/DVD in Xbox (ISO)</name>
       <url>iso9660:</url>
     </share>
   </pictures>

   <videos>
     <visible>true</visible>
     <share>
       <name>Videos on my PC</name>
       <url>smb://username:password@workgroup/computer/share</url>
       <cachesize>256</cachesize>
     </share>
     <share>
       <name>Videos on XboX</name>
       <url>f:video</url>
       <cachesize>8192</cachesize>
     </share>
     <share>
    <name>G Drive</name>
    <url>g:video</url>
    <cachesize>8192</cachesize>
    </share>

     <share>
       <name>Xbox Video Playlists</name>
       <url>$HOMEplaylists</url>
       <cachesize>32</cachesize>
     </share>
     <share>
       <name>CD/DVD in Xbox (UDF)</name>
       <url>d:</url>
       <cachesize>8192</cachesize>
     </share>
     <share>
       <name>CD/DVD in Xbox (ISO9660)</name>
       <url>iso9660:</url>
       <cachesize>8192</cachesize>
     </share>
   </videos>

   <tvguide>
     <visible>false</visible>
     <autoprocess>true</autoprocess>
   </tvguide>

   
   <apps>
     <visible>false</visible>
     <share>
       <name>HDD</name>
       <url>f:Apps</url>
     </share>
   </apps>
   
   
   <applications>
      <bookmark>
        <name>Emulators</name>
        <path>e:appsemulators</path>
      </bookmark>
      <bookmark>
        <name>Utilities</name>
        <path>e:appsutils</path>
      </bookmark>
      <bookmark>
        <name>Shortcuts</name>
        <path>e:appsxbmpshortcuts</path>
      </bookmark>
   </applications>

   <extensions>
       <music>ac3|aac|nfo|pls|rm|sc|mpa|wav|wma|ogg|mp3|mp2|m3u</music>
       <videos>nfo|rm|m3u|ifo|mov|qt|divx|xvid|bivx|vob|pva|wmv|asf|asx|ogm|m2v|avi|bin|dat|mpg|mpeg|mkv|avc|vp3|svq3|nuv|viv|dv|fli</videos>
       <pictures>png|jpg|jpeg|bmp|gif|ico|tif|tiff|tga|pcx</pictures>
   </extensions>

   <dashboard>evoxdash.xbe</dashboard>
   <shutdowntime>0</shutdowntime>
   <sensitivity>0.2</sensitivity>
   <xnsbuffer>8192</xnsbuffer>

   
   
   
   
   
   
   
   
   <resolution>1</resolution>

   
   
   <language*>1</language*>

   <subtitleencoding>UTF-8</subtitleencoding>
   
   
   
   <usettfuifont>false</usettfuifont>

   
   <screensaver>600</screensaver>

   
   <snapstreamserver>192.168.0.10</snapstreamserver>
   <snapstreamuser>common</snapstreamuser>

   
   <precache>10</precache>

   
   <shoutcasttimeout>10</shoutcasttimeout>
   <recordingpath>f:musicrecordings</recordingpath>
   

   <scrollysuffix>|</scrollysuffix>

   
   <autolaunchxbox>false</autolaunchxbox>

   
   
   <autolaunchdvd>false</autolaunchdvd>
   <dvdplayer>c:xboxdash.xbe</dvdplayer>

   <autolaunchcdda>false</autolaunchcdda>
   <cddaplayer>c:xboxdash.xbe</cddaplayer>

       
   <autolaunchvideo>false</autolaunchvideo>    

   
   <usecddb>true</usecddb>
   <!- Set to false to remove the IP/Disk Space/Build Info on Main Screen -->
   <showdebug>true</showdebug>

   
   
   
   
   
   
   <ledcontrol>4</ledcontrol>

   
   
   <swapdate>false</swapdate>

   
   <showsplash>true</showsplash>
   
   
   <webserver>true</webserver>

</media>

</configuration>
Logged

Nailbunny

  • Archived User
  • Newbie
  • *
  • Posts: 18
What Do You Use To Edit The Xml?
« Reply #2 on: November 16, 2003, 09:31:00 AM »

Its an xml, not an ini, thus its handled differently.  Also, I have Office 2003 installed and it installed an XML editor that won't open the file, so I need to choose a program to edit it with.  Notepad didn't work, and wordpad did, but is there a better way?  If I cleanly install, removing XBMP folder contents and the 0face007 folders, it works pointing to e:videos, but once I edit the file to redirect it to f:videos, nothing shows.
Logged

Nailbunny

  • Archived User
  • Newbie
  • *
  • Posts: 18
What Do You Use To Edit The Xml?
« Reply #3 on: November 16, 2003, 09:36:00 AM »

I've reinstalled, edited only the HDD line and saved it as a Text Document in WordPad and this seemed to work this time.  Very odd.  I've gone through and made the rest of my config changes and now they work.

I hope this helps others.
Logged

bong888

  • Archived User
  • Sr. Member
  • *
  • Posts: 480
What Do You Use To Edit The Xml?
« Reply #4 on: November 16, 2003, 09:39:00 AM »

you should be editing your config.ini file in xbmp

you can do this with note pad
Logged

Aron Parsons

  • Archived User
  • Sr. Member
  • *
  • Posts: 299
What Do You Use To Edit The Xml?
« Reply #5 on: November 16, 2003, 08:33:00 PM »

I think you're looking in the wrong place for your problem.  For the most part, the file format/editing application is not going to make a difference.  I've used a variety of programs to edit XMLs and ini's for the Xbox (jEdit, Notepad, Wordpad, MS Word, OpenOffice, etc etc); never had a problem, so I don't see why you would.  I assume you can get to the files fine in a file manager on the Xbox and through FTP?  Are you 100% positive your syntax is correct for that section in the config file?
Logged