getMediaInfo

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

12
Score 70%
Description:

Simple service menu that show the mediainfo about the selected media.
It uses mediainfo tool (http://mediainfo.sourceforge.net/), usually shipped with the maior distros.

Two menus:
-full mediainfo with all the information provided by mediainfo
-short mediainfo with the main information


INSTALL: directly through Dolphin settings or put the file in your servicemenu path (to find it type in konsole "kde4-config --path services")

Last changelog:

6 years ago

0.6 - suggestion added (basename in dialog title)
0.5 - bug on html output fixed
0.4 - new function: generate TXT|HTML
0.3 - suggestion added (html output)
0.2 - suggestion added
0.1 - first release

Nano-Ocelot

2 months ago

Can't seem to get it to work on Plasma 5.12.5. Using Dolphin 17.12.3. I have mediainfo dowloaded and the context menu entries are listed in 'services' in the settings menu. But when I right click an mp3 file, the entries aren't there.

Report

Nano-Ocelot

2 months ago

Found out that it was a bug with file indexing. After disabling it the entries pop up.

However now when I click on 'get media info' or 'short media' the window never appears and only an icon appears in the task manager for a moment, then disappears.

Report

emplate430

6 months ago

TY!

Report

TimeManx

6 years ago

How bout you add image/* in ServiceTypes and instead of
-title "Info about %u"
you could have
-title "Info about `basename %u`"
so as to not show the whole path in the title.

Report

C

kdekda

6 years ago

suggestion added!

Report

unikum111

6 years ago

May be use "--inform=" option is better?

Report

C

kdekda

6 years ago

on my system (chakra linux) the --Inform parameter doesn't work..

mediainfo --Inform=Video;%duration% myvideo.mkv
output:
bash: fg: %Duration%: no such job

Am i wrong?

Report

unikum111

6 years ago

mediainfo --Inform=General\;%Duration% file.mkv
or
mediainfo --Inform="General;%Duration%" file.mkv

Report

C

kdekda

6 years ago

thank you! now it works!
this WE i'll take a look to your suggestion!

Report

C

kdekda

6 years ago

ok, after a few tests i decided to not use --Inform. It needs an extra file as a template, but since i want to keep this servicemenu as simple as possible i'm not going to implement it.
The main reason is that i want to make this servicemenu installable from dolphin: if you know a way for it please tell me.

Report

Wolfen317

7 years ago

Thanks ! There is just a mistake in the HTML output, as it creates a file with ".txt" extension. One just needs to change "-LogFile=%u.txt" into "-LogFile=%u.html", in the "[Desktop Action getHTML]" section.

Report

C

kdekda

6 years ago

thank you!
i've missed the notification of your comment

Report

bitcrazy

7 years ago

Following the link shows me only an older version without the export items

Report

TimeManx

7 years ago

yup

Report

C

kdekda

7 years ago

sorry..updated!

Report

TimeManx

7 years ago

I've created a simple bash script which fixes the alignment. If someone wants to try it out drop me a message.

Report

kalganov

7 years ago

the easy way:
$(mediainfo --Output=HTML %u)

Report

C

kdekda

7 years ago

# kalganov
your suggestion will be added as soon as possibile!

Report

unikum111

7 years ago

http://aur.archlinux.org/packages.php?ID=49230

Report

Brutus180

7 years ago

Good idea and very useful.

Report

pejakm

7 years ago

Add trailing semicolon at the end of Actions array and add "TryExec=mediainfo" in [Desktop Entry]

Report

jmunin

7 years ago

For newbies (like me) copy the file within:

~/.kde/share/kde4/services/

Thanks for your work.

Report

jmunin

7 years ago

and for all users (not only the current user) copy the file within:

/usr/share/kde4/services/ServiceMenus/

My system is Kubuntu 11.04 (could be different in others)

Report

6 years ago

0.6 - suggestion added (basename in dialog title)
0.5 - bug on html output fixed
0.4 - new function: generate TXT|HTML
0.3 - suggestion added (html output)
0.2 - suggestion added
0.1 - first release

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.6
updated Jan 10 2012
added May 21 2011
downloads today
0
page views today 2
System Tags addon