INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: exodus1977 on January 27, 2014, 04:08:56 pm

Title: Will MC Support Office .docx files?
Post by: exodus1977 on January 27, 2014, 04:08:56 pm
Hi,

I've notice that MC does not import or recognize Microsoft Office .docx files. (Perhaps I am doing something wrong...). That said, is there planned support for importing these files? Thanks,
Title: Re: Will MC Support Office .docx files?
Post by: MrC on January 27, 2014, 04:17:17 pm
See this post:

   http://yabb.jriver.com/interact/index.php?topic=61899.0 (http://yabb.jriver.com/interact/index.php?topic=61899.0)

It is similar, but for Kindle books and mobi.  Find the Data resource and add docx to the already existing doc type, in your own Custom Resource folder.
Title: Re: Will MC Support Office .docx files?
Post by: exodus1977 on January 27, 2014, 05:30:32 pm
Thanks for your help.

To update this for anyone else reading, here is a simplified version.

The relevant file is (most likely) here: C:\Program Files (x86)\J River\Media Center 19\Data\Default Resources\FileAssociations.xml

There are two lines that need amending (per each additional file type addition). Look for these:
<!-- Descriptions -->
  <DescriptionTypes>
    <Audio>WAV Audio (wav,w64,raw,l16)....

Find your media type and add the file extention. For me, adding docx meant this correction:
<Data>MS Office Files (doc,docx,xls,csv,ppt,mde,mdb);.......

The second part is:
<!-- Mime -->
  <MimeAssociations>

The <data> portion needs the following line (see the last line below) included:
<Data>
      <Item Name="c">text/c</Item>
      <Item Name="cpp">text/cpp</Item>
      <Item Name="csv">text/csv</Item>
      <Item Name="doc">application/msword</Item>
      <Item Name="docx">application/msword</Item>

Save, close and restart MC (if necessary). Check your auto import and the new file type should show up. Run your import and it should work.

Thanks
Title: Re: Will MC Support Office .docx files?
Post by: gappie on January 28, 2014, 12:43:03 am

To update this for anyone else reading, here is a simplified version.

the disadvantage of this simplified version is that when mc is updated the file in the Default Resources folder are overwritten, and the changes you made are gone. that's why making an custom resources folder is the way to go. mc will check if that folder is there and first read the file in there and then the file in the default resources.

 :)
gab
Title: Re: Will MC Support Office .docx files?
Post by: Hendrik on January 28, 2014, 01:10:31 am
MC will recognize docx in a future build on its own, no need for this change then anymore.
Title: Re: Will MC Support Office .docx files?
Post by: yannis on January 28, 2014, 03:48:25 am
Can someone advise on how to deal with such files in Gizmo? I can see the filenames through the server in my tablet, but they won't open in the relative app.