Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"public.mpeg-2-transport-stream" does not show up with "qlmanage -m" #113

Open
reggi opened this issue Jan 2, 2021 · 2 comments
Open

"public.mpeg-2-transport-stream" does not show up with "qlmanage -m" #113

reggi opened this issue Jan 2, 2021 · 2 comments

Comments

@reggi
Copy link

reggi commented Jan 2, 2021

I am trying to use QLStephen to show quick look for .ts files (public.mpeg-2-transport-stream).

I added a couple ofkMDItemContentType ids to the Info.plist.

For some reason all of the ones I added work / show up in the list (using qlmanage -m | sort) except public.mpeg-2-transport-stream.

<string>public.data</string>
<string>public.content</string>
<string>public.mpeg-2-transport-stream</string>
<string>dyn.ah62d4rv4ge81k652</string>
<string>com.netscape.javascript-source</string>
<string>dyn.ah62d4rv4ge80y652</string>
<string>public.shell-script</string>

My question is why do all of these show up, except for the public.mpeg-2-transport-stream?

com.netscape.javascript-source -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)
dyn.ah62d4rv4ge80y652 -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)
dyn.ah62d4rv4ge81k652 -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)
public.content -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)
public.data -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)
public.shell-script -> /Users/thomas/Library/QuickLook/QLStephen.qlgenerator (1.5.1)

I believe this same issue is happening with qlcolorcode.

@reggi
Copy link
Author

reggi commented Jan 2, 2021

Apparently MacOS is not allowing this file type to be modified. It seems like no app can enable preview for ts files on Big Sur.

https://findergg.com/
https://github.com/samuelmeuli/glance/blob/master/QLPlugin/Info.plist#L36
https://github.com/sbarex/SourceCodeSyntaxHighlight

@mike-lischke
Copy link

If we only could remove the transport stream assignment. How can this be completely locked by the OS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants