BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Bug Report
 Plugin Export to Android (Movielicious)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

prosperus
Starting Member

1 Posts

Posted - 18 Dec 2011 :  21:19:52  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there, hi Alessio,

there is a serious problem when exporting via Database | Plugin -> movies.zip -> into Movielicious (from Netwalk).

XMM Version 7.2.0.3 writes the following lines into the xml-file, here an excerpt:

<Movie>
<MovieID>1</MovieID>
<Title>100&#38;&#38;#35;160;Jahre&#38;&#38;#35;160;E03&#38;&#38;#35;160;&#45;&#38;&#38;#35;160;Verr&#38;&#38;#35;252;ckte&#38;&#38;#35;160;Jahre&#38;&#38;#35;160;1920&#45;1932&#38;&#38;#35;160;&#40;mp4&#41;</Title>
<Media>MPEG&#45;4V</Media>
<Genre></Genre>
<Year></Year>
<Status>0</Status>
<Length>107</Length>
<Plot></Plot>
<PersonalRating>0</PersonalRating>
<URL></URL>
<Purchase>yyyyMMddThh:mm:ss</Purchase>
<Actors>
</Actors>
<Director></Director>
<Position>0784</Position>
<Seen>0</Seen>
</Movie>

Because the title consists of "&"-statements, this movie is going to have the title "00&#38;&#38;#35;160;Jahre&#38 ..." in Movielicious. (Same with the field "plot")

The correct title should be:
"100 Jahre E03 - Verrückte Jahre 1920-1932 (mp4)"

How can the export/import be fixed? Is there a switch to strip the unwanted characters?

Version of Movielicious btw is 1.5.3.

Thanks in advance.
Chris.

XMM is great!

claes
Starting Member

Belgium
1 Posts

Posted - 20 Dec 2011 :  15:18:30  Show Profile  Visit claes's Homepage  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chris, Alessio,

I'm the developer of Movielicious for Android. I investigated this and the problem with Chris's XML file is that all non-alphanumeric characters in the file had been encoded to XML entities 4 (!) times after each other. It should only have been done once.

This is how I cleaned up the XML file:

1. Using an XML-capable text editor, I decoded all XML entities 4 times after each other until there was just XML tags and normal text in the file.
2. I saved the file using UTF-8 encoding.
3. Zipped it up in movies.zip.
4. Imported movies.zip in Movielicious. All movie titles looked fine.

The result looks like this:

<Title>100 Jahre E03 - Verrückte Jahre 1920-1932 (mp4)</Title>

Movielicious (for Android, not sure about the iOS version) doesn't require that special characters are encoded as XML entities at all, as long as the XML file is saved using UTF-8 encoding. Actually, it takes longer to import an XML file on Android if it contains a lot of XML entities.

Best regards,
Claes Buckwalter


Go to Top of Page

ComZiz
Junior Member

Turkey
282 Posts

Posted - 16 Jun 2012 :  07:02:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sir I have a Samsung Galaxy S2 Android smartphone. In the market you're application doesn't seem to be working on my phone?

quote:
Originally posted by claes

Hi Chris, Alessio,

I'm the developer of Movielicious for Android. I investigated this and the problem with Chris's XML file is that all non-alphanumeric characters in the file had been encoded to XML entities 4 (!) times after each other. It should only have been done once.

This is how I cleaned up the XML file:

1. Using an XML-capable text editor, I decoded all XML entities 4 times after each other until there was just XML tags and normal text in the file.
2. I saved the file using UTF-8 encoding.
3. Zipped it up in movies.zip.
4. Imported movies.zip in Movielicious. All movie titles looked fine.

The result looks like this:

<Title>100 Jahre E03 - Verrückte Jahre 1920-1932 (mp4)</Title>

Movielicious (for Android, not sure about the iOS version) doesn't require that special characters are encoded as XML entities at all, as long as the XML file is saved using UTF-8 encoding. Actually, it takes longer to import an XML file on Android if it contains a lot of XML entities.

Best regards,
Claes Buckwalter




Go to Top of Page

maxn1
Starting Member

32 Posts

Posted - 17 Jun 2012 :  10:43:00  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
On Samsung Galaxy S2 Android smartphone works excellently.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.13 sec. Powered By: Snitz Forums 2000 Version 3.4.07