Recommended Posts

I made a gadget that shows WMP song information in the sidebar.

This gadget needs the song signature plugin. Once you install the winter funpack, you can delete all other crap that comes with it. Make sure the plugin is enabled in WMP.

Docked View:

post-62693-1175664879_thumb.jpg

Undocked View:

post-62693-1175664893_thumb.jpg

Download from Windows Live Gallery

I have submitted this to Gallery.live.com. But it's not available yet.

Known Issues:

1. The artwork will work only if you have folder.jpg in each album folder.

2. If folder.jpg is not present, it will show generic icon (same as what WMP11 uses).

3. It does not read artwork from the files itself. (I am working on it, but WMP API is seriously screwy on this.)

4. Long song/artist/album names will be trimmed.

Future Plans:

1. Better background graphic

2. Larger undocked view

3. Rating display

4. Artwork from files or may be amazon.

Lastly, I have used two images from WMP11. They are ? Microsoft.

Any feedback is much appreciated.

Edited by dhan
3. It does not read artwork from the files itself. (I am working on it, but WMP API is seriously screwy on this.)

I tried looking for that in the WMP 10 SDK using "player.currentMedia.getItemInfoByType(name, language, index)" to find out that if was left out on purpose I guess its the same for WMP 11 SDK.

Hey did you have any problem using the gadget ? The Live gallery team rejected my submission saying it won't install. :o

I think i might know the reason why. Did you select the folder and made it a zip file before renaming it from ".zip" to ".gadget"?

When you do that the zip file will have a folder inside with your files, what you want is to just have the files.

Zip -> folder_Name -> Files

Just highlight the files and right click Send To Compressed (zipped) folder so you get a nice .zip file like this

Zip -> files

Now you can rename it to a .gadget and send it to Gallery.live.com.

The Live team is correct, it does not install normally, I had to extract it and place it the gadgets folder manually. Looks good for a first attempt, one thing I would like it see it do is scroll the text if the title is too long and such.

I fixed it. The scrolling text part is on my things to do this weekend. :)

I tried looking for that in the WMP 10 SDK using "player.currentMedia.getItemInfoByType(name, language, index)" to find out that if was left out on purpose I guess its the same for WMP 11 SDK.

I tried that. Somehow I keep on getting errors with getItemInfoByType. Also the player context, I can't connect it to the current song without creating another instance of wmplayer, which also starts playing the same song!

I think i might know the reason why. Did you select the folder and made it a zip file before renaming it from ".zip" to ".gadget"?

When you do that the zip file will have a folder inside with your files, what you want is to just have the files.

Zip -> folder_Name -> Files

Just highlight the files and right click Send To Compressed (zipped) folder so you get a nice .zip file like this

Zip -> files

Now you can rename it to a .gadget and send it to Gallery.live.com.

Oh damn, you are right. Fixed it. Thanks. :)

Edited by dhan
Also the player context, I can't connect it to the current song without creating another instance of wmplayer, which also starts playing the same song!

"<PARAM name="autoStart" value="false" />" this should help, I found it in the WMP 11 SDK.

&lt;object id="Player" height="0" width="0"&lt;BR&gt;		classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"&gt;&lt;BR&gt; &lt;PARAM name="autoStart" value="false" /&gt;&lt;BR&gt;	&lt;/object&gt;

Hey, if you would like i can implement a better album art system for you. I currently have a gadget that takes your now playing song, queries the music brainz database for the album name, and then queries amazon for the album art. If you drop me a PM i'd be happy to let you use the code in this gadget

Hey, if you would like i can implement a better album art system for you. I currently have a gadget that takes your now playing song, queries the music brainz database for the album name, and then queries amazon for the album art. If you drop me a PM i'd be happy to let you use the code in this gadget

I thought about connecting to amazon but personally I have many albums that are not listed anywhere. But I think I can follow this sequence.

1. Look up folder.jpg (just because it is faster)

2. Look up the mp3 file itself.

3. Look up amazon and so.

Could do that, i've created a second version of my now playing gadget to work with this winter api that retrieves the album from amazon. If you wanna drop me an email at [email protected] i can help you put the Amazon code into your gadget as a secondary source.

I thought about connecting to amazon but personally I have many albums that are not listed anywhere. But I think I can follow this sequence.

1. Look up folder.jpg (just because it is faster)

2. Look up the mp3 file itself.

3. Look up amazon and so.

I got it

Player.currentMedia.getItemInfoByType("WM/Picture", "", 0).URL

Just needed the ".URL" to get the album art url instead of trying to get the MetadataPicture object. It will look something like this:

vnd.ms.wmhtml://localhost/WMP309efcb0-fe0d-409a-9b44-4408a8e68546.jpg

but it did display the album art for a web page i used to test it.

This has the potential to be the gadget I have been looking for, but...

Doesn't seem to work for me.

It displays the track name and album name but for some reason not the album art.

I have the folder.jpg in the folder where the music is...

Any ideas?

<edit>

I fixed it.. changed the code to find the folder.jpg to read this:-

oSourceUrl=oWsh.RegRead("HKCU\\Software\\Microsoft\\MediaPlayer\\CurrentMetadata\\SourceURL")
oPos = oSourceUrl.lastIndexOf("\\")
oArtwork =oSourceUrl.substr(0,oPos) + "\\folder.jpg"
var FSO = new ActiveXObject("Scripting.FileSystemObject")
if (FSO.FileExists(oArtwork))
	imgArtwork.src = oArtwork
else
	imgArtwork.src = "images/artwork.png"

It now works by finding the current track path in the registry, finding the last backslash (\) and chopping up to it and then adding folder.jpg to the end

:D

Edited by L0KI

Good idea there Loki, i was working on getting myn to take the path, work out the filename length and then remove it from the string therefore putting you at the backslash, but your idea is much better :)

Btw, i'm not related to this gadget, i'm working on something else

Sorry to hijack the thread.. but I just finished my own customisation of this gadget... I'm loving it.... :D

I ripped the background for the iStat wireless gadget.. so can't share this until I have permission for the code for media player and the background...

post-11693-1176497101.jpg

  • 3 weeks later...
  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Win11Debloat 2026.06.14 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 2026.06.14 changes: This is a minor release that hopefully addresses the false positives in Windows Defender and Bitdefender that prevented users from downloading and/or running Win11Debloat. Refactor Get-RegFileOperations.ps1 to address false positives by @Raphire in #626 Add logging around WinGet app retrieval and increase timeout to 20s by @Raphire Download: Win11Debloat 2026.06.14 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Still using Microsoft Money 2005 in 2026 here!
    • I have a couple to mention, and they still run great on Windows 11 Adobe Lightroom Version 2 Alcohol 120% CLZ Book, Comic, Game, Movie, & Music Collector (PC - No longer sold / Grandfathered in - now mobile apps/online only) DVDDecrypter ISO Buster Pro version 1.9.1 (Still supports HD-DVD too) Nero Burning Rom 8 (Only the burning software, no backup, media converter, etc)   OpenAL (Runtime) - GuildWars 1 Reforged still uses it for 3d headphone audio PowerDVD 12 Ultra SPTD (SCSI Pass through Direct Driver) UltraISO Windows Media Encoder 9 WinImage You can tell I still sport an optical drive    
    • Linux 7.1 arrives with an NTFS overhaul and major hardware performance boosts by Paul Hill The founder of the Linux kernel has just announced the availability of Linux 7.1. This is a stable version of the kernel that will now be tested by various Linux distributions before it is shipped to users through update managers. Some users, like those on Debian, for example, might not get it for a long time, if at all, while Fedora users can expect it in the near future. With Linux 7.1 out on time, the merge window for Linux 7.2 is now open, giving contributors the opportunity to send in major new features that have been waiting for the last two months. Torvalds warned that he is currently travelling and will be in another timezone, so timing for the merge window may be irregular due to timezone differences and limited internet access. Torvalds said that he has already fetched early pull requests to allow him to do some offline work, but the travel could still cause disruption. Right now, he is not planning to extend the release, but did consider it. He said he might later regret not extending, though. In terms of this last week of development for Linux 7.1, Torvalds said there were no major or alarming changes. This week consisted mostly of smaller driver updates to GPU, networking, and sound, networking fixes, trace tooling fixes, and misc minor fixes. The shortlog this week lists fixes for driver bugs, memory leaks, I/O and USB fixes, networking and RDMA fixes, DRM/graphics fixes, and tooling and verification improvements. Specific fixes include USB series heap-overflow and buffer overflow fixes, and multiple use-after-free, memory-leak, and refcount corrections across subsystems such as i2c, zram, gpio, and net. There are fixes for graphics drivers, including amdgpu, i915, and virtio, as well as hypervisor and virtualization tweaks affecting mshv, vmbus, and hyperv. According to Phoronix, anyone running Linux 7.1 should look out for the new NTFS driver, Intel FRED for improved performance on Panther Lake and future CPUs, faster graphics with Intel Arc Battlemage, and improvements for older AMD Radeon GPUs. If you are running Linux on your computer and everything is fine, then you don’t need to worry about updating to Linux 7.1 as a priority; just wait for it to be pushed to you. If you have tried Linux on hardware but it didn’t work properly, trying again with a distro that uses Linux 7.1 could cause Linux to work on your machine, thanks to the new hardware support.
    • you can also do this with this tool: PowerSettingsExplorer made by mbk1969 at 3dguru forum.. I found it by accident researching on modern standby and annoying quirks of it in 2022
  • Recent Achievements

    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!