After installing Ubuntu Mate, Rhythmbox not importing mp3 files from music folder. and when I tried to play mp3 files, It wont play.
To play mp3 files with Rhythmbox you need the gstreamer 'ugly' plugins. There are 3 good choices to getting these installed and running with Rhythmbox;
1. This should be shown when you try to open such a file:
Simply install from here and Rhythmbox will happily play your mp3s.
2. If the menu does not appear you can install install from the commandline (on Trusty Tahr):
sudo apt-get install gstreamer1.0-plugins-ugly
And hopefully this will be enough to get your mp3s playing.
3. If not the final choice is to get the latest and greatest Rhythmbox with the annoying 'can't see mp3s/plugins properly' bug ironed out:
sudo add-apt-repository ppa:fossfreedom/rhythmbox sudo apt-get update sudo apt-get install rhythmbox gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gnome-control-center rhythmbox-plugin-visualizer
And then all should be well...
If you have tried the solutions on this page and STILL can not get your .mp3 files to play in Rhythmbox, try this:
- Open Terminal
Enter the following:
sudo chmod 777 path/to/YourJamz
2a. Lazy Person Tip: After entering
sudo chmod 777in the terminal, Open Nautilus, find your music files and drag them into the terminal. Terminal will automatically display the
Open Rhythmbox; your files should be visible/able to be played.
5a. Alternately, open Nautilus, right click your file, select "open with Rhythmbox"; your .mp3 file should now be playing with Rhythmbox.
This worked for me, I hoped it helped. Good luck, and happy breakdancing!
Because the ethos of Linux is that all software should be free in terms of Liberty and usually but not necessarily cost. There is some software that does not get installed by default.
One example is mp3 which is a propriety format and someone has had to pay a licence fee and sign an NDA (Non Disclosure Agreement) in order get access to to details so that mp3 files can be decoded. Because of this it is not possible to make this software open source.
In earlier versions of Ubuntu this made things awkward as you had find and install these your self. However, in more recent versions you are now asked if you want these propriety, non open source, programs installed when you install. If you didn't say yes during installation you can find them in the software centre under restricted-extras.
I tried the stated solutions but nothing worked. What worked was when I went into the virtual box settings under Audio and started going between the different settings.
Once I did this, and probably in combination of the other stated solutions in which you do in Ubuntu itself, I was finally able to listen to and play my MP3 files.
For those that the plugin list and/or installing ugly package didn't work, like me.
I want to say that the only that worked for me was to chmod using the octal format.
chmod 0777 /path/*p. Doing that allowed me to ONLY play files, but not to add mp3 files to library.
So, i went to preferences and tried with no lucky the option "prefer mp3 files" and used the bottom buttom "install xxx libs", which returned nothing, but a bug (https://bugs.launchpad.net/ubuntu/+source/gnome-codec-install/+bug/888847).
apt-get install -y gstreamer1.0-plugins-bad package make it fully work and be able to add mp3 to lib.
List of candidates:
sudo apt-get install -y \ libgstreamer1.0-0 \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-ugly \ gstreamer1.0-libav \ gstreamer1.0-doc \ gstreamer1.0-tools \ gstreamer1.0-x \ gstreamer1.0-alsa \ gstreamer1.0-gl \ gstreamer1.0-gtk3 \ gstreamer1.0-qt5 \ gstreamer1.0-pulseaudio
Checking out what is already installed...
apt list --installed | grep gstream
In case of a fresh Ubuntu MATE 20.04 (Focal Fossa) all it took was:
sudo apt-get install -y gstreamer1.0-plugins-bad
(this: not “ugly”, “bad” :-)