Revision 093177d...

Go back to digest for 10th February 2013

Optimization in Multimedia

Ralf Engels committed changes in [amarok] /:

Update Dynamic playlist. Get rid of energy optimizing code

The dynamic playlist always used to optimize the generated tracks
by different ways.
However the new biases all have hard conditions. The user also
used to see it like this and was confused if a "pretty good" result
was generated.

The new algorithm will generate an empty list if the conditions
cannot be fullfilled





FIXED-IN: 2.8

File Changes

Modified 22 files
  •   ChangeLog
  •   src/dynamic/Bias.cpp
  •   src/dynamic/Bias.h
  •   src/dynamic/BiasedPlaylist.cpp
  •   src/dynamic/BiasedPlaylist.h
  •   src/dynamic/BiasSolver.cpp
  •   src/dynamic/BiasSolver.h
  •   src/dynamic/TrackSet.cpp
  •   src/dynamic/biases/AlbumPlayBias.cpp
  •   src/dynamic/biases/AlbumPlayBias.h
  •   src/dynamic/biases/EchoNestBias.cpp
  •   src/dynamic/biases/EchoNestBias.h
  •   src/dynamic/biases/IfElseBias.cpp
  •   src/dynamic/biases/IfElseBias.h
  •   src/dynamic/biases/PartBias.cpp
  •   src/dynamic/biases/PartBias.h
  •   src/dynamic/biases/QuizPlayBias.cpp
  •   src/dynamic/biases/QuizPlayBias.h
  •   src/dynamic/biases/TagMatchBias.cpp
  •   src/dynamic/biases/TagMatchBias.h
  •   src/services/lastfm/biases/LastFmBias.cpp
  •   src/services/lastfm/biases/LastFmBias.h
22 files changed in total