A plugin for BitBar that shows your Xbox Live friend's recent activity.
bitbar install Games/xboxfeed.10m.js
bitbar://openPlugin?title=Xbox%20Feed&src=https://raw.githubusercontent.com/kodie/bitbar-xboxfeed/master/xboxfeed.10m.js
~/.bitbarrc
in your favorite text editor (create the file if it doesn't exist already).[xboxfeed]
apiKey=YOUR API KEY HERE
Refresh the plugin and enjoy!
Along with your apiKey, other settings can be defined in your ~/.bitbarrc
file:
apiKey
- Your Xbox API Key
apiKey=c9ff119073ea2567730fb42e3a4fe805
color
- Text color
false
(System default)color=green
color=#5dc21e
font
- Text font
false
(System default)font=Georgia
size
- Text size
false
(System default)size=24
length
- Number of characters before the text is truncated
false
length=70
limit
- Max number of recent activity notifications to show
25
limit=50
imgSize
- User image size in pixels
18
imgSize=50
cachePath
- Directory path to store user images cache
/tmp/xboxfeed
cachePath=/some/other/folder
cacheExpire
- Number of milliseconds before a user image should be re-downloaded
86400000
(24 hours)cacheExpire=604800000
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.
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.
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.
MIT. See the License file for more info.