Bug 301264 - Phonon codec install with incorrect mimetype.
Summary: Phonon codec install with incorrect mimetype.
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Saved Playlists (show other bugs)
Version: 2.5.90 (2.6 beta)
Platform: Ubuntu Linux
: NOR major
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2012-06-06 09:04 UTC by maxime.haselbauer
Modified: 2012-07-16 22:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.6


Attachments
The error message that appears (265.52 KB, image/png)
2012-06-06 09:05 UTC, maxime.haselbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxime.haselbauer 2012-06-06 09:04:21 UTC
Kubuntu 12.04 32 bit KDE 4.8.3 Amarok 2.5.90 from source
There are apparently problems with the ID when retrieving a playlist save in the database.
Apparently amarok can't find the uid for some of the tracks

See attachement, I draged a playlist into the qeue. It works for some of the songs and not for some others (those in grey)

Reproducible: Always

Steps to Reproduce:
1.Create a playlist
2.Save it
3.Close amarok
4.Ropen amarok
5.Drag the playlist into the qeue
6.Some of the files are greyed and can't be played. 
If however you drag them from the collection view it will work
Comment 1 maxime.haselbauer 2012-06-06 09:05:08 UTC
Created attachment 71616 [details]
The error message that appears
Comment 2 Bart Cerneels 2012-06-06 09:43:10 UTC
Are the tracks in the playlist from the local collection or somewhere else?

Do the tracks play after a little way. They should also become enabled (i.e. not gray) once they are resolved. This could be just a view update problem.
Comment 3 Bart Cerneels 2012-06-06 09:47:10 UTC
Should have looked at the attachment. It seems codec install is conflicting with proxy loading of playlist tracks.
See if installing the codecs manually ( sudo apt-get install ubuntu-restricted-extras ) solves this problem for your install.

Myriam: Something that should be added to the test plan: try to play MP3 without restricted codecs installed.
Comment 4 maxime.haselbauer 2012-06-06 11:40:31 UTC
The whole collection is local (in /home/Music/ )

 sudo apt-get install ubuntu-restricted-extras seems to solve the problem :) 
Thanks Bart !

I don't know how the packaging process works and if it is possible but
Maybe for the release, it would be good that the ubuntu-restricted-extras get automatically installed with amarok (or that amarok suggest to install it when it faces this kind of problem)
Comment 5 Myriam Schweingruber 2012-06-07 04:17:52 UTC
(In reply to comment #3)
> Should have looked at the attachment. It seems codec install is conflicting
> with proxy loading of playlist tracks.
> See if installing the codecs manually ( sudo apt-get install
> ubuntu-restricted-extras ) solves this problem for your install.
> 
> Myriam: Something that should be added to the test plan: try to play MP3
> without restricted codecs installed.

Done: http://amarok.kde.org/wiki/Development/Testing#New_Installation

FWIW: this is a wiki, feel free to add more tests.
Comment 6 Bart Cerneels 2012-07-15 13:15:24 UTC
Git commit f17eb7223fba0eabfe39fe4175decf39f114a789 by Bart Cerneels.
Committed on 25/06/2012 at 10:57.
Pushed by shanachie into branch 'master'.

Remove codec install support, it's in phonon.

Handled in phonon since version 4.4.

M  +0    -60   src/EngineController.cpp
M  +0    -3    src/EngineController.h

http://commits.kde.org/amarok/f17eb7223fba0eabfe39fe4175decf39f114a789