Installation issues
MPV not found error on activation
MPV not found error on activation
Install MPV
- Download from mpv.io
- Extract to a permanent location (e.g.,
C:\Program Files\mpv) - Add the mpv directory to your system PATH
Verify installation
Extension fails to activate silently
Extension fails to activate silently
- MPV is not installed or not in PATH
- Extension activation failed during startup
- Global storage directory creation failed
Check extension status
- Open Command Palette (
Cmd+Shift+PorCtrl+Shift+P) - Type “Developer: Show Running Extensions”
- Look for “MUDE music player” in the list
- Check if it shows any errors
Check VS Code logs
- Open Command Palette
- Type “Developer: Open Extension Logs Folder”
- Look for MUDE-related errors
Playback issues
No media is currently playing error
No media is currently playing error
- Click the headphone emoji (🎧) in the status bar
- Or use Command Palette: “MUDE: Search Music”
- Select a track to load and play
Track downloads but doesn't play
Track downloads but doesn't play
- MPV failed to load the downloaded file
- The downloaded file is corrupted
- MPV lost connection to the extension
Clear cached files
- Close VS Code completely
- Navigate to the global storage directory:
- macOS/Linux:
~/.config/Code/User/globalStorage/mayur1377.mude/ - Windows:
%APPDATA%\Code\User\globalStorage\mayur1377.mude\
- macOS/Linux:
- Delete
youtube_download.webm - Restart VS Code and try again
Error loading track message
Error loading track message
$(error) Error loading [Track Name] in status barCause: Download failed or MPV couldn’t load the file.Common reasons:- Network connectivity issues
- YouTube/YouTube Music blocking the download
- Disk space issues
- Invalid video ID or unavailable content
Try a different track
Check disk space
Audio stuttering or quality issues
Audio stuttering or quality issues
- High CPU usage in VS Code
- Network issues during download
- MPV configuration issues
- Check system resources: Close unnecessary applications to free up CPU/memory
- Ensure complete download: Wait for the download to fully complete before playback starts
- Restart MPV: Reload VS Code to restart the MPV process
- Check MPV configuration: MUDE runs MPV in audio-only mode for optimal performance
Auto-play not working
Auto-play not working
- No recommendations were fetched
- Reached the end of the recommendation queue
- MPV ‘stopped’ event not firing correctly
Check recommendations
Start a new search
- Click the headphone emoji (🎧)
- Search for a track
- Select and play
State restoration issues
Playback doesn't restore after restarting VS Code
Playback doesn't restore after restarting VS Code
- MUDE saves the last played file path to VS Code’s global state
- On activation, it checks if the file exists and loads it in paused state
- If the file is missing, it gracefully shows stopped state
- Each new download overwrites the previous
youtube_download.webmfile - If the last file was overwritten, state restoration will show stopped state
- Simply search for a new track to continue listening
Status bar shows wrong playback state
Status bar shows wrong playback state
Check actual playback
- Try “MUDE: Toggle Pause” to see if anything happens
- If you get “No media is currently playing”, the state was incorrect
Recommendations not persisting across sessions
Recommendations not persisting across sessions
- The global state wasn’t saved before VS Code closed
- There’s a timing issue during activation
- Starting a new search fetches fresh recommendations
- The queue is populated based on the track you select
- Use the Previous/Next buttons during your session
- Avoid closing VS Code mid-playback if you want to maintain the queue
General troubleshooting steps
If you encounter an issue not covered above:Check prerequisites
- MPV is installed and in your PATH
- VS Code is up to date (version 1.91.0 or higher)
- Internet connection is stable
Gather diagnostic information
- Open Developer Tools (
Cmd+Shift+P> “Developer: Toggle Developer Tools”) - Check the Console tab for JavaScript errors
- Look for MUDE-specific log messages (they include prefixes like
[PLAYBACK],[SEARCH],[DOWNLOAD])
Try a clean restart
- Close all VS Code windows
- Kill any lingering MPV processes
- Reopen VS Code
- Test with a simple search
Report the issue
- Visit the GitHub repository
- Open an issue with:
- Your OS and VS Code version
- MPV version (
mpv --version) - Steps to reproduce
- Console logs from Developer Tools
Getting help
If you need additional assistance:- GitHub Issues: github.com/mayur1377/MUDE-music-in-vscode/issues
- VS Code Extension Page: Search for “MUDE music player” in the Extensions view
- Check for updates: Ensure you’re running the latest version (currently 1.0.16)
- Your operating system
- VS Code version
- MUDE extension version
- MPV version
- Detailed error messages or logs