Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Add Custom Mimetype Icon for HD Videos?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Fluke667
Posts: 4
Joined: 2018-10-14 11:04

Add Custom Mimetype Icon for HD Videos?

#1 Post by Fluke667 »

I want to add a Custom Mimetype Icon for Videos over 720 width.

But there is no Tutorial on google and i have no idea how to do this...


Im Running Stretch with KDE and Breeze design

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Add Custom Mimetype Icon for HD Videos?

#2 Post by bw123 »

I never tried it, but my first question would be:
How would you register a media type based on width?

found this interesting, thanks. Found it searching https://duckduckgo.com/html/?q=mimetype
https://en.wikipedia.org/wiki/Media_type

Maybe if you let people know *why* you want to handle these media types differently it would help get a better answer
resigned by AI ChatGPT

Fluke667
Posts: 4
Joined: 2018-10-14 11:04

Re: Add Custom Mimetype Icon for HD Videos?

#3 Post by Fluke667 »

i have a big folder with alot Movies in different solutions 512x384 and 640x512 and 720x394

i want sort the Videos by solution or show them in any other way up with a icon

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: Add Custom Mimetype Icon for HD Videos?

#4 Post by CwF »

Interesting request.
i want sort the Videos by solution or show them in any other way up with a icon
I don't understand which way your looking at this.
One way is you want the 'file chooser dialog' or your file manager to sort your view by resolution. Here either program would need to look into the meta data of the file. Perhaps you're asking for an enhanced 'thumbnailer'.

It also occurs to me you might simple manually rename the files for order, simple enough.

Or create new 'mimetypes' as you say. Seems like a dead end of conflict.

Back to the thumbnailer point, I'm not all that familiar but I'm still looking for thiis kind of functionality in things and it seems missing. I want configurable balloon tips on everything...

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Add Custom Mimetype Icon for HD Videos?

#5 Post by bw123 »

The filemanager idea is interesting. I know dolphin has tagging, maybe you could tag files over a certain resolution and then set a certain icon if the file has that tag? I'm not sure that would work, or the best/quickest way to use the tagging on multiple files. I don;t use dolphin much at all, but I think there are a couple of users here that are really good with it.

I don't think it's a mimetype issue, it sounds like you just want the icon changed, not open files with a different app.
resigned by AI ChatGPT

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Add Custom Mimetype Icon for HD Videos?

#6 Post by stevepusser »

The way most people handle it is to include "HD" or even the resolution in the file name, which makes sorting them trivial.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Add Custom Mimetype Icon for HD Videos?

#7 Post by debiman »

Fluke667 wrote:i have a big folder with alot Movies in different solutions 512x384 and 640x512 and 720x394

i want sort the Videos by solution or show them in any other way up with a icon
first of all: none of these is over 720px wide.
also, i must say that none of those specifies as HD nowadays.

may i assume you want to sort out those that are 720x394?

i look at some of my videos with

Code: Select all

file --mime somevideo.ext
and see nothing that would help.

of course you can script something with 'exiftool' or 'mediainfo', and move those files to a different folder, but that still doesn't give you different icons.

Post Reply