Make mpv play on your bluteooth speaker

First, find available output devices:

$ mpv --audio-device=help
List of detected audio devices:
  'auto' (Autoselect device)
  'coreaudio/220EF936-0000-0000-0420-0104A5502178' (HP P34hc G4)
  'coreaudio/88-C9-E8-E7-8D-85:output' (skybert-WH-1000XM4)
  'coreaudio/BuiltInSpeakerDevice' (MacBook Pro Speakers)
  'avfoundation/220EF936-0000-0000-0420-0104A5502178' (HP P34hc G4)
  'avfoundation/88-C9-E8-E7-8D-85:output' (skybert-WH-1000XM4)
  'avfoundation/BuiltInSpeakerDevice' (MacBook Pro Speakers)

Then, specify the one you want in the call to mpv:

$ mpv --audio-device='coreaudio/88-C9-E8-E7-8D-85:output' file.mp3

Happy listening!


~ /home 🏠 ~ talks 💬 ~ bash ~ craftsmanship ~ db ~ dongxi ~ emacs ~ escenic ~ iam ~ identity ~ java ~ js ~ language ~ latex ~ ldap ~ life ~ linux ~ llm ~ mac-os-x ~ mt-foo ~ network ~ norsk ~ python ~ quotes ~ running ~ security ~ travel ~ unix ~ various ~ vcs ~ webdesign ~ windows ~ discoveries ~ cv 🧙 ~

Licensed under CC BY Creative Commons License ~ 📡 RSS feed ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@hachyderm.io ~ 🎥 youtube.com/@skybert