MP3 tag lyrics [Solved]

All your LV2 and LADSPA goodness and more.

Moderators: khz, MattKingUSA

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

MP3 tag lyrics [Solved]

Post by Mister Mint »

Hi all,

Sorry for posting in a wrong forum, but where else :?

When an MP3 has lyrics embedded how do you see them in Linux? In Windows you just right-click the MP3, but in Linux it seems you have to use a 3rd party application just for this. But none of the music players and MP3-taggers (Kid3, Easytag, etc) I've tried has this feature. Can you recommend a simple one? (if possible one where you'd just right-click to see the lyrics)

Cheers
Last edited by Mister Mint on Fri Nov 20, 2015 1:07 am, edited 1 time in total.

asbak
Established Member
Posts: 647
Joined: Thu Sep 11, 2014 3:04 pm

Re: MP3 tag lyrics

Post by asbak »

Try audacious, it has a lyric plugin.

User avatar
Markus
Established Member
Posts: 82
Joined: Tue Jul 21, 2015 9:29 am

Re: MP3 tag lyrics

Post by Markus »

If you're using a file manager capable of user scripts like Nautilus or Thunar a simple bash script using id3v2 in combination with sed and zenity would do it.

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

Thanks for your suggestions!

asbak: I have installed Audacious but can you tell how/where do I find such a lyric plugin..?

Markus: that would be great, I'm using Caja, a fork of Nautilus, but how to make such a script I haven't got a clue, and also I can't find a guide describing it. Do you have a link?

asbak
Established Member
Posts: 647
Joined: Thu Sep 11, 2014 3:04 pm

Re: MP3 tag lyrics

Post by asbak »

apt-get install audacious-plugins

Services, Plugins, General

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

When I write apt-get install audacious-plugins I get this message (my translation to English):

E: Could not open the lock file /var/lib/dpkg/lock - open (13: Access denied)
E: Could not lock the administration folder (/var/lib/dpkg/), Are you root?

Don't know about root, but I'm the only one using the computer..

Luc
Established Member
Posts: 741
Joined: Fri Mar 27, 2015 1:04 pm

Re: MP3 tag lyrics

Post by Luc »

Mister Mint wrote:When I write apt-get install audacious-plugins I get this message (my translation to English):

E: Could not open the lock file /var/lib/dpkg/lock - open (13: Access denied)
E: Could not lock the administration folder (/var/lib/dpkg/), Are you root?

Don't know about root, but I'm the only one using the computer..
Try this:
$ sudo apt-get install audacious-plugins

If you still get that error, you might have some package manager/installer running. You can't install anything from the command line while any such program is running. You can use such program instead of the command line, though.

User avatar
Markus
Established Member
Posts: 82
Joined: Tue Jul 21, 2015 9:29 am

Re: MP3 tag lyrics

Post by Markus »

If there are links to topics you already know I'm sorry about but I'm not aware of your level of knowledge.

Start with a standard bash script:
http://linuxconfig.org/bash-scripting-tutorial

Here's a question on StackOverflow about getting the contents of id3v2 tags:
http://stackoverflow.com/questions/5285 ... sing-id3v2

If there's no content:
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-6.html

...you might want to display a simple message with a Zenity --text message dialog to display the error:
https://help.gnome.org/users/zenity/sta ... en#dialogs

...and quit your script with the "exit" command.
http://www.tldp.org/LDP/abs/html/exit-status.html

Get the content of the correct tag entry and write it to a file in /tmp:
http://www.cyberciti.biz/tips/shell-scr ... ickly.html

Then use Zenity with the --text-info dialog to show the contents of the file:
https://help.gnome.org/users/zenity/stable/text.html.en

If the script runs fine, make it a Nautilus context menu entry:
http://g-scripts.sourceforge.net/faq.php

...

Profit!!1

If you need to search for more information on how to bash-script, use "bash" as the first search query followed by what you want to achieve. If you need any help, please let me know.

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

Hi Luc, thanks very much. I have installed the audacious-plugins now. However, when I open Audacious and click on "Services", there's only two options: "Play CD" and "Add CD". I see no plugins..

Thanks a lot, Markus, I've got some lessons before me :lol: Nice with this overview, or else I'd be lost!

Luc
Established Member
Posts: 741
Joined: Fri Mar 27, 2015 1:04 pm

Re: MP3 tag lyrics

Post by Luc »

Mister Mint wrote:Hi Luc, thanks very much. I have installed the audacious-plugins now. However, when I open Audacious and click on "Services", there's only two options: "Play CD" and "Add CD". I see no plugins..
Are you sure? Don't you have this?

Image

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

No. The "Plugins..." field is not there.

84 sudo apt-get install audacious-plugins
85 history

I'll remove it and install it again, and see what happens..

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

Still no plugins.

88 sudo apt-get remove audacious-plugins
89 sudo apt-get install audacious-plugins
90 history

But never mind. My first wish is to get the general viewing tool Markus talked about installed. That way I won't have to open a player first to see the MP3 tags.

Luc
Established Member
Posts: 741
Joined: Fri Mar 27, 2015 1:04 pm

Re: MP3 tag lyrics

Post by Luc »

What distro and version are you using?

Mister Mint
Established Member
Posts: 134
Joined: Wed Nov 11, 2015 10:17 am

Re: MP3 tag lyrics

Post by Mister Mint »

Linux Mint MATE 17.1 Rebecca

Luc
Established Member
Posts: 741
Joined: Fri Mar 27, 2015 1:04 pm

Re: MP3 tag lyrics

Post by Luc »

Hmm. I use plain Debian. Perhaps you should contact Mint's forum or their Audacious package maintainer, or submit a bug report.

Post Reply