pcwii / usb-music

Mycroft.ai skill to automagically read music from a usb stick and play based on requests
GNU General Public License v3.0
9 stars 5 forks source link

USB Music

Play Music from local (non-cloud based) sources (usb, smb, local path) with Mycroft.ai

About

This Skill will play local (non-cloud) music sources (USB, SMB, Local)

  1. Inserting a USB drive into your Mycroft device. Upon Inserting a USB Device Mycroft will scan the device for playable music and add it to a temporary library that you can play.
  2. Adding an SMB source will let you play music from that source.
  3. Adding a local path source will let you play music from that source.
  4. Supports the following music formats 'mp3', 'm4a', 'flac', 'wav', 'wma','aac'

    Features

    AutoPlay

    If AutoPlay is enabled in the websettings then the USB music will begin playing immediately when inserted. Unplugging the usb will automatically stop and unmount the USB device. AutoPlay only functions with USB sources, not SMB or Local Path.

    Automatic Insert Command Request

    If enabled the skill will automatically send a command to the messagebus when the USB is inserted. Why? Why not? This will let you do all sorts of things with this skill by invoking other skills. Example:

    • You have a running playlist that is stored on a USB stick.
    • You insert the USB before you jump on the treadmill.
    • The insertion automatically issues the following command to the messagebus
    • "set a timer for 20 minutes"
    • Now you have workout music and a timer to notify you when your workout is complete.

Command Examples -

Collecting the library may take several minutes depending on the library size

Credits