My DVDs remake (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Hi dukus,

    thanks for implementing my request.
    Having problems importing an Ant catalog, if there are special characters inside, like the German Umlaut.
    error is:
    "Invalid character in the given encoding".

    Looks like you didn't specify encoding type of UTF-8.
    When i saved the file as a UTF-8 out of my editor, i was able to process it.

    A problem is also, if in a tag, there is a "&" like in "Clever & Smart" or "Mr. & Mrs. Smith".
    Then the program terminates with a:
    Invalid Catalog Format Exception: An error occured while parsing entity name.

    regards,

    Helmut[/img]
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    46
    Usa
    Home Country
    Argentina Argentina
    hwahrmann said:
    Hi dukus,

    thanks for implementing my request.
    Having problems importing an Ant catalog, if there are special characters inside, like the German Umlaut.
    error is:
    "Invalid character in the given encoding".

    Looks like you didn't specify encoding type of UTF-8.
    When i saved the file as a UTF-8 out of my editor, i was able to process it.

    A problem is also, if in a tag, there is a "&" like in "Clever & Smart" or "Mr. & Mrs. Smith".
    Then the program terminates with a:
    Invalid Catalog Format Exception: An error occured while parsing entity name.

    regards,

    Helmut[/img]

    Try to use the template export. File->export->html and change html extension with xml
     

    faf4life

    Portal Member
    March 21, 2006
    9
    1
    Hi there...

    I got the same problems that Helmut described. I tried exporting from AMC using the template. After eliminating all 'illegal' characters I only got the message 0 DVDs imported.
    Has anyone managed to import movies from AMC? Which template used?

    Eddie
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    46
    Usa
    Home Country
    Argentina Argentina
    Updated version of My DVDs. Now working with xml files with special caracters like "?|/\~!@#&". Minor changes in csv import. Try now to import ant xml files, if don't work send me a exemple file. dukusi@gmail.com
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Hi Dukus,

    still the same problem with the new version.
    I've mailed you the xml file.

    Problem is that ANT doesn't export the file to be XML-conform.
    The following special characters need to be changed first, before being able to process them in XML:
    & -> &
    < -> &lt;
    > -> &gt;
    " -> &quot;
    ' -> &apos;

    Probably there's the need to open the file first using a StreamReader and do a Regexp or something like that to replace those strings first.

    Any System.XML class will fail, when such things are found.

    regards,

    Helmut
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    one thing that is still there.
    The special characters are not read, when i don't open the exported file in an editor and save it as UTF-8.
    in order to use the default encoding, i think you need to open the file as a stream and then pass the stream to the XmlReader.
    Something like this:
    Code:
    string xmlfile = "C:\\Temp\\Ant\\Helmut.xml";
    System.IO.StreamReader stream = new System.IO.StreamReader(xmlfile, System.Text.Encoding.Default);
    XmlReaderSettings settings = new XmlReaderSettings();
    settings.IgnoreWhitespace = true;
    XmlReader xmlReader = XmlReader.Create(stream,settings);
     

    mzemina

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,064
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    I've got a few little problems with this plugin.

    1) First is during the initial reading in of 250 DVDs - from DVDProfiler XML file. The problem is that it appears to stop for over 8 minutes with nothing appearing to happen on the progress bar. I had opened the task manager and saw memory continue to climb on the configuration program so I decided to wait but it took over 9 minutes in total for the import to finish.

    2) The second problem is that the import does not ignore an "A" or "The" in the title so the listing does not appear correct. OK, it doesn't look how I have had them arranged in alphobetical order.

    3) I'm not sure how it happened and I will try to repeat this, but this appears to be a bug. Using Big Icon View! The problem is once I have looked through the details on a DVD and go back and go to another DVD I cannot see the details. Has anyone else seen this problem?

    4) Using only the keyboard I am having some trouble moving the focus from the buttons (on the left) to the list and back again. Is there a secret key stroke to move back and forth using only the keyboard?

    Mike
     

    Users who are viewing this thread

    Similar threads

    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    5K
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search songs with Lyrics in Music tag>
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search...
    Hi. Setting up MyLyrics now. I got version 2.2.2.295 from My Lyrics 2.2.0 for MP 1.10 Final, and above (31-12-2014) . I'm planning...
    Replies
    1
    Views
    2K
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    2K
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in Settings (which somehow I had missed, I think because it wasn't an option previously), and the deleted everything in the Flat-default folder and populated it with my own logos. Works, so far.
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in...
    Hi-- I have to revisit an old issue, unfortunately. I just downloaded MP 2.5, a fresh installation, on a new computer (reluctantly...
    Replies
    5
    Views
    1K
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    2K
    Top Bottom