Steampunk media player Xwidget 2.0.1yereverluvinuncleber on DeviantArthttps://www.deviantart.com/yereverluvinuncleber/art/Steampunk-media-player-Xwidget-2-0-1-677973202yereverluvinuncleber

Deviation Actions

yereverluvinuncleber's avatar

Steampunk media player Xwidget 2.0.1

Published:
4.2K Views

Description

This is version 2.0.1 of the Steampunk Media Player XWidget - updated - please try it. This is now the final version so if it does not work for you please tell me! There were two remaining bugs, one with the menu failing to update and the other concerned saving the preferences in Win10. Win10 has a problem saving .INI files in the program's default folder if that folder is within one of the two program files folders. When UAC is enabled and switched to secure it prevents the .INI file that is used to store preference data from being written to.  When the user makes a change that requires the preference file to be written, the write doesn't happen. As a solution, I have created a default .INI in the program's folder which it copies into the user's documents folder. It uses that version from that point onward.

// added code to better handle the prefsFileName
// added read from default ini file in Xwidget folder
// added write to new ini file in user documents folder due to Win10 protection of the program files folders
// saves the chosen folders to the main menu

I still have a tiny bit more to do but it should work better now.

-oOo-

// added deletion buttons
// changed red tap to a hints toggle
// added sounds for the chain pull and the keypresses
// added the menu option to install the font
// bug when cancelling after pressing the F to read an XML file - fixed

// Fixed issue with CDROM checking on non-CD equipped systems.
// Fixed a bug with the Trim method conflicting with the Trim function from the Yahoo widget version
// Fixed a bug with CD Rom detection
// fixed a bug with one track field showing as a shadow (aero blur enabled by mistake)

// added WMplayer timer to allow restart in case the WMplayer activeX connection becomes disconnected
// added activeX object disconnection on shutdown to close off activeX connections
// added reload functionality so that a restart can function within code
// added wakeFromSleep in code - testing that now
// fixed a bug forcing wmplayer disconnects.

// chain pull does nothing - fixed
// tap still does nothing - fixed
// test bad file types that will not play in Windows media player

// fixing a bug about playing non-supported codecs
// added busy timer
// fixed a bug preventing the autoplay selection from working
// fixed a bug with next/previous play not working after a restart with autoplay disabled
// tooltips for all items
// checks for valid folder before playing
// when saving a playlist, checks it is an XML file.
// default music folder should be C:\Users\Public\Music
// selecting a CD from the folder menu works from the menu too.
// unknown file types such as .flv - if Windows will not play the filetype then pop up an error message.

// allows dragging and dropping onto an existing playlist.
// utilises the fonts read from the registry.
// all prefs save successfully
// all prefs opened successfully
// play list text highlighted correctly
// loads of smaller bugfixes.
// refresh after shuffle
// fixed the lack of keypress capture
// drag drop onto the playlist areas
// drag drop onto the pipes
// "Page No." needs a background to be readable
//  .MPG  capitalised suffixes handled
// write a .xml playlist
// dragging three files to the playlist, it excludes the last file
// bug when selecting the beyond the first chunk not found
// all the prefs need to be read when the widget is opened
// xml write/read bug with path  e:\music not setting correctly
// font issue resolved - now reads the fonts from the registry
// preference screens added

// grouped the bottom keys, to allow the button fade needs to stop when the keys are being used
// modify the drop position of a track dragged to take into account the page number
// added the ability to delete a track from the playlist

WARNING: The conversion is now 100% complete and it is now a working Xwidget. It should be largely bug-fixed now, the playlist functionality works and I intend to add some final new functionality later. It works for now, it does the job. It is steampunk and it plays your music! Please test it. Give me feedback on anything that breaks.

This is the conversion that you can see being undertaken here in this guide:

yereverluvinuncleber.deviantar…

NOTE: To make it look like the playlist above, you'll need the Centurion light SF font that you can get here: at Ufonts.

The following tasks are yet to complete in this version:

// test bad file types that will not play in Windows media player
// revisit the countDirContents to test the filecount and why it is different
// playlist - delete tracks

This is a Steampunk media player xwidget based on my original Yahoo Konfabulator Steampunk XWidget. A widget that will play your music but  take up only a tiny amount of your desktop. It is a lovely piece of eye-candy as well as being useful on your desktop.

Be aware that this widget is still in beta and there is a possibility that some small functions may not all work. Please report any errors back to me.

-oOo-

You can control the volume level of the media player by moving the slider or pause/play the track by clicking on the play button. Next and Previous buttons will select the next track to play. You may open a file, group of files or a folder for playing. It will play all media types that Windows media player supports. You can download codecs that will allow it to play any audio type.

The Steampunk Media Player XWidget is a moveable widget that you can move anywhere around the desktop as you require. The widget is usable on all versions of Windows.

It has been tested on Windows 7 Ultimate 64 bit and Windows 10 but it should work on all versions with no problems whatsoever.

You will,  of course, need the Xwidget engine for this widget to run. Link here www.xwidget.com/

All javascript widgets need an engine to function, in this case the widget uses the XWidget engine that supports jscript. The engine interprets the javascript and creates the widget according to the XML description and using the images you provide.

If you prefer an identical Yahoo widget then get it here: yereverluvinuncleber.deviantar…

You may use any of my own images in your own creations but commercially only with my permission. In all other non-commercial cases I require a credit to the original artists using their/my name or pseudonym and a link to their/my sites. With regard to the commercial use of incorporated images from other artists, permission would need to be obtained from the original owner.
© 2017 - 2025 yereverluvinuncleber
Comments7
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In

This thing is the size of a postage stamp on my computer, and it's 'zoomed' to 100%. It's not usable, I can't begin to see, read or operate it.