Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6565499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:06:04+00:00 2026-05-25T14:06:04+00:00

The general question: when I don’t own a particular file format, but no UTI

  • 0

The general question: when I don’t own a particular file format, but no UTI has been defined for it by someone else, how do I use that file format?

The specific situation: I’m creating a QuickLook plugin for .torrent and .nzb files. (Note: .nzb files are similar to .torrent files, except instead of pointing to a bittorrent tracker, they point to a Usenet server.) I want the plugin to display what data the .nzb/.torrent file points to, what files would be downloaded if they were opened, and any other applicable metadata. To do this, I have to set forth the Uniform Type Identifiers for these two filetypes. While .torrent files have a designated UTI of com.bittorrent.torrent, .nzb files do not – the NZB format is defined by newzbin.com, which doesn’t publish its own application (and therefore doesn’t define a Mac OS X Uniform Type Identifier for me to use).

The options seem to be:

  1. Export and use a UTI in the form of com.example.nzb, where example.com is owned by me. This seems wrong, because I don’t own the nzb format.
  2. Export and use a UTI in the form of com.newzbin.nzb, where newzbin.com is not owned by me. This seems wrong, because I don’t own newzbin.com.
  3. Do as e.g. Unison (a Mac OS X application) does and ignore UTI entirely, and use CFBundleTypeExtensions in my Info.plist file. This seems wrong too, because not only is CFBundleTypeExtensions deprecated per Apple’s documentation, but I don’t think I can mix use of CFBundleTypeExtensions and LSBundleContentTypes (if LSBundleContentTypes is present, as it must be for me to use the com.bittorrent.torrent UTI, then CFBundleTypeExtensions is ignored).

What’s the right thing to do in this situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:06:04+00:00Added an answer on May 25, 2026 at 2:06 pm

    Try using the mdls command line utility to find a .nzb file’s UTI.

    For example performing mdls on this QuickTime movie clearly shows its UTI, boxed in red below.
    mdls

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for the really general question, but I don't have a clue where to
So this is a pretty general question, but I've been wondering about it for
I know this question has been asked a lot on this forum but I'm
This is a more general question, but which has wider implications for a data
I don't like to post such a general question, but I am not seeing
Sorry for the fairly general question but I am looking to find out what
I have a general question about the new Django 1.3 static file framework. I
This is a general question, not related to a particular operation. I would like
This is a very general question but it's based on a specific problem. I've
I'm working on an iphone app but this is probably a general question. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.