/MusicPlayer

Play songs in Background with a set of user preferences available as a 'switch' in the cmdlet.

Primary LanguagePowerShell

Powershell Music Player

Invoke-MusicPlayer automates Windows Media Player, to play songs in Background with a set of user preferences available as a 'switch' in the cmdlet. Full Article

Features and Benefits

  • Plays all audio in background on a hidden Media player instance

  • Filter Audio Files

  • Randomly shuffles your play list

  • Runs your playlist in a never ending loop

  • Stop the playing audio on demand

  • Stores\Caches last accessed directory

  • Displays information and user preferences

  • Popup a balloon notification in bottom Right corner of the screen, whenever a new song starts playing and continues to do that until manually stopped or it completes playing all songs.

  • ** Support Switch aliases**

Installation

PowerShell V5 and Later

You can install the MusicPlayer module directly from the PowerShell Gallery

  • [Recommended] Install to your personal PowerShell Modules folder
Install-Module MusicPlayer -scope CurrentUser



  • [Requires Elevation] Install for Everyone (computer PowerShell Modules folder)
Install-Module MusicPlayer

PowerShell V4 and Earlier

To install to your personal modules folder run:

iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/PrateekKumarSingh/MusicPlayer/master/Install.ps1')



Help Information

Run below commands to see some examples

Get-Help Invoke-MusicPlayer -Examples