Re: [Banshee-List] Mirage not working



On 22/05/13 20:32, Jeremy Leonard wrote:
Hello,

executing Banshee in random by similar mode with the --debug-mirage
switch, I always got the same huge average weighted distance for every
song, and the selected songs were not at all similar.


[Info  21:08:57.808] Running Banshee 2.4.1: [Ubuntu 12.04 LTS
(linux-gnu, x86_64) @ 2012-07-17 02:26:43 UTC]

   Avoided artist ids =
   Seed Distances:
   Average weighted distance:
340.282.300.000.000.000.000.000.000.000.000.000.000,0
 >>>>>>>>>>>>>> Total ms spent in Distance func: 0 ms - spent reading: 0
ms; total calls: 0
 >>>>>>>>>>>>>> Distance [min, max] = [3,402823E+38, 0]


After downloading the latest source from git and making some minor code
changes, the distance calculation now seems to work:


[5 Warn  22:15:31.196] Executed in 1450ms SELECT...
   Avoided artist ids = 342, 444, 444, 802
   Seed Distances:
     Skipped/Discarded seeds (weight 0,1)
       distance: 15,9, weighted: 159,2 from artist_id  342, uri file://...
       distance: 17,6, weighted: 175,9 from artist_id  444, uri file://...
       distance: 14,4, weighted: 144,2 from artist_id  444, uri file://...
       distance: 14,2, weighted: 141,7 from artist_id  802, uri file://...
   Average weighted distance: 155,3
 >>>>>>>>>>>>>> Total ms spent in Distance func: 1226,45199999996 ms -
spent reading: 456,079000000002 ms; total calls: 9591
 >>>>>>>>>>>>>> Distance [min, max] = [3,551699, 4452,018]


Has anyone else noticed this behaviour in other releases/platforms?

Kind regards,
Jeremy

Can you share the code changes you made?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]