AudioMetadata

Dolphin Service Menus

Source (required if based on other people's work):

4
Score 73%
Description:

Display and edit audio metadata in an information box, and rename file using infos. Supports mp3, ogg vorbis, flac (more to come).
Need help to add translations (en , fr , es , de , ru, pl available now)!
Last changelog:

8 years ago

Version 0.9
Jump in version number because we're getting close to having all the features I wanted. Fix bug with opening files with special characters. Simple renaming using placeholders of metadata. Comments, translations and bug reports welcome.

Version 0.5
You can now edit the metadata. I had to change library, and it now depends on python-tagpy (python bindings for the taglib library) and on PyQt4.
Upcoming: renaming capabilities.

Version 0.2
Now only needs mutagen python library (python-mutagen on debian,etc).
Added duration and bitrate info.

sylvainsab

21 days ago

I've tried to make this work under Kubuntu 18.04... No success :
:~$ ~/.local/share/kservices5/ServiceMenus/audiometadata/bin/audiometadata.py ~/Musique/Aether.ogg
Traceback (most recent call last):
File "/home/sylvain/.local/share/kservices5/ServiceMenus/audiometadata/bin/audiometadata.py", line 27, in
from PyQt4 import QtGui,QtCore
ImportError: No module named PyQt4
:~$"
No success in trying to install python or anything...

Report

sylvainsab

21 days ago

OK, works by installing python-qtpy (I'm using python 2 as per python -V), then changing "PyQt4" to "PyQt5" line 27.
Then there are a few changes to make in the code to translate the widget from Qt4 to Qt5, it seems.

Report

Archaeopteryx342

1 year ago

I'm gonna try this right now and see if it still works.

Report

sylvainsab

4 days ago

Does it ?

Report

sylvainsab

4 days ago

It does not for me, it would help if you could send what works for you. Thanks in advance !

Report

Pingouin60

7 years ago

On Mandriva 2010.2 / KDE 4.5, I can't read mediainfo from a mp3.
I have this message :
Traceback (most recent call last):
File "/usr/bin/audiometadata.py", line 300, in openFile
dialog.setDirectory(self.Audiofile.Fileinfo.absolutePath())
AttributeError: class AudioFile has no attribute 'Fileinfo'

Could you help please ?

Report

dkarnout

7 years ago

very nice work. it would be great if audiometadata was integrated in a file properties tab
thanks

Report

sloopy

8 years ago

Now that I have a new computer I installed the new version with the python script. Very nice, I found immediateley the info that I have to install the pyton-tagpy package.

I think you did a great work. But if I could mention a wish: Is it very difficult to make a popup by mouseover ?
(I have no idea of what you have to do, so I speak only).

Greetings

Report

MiCap

8 years ago

Maybe you should put a line like that: "MimeType=audio/ogg;audio/vorbis;audio/mpeg;audio/x-flac;" in your audiometadata.desktop. It is a little stupid audiometadata appear in all context menus even for files not supported.
Keep with the good work!

Report

rodgerSan

8 years ago

Wouldn't be possible to get tags from nepomuk/strigi/soprano? Or what about mediainfo? http://mediainfo.sourceforge.net
A servicemenu is already available for the latter but it would be perfect if it was integrated on a properties tab. Furthermore, mediainfo looks more capable than taglib. Thank you anyway!

Report

C

michao

8 years ago

mediainfo does not seem to be able to write tags.

Report

-luk-

8 years ago

hi, it doesn't work on my ubuntu 9.04.
I've moved the .desktop file where you said and the audiometadata.py in /usr/bin and in ~/bin(only to try) but the menu doesn't work. When i try to exec audiometadata.py in the console it returns

Traceback (most recent call last):
File "/usr/bin/audiometadata.py", line 27, in <module>
import tagpy
ImportError: No module named tagpy

Report

C

michao

8 years ago

You have to installed the python interface to taglib. On Debian, Ubuntu... you just have to install python-tagpy.

Report

-luk-

8 years ago

Ohh thanks! now it's work currectly :)

Great Job

Report

rashek7

8 years ago

{"Artist":u"Artysta", "Title":u"Tytuł", "Album":u"Album", "Genre":u"Gatunek", "Year":u"Rok", "Track":u"Ścieżka", "Duration":u"Czas trwania", "Format":u"Format", "Nothing":u"Brak danych", "Open":u"&Otwórz", "Save":u"&Zapisz", "Close":u"Z&amknij", "ErrorMsg":u"Błąd: Nie można odczytać pliku"}

Report

rashek7

8 years ago

Update

{"Artist":u"Artysta", "Title":u"Tytuł", "Album":u"Album", "Genre":u"Gatunek", "Year":u"Rok", "Track":u"Ścieżka", "Duration":u"Czas", "Format":u"Format", "Nothing":u"Brak danych", "Open":u"&Otwórz", "Save":u"&Zapisz", "Close":u"Z&amknij", "ErrorMsg":u"Błąd: Nie można odczytać pliku"}

Report

mck182

8 years ago

Although it's great piece of work, I don't like it. Wouldn't it be better to integrate it with the information sidebar? Because in this way you have to click several times and a window will come out. If it was integrated with the Info sidebar, then you would just click on the file and you would see the metadata immediately (much better user experience and ergonomy). Plus you could send the patch directly to kde-devel team...

Report

bitcrazy

8 years ago

This is just a "simple" servicemenu. You are talking about KDE4 libraries. That has something to do with C++ programming ;-). If you want this feature, you should blame the KDE developers.

Report

sloopy

8 years ago

you say
"id3info comes with the library id3lib, and it is libid3-3.8 on debian."

Kubuntu is debian with KDE, the libid3-3.8 is available but the id3info doesn't work. In the ubuntu packages they do not mention if libid3-3.8 contains id3info. Why don't you use the libid3tag0 like Audacity, Vlc, M-player and others.

What is the use when I install an app which is not able to do his work. So please send a comment how to change the get-info.sh.
Btw - the translations work..

Report

janet

8 years ago

In Debian you need to install the extra package libid3-3.8.3-dev. It does contain id3info. Works now for me except that no German umlauts are displayed. The artist/track/album name gets trunkated before the first umlaut... :(

BTW: How about changing the name of the script to something more recognizable? Like audiometadata.sh? When I browse my huge ~/bin a few weeks later I'm sure I won't remember that "get-info.sh" belongs to your servicemenu, "get-info.sh" is too across the board.

Report

bitcrazy

8 years ago

Try mediainfo(.sourceforge.net)

m0nk

Report

janet

8 years ago

Exiftool in combination with kdialog also does the trick. :)

Report

janet

8 years ago

From the screenshot - nice. Can you please add bitrate and duration?

Apart from the screenshot: it doesn't work for me. I always get "No meta data available" though exiftool shows the right information. Just tested with mp3, libid3 is installed.

Report

BorgQueen

8 years ago

I love kservicemenus!

Thanks...

Report

Nopersona

8 years ago

Great! +1

Report

8 years ago

Version 0.9
Jump in version number because we're getting close to having all the features I wanted. Fix bug with opening files with special characters. Simple renaming using placeholders of metadata. Comments, translations and bug reports welcome.

Version 0.5
You can now edit the metadata. I had to change library, and it now depends on python-tagpy (python bindings for the taglib library) and on PyQt4.
Upcoming: renaming capabilities.

Version 0.2
Now only needs mutagen python library (python-mutagen on debian,etc).
Added duration and bitrate info.

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.9
updated Sep 27 2009
added Aug 31 2009
downloads today
0
page views today 2
System Tags addon