Song plays in Kaffeine but not in Amarok

I downloaded a song in mp3 format today morning. I tried to play it in my
favourite Amarok but a message came up telling “Some media not playable.” I
tried “Preview in kaffeine” option and it plays fine. What could be the
problem? I am using xine engine on Amarok. Help me figure out the problem.

  • Cross_AM,

enable the Packman repository and install Amarok from there.
The default version of Amarok is crippled when it comes to mp3 due to legal reasons.

Uwe

Uwe Buckesfeld wrote:

> * Cross_AM,
>
> enable the Packman repository and install Amarok from there.
> The default version of Amarok is crippled when it comes to mp3 due to
> legal reasons.
>
> Uwe
I have installed it from Packman repository only and it plays many other mp3
files as I have the codecs installed as well.

On 08/08/2008 Cross_AM wrote:
> I have installed it from Packman repository only and it plays many
> other mp3 files as I have the codecs installed as well.

OIC, it’s just one file.
Amarok has some logs in ~/.kde/share/apps/amarok. Anything interesting there?

Uwe

I have the exct same issue. The Amarok log says:

[2008-08-20 09:37] Could not open audio device for playback.
[2008-08-20 09:37] Could not open audio device for playback.
[2008-08-20 09:37] Could not open audio device for playback.
[2008-08-20 09:37] Could not open audio device for playback.
[2008-08-20 09:37] Could not open audio device for playback.
[2008-08-20 09:38] Could not open audio device for playback.
[2008-08-20 09:43] Could not open audio device for playback.
[2008-08-20 09:45] Updating Collection…
[2008-08-24 20:11] Sorry, the ‘yauap-engine’ could not be loaded, instead we have loaded the ‘void-engine’.
[2008-08-24 20:12] Some media could not be loaded (not playable).
[2008-08-24 20:12] These media could not be loaded into the playlist: <br>file:///Data/Media/Music/iTunes Music/ACDC/Dirty Deeds Done Dirt Cheap/01 Hells Bells.mp3
[2008-08-24 20:12] <p>The void-engine claims it <b>cannot</b> play MP3 files.<p>You may want to choose a different engine from the <i>Configure Dialogue</i>, or examine the installation of the multimedia-framework that the current engine uses. <p>You may find useful information in the <i>FAQ</i>section of the <i>Amarok HandBook</i>.
[2008-08-24 20:23] Could not open audio device for playback.
[2008-08-24 20:23] Could not open audio device for playback.
[2008-08-24 20:23] Could not open audio device for playback.
[2008-08-24 20:23] Could not open audio device for playback.
[2008-08-24 20:23] Could not open audio device for playback.
[2008-08-24 21:08] Could not open audio device for playback.

  • scrib,

in the Amarok coinfiguration, can you set xine as the engine instead of yayup?
Is this the Amarok from Packman? Just asking, because yayup plays MP3s here.

Uwe

Not sure if its the packman version to be honest? Its the one that came with SUSE 11.
If its not the packman version how do I change it? I went into software and tried to remove Amarok so I could install it from packman but it came up will all sorts of dependances so I gave up.

Also in Amarok config the “Engine” bit only lists the Yauap engine. How do i get xine in there?

  • scrib,

easiest method IMHO is to enable the Packman community repository in Yast. Then in the software dialog, use the “Repositories” filter, check Packman, then add a second filter with “Search” and go for Amarok.

HTH
Uwe

scrib, openSUSE-11.0 is not delivered with any Packman packaged rpms. One must download and install Packman packaged rpms themself.

You can tell if an rpm is a Packman packaged rpm by looking at the version. For example, in the case of amarok, type in a gnome-terminal / konsole the command:
rpm -q amarok kaffeine

If there is a “pm” in the name of the rpm, then it is packaged by Packman. If there is no “pm” then it is not packaged by Packman.

For example:

  • amarok-1.4.10-100.pm
    .1 *] kaffeine-0.8.7-0.pm.1
    are both packaged by Packman.

OK Thanks for the advice.

I tried the command and got:

amarok-1.4.10-100.pm.1
kaffeine-0.8.6-54.1

So Amarok is the PM version. So what do you suggest next?

How can I find out why the yauap-engine isn’t working (see error log earlier in this post)?
Should I try a different engine? And if so how do I get one installed?

I recommend you install xine-ui and libxine1 (from packman) and mad (from packman) and amarok-xine (from packman) and switch amarok to the xine engine.

Typically, the very first thing I do after installing openSUSE is to set up the software repositories to make installation of software a “breeze” (which it mostly is IF the repositories are set up correctly). Guidance for that is here:
Repositories/11.0 - openSUSE-Community

Setup ONLY OSS, NON-OSS, UPDATE and Packman. No others. None. If necessary to add others, you can do it on a temporary adhoc basis, install what must be installed, and immediately remove the others. My recommendation is to operate only with OSS, NON-OSS, UPDATE and Packman in your repository lists. Only those. (I hope that is clear). :slight_smile:

Once your repositories are setup, install xine-ui and libxine1 (from packman) and mad (from packman) and amarok-xine (from packman) and switch amarok to the xine engine.

Oldcpu you are a king amongst us Linux numpties (newbies). Thank you very much this is working perfectly now with the xine engine after following your instructions. rotfl!