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)
--------------------------------------------------
Lyrics display problem (builds 1218-1222) BUG#5344
Moderator: Gurus
-
SlowFoxSoftwareLTD
- Posts: 70
- Joined: Thu Nov 20, 2008 8:17 am
- Location: Toronto, Canada
Re: Lyrics display problem (builds 1218-1222) BUG?
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)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Lyrics display problem (builds 1218-1222) BUG?
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.