Lyrics display problem (builds 1218-1222) BUG#5344

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Lyrics display problem (builds 1218-1222) BUG#5344

Re: Lyrics display problem (builds 1218-1222) BUG?

by Peke » Sun Feb 22, 2009 10:44 am

As replied in raised ticket I'm not able to replicate your issue in 1224 using this piece of code.

Code: Select all

Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")

Dim lyrics
lyrics = SDB.Player.CurrentSong.lyrics

set lfile = SDB.Tools.FileSystem.CreateTextFile("c:\lyrics.txt",true)
lfile.Write(SDB.Player.CurrentSong.lyrics)

Lyrics display problem (builds 1218-1222) BUG#5344

by SlowFoxSoftwareLTD » Tue Jan 27, 2009 10:56 pm

The data returned in SDB.Player.CurrentSong.lyrics does not always return the full lyrics string.

Sometimes this value contains only part of the lyrics string. This seems to happen on the first attempt at getting at the lyrics in a script. The second, and subsequent retrievals of the lyrics (for the same track) works OK.
This happens for almost every track.

Update:
It is still happening after installing build 1224.
I re-tested with MM 3.06. It is definitely working just fine there.
This problem was introduced in 3.1, but I cannot be sure in which build.

Example: This is an actual truncated text string, including the "..." at the end, returned in SDB.Player.CurrentSong.lyrics.
--------------------------------------------------
INCORRECT (Truncated by MM)
--------------------------------------------------
When your baby leaves you all alone
And nobody calls you on the phone
Ah, don't you feel like crying?
Don't you feel like crying?
Well, here I am my honey
Oh, come on, you cry to me

When you'r...
--------------------------------------------------
CORRECT (Full contents of lyrics tag)
--------------------------------------------------
When your baby leaves you all alone
And nobody calls you on the phone
Ah, don't you feel like crying?
Don't you feel like crying?
Well, here I am my honey
Oh, come on, you cry to me

When you're all alone in your lonely room
And there's nothing but the smell of her perfume
Ah don't you feel like crying?
Don't you feel like crying?
Ah don't you feel like crying?
Come on, come on, cry to me

Well, nothing can be sadder
Than a glass of wine, all alone
Loneliness, loneliness, it's such a waste of time
Oh yeah
You don't ever have to walk alone, oh you see
Oh come on, take my hand
And baby won't you walk with me?
Oh yeah

When you're waiting for a voice to come
In the night but there is no one
Ah don't you feel like crying?
Don't you feel like crying?
Don't you feel like crying... (repeat 'til fade)
--------------------------------------------------

Top