[Banshee-List] is the mirage extension actually working?



Hello,

I recently enabled the Mirage extension (I am using banshee 2.0.0 on ubuntu
10.04) and I have been trying to understand a bit more how it works. After
some research and a few tests, I am now wondering whether the plugin is
actually working or not.

The results of songs analysis (scms data) should be stored in the banshee
database under MirageTrackAnalysis. After making sure that the songs have
been analyzed, I had a look at the database and found that the ScmsData
column is essentially empty, it simply contains lots of "[]"

http://banshee-media-player.2283330.n4.nabble.com/file/n3522243/miragetrackanalysis.png 

My understanding is that ScmsData should contain a string representation of
a non trivial bytes array with some information about the track analysis.

To see what was happening under the hoods, I recompiled the extension adding
a few debug statements such as

Log.DebugFormat ("Mirage - roque asked for scms 0 {0}", analysis.ScmsData);

in AnalyzeLibraryJob.cs under Banshee.Mirage to see how the scms data look
like while the plugin was doing the analysis. I ran banshee in debug mode
and here is what I found:

[1 Debug 18:25:55.886] Loaded new mode into PlayQueueSource-1 shuffler:
mirage_similar
[1 Debug 18:25:55.893] Delayed Initializating Banshee.Mirage.MiragePlugin
[1 Debug 18:25:55.894] Starting - Analyzing Song Similarity
[1 Debug 18:25:55.895] Extension service started (MirageService, 0.002225)
[15 Debug 18:25:55.919] Mirage - Processing 5123-X
libmirageaudio: rate=44100, resampling=0.500000
libmirageaudio: decoding X.mp3
libmirageaudio: EOS Message sent
libmirageaudio: EOS Message received
libmirageaudio: time = 4300.000000
libmirageaudio: frames=2583 (maxhops=2583), size=513
[15 Debug 18:26:00.128] Mirage - roque asked for scms 0 System.Byte[]
[15 Debug 18:26:00.128] Mirage - roque asked for scms 1 System.Byte[]
[15 Debug 18:26:00.129] Mirage - roque asked for scms 2 System.Byte[]
[15 Debug 18:26:00.140] Finished - Analyzing Song Similarity

Again as far as I understand, the code is not casting the array of bytes
SmcsData into a string correctly. I simply get System.Byte[] instead of a
string. I am not a C# programmer, but I have the feeling that something is
not working properly. Also the playlists generated by Mirage sound rather
flat and random - at least to my ears!

Can anybody give me a hint on what's going on before I file a bug report?

Thanks.

--
View this message in context: http://banshee-media-player.2283330.n4.nabble.com/is-the-mirage-extension-actually-working-tp3522243p3522243.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.


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