mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Don't prioritize album-less tracks in edge cases.
This commit is contained in:
@@ -459,7 +459,7 @@ Query::howSimilar( const Tomahawk::result_ptr& r )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// don't penalize for missing album name
|
// don't penalize for missing album name
|
||||||
if ( m_albumSortname.isEmpty() || rAlbumname.isEmpty() )
|
if ( m_albumSortname.isEmpty() )
|
||||||
dcalb = 1.0;
|
dcalb = 1.0;
|
||||||
|
|
||||||
// weighted, so album match is worth less than track title
|
// weighted, so album match is worth less than track title
|
||||||
|
Reference in New Issue
Block a user