Editing mimeTypes.rdf (Arctic Fox)

AmigaOne X5000 platform specific issues related to Linux only.

Editing mimeTypes.rdf (Arctic Fox)

Postby Roland » Tue Oct 08, 2019 11:51 am

I would like to ask some advice how to edit mimeTypes.rdf of Arctic Fox. I would like to get rid of all definitions which cause a video link, sent from ViewTube+ (get/link/senfd link...) to VLC, formulated as a 'mailto'.

Here is my current mimetypes.rdf:
Code: Select all
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="urn:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:webcal"
                   NC:value="webcal">
    <NC:handlerProp RDF:resource="urn:scheme:handler:webcal"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:irc"
                   NC:value="irc">
    <NC:handlerProp RDF:resource="urn:scheme:handler:irc"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.apple.mpegurl"
                   NC:alwaysAsk="false"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.apple.mpegurl"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:video/mp4"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/vlc"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/smplayer"/>
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:video/mp4"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:video/mp4"
                   NC:value="video/mp4">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:video/mp4"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetypes">
    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-mpegurl"
                   NC:alwaysAsk="true"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-mpegurl"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/vnd.apple.mpegurl"
                   NC:value="application/vnd.apple.mpegurl"
                   NC:editable="true"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.apple.mpegurl"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:application/x-mpegurl"
                   NC:value="application/x-mpegurl"
                   NC:editable="true"
                   NC:fileExtensions="m3u8"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-mpegurl"/>
  </RDF:Description>
  <RDF:Seq RDF:about="urn:schemes:root">
    <RDF:li RDF:resource="urn:scheme:webcal"/>
    <RDF:li RDF:resource="urn:scheme:mailto"/>
    <RDF:li RDF:resource="urn:scheme:ircs"/>
    <RDF:li RDF:resource="urn:scheme:irc"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/smplayer"
                   NC:prettyName="smplayer"
                   NC:path="/usr/bin/smplayer" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-mpegurl"
                   NC:path="/usr/bin/vlc"
                   NC:prettyName="vlc" />
  <RDF:Description RDF:about="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"
                   NC:prettyName="Gmail"
                   NC:uriTemplate="https://mail.google.com/mail/?extsrc=mailto&amp;url=%s" />
  <RDF:Description RDF:about="urn:scheme:handler:irc"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
  </RDF:Description>
  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:video/mp4"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.apple.mpegurl"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-mpegurl"/>
  </RDF:Seq>
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="3" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:video/mp4"
                   NC:prettyName="vlc"
                   NC:path="/usr/bin/vlc" />
  <RDF:Description RDF:about="urn:scheme:externalApplication:mailto"
                   NC:prettyName="vlc"
                   NC:path="/usr/bin/vlc" />
  <RDF:Description RDF:about="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"
                   NC:prettyName="30 Boxes"
                   NC:uriTemplate="http://30boxes.com/external/widget?refer=ff&amp;url=%s" />
  <RDF:Description RDF:about="urn:scheme:handler:webcal"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:http://30boxes.com/external/widget?refer=ff&amp;url=%s"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:mailto"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:https://compose.mail.yahoo.com/?To=%s"/>
    <NC:possibleApplication RDF:resource="urn:handler:web:https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"/>
    <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/vlc"/>
    <NC:externalApplication RDF:resource="urn:scheme:externalApplication:mailto"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:handler:ircs"
                   NC:alwaysAsk="true">
    <NC:possibleApplication RDF:resource="urn:handler:web:https://www.mibbit.com/?url=%s"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:local:/usr/bin/vlc"
                   NC:prettyName="vlc"
                   NC:path="/usr/bin/vlc" />
  <RDF:Description RDF:about="urn:scheme:ircs"
                   NC:value="ircs">
    <NC:handlerProp RDF:resource="urn:scheme:handler:ircs"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.apple.mpegurl"
                   NC:path="/usr/bin/vlc"
                   NC:prettyName="vlc" />
  <RDF:Description RDF:about="urn:handler:web:https://compose.mail.yahoo.com/?To=%s"
                   NC:prettyName="Yahoo! Mail"
                   NC:uriTemplate="https://compose.mail.yahoo.com/?To=%s" />
  <RDF:Description RDF:about="urn:scheme:mailto"
                   NC:value="mailto">
    <NC:handlerProp RDF:resource="urn:scheme:handler:mailto"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:handler:web:https://www.mibbit.com/?url=%s"
                   NC:prettyName="Mibbit"
                   NC:uriTemplate="https://www.mibbit.com/?url=%s" />
</RDF:RDF>
- Roland -
Roland
 
Posts: 355
Joined: Tue May 02, 2017 8:23 am

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 3 guests

cron