Discussion:
More Lyrics...
(too old to reply)
Bizzare
2005-10-18 10:15:03 UTC
Permalink
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>
zachd [ms]
2005-11-07 04:48:13 UTC
Permalink
Nah, I don't really follow scripting for lyrics. I'll flag it for future
thought, but it's not something I've looked into.
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
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
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
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>
Bizzare
2005-11-15 09:41:01 UTC
Permalink
Thanks.
If you happen to think of someone/somewhere I might find out some more, I'd
really appreciate it. All I'm after is how the "WM/Lyrics_Synchronised" data
can be extracted/loaded into a JS object. The "WM/Lyrics" data comes out as
string data, so that's easy; but the synchronised stuff is not so obvious,
obviously!

Cheers
--
<Biz>
Post by zachd [ms]
Nah, I don't really follow scripting for lyrics. I'll flag it for future
thought, but it's not something I've looked into.
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
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
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
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>
zachd [ms]
2005-11-16 07:09:26 UTC
Permalink
The mostly official reply I got back is that the stuff further down the line
here is Not Documented, sorry. So if you twiddle around enough (opening
binaries in notepad, etc), you can probably get more info, but Officially
you've got all the documentation currently available as regards what you're
trying to do. But the right (busy) people have been asked about this, so
it'll hopefully stick in their mind a little for the future. =\
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
Thanks.
If you happen to think of someone/somewhere I might find out some more, I'd
really appreciate it. All I'm after is how the "WM/Lyrics_Synchronised" data
can be extracted/loaded into a JS object. The "WM/Lyrics" data comes out as
string data, so that's easy; but the synchronised stuff is not so obvious,
obviously!
Cheers
--
<Biz>
Post by zachd [ms]
Nah, I don't really follow scripting for lyrics. I'll flag it for future
thought, but it's not something I've looked into.
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
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
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
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>
Bizzare
2005-11-16 12:58:05 UTC
Permalink
Thanks Zach - I appreciate the time and effort.
Oh well, that's Official Replies for you!

I'll keep plugging away - maybe someone will stick up a reply or something.
It's funny 'cause there is documentation all the way up to actually
detailing what a Metadata Text Object is (although there are details of the
structure for doing it in C++).
Anyway, thanks again.


Cheers
--
<Biz>
Post by zachd [ms]
The mostly official reply I got back is that the stuff further down the line
here is Not Documented, sorry. So if you twiddle around enough (opening
binaries in notepad, etc), you can probably get more info, but Officially
you've got all the documentation currently available as regards what you're
trying to do. But the right (busy) people have been asked about this, so
it'll hopefully stick in their mind a little for the future. =\
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
Thanks.
If you happen to think of someone/somewhere I might find out some more, I'd
really appreciate it. All I'm after is how the "WM/Lyrics_Synchronised" data
can be extracted/loaded into a JS object. The "WM/Lyrics" data comes out as
string data, so that's easy; but the synchronised stuff is not so obvious,
obviously!
Cheers
--
<Biz>
Post by zachd [ms]
Nah, I don't really follow scripting for lyrics. I'll flag it for future
thought, but it's not something I've looked into.
--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
Post by Bizzare
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
player.currentMedia.getAttributeCountByType("WM/Lyrics_Synchronised", "")
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>
Loading...