AudioMetadata

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

5
Score 58.0%
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:

10 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.

gungnir

8 months ago

Doesn't seem to workj with the latest KDE5 PLasma. I don't know how to lookup the logs to see why. Just says "Installation Failed". Gutted as it seems a good project. If someone could tell me where the logs go for the failures I'd be happy to debug and send info to the author?

Report

gungnir

8 months ago

To anyone reading this the OS is Manjaro so the logs were in the journal. journalctl -xe. Then the error shown is: org.kde.knewstuff.core: Command ' "servicemenuinstallation /home/*/.local/share/servicemenu-download//111287-audiometadata-0.9.tar.gz" ' failed with code 255

Its a bit beyond me but maybe someone else can help with the above?

Report

sylvainsab

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

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

2 years ago

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

Report

sylvainsab

1 year ago

Does it ?

Report

sylvainsab

1 year ago

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

Report

Pingouin60

8 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

8 years ago

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

Report

sloopy

9 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

10 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

10 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

10 years ago

mediainfo does not seem to be able to write tags.

Report

-luk-

10 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

10 years ago

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

Report

-luk-

10 years ago

Ohh thanks! now it's work currectly :)

Great Job

Report

rashek7

10 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

10 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

10 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

10 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

10 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

10 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

10 years ago

Try mediainfo(.sourceforge.net)

m0nk

Report

janet

10 years ago

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

Report

janet

10 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

10 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.

12345678910
1
product-maker Archaeopteryx342 Mar 11 2017 9 excellent
product-maker Base: 4 x 5.0 Ratings
Nano-Ocelot
Sep 07 2018
friendly-demon
Sep 28 2009
Czessi
Sep 28 2009
BorgQueen
Sep 04 2009
Nopersona
Sep 01 2009
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.9
updated Sep 27 2009
added Aug 31 2009
downloads 24h
1
page views 24h 4