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 opencode.net

12
Score 80.8%
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:

7 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

DanielRios549

9 months ago

Add the info to Information Panel, please

Report

Nano-Ocelot

1 year 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

1 year 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

1 year ago

9 TY!

Report

TimeManx

7 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

7 years ago

suggestion added!

Report

unikum111

7 years ago

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

Report

C

kdekda

7 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

7 years ago

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

Report

C

kdekda

7 years ago

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

Report

C

kdekda

7 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

8 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

7 years ago

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

Report

bitcrazy

8 years ago

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

Report

TimeManx

8 years ago

yup

Report

C

kdekda

8 years ago

sorry..updated!

Report

TimeManx

8 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

8 years ago

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

Report

C

kdekda

8 years ago

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

Report

unikum111

8 years ago

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

Report

Brutus180

8 years ago

Good idea and very useful.

Report

pejakm

8 years ago

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

Report

jmunin

8 years ago

For newbies (like me) copy the file within:

~/.kde/share/kde4/services/

Thanks for your work.

Report

jmunin

8 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

7 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

12345678910
119
product-maker emplate430 May 19 2018 9 excellent
TY!
product-maker Wolfen317 Oct 20 2015 9 excellent
product-maker roentgen May 18 2014 9 excellent
product-maker frag Jan 12 2012 9 excellent
product-maker Pyruzan Jan 11 2012 9 excellent
product-maker TimeManx Jan 08 2012 9 excellent
product-maker gohanz Jan 05 2012 9 excellent
product-maker nikore90 Jan 04 2012 9 excellent
product-maker Deathmachine Aug 19 2011 9 excellent
product-maker deabru Aug 18 2011 9 excellent
product-maker KDesk Aug 15 2011 9 excellent
product-maker kalganov Aug 08 2011 9 excellent
product-maker Brutus180 May 22 2011 9 excellent
product-maker vitoubien May 21 2011 9 excellent
product-maker unikum111 May 21 2011 9 excellent
product-maker pejakm May 21 2011 9 excellent
product-maker msledziona May 21 2011 9 excellent
product-maker google01103 May 21 2011 9 excellent
product-maker nowardev May 21 2011 3 bad
product-maker jmunin May 21 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Nano-Ocelot
Sep 20 2018
Wolfen317
Oct 20 2015
roentgen
May 18 2014
gedik
Jan 30 2013
egatop
Nov 07 2011
elkooder
Aug 25 2011
Deathmachine
Aug 19 2011
OdinEidolon
Aug 19 2011
MoonBlossom
May 21 2011
unikum111
May 21 2011
gauda
May 21 2011
jmunin
May 21 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.6
updated Jan 10 2012
added May 21 2011
downloads 24h
3
page views 24h 6
System Tags addon