Skip to content

Script to Restart Winamp when it was idle, to save the Media Library database

License

Notifications You must be signed in to change notification settings

levid0s/Winamp-AutoRestart

Repository files navigation

Winamp-AutoRestart

Script for monitoring Winamp, and restart it when idle, to get the Media Library written to disk.

Can be run in the console, but ideally it should be installed as a scheduled task.

See the PowerShell script header for more info.

Usage (Scheduled Task)

This will install the script as a Scheduled task and will start it at Logon. Check %TEMP%\Invoke-WinampAutoRestart.ps1-TIMESTAMP.log to see if the playback status is detected correctly.

Invoke-WinampAutoRestart.ps1 -Install CurrentUser

Invoke-WinampAutoRestart.ps1 -Uninstall

Usage (Inline)

Invoke-WinampAutoRestart.ps1

Usage (Debug)

Invoke-WinampAutoRestart.ps1 -FlushAfterSeconds 10 -LogLevel Verbose

Set-KeyColorBySongRating

Script that changes the colours of the F1 - F5 keys, according to the current song's rating in Winamp.

Needs:

Usage

.\Set-KeyColorBySongRating.ps1

DEBUG: Attempting to connect to named pipe: \\.\pipe\MyNamedPipe
Rating: 5
Rating: 4

About

Script to Restart Winamp when it was idle, to save the Media Library database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published