Skip to main content

A front-end for Mycroft that allows you to do cool things like stream video or surf the web.

Project description

Majel

A Mycroft extension that lets you do visual things with it as well.

Architecture

What can it do?

Majel listens to the Mycroft message bus framework and performs various desktop jobs based on what it comes down that pipe. The result is that you get Mycroft's standard skills along with:

Youtube player

Say Hey Mycroft, youtube <query> and it'll search Youtube for your query, pick the first hit, and play it full screen in a loop.

Kodi

If you've got a local Kodi installation and the video files you've got in there are also mounted locally, you can say Hey Mycroft, play <query> and it'll look for query in your Kodi library. If it finds it, it'll play it with mpv locally. It's also smart enough to know which episodes you've seen, so if you say Hey Mycroft play Star Trek Deep Space Nine and you've already seen all of season 4, it'll start with s05e01. It'll also pick up right where you left off in that episode.

Netflix & Amazon Prime

The play keyword will also fall back to Netflix or Amazon Prime if you don't have Kodi installed, or simply don't have the video you were asking for. In this case, it'll hit up the Utelly API to see which streaming service has the movie/show you asked for, and then point your browser to that show and play the next episode.

Note that this functionality requires two things: a Utelly API key (it's free for limited use, and we've got built-in caching so you'll never break the 1000/mo limit) and a subscription to Netflix and/or Amazon Prime.

Browser Bookmarks

If you store your bookmarks in Firefox, you can say Hey Mycroft, search my bookmarks for <query>. This will rank your bookmarks by relevance to your query and display a list of everything it found within a threshold. The list appears as a touchscreen-friendly UI so you can say "Hey Mycroft, search my bookmarks for chicken" and select from your 12 favourite chicken recipes.

Configurability

Configuration of the skills is done separately for each skill via Mycroft's standard settings UI at home.mycroft.ai. That's where, for example, you input your YouTube API key and Utelly API key.

Majel is configured by way of a single config file you place in /etc/majel.yml. Simply copy the example file from the root of this project as a starting point and edit the values in there to fit your preference. Full details on what values do what are in the example file.

What's Next?

It'd be nice to have support for doing video calls: Hey Mycroft, call my parents, but that may not be easy to do since most video calling platforms seem to either be centred around scheduled group chat (Jitsi/Zoom), or just plain Linux/browser hostile (Skype). Perhaps combining Pygui with Signal could do the job though...

Colophon

For Majel Barrett-Roddenberry, who was amazing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

majel-0.2.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

majel-0.2.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file majel-0.2.0.tar.gz.

File metadata

  • Download URL: majel-0.2.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.9.1 Linux/5.9.14-arch1-1

File hashes

Hashes for majel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 abf798428c6e40fb90a1057646c1b9dabc8e30ca3ebd81f991d059e37239e364
MD5 b5a0f9b0b07cc6f22f76b118554e7001
BLAKE2b-256 60595efd54fef181d9481cc824c5b80c67c6d91db1fa5db45c81187f24f0ed56

See more details on using hashes here.

File details

Details for the file majel-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: majel-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.9.1 Linux/5.9.14-arch1-1

File hashes

Hashes for majel-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a261b48e5e66ec31a3f476cf60cfe3f37791758cb2381763ee3597bd4e2c2691
MD5 bfa6d8eb78ecda25af6ffc3b43091c3b
BLAKE2b-256 6c609a21f8ee91ab4d96e0445f31ea4b8d6457bd01de8e9654173bc70f47e2b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page