![]() PSM changing when a media stops - 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: PSM changing when a media stops (/showthread.php?tid=92691) PSM changing when a media stops by Bhaclash on 10-26-2009 at 07:53 PM
Hello! RE: PSM changing when a media stops by Spunky on 10-27-2009 at 02:46 AM
I think the script works that way because, once the music stopped playing, WLM would revert back to displaying the personal message. In WLM 14, both can be shown at the same time meaning it would never be removed. RE: PSM changing when a media stops by Bhaclash on 10-27-2009 at 07:45 PM
Oh, I forgot to mention I'm using WLM 8.5, not the latest one (and I'm not planning to change yet). And about the code, yes, mPSM uses function setNowPlaying, which is written by -dt- if I'm not mistaken. RE: PSM changing when a media stops by Schnappi on 10-28-2009 at 07:39 AM can you write something similar for wlm 14? RE: PSM changing when a media stops by Spunky on 10-28-2009 at 02:43 PM
I'll take a look at this when I finish work (2pm GMT) I've had a look, and I can't reproduce it. What I have done, however, is to add an extra line of code that should disable the media PSM when it thinks it's stopped. Try it out and let me know if it works ![]() http://spunkylm.co.uk/files/mPSM.plsc It may download as a zip file... Just rename it to a plsc RE: PSM changing when a media stops by Bhaclash on 10-31-2009 at 12:53 AM
Okay, I managed to solve the problem with the help of your script code: I've only changed the underlined parts. Thank you, Spunky, for your help and the whole mPSM script ![]() ------------------------------------------------------------------------------- I was a bit quick to say it's working...:/ Now at first it displays the PSM correctly, then it removes the song's title from the PSM... Somehow the else branch is always triggered... Why could it be? |