Shoutbox

Now Playing not displayed - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Now Playing not displayed (/showthread.php?tid=88798)

Now Playing not displayed by Baggins on 01-29-2009 at 10:48 PM

My media is set, but it doesn't show in my contact list (2). Two other people's media doesn't show either (1 & 3). Person 5 can see my media correctly, I didn't check with 1, 3, or 4.

[Image: attachment.php?pid=949006]

1
Windows XP Service Pack 3 (5.1.2600)
Windows Live Messenger 8.5.1018
Messenger Plus! Live 4.70.0.334
Skin: Ev0 3.1.8 Custom

2 - ME!!!
Windows Vista Home Premium Service Pack 1 (6.0.6001)
Windows Live Messenger 14.0.1202
Messenger Plus! Live 4.79.0.353
Music Now Playing 1.3.4

3
Windows Vista Ultimate x64 Service Pack 2, v.113 (6.0.6002)
Windows Live Messenger 14.0.1202
Messenger Plus! Live 4.79.0.354
Skin: 2008 Status Icons 0.1.0
Music Now Playing 1.3.4

4
Windows XP Service Pack 3 (5.1.2600)
Windows Live Messenger 8.5.1018
Messenger Plus! Live 4.70.0.334

5
MSN Messenger 8.1.0178.00
Plus! Not installed


RE: Now Playing not displayed by djdannyp on 01-29-2009 at 10:51 PM

What music players is everyone using?

Also, I don't think that the 'Music Now Playing' script works properly on WLM14, which could explain the problem for two of you


RE: Now Playing not displayed by blessedguy on 01-29-2009 at 11:00 PM

if you type (!SVER), certainly there will be Music Now playing...
It really doesn't show up correctly in WLM14, but people see it right if they're using 8.5 or in a conversation with you.
[Image: see.png]
[Image: see2.png]


RE: Now Playing not displayed by Baggins on 01-30-2009 at 03:25 AM

so this is a problem with Music Now Playing and WLM14?


RE: Now Playing not displayed by MeEtc on 01-30-2009 at 04:25 AM

BTW, I'm the only person with that skin listed in 1, and yes i can see your music.

The actual reason for this bug is due to the custom formatting used by Music Now Playing for the raw PSM value
A normal PSM value sent by WMP looks something like this:

code:
WMP\0Music\01\0{0} - {1}\0T.N.T.\0AC\0Bacobens Rock Top 500\0\0
Where "\0" represents a NUL character.
Splitting these values into an array with their meanings results in something like this:
code:
[0]Player
[1]Media type [Music|Games|Office]
[2]Enable bit (Show what I'm listening to is checked)
[3]PSM string formatting
[4]song name {0}
[5]Artist {1}
[6]Album {2}
[7]some ID string {3}

WLM 8.5 and lower will use the value of [3] to determine how the PSM is shown inside the client. In WLM 14, this was changed so now only the default format of "{0} - {1}" Is used, and ignores the formatting string altogether.

Now here's where dt's Music now Playing comes in. MNP because it can show more than song artist and album, can't use these 3 fields alone. Instead, the whole thing is written as the format instead.
Here's an example:
code:
\0Music\01\0AC/DC - T.N.T. (03:34)\0\0\0\0\0
So in fact WLM 14 is showing the "What I'm Listening to" properly, its showing"<song> - <artist>" which if you're using MNP results in " - "