Menu

#437 Please create an AppData file for MediaInfo

More_attribute
open
nobody
None
5
2015-03-10
2014-05-27
No

Please consider writing and installing an AppData file with the application description and some screenshots, else MediaInfo looks really bad in the GNOME and KDE Software Centers. We'd love to showcase more applications, but without the extra data file we can't. See http://people.freedesktop.org/~hughsient/appdata/ for details; thanks!

Richard

Discussion

  • Jerome Martinez

    Jerome Martinez - 2014-05-27

    Not something long to add.

    Question:
    I don't use intltool.
    What should be the form of localized xml?

    In the .desktop file, I use to have:
    Comment=Supplies technical and tag information about a video or audio file
    Comment[fr]=fournit des informations techniques et les tags à propos de vos fichiers video et audio

    I see I should do:

     <description>
      <p>
       Supplies technical and tag information about a video or audio file
      </p>
     </description>
    

    How do I add the french translation?

     
  • Richard Hughes

    Richard Hughes - 2014-05-27

    You can add it like this:

    <p xml:lang="nb">foo bar baz</p>
    

    Thanks!

     
  • Jerome Martinez

    Jerome Martinez - 2014-05-27

    Sorry, I need an example in order to be sure I create something correct and no need to change it later. The complete description has ul/li HTML tags, is OK if I provide this description?

    1)

     <description>
      <p xml:lang="en">
       line1 in English
      </p>
      <p xml:lang="fr">
       line1 in French.
      </p>
      <ul>
       <li xml:lang="en">li in English</li>
       <li xml:lang="fr">li in French</li>
      </ul>
     </description>
    

    or must I do more something like:

    2)

     <description>
      <div xml:lang="en">
       <p>
        line1 in English
       </p>
       <ul>
        <li>li in English</li>
       </ul>
      </div>
      <div xml:lang="fr">
       <p>
        line1 in French.
       </p>
       <ul>
        <li>li in French</li>
       </ul>
      </div>
     </description>
    

    (both are valid XML/HTML, but support depends of the tool parsing the XML, so I prefer to ask first, I don't see a way to preview the result).

     
  • Richard Hughes

    Richard Hughes - 2014-05-27

    1) looks perfect -- the parser does not understand div anyway. Thanks!

     
  • Richard Hughes

    Richard Hughes - 2015-03-10

    Looks great: a "strict" validation gives:

    • style-invalid : Not enough (p) content before (ul)
    • style-invalid : (li) is too long [Container: format, profile, commercial name of the format, duration, overall bit rate, writing application and library, title, author, director, album, track number, date, duration...]
    • style-invalid : (li) is too long [Video: format, codec id, aspect, frame rate, bit rate, color space, chroma subsampling, bit depth, scan type, scan order...]
    • style-invalid : (li) is too long [Container: MPEG-4, QuickTime, Matroska, AVI, MPEG-PS (including unprotected DVD), MPEG-TS (including unprotected Blu-ray), MXF, GXF, LXF, WMV, FLV, Real...]
    • style-invalid : (li) is too long [Subtitles: CEA-608, CEA-708, DTVCC, SCTE-20, SCTE-128, ATSC/53, CDP, DVB Subtitle, Teletext, SRT, SSA, ASS, SAMI...]

    But this is really nit-picking. Thanks!

     

    Last edit: Richard Hughes 2015-03-10
  • Guillaume Roques

    Yes I've seen that too, for now it's how MediaInfo is presented but we should write a more textual description...

     

Log in to post a comment.