This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Mp3 metadata in a script

Tags: None
(comma "," separated)
indo
Registered Member
Posts
4
Karma
0
OS

Mp3 metadata in a script

Sat Oct 31, 2009 5:48 pm
Is it possible to get any id3v2 frames of a playing song using a script? As far as I can find, only the ones mentioned in the MPRIS site are available using the Amarok.Engine.currentTrack() method. Is there any other method/way available.

And if not, is it possible to execute a program from the script (eg id3tool or id3v2) to get it?
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Mp3 metadata in a script

Sun Nov 01, 2009 8:12 am
Sure, starting an external program from within an Amarok Script should be possible. See here:

http://doc.trolltech.com/4.4/qprocess.html


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]