colla69 / plexmusic-skill

Listen to your music, using Mycroft's speech commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlexMusic-Skill

Description

This Mycroft skill can play music from your plex media server with speech commands.

Requirements

you will need access to a plex media server and a working version of the vlc player.

how to get vlc:

Debian/Ubuntu sudo apt install vlc
CentOs sudo yum install vlc
Arch/Manjaro sudo pacman -S vlc

Install

msm install https://github.com/colla69/plexmusic-skill.git

Examples

  • "Hey mycroft, play mockingbird!"
  • "Hey mycroft, play eminem!"
  • "Hey mycroft, play album meteora"

Functions

  • Play song|artist|album name
  • Play artist name
  • Play album name
  • Play playlist name
  • Pause music
  • Resume music
  • Next|Skip
  • Reload|Refresh library

Usage

Once you have installed the skill, go to https://account.mycroft.ai/skills and find the Plex Music Skill.
Please fill in the 3 fields:

Alternative config (mycroft.conf):

"plexmusic-skill": {
  "musicsource": "http://my.plex.address",
  "plextoken": "ys738s6uPWXpwabc4sRYe", 
  "plexlib": "music", 
  "ducking": true
}

The first intallation will need to download all your library metadata and will save it in a JSON file. (~/.config/plexSkill/data.json)
The process will take a long time, don't panic, you can watch it load if you have debug=True in your config.

Credits

colla69

About

Listen to your music, using Mycroft's speech commands

License:MIT License


Languages

Language:Python 98.3%Language:Shell 1.7%