What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] VLC What Im Playing

[Release] VLC What Im Playing
Author: Message:
GoUiDoS
New Member
*

Avatar

Posts: 3
42 / Male / Flag
Joined: Dec 2007
O.P. Tongue  [Release] VLC What Im Playing
hello there,
This is my first submission to the forum, i've just discovered MP!L for like 3 days now.
A long time ago i made this Library for mIRC which shows the currently opened file in VLC, so i've decided to bring this to MSN.

I know, MSN is already capable of showing the "what i'm listening to" for VLC, but it doesn't work with all versions of the player, and moreover it shows sometimes the full path of the file, not really pretty.

For now, my very first version of this Script extracts the file currently opened from VLC process and sets it as what you are listening to.
When the file is a MP3 music, It displays the IDT3V1/2 tag instead.

Let me know any of your suggestions and new features/ideas for this script.

Thanks






.plsc File Attachment: VLC What Im Playing.plsc (34.13 KB)
This file has been downloaded 375 time(s).
[Image: gouidoslogo3.jpg]
12-18-2007 04:10 PM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: [Release] VLC What Im Playing
Nice work, GoUiDoS.

Suggestions for later versions:
  • build in an Options pane for choosing the style of the Status Message (e.g. Title - Artist instead of Artist - Album - Title)
  • execute the regsvr32 automatically using Shell.Run upon first script start (var Shell = new ActiveXObject("WScript.Shell");)
Maybe you also want to contact -dt- as he could integrate VLC support in his Music Now Playing script.
Regards,
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
12-18-2007 04:22 PM
Profile E-Mail PM Web Find Quote Report
GoUiDoS
New Member
*

Avatar

Posts: 3
42 / Male / Flag
Joined: Dec 2007
O.P. RE: RE: [Release] VLC What Im Playing
quote:
Originally posted by mynetx

[*]execute the regsvr32 automatically using Shell.Run upon first script start
I thought the regsvr32 was automatically executed by the <OleFiles> node in the scriptinfo.xml file during install ?
it seems to register automatically the dll on my computer when i install my script from scratch.
but maybe with older version of MP!L it doesn't work. i'll see what i can do about it.


The options pane is my next step, i plan to do it soon.
Thanks for your suggestions ;)
[Image: gouidoslogo3.jpg]
12-18-2007 04:30 PM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: [Release] VLC What Im Playing
As for the OLEFiles, that's right, but it can't be wrong to do it with

var Shell = new ActiveXObject("WScript.Shell");
Shell.Run("regsvr32 "+MsgPlus.ScriptFilesPath+"\\GoUiDoS.dll");

upon first script call. Then store a pref in registry to see that the regsvr32 has been executed when the script starts the next time.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
12-18-2007 04:36 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: [Release] VLC What Im Playing
quote:
Originally posted by mynetx
As for the OLEFiles, that's right, but it can't be wrong to do it with

var Shell = new ActiveXObject("WScript.Shell");
Shell.Run("regsvr32 "+MsgPlus.ScriptFilesPath+"\\GoUiDoS.dll");

upon first script call. Then store a pref in registry to see that the regsvr32 has been executed when the script starts the next time.

Whats the point? just put a try statement when trying to call the DLL functions, if they fail then it didn't register and the script should be re-imported
<Eljay> "Problems encountered: shit blew up" :zippy:
12-18-2007 05:29 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [Release] VLC What Im Playing
quote:
Originally posted by mynetx

Maybe you also want to contact -dt- as he could integrate VLC support in his Music Now Playing script.
theres already vlc support in the next version of mnp :P
[Image: dt2.0v2.png]      Happy Birthday, WDZ
12-18-2007 05:35 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On