kodie / bitbar-xboxfeed

A plugin for BitBar that shows your Xbox Live friend's recent activity.
MIT License
2 stars 0 forks source link
bitbar bitbar-plugin javascript macos nodejs plugin xbox

BitBar Xbox Feed Plugin Build Status

A plugin for BitBar that shows your Xbox Live friend's recent activity.

Requirements

Installation

via BitBar CLI

bitbar install Games/xboxfeed.10m.js

Manually

bitbar://openPlugin?title=Xbox%20Feed&src=https://raw.githubusercontent.com/kodie/bitbar-xboxfeed/master/xboxfeed.10m.js

Setup

  1. After installing the plugin, click on the Xbox icon in your menu bar and select "Run Installation".
  2. Go to https://xboxapi.com and create a free account.
  3. Connect your Xbox Live account to your newly created Xbox API account and you should receive an API key.
  4. Open ~/.bitbarrc in your favorite text editor (create the file if it doesn't exist already).
  5. Insert the following and save:
    [xboxfeed]
    apiKey=YOUR API KEY HERE

Refresh the plugin and enjoy!

Settings

Along with your apiKey, other settings can be defined in your ~/.bitbarrc file:

Troubleshooting

Could not connect to API

The plugin couldn't connect to the xboxapi.com servers. This means that either their servers are down, Xbox Live servers are down, or you are having internet connectivity problems.

A fresh login is required to gain a new token from Microsoft

The xpiapi.com servers were unable to authorize your Xbox Live account. This means that you need to log into your xboxapi.com account and reconnect your Xbox Live account. If this happens often you may want to consider checking the "Remember Me" box when connecting your account.

User images aren't showing up

If user images aren't showing up and you are sure that you don't have imgSize set to false then this means that the plugin ran into problems when trying to save the images to cachePath. You can either disable image caching by setting cachePath to false or try to figure out why the plugin couldn't save the images to the specified path. I would start by manually creating the folder that cachePath is set to.

License

MIT. See the License file for more info.