UNPKG

terminal-music-player

Version:

A terminal-based music player that streams from YouTube

32 lines (24 loc) • 830 B
#!/usr/bin/env node /** * Standalone MPV installer for terminal-music-player * Can be run independently to install MPV */ import MPVInstaller from './install-mpv.js'; async function main() { const installer = new MPVInstaller(); console.log('šŸŽµ Manual MPV Installation for Terminal Music Player\n'); await installer.checkSystemRequirements(); const success = await installer.install(); if (success) { console.log('\nšŸŽ‰ MPV installation completed successfully!'); console.log('You can now use the terminal music player with: tmusic'); } else { console.log('\nāŒ MPV installation failed.'); console.log('Please check the manual installation instructions above.'); process.exit(1); } } main().catch((error) => { console.error('Fatal error:', error); process.exit(1); });