Bizzare
2005-10-18 10:15:03 UTC
Hi Zach/Jim/Whoever!
I posted a while ago with a question about captions/lyrics.
It seems I missed the getItemInfo("WM/Lyrics"), so having found out about it
and tried it, it works fine.
I've been looking at "WM/Lyrics_Synchronised", which is more complicated. I
can retrieve the attribute count using:
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
and I can retrieve a Metadata Text object using:
player.currentMedia.getItemInfoByType("WM/Lyrics_Synchronised", "", 0)
but I'm stumped as to how I can extract the various properties/values from
the object. Trying things like
player.currentMedia.getItemInfoByType("WM/Lyrics_Synchronised", "",
0).description
just doesn't work, and examining the object, it looks like it's empty (but I
can't tell for sure). Any ideas on how to get the actual data in Javascript?
Cheers
<Biz>
I posted a while ago with a question about captions/lyrics.
It seems I missed the getItemInfo("WM/Lyrics"), so having found out about it
and tried it, it works fine.
I've been looking at "WM/Lyrics_Synchronised", which is more complicated. I
can retrieve the attribute count using:
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
and I can retrieve a Metadata Text object using:
player.currentMedia.getItemInfoByType("WM/Lyrics_Synchronised", "", 0)
but I'm stumped as to how I can extract the various properties/values from
the object. Trying things like
player.currentMedia.getItemInfoByType("WM/Lyrics_Synchronised", "",
0).description
just doesn't work, and examining the object, it looks like it's empty (but I
can't tell for sure). Any ideas on how to get the actual data in Javascript?
Cheers
<Biz>