Page 1 of 1
problem with the character '|' importing from XML
Posted: 2005-12-22 21:27:53
by oxy42
here is a sample from my xml file :
<Movie Number="3" Source="lost season2" MediaLabel="Nouveau nom" Date="28/11/2005" OriginalTitle="lost season2|Lost S02E06".......
When importing the xml file in AMC the pipe character is replaced by strange square.
any idea ? solution ?
Posted: 2005-12-23 00:02:47
by antp
Not a bug, it is the way the program handles the XML files:
The "|" is currently used as linebreak for storing movies in XML.
The strange square is a linebreak displayed by a text field that does not support more than 1 line.
In a future version I will put info in CDATA sections probably, to avoid the need of a special character for linebreaks.
Until then, you can use all the characters except the "|"
Posted: 2005-12-23 12:24:55
by oxy42
my problem is that i am using the DB for xlobby and xlooby uses the character | to create subcategories (for TV shows)
I will look for an alternative in xlobby.
Posted: 2006-11-15 13:26:53
by dalanik
Ha, ha, just been playing with XML export and bumped into this one... :-)
The thing is that my DB is becoming quite large, so I thought I'd use XML with extermal pictures, and it all works fine except the | character, which I use to separate levels in XLobby...
Anyway - what is the recommended maximum size of the AMC database? mine's around 80Mb...
Is that too much?
Posted: 2006-11-15 15:08:28
by antp
You mean for the .amc file? The only problem is that the whole file is loaded in memory.
You can also have external pictures with a .amc file actually.
Posted: 2007-01-12 11:01:40
by HappyTalk
I just discovered this one too :( I had been talking to MyFilms guy on MediaPortal with intention of using | as a multi-filename seperator but realised after testing that you use it for CR/LF which on single line fields causes problems. Ironically, I text searched the xml of my ANT db and didn't have any |'s. I can see that it might be used in the description & comments listbox fields, but not in the other fields.
Posted: 2007-04-26 13:22:36
by Beaker
If i make a carriage return in the description field (or actors), and exporting it to XML, that CR is converted to a |.
Thats pretty annoying when i open it on my webtrack site..
Is there any workaround on that ??
Regards, Beaker
Posted: 2007-04-26 21:09:10
by antp
Well, everything about that is said above...
For Webtrack, you have to configure the replacement of "|" to linebreaks or <br> I suppose.