Author Topic: MusicBee now works under wine  (Read 108679 times)

Rotom

  • Jr. Member
  • **
  • Posts: 30
the .NET Core on Linux is different from the .NET framework being used by Windows and WINE, if I recall. And while possible, if Steven wanted to port everything to a cross-platform UI framework, it would take a lot of his time when he could just be perfecting the player as is. I would love for a Linux-native, feature-rich client like MusicBee, hell if I had the expertise I'd do it myself.

One can still dream, but if anything it might be worth more your time sending some bug reports to the WINE developers, to fix the bugs present when running MusicBee in there. The thing with open-source (and also one-man projects like MusicBee) is that you can basically talk to a human to get something fixed, almost immediately. A recent example is that drag and drop issues on MusicBee seem to be getting/gotten fixed in the latest staging builds of WINE - so I'd say, focus on reporting bugs to WINE rather than nagging Steven to port MusicBee to cross-platform.

Rathori

  • Newbie
  • *
  • Posts: 1
If you're having issues running MusicBee on linux in WINE, what helped me is using Bottles instead, with dotnet40 dotnet48. I also installed allfonts to make Japanese and other non-unicode characters display properly.

Now the only issue that remains is that media keys on my keyboard don't work, but that's just something that WINE cannot do as far as some quick googling suggests.

FurryFennec

  • Newbie
  • *
  • Posts: 1
Registered here to simply say THANK YOU as I've now got MusicBee running fine on Linux Mint 21.3 using this as a template. Installed winehq-stable from official Wine repo and winetricks from the Winetricks Github.

In case this is useful for anyone trying to get it working on arch this is what i've done:

Code
# Setup directories and setup wine
mkdir ~/.musicbee
WINEARCH=win32 WINEPREFIX=/home/yeti/.musicbee winecfg
WINEPREFIX=/home/yeti/.musicbee winetricks -q dotnet48 xmllite gdiplus

# Download latest musicbee.exe and install
WINEPREFIX=/home/yeti/.musicbee wine MusicBeeSetup_3_3.exe

# Setup font rendering to anti-aliasing to make it look smooth (paste till /dev/null)
cat << EOF > /tmp/fontsmoothing
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
EOF

WINE=${WINE:-wine} WINEPREFIX=${WINEPREFIX:-$HOME/.musicbee} $WINE regedit /tmp/fontsmoothing 2> /dev/null

~ % wine --version                                                                          
wine-7.20

~ % dotnet --version
6.0.110

winetricks --version                              
20220411


edhorch

  • Newbie
  • *
  • Posts: 2
In case this is useful for anyone trying to get it working on arch this is what i've done:

Code
# Setup directories and setup wine
mkdir ~/.musicbee
WINEARCH=win32 WINEPREFIX=/home/yeti/.musicbee winecfg
WINEPREFIX=/home/yeti/.musicbee winetricks -q dotnet48 xmllite gdiplus

# Download latest musicbee.exe and install
WINEPREFIX=/home/yeti/.musicbee wine MusicBeeSetup_3_3.exe

# Setup font rendering to anti-aliasing to make it look smooth (paste till /dev/null)
cat << EOF > /tmp/fontsmoothing
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
EOF

WINE=${WINE:-wine} WINEPREFIX=${WINEPREFIX:-$HOME/.musicbee} $WINE regedit /tmp/fontsmoothing 2> /dev/null

~ % wine --version                                                                          
wine-7.20

~ % dotnet --version
6.0.110

winetricks --version                              
20220411


Worked for me:

Hardware: Dell XPS 8700 (2014); Core i7-4770 @ 3.4GHz, 16GB RAM, Intel C220 audio chipset
OS: Linux Mint 21.2
Wine: 9.0
Winetricks: 20230212-next
MusicBee: 3.5.8447

The only weird thing was that the Winetricks install hung, but it doesn't seem to have affected MusicBee.

THANKS!

Rotom

  • Jr. Member
  • **
  • Posts: 30
Anyone know how to fix the performance issues on MusicBee? Mine gets awfully sluggish when scrolling...

venusor

  • Newbie
  • *
  • Posts: 3
This thread has been a lifesaver. Thank you so much to everyone here. Posting my setup/steps to help anyone else:

System info:

Hardware: Ryzen 5 5600X, 32GB RAM
OS: Linux Mint 22
Wine: 9.0
Winetricks: 20240105
MusicBee: 3.5.8698


Installation steps:

Step 1: Download+extract the .exe installer

Step 2: Install wine and winetricks:
Code
sudo apt install wine winetricks

Step 3: Configure wine:
Code
winecfg
Map drives, set Windows version to Windows 10

Step 4: Install winetricks packages:
Code
winetricks -q dotnet48 gdiplus allfonts wmp11

Step 5: Run installer with Wine:
Code
wine MusicBeeSetup_3_5.exe



Notes about winetricks packages:

dotnet48 - seems required to run

gdiplus - fixes most graphical issues (including the stretched album art / auto-pick colors feature)

allfonts - adds all the common fonts to be used in MB customization

wmp11 - fixes issue where MB crashes when you select File Converters in the options


Packages mentioned in this thread that did not make a difference to me: mfc42, d3dx9, vcrun2008, msxml6


Issues
I managed to resolve almost all initial issues with the four winetricks packages listed above.

- Scrolling through albums in tile view is a tiny bit slower than it was on Windows, still usable. Like Rotum said above, would be interested in things to try to improve sluggish scrolling.

- Re-arranging the top tabs doesn't work, causes "unexpected error pop-up" but does not crash the program.

Fool2222

  • Newbie
  • *
  • Posts: 2
Hello everyone! I wanted to add my experience doing this in garuda (arch, it should be the same for any flavor) I personally used wineGUI, but it's no different from wine and winetricks, after getting MusicBee itself, i made a 32 bit wineprefix and installed allfonts, dotnet48, and xmllite, with this i was able to run the program without any crashes or glitches, but it was sort of "blurry" i mean the play icon and thumbnails looked jagged like 2001 graphics, but this was solved by installing gdiplus (which is for some reason broken if you do it via winetricks, so install it via console and voila) and now it's been stable and looks decent (fonts still suck because i haven't looked for a better one)

Rotom

  • Jr. Member
  • **
  • Posts: 30
Just thought I should let the thread know, I'm now the maintainer for MusicBee's entry on the WineHQ AppDB. If you do run into bugs that haven't been reported yet, please report them on the Bugzilla, especially if you want MusicBee to be feasibly usable on Linux.

puddleofmud

  • Newbie
  • *
  • Posts: 1
Just registered to thank all of you for the wonderful insight!
I just switched to linux from a lifetime of windows, and I really wanted to keep using MusicBee. I got it working thanks to this thread and I want to share my experience. I am running the following:

Code
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   user@mx
@@@@@@@@@@@@%*+--:------=+*%@@@@@@@@@@@@   -------
@@@@@@@@@#=. .-+#%@@@@@%#*+--=#@@@@@@@@@   OS: MX x86_64
@@@@@@@+. .=%@@@@@@@@@@@@@@@@*-:+@@@@@@@   Host: XXXXXXX
@@@@@*.  *@@@@@@@@@@@@@@@@@@@@@%-.*@@@@@   Kernel: 6.6.12-1-liquorix-amd64
@@@@-  -@@@@@@@@@@@@@@@@@@@@@@@#:  -@@@@   Uptime: 4 mins
@@@:  -@@@@@@@=.*@@@@@@@@@@@@%-   = :@@@   Packages: 2415 (dpkg)
@@=  .@@@@@@@@%- :%@@@@@@@@@+   -%@# =@@   Shell: zsh 5.9
@%   +@@@@@@@@@@#. =@@@@@@*.  .*@@@@. %@   Resolution: 1920x1080
@+   *@@@@@@*..*@@+  *@@%-   =@@@@@@- +@   WM: i3
@=   *@@@@%-    -%@@- :=   -%@@@@@@@: +@   Theme: Skeuos-FLAT_DEFAULT-Dark [GTK3]
@+   :@@@=        +@@=   .#@@@@@@@@%  *@   Icons: Papirus-flat-fan-dark [GTK3]
@%    +*.          .:     *@@#: +@@:  @@   Terminal: alacritty
@@+                   :%@- :-    ::  +@@   CPU: Intel i7-9750H (12) @ 2.601GHz
@@@-                  .=@@=         -@@@   GPU: NVIDIA GeForce GTX 1050 Mobile
@@+.                     .           +@@   GPU: Intel CoffeeLake-H GT2 [UHD Graphics
%=..:.................::...........:..-%   Memory: 1384MiB / 15838MiB
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

and MusicBee runs smoothly (on i3 and Gnome, not on Enlightenment) after being installed with the following commands, sorry if they are dirty or imprecise, I am not yet fluent:

Code
$ sudo dpkg --add-architecture i386 
$ sudo apt update && sudo apt install -y wine wine32:i386 cabextract
$ wget -q -o /dev/null --show-progress https://github.com/Winetricks/winetricks/archive/refs/tags/20250102.tar.gz  -P /tmp
$ cd /tmp
$ sudo tar -xvzf 20250102.tar.gz
$ cd winetricks-20250102
$ sudo make install
$ sudo rm -rf $HOME/.wine
$ WINEPREFIX=$HOME/prefix32 WINEARCH=win32 wine wineboot
$ WINEPREFIX=$HOME/prefix32 winetricks -q dotnet48 gdiplus allfonts wmp11 xmllite
# configure drives, choose windows 7
$ WINEPREFIX=$HOME/prefix32 winecfg
$ WINEPREFIX=$HOME/prefix32 wine MusicBeeSetup_3_5.exe

Good luck everyone, enjoy the music!!!

AnnDDI

  • Newbie
  • *
  • Posts: 1
Hi, I'm from Germany so please excuse my English.
I want to give a great THANK YOU to all those who gave advices how to run MusicBee under Linux. I'm a new Linuxmint user and I am glad that I don't have to foregue of that ultimate music manager.

In return I want to share my experience with using the modul "video" in musicbee.
In Windows musicbee uses the standard media player, but that doesn't work with Linux. So I tried to use VLC instead and it works:
- download VLC setup-file and save into order /home/[user]/.wine/drive_c/program files
- start musicbee and edit settings - menue player - videoplayer - use of external player - entry of setup-file
- choose any video file and start to play it -> setup starts automatically -> finish without starting VLC
- edit settings - entry of the vlc.exe file
- start any video file and deny connection to internet
Now videos can also be played by Musicbee.

Have a good time with Musicbee!





chalchiutlicue

  • Newbie
  • *
  • Posts: 5
Working well for me now! Thanks everyone for the help!

I am struggling with one thing however : connect my phone to the app for sync.
When my phone is plugged to my computer and recognised on it via mtp, it still doesn't appear on MusicBee as a syncable device.

I'll keep searching on my end, but any help is welcomed. I'll edit this post if I find the solution.

Bifidusse

  • Newbie
  • *
  • Posts: 12
This thread has been a lifesaver. Thank you so much to everyone here. Posting my setup/steps to help anyone else:

System info:

Hardware: Ryzen 5 5600X, 32GB RAM
OS: Linux Mint 22
Wine: 9.0
Winetricks: 20240105
MusicBee: 3.5.8698


Installation steps:

Step 1: Download+extract the .exe installer

Step 2: Install wine and winetricks:
Code
sudo apt install wine winetricks

Step 3: Configure wine:
Code
winecfg
Map drives, set Windows version to Windows 10

Step 4: Install winetricks packages:
Code
winetricks -q dotnet48 gdiplus allfonts wmp11

Step 5: Run installer with Wine:
Code
wine MusicBeeSetup_3_5.exe



Notes about winetricks packages:

dotnet48 - seems required to run

gdiplus - fixes most graphical issues (including the stretched album art / auto-pick colors feature)

allfonts - adds all the common fonts to be used in MB customization

wmp11 - fixes issue where MB crashes when you select File Converters in the options


Packages mentioned in this thread that did not make a difference to me: mfc42, d3dx9, vcrun2008, msxml6


Issues
I managed to resolve almost all initial issues with the four winetricks packages listed above.

- Scrolling through albums in tile view is a tiny bit slower than it was on Windows, still usable. Like Rotum said above, would be interested in things to try to improve sluggish scrolling.

- Re-arranging the top tabs doesn't work, causes "unexpected error pop-up" but does not crash the program.

Many many many thanks !

Installed on KDE Neon, looks fine. Plays mpc, flac, mp3, ratings same as in Windows (another try with another method my half ratings were messed up), everything runs fine as far as I know.

Soooooo nice to have MB on Linux !!!!  8)

Mephisto

  • Jr. Member
  • **
  • Posts: 35
In addition to the instructions in this topic which really helped me, here is a little magic to use the native Linux apps from MusicBee (like sending files to Picard without installing the Windows version in Wine). I'm using this with Picard, Spek and VLC (all installed with flatpak, but this can work for any native application. Probably).


How to connect MusicBee to Linux native applications
On your Linux host, create a file named `send_to_linux.exe` and paste this:
Code
#!/bin/sh
$1 "`wine winepath -u "$2"`"
Put this file in `$HOME/.wine/drive_c`. If you are using a wineprefix, adapt to `/path/to/your/wineprefix/drive_c`.

Now open MusicBee, go to Settings > Tools and add an external application:
- name: The name of your application
- application path: C:\send_to_linux.exe
- parameters: here is where  you'll adapt the command to each application:

Code
# Native Ubuntu explorer
"nautilus" "<URLs>"

# MusicBrainz Picard
"flatpak run org.musicbrainz.Picard" "<URL>"

# Spek
"flatpak run cc.spek.Spek" "<URLs>"

# VLC
"flatpak run org.videolan.VLC" "<URL>"
Some apps are using 'URL' and other are using 'URLs'. This is because 'URL' will send all the files to the application. That's a good thing for Picard or VLC, but not for Spek or the file explorer, which will open as many windows. For those applications, using 'URLs' allows to only send the first selected file.



Save and close settings. Now you can right-click files and "Send to > External tools > Picard".

Extra config for VLC
Make sure those settings are enabled in VLC (Tools > Preferences > Interface tab):
- Allow one instance only
- One instance when started from file
- Queue items to playlist when in one instance mode

Flatpak and folder access
(happened to me with Spek and Picard)

If you're using flatpak applications, there a possibility they won't be able to access the folders where you keep your music, or the music path inside your wineprefix.
In my case, there were two locations I needed to whitelist:
- the actual location of my music library on my linux host (could be something like `/media/path/to/my/music`')
- the path provided by wine: the winepath command used in the script is outputting a path like `/home/username/.wine/dosdevices/c\\:/media/path/to/my/music`, which is symlinked to the actual folder for my music library.
You can generally confirm if the problem comes from storage permissions by attempting to open those two folders in your application. In my case, Spek didn't see the `.wine` folder, nor my library folder, so I had to whitelist the two locations :
Code
sudo flatpak override cc.spek.Spek --filesystem=/home/username/.wine/dosdevices
sudo flatpak override cc.spek.Spek --filesystem=/media/path/to/my/music/
WARNING: This means Spek (or whatever app you're using) can access all the files contained in `/home/username/.wine/`. You can be more strict and only allow access to your library by giving access to specific folders, but I have libraries in several locations and didn't care enough.
Last Edit: May 03, 2025, 10:04:59 PM by Mephisto

diego59

  • Newbie
  • *
  • Posts: 10
Hi guys. I recently installed MusicBee 3.x last version via Wine + winetricks 🍷. I loved it when I used Windows 7 years ago.

I've been using Clementine on Kubuntu 24.04, but MusicBee its top when managing and tagging, and also very good looking.

Everything its working fine, sound and visuals (except from some font chars, but that's 2nd priority).

The thing missing its the KDE integration, so MusicBee appears as a media player, on the Multiplayer system tray icon.This also allows for control via KDE Connect. I've also installed Music Bee remote and it's working, but the KDE integration would be good.

I've read that it's a thing with the MPRIS integration that Linux uses. Anyone has solved this ?