Author Topic: Game Bar Widget  (Read 1269 times)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 31972
A widget for controlling MusicBee via the XBOX Game Bar (which despite its name, runs on your desktop PC). For those of you not familiar, just press Win G to open the game bar and when installed, the MusicBee widget will be available to add to the game bar, and also available to be pinned so its always open.

Unfortunately its not straight-forward to install and you need to follow these instructions very carefully
- unzip http://www.mediafire.com/file/xks8rup0gir6shq/MusicBeeGameBarWidget.zip/file to a folder eg. the MusicBee\Plugins folder, but it can be anywhere

Install the MusicBee plugin certificate - this only needs to be done once.
- These instructions apply to Windows10 20H1 or above. In older windows 10 versions, you need to enable developer mode
1. in Windows Explorer, open the root folder where you installed the plugin
2. and double click on: "MusicBeeXBoxWidget_1.0.0.0_x86.cer"
3. click the "Install Certificate" button
4. select "Local Machine" and click "Next". Click OK to confirm the UAC dialog.
5. select "Place all certificates in the following store"
6. and click the "Browse..." button
7. select "Trusted People" and click OK   (not Trusted Publishers!)
8. click "Finish"

To install the widget (you must already have installed the certificate exactly as described above):
- in the root folder you installed the plugin
- double click on "MusicBeeXBoxWidget_1.0.0.0_x86.msixbundle" and click "Install"
- in MusicBee, enable the CD Art-Display plugin in Preferences/ Plugins
- thats it - if you press Win G, MusicBee Game Bar widget should be available for pinning and adding to the game bar menu

The widget will work with older MusicBee versions but for artwork to display you need the latest v3.4 patch version:
https://getmusicbee.com/patches/MusicBee34_Patched.zip
unzip and replace the existing musicbee application files
Last Edit: November 11, 2020, 08:15:37 AM by Steven

PWN3D_

  • Newbie
  • *
  • Posts: 18
That's perfect!

One or two things i did notice:
-The musicbee audio settings on the audio setting sliders menu is showing the "artist" and "tittle" tags only for the first track you play and stay like this until you restart Musicbee. I don't know if it is intended to show those tags artist/track but I feel like just showing "Musicbee" is enough as tag can be a little bit too long to display on this list and can be a little bit confused when adjusting the sliders. Or make it refresh the artist and track name everytime but I feel like the widget is enough for this already.

-Maybe a mute button on the widget itself, even though it's maybe redundant with the audio settings menu but I feel like a simple press on the highspeaker icon could make it work just like musicbee itself.

In any case, thanks for this !

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 31972
It should normally detect a track changing, however I suspect you shut down musicbee while the widget was active and in the current implementation, the connection will not be re-established when MB is restarted, so I will look to address that

edit:
if you redownload the plugin from http://www.mediafire.com/file/xks8rup0gir6shq/MusicBeeGameBarWidget.zip/file and follow the Install widget instructions, and then enable CD Art Display in the plugin preferences, then it should work for the scenario where MB is shut down/ restarted
Last Edit: November 11, 2020, 08:17:31 AM by Steven

PWN3D_

  • Newbie
  • *
  • Posts: 18
It should normally detect a track changing, however I suspect you shut down musicbee while the widget was active and in the current implementation, the connection will not be re-established when MB is restarted, so I will look to address that

edit:
if you redownload the plugin from http://www.mediafire.com/file/xks8rup0gir6shq/MusicBeeGameBarWidget.zip/file and follow the Install widget instructions, and then enable CD Art Display in the plugin preferences, then it should work for the scenario where MB is shut down/ restarted

Thanks steven,

So after the reinstall of the widget from your link (CD Art Display plugin was already activated) the track changing is working in the widget when MB is shutdown then restarted.

However the track changing in the audio setting of the gamebar is not and only pick the first track played after a MB restart but I don't know if the track name is suppose to be displayed here in the first place.

landcross

  • Newbie
  • *
  • Posts: 18
Huh, nice! I didn't receive any notification about the reply on my initial wish-list post, so I'm only seeing this now  :-X
Nevertheless, I'm certainly gonna try this out. Many thanks Steven! :D

Any chance this can go in the Widget Store for easier installation? I personally don't mind, just wondering.

coldwin

  • Newbie
  • *
  • Posts: 1
Is there a possibility of adding a button for love or rating? I have a shortcut for pressing love, it would be nice to have some kind of display on it.