getmusicbee.com

Support => Tips and Tricks => Topic started by: Spiron on December 17, 2015, 05:30:14 AM

Title: MusicBee now works under wine
Post by: Spiron on December 17, 2015, 05:30:14 AM
As the title says, I have managed to get it working MB working under Wine on Linux.  Having used Linux for a while I can say that there aren't any music managers around that are as good as MusicBee and with it not working previously it was one of the few things that I really came back to windows for.  I have a new ArchLinux install however so decided to try and give it a shot and it worked.  Wine 1.8rc4 is the version and it's all vanilla there, no wine-mono or wine-gecko etc.  beign a 64bit computer I did have to remember to install the lib32-mpg123 but if you aren't working with Arch or Gentoo you may already have this installed.  From there I just let the MB installer get the dotnet4 installer.

Just to list some of the oddities that are there:
     Wavebar doesn't draw but is still there so seeking still works
     You can play music from a CD but can't rip one, it comes up with the no cd loaded message
     Encoder preferences don't work and trying to access them will crash MB.  This holds true if you go through the normal options OR the cd options
     Accessing MTP devices, if you want to sync your phone you are going to have to give Wine the driectory location in your linux system where it's mounted

I would make a guess here that CD burning also won't work but I don't have any blank disks to check.  Everything else though seems to work, even the Music Bee Remote plugin.

Extra Note: The moment I installed the libcanberra-gstreamer, lib32-libcanberra and lib32-libcanberra-pulse packages the program stopped being able to run.  After I removed them it ran again so something in one of those 3 is causing issues.  If someone else tries and can't get it to work check if you have your distro's equivalents installed.
Title: Re: MusicBee now works under wine
Post by: pietergdp on December 20, 2015, 08:50:45 AM
I also got MB working through wine on Ubuntu. I followed the this post http://getmusicbee.com/forum/index.php?topic=5344.0 loosely. I installed wine with winetricks, then dotnet40 instead of dotnet20. Make sure you change your wine to 32 bit mode for it to work properly. Then installed MB using latest setup.exe.

It works quite well, only a few minor problems with the layout. It works best when you untick 'Skin Window Borders'.

It also works with the latest MusicBee 3 version.
Title: Re: MusicBee now works under wine
Post by: Spiron on December 23, 2015, 10:58:22 AM
The thing with most of the guides here on the forums was that they didn't work on many non-ubuntu based distro's. Particularly on Arch I could never get it to quite work despite getting all the said winetricks stuff installed.  I actually think that it might have been because one of the three packages I mentioned was installed but not having those old installations these days I can't actually say.  I'm going to have a go of installing MusicBee on few other distros over the christmas/new year period and see how many of them it'll work with with their default packages.
Title: Re: MusicBee now works under wine
Post by: Bigmelwalter on December 26, 2015, 08:16:33 PM
Cool!
Title: Re: MusicBee now works under wine
Post by: Mr. Trev on January 20, 2016, 04:01:04 PM
Tried getting this to run under Mint 17.3. No joy. Tried with/without Mono/Gecko. Manually installed .net 4. Wine v1.8rc4 and 1.9
Actually, it did run once, but never again.
Title: Re: MusicBee now works under wine
Post by: pietergdp on January 23, 2016, 03:10:17 PM
I also have it working on Arch Linux now (even MB v3). It installed fairly easily. Just had to install a few optional dependencies such as lib32-mpg123, and a few others, but not sure if they improve anything. The MB GUI also looks a bit better than the one on Ubuntu. (I am using GNOME on Arch)
Title: Re: MusicBee now works under wine
Post by: ColCh on February 09, 2017, 10:29:14 AM
JUST got it working in Wineskin on Mac OS Sierra 10.12.2

MusicBee: 3.0.6132 Portable

Wineskin version: 2.6.2
Wine engine: 1.9.24

Winetricks. I installed all this things one by one

* dotnet20
* gdiplus
* mfc42
* msxml3
* msxml6
* vb6run
* vcrun6sp6
* dotnet40
* wmp10
* windowscodecs


After winetricks set in wine cfg windows version to «Windows 7»
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 10, 2017, 02:05:46 PM
Wow.  This works! :)  Have it running on Yosemite 10.10.5 on my macbook pro.  Seems to be quite stable so far.  Thankyou so much!  I did have to do the following also:

Set Screen Options > Tick "Use Mac Driver instead of X11"

You do need to install each winetrick one by one (I was in a hurry and got lazy... learnt from my error!)

That stopped juddering and clicking the files while scrolling on my macbook trackpad.  The only thing I have left to figure out is why I am not getting album covers but otherwise I have created a musicbee icon and the musicbee app is sitting in my applications folder working like a mac app.  Very very cool.  This should be shared with everyone.  Is musicbee opposed to having a version freely available for download from their site (A wine version of latest)?  Or are there legal issues with this?  Seems a bit unfair that only those of us geeky enough to fiddle with this can use but if that's the case no worries.  If anyone can help with the album covers issue I would be very grateful!

Thanks!
Title: Re: MusicBee now works under wine
Post by: Steven on February 10, 2017, 02:32:00 PM
I've moved this to the Tips and Tricks section.
As to hosting this, i dont plan to put it on the MusicBee website downloads page simply because I cant (and wont) provide support for when issues occur. However if someone puts together an installer, i can host the installer download from the forum
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 10, 2017, 02:50:36 PM
Hi Steven,

Let me see if I can put together a generic version that anyone can just loadup and trial on their mac.  Or at least some noddy steps with associated files.  I am pretty sure in it's compiled state it should work standalone but I'll need to test on a macbook (my sons) which doesn't have a load of wine junk installed.  I've certainly downloaded pre-compiled apps before (i.e. mp3tag) that work just fine with nothing else installed. 

Re the album cover issue - I noticed some other people having issues with this on PC.  I think I will have to install musicbee on my windows bootcamp and see if it works out of the box that way.  Or maybe it will reinforce it's not an issue with the wineskin installation.  Further debunking to be done.  All embedded images do show just fine and it appears to be finding the correct folder (when I click save to on picture in edit tags)... just a bit of headscratching what I am doing wrong.  Music collection is on external hard-drive and is mostly using FLAC.  So a few other variables to throw into the mix!  Any pointers would be massively appreciated.  Stability wise (minus album covers) this seems rock solid and is likely to replace itunes for me!!!  Which I loathe as a user of multiple OS but mainly a mac user for daily driving.

Cheers! 
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 10, 2017, 11:49:40 PM
Ok well bum is the operative word.  Basically I have tried a myriad of ways and I can't seem to get album covers working and this extends to the music explorer section.  Also with further testing... Artist images aren't being picked up properly (it's just grabbing album art from the first music file in an artists collection).  Also... play count doesn't appear to work nor does as of the visualisation, theatre view stuff.  These seem to be the main failings.

That said if you turn off hte thumbnails and largely forgo the music explorer section (or accept it won't have pretty album art on your own music BUT album art does show up art for exploring the store), you're still left with a pretty nice player for mac.  The "now playing" page looks great with all artwork as expected.  The compact player looks fantastic too.  It does play music fine and work otherwise as I would expect.  I even managed to install lame mp3 converter and did a test conversion and that works fine too.  Its so nearly there (not bothered by visualisation or theatre stuff) but the lack of proper artwork for artists or album covers thumbnails is such a shame... if that worked too it would be amazing.  You can see album art on tracks being played... just not thumbnails.

Anyway... time to call time on this.  Happy to share the version I have but be warned it isn't quite where I would like it to be.  And it does install by literally dropping the file into your applications folder and launching it (no wine installer required) but uncompressed it is 1gig so quite big (Compressed it's 400meg odd).  @Colch - Did you not experience the issues I reported?  Amazing find btw... you were a bit of a genius figuring this out as I have tried so many ways to get it to work yet none have worked like yours.  Will see if I can upload some images to photobucket to shwo what it looks like.  Cheers.

PS you can see some images here (http://s1369.photobucket.com/user/sirprancelot/library/musicbee) (ignore the genres you may see in one of the images as i am messing around with these... so there is no issue with these... if you're curious it's just the separator isn't compatible with musicbee but that is not a fault of the wine version (or any other version) and is easily fixed)
Title: Re: MusicBee now works under wine
Post by: hiccup on February 11, 2017, 09:32:37 AM
Hello sirprancelot,
Is it intentional that the complete text of your post is in a large font?
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 11, 2017, 09:36:32 AM
That would be a no :).  It was late when I posted that.  I had copied and pasted a portion of that while my internet was doing weird things and pages were hanging... I'm assuming it picked up the size from whatever doc I temp pasted into and then copied back from.  Anyways.. apologies and it's fixed!
Title: Re: MusicBee now works under wine
Post by: hiccup on February 11, 2017, 09:38:51 AM
You're fast!
Thnx.
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 12, 2017, 03:00:48 PM
Well I have gotten musicbee working with artwork using wine developer and command line but it's not a contained package.  Trying to work out if there is a way to put this into a file that can be launched by anyone but ColCh told me it is working fine for him on Sierra so.. maybe just a yosemite thing or way I installed.  Will keep posted as I am v close here.  Now I have a font issue (anti aliasing not working properly) but the app works pretty much perfectly otherwise (Except for visualisation).
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 13, 2017, 02:29:58 AM
I took a look at ColCh's version and it had the same issues as mine.  Using a vanilla version of Wine (installed via homebrew) I've got it all working now minus theatre mode, visualisation (full screen), and cd ripping.  Might have missed something but I've been testing this for a while now and it's streaming all my music from NAS via SMB without issue (once buffer amount set in MusicBee).  Font issues are fixed and stability wise this seems so far to be absolutely rock solid.  Tried on Sierra, El Capitain and Yosemite.  Not going to be able to provide a beautiful installer for this though since it requires homebrew.  I can bundle the hard to install wine files which can be extracted once that is setup.  ColCh's version is super simple to install.  So I'll offer that version plus the vanilla one which requires a more work thanks to installation of homebrew wine.  I'll document the steps for how to install.  Then people can pick whats right for them.  ColCh's version is v good if you don't care about thumbnails, music explorer, album art (in main window not in right panel with track information... that works) and play count.  

I tried everything possible to get my version into a container but all the available wrappers aren't playing right.  What I have instead is a script which sits in my dock (with the musicbee icon) and I just click on that and it launches musicbee once installed.  It's pretty transparent and works like any other app.  Have setup for my wife and son so it's pretty easy to use once setup.  Anyway.  I'll document the steps (might be useful for me if I forget them!) and ask one of the mods here how to host the files.  I've done all the hard work for the home-brew "vanilla" approach.  All the necessary windows stuff/options is all included in files I have.  My next post sometime this week will include all steps to setup things.  Of course, @mods... you guys said you were okay with hosting files on forums?  If not let me know and I can whack up somewhere else I guess.  Installer files are not possible but saving the Mac users a lot of brain ache is.  Let me know if this is desirable.  I was using the crossover version prior to this and the version I am currently using blows that older version of Musicale away.  I know you're not supporting this wine version but tbh it doesn't need supporting once setup.  It's rock solid.  If i could get my vanilla version working nice in a wrapper/container it would be amazing but that is for someone else to figure out.  Time for me to actually just have some fun listening to my music now.  Cheers!

What works in the "vanilla" wine Mac version:

wavebar
all artwork
music explorer
All player modes
File conversion
Browsing xbox store stuff
"Minor" visualisations (i.e. little bars bouncing up and down but no fullscreen stuff)
Layout changes
95-99% working
Very stable - in 99.9% of cases crashes only occur when trying to use theatre modes or fullscreen visualisation.  Am sure this could be fixed with some graphic drivers but I don't want to bloat the files any more and am not v interested in fixing it anyway.

What doesn't work in the "vanilla" wine Mac version:

Full Screen Visualisation
Theatre Mode
CD Ripping (not a problem - use free XLD app instead which works great)
Prob some other features I don't use or need but I haven't seen anything

In short its a Mac port that I've used to replace iTunes.  And if you loathe iTunes like me it blows it away.  I prefer it to all other Mac music players I have seen (Clementine, VLC, Vox etc) which just don't have complete enough feature sets.  I need network streaming of FLACs&MP3s as well as good filtering/genres and a way to search through thousands of audio files, tag them and search for other music too.  Most players are fine with a few files but once you have a large collection start being horrible to work with.  IMHO this unofficial MusicBee port is top contender for Mac too.  Only real competitor is Kodi which is a better cross platform option (requires a lot of setup time to make look nice and tag things right) and I personally use to stream music all around my house on raspberry pis.  I only hope one day MusicBee officially arrives on Mac.
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 14, 2017, 10:46:59 PM
Ok.  I've uploaded all the neccessary files for both a pre-compiled version with issues I already mentioned earlier in this thread and for the Vanilla version of Wine which works near enough perfectly on mac minus the issues I've mentioned.

For my Unofficial Mac MusicBee Vanilla (Homebrew) Wine version (Recommended but is slower to install and requires use of Terminal) you can download here (https://mega.nz/#F!MMlG1TDb!fhIz2R5fFXtIndZik7LrvA)

For the ColCh Unofficial Mac MusicBee precompiled version (Easy to install but I really recommend the Vanilla version) you can download here (https://mega.nz/#F!tF1mAJYT!Tu-ZX-cAbVBsoH6FPfv-pQ)

Included with both versions are instructions in the root of download folders.  Hopefully those make installation pretty easy.  Hope this helps someone and have fun with MusicBee for Mac.  It's not without issues but it's in a very very usable form.  Maybe someone can completely eradicate the issues from the precompiled version.  For now though its the quickest route to musicbee heaven and maybe someone will work out the issues in future or better still MusicBee will officially arrive for Mac. Important: These versions are totally unsupported and are very unofficial.
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 14, 2017, 10:51:45 PM
And for posterity if anyone wants to know the way the files were setup (You don't need to do this if you download the files I've uploaded), the settings I used for Wine for Vanilla version and Precompiled are (install one by one using winetricks):

dotnet45
gdiplus
mfc42
msxml3
msxml6
vb6run
vcrun6sp6
wmp9
wmp10
windowscodecs
win7

And in winecfg I used these DLL Overrides:

cscriopt.exe (native, builtin)
gdiplus (native)
jscript (native, built in)
mscoree (native)
scrrun (native, built in)
vbscript (native, built in)
windowscodecs (built in, native)
windowscodecsext (buit in, native)
wscript (native, built in)
msxml6 (native)

For precompiled i used Wineskin Winery 2.6.2 and Engine WS9Wine1.9.24.  For Vanilla I used Homebrew Wine.  Hats off to ColCh for making this possible.  I have no idea how he worked out which items to install in the first place but it gave the required leads to work things out.  Cheers all.
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 16, 2017, 12:20:23 AM
Just as a note I am currently testing out an improved version (specifically for music held on NAS type storage) but that may have implications for all versions.  I've been battling with Samba problems (nothing to do with MusicBee) which I will also share some tips on as it's been causing me maximum headaches as you must use Samba shares for MB to work over network for the Wine versions.  Mac is rubbish with Samba though and I have found all naming convention issues as well as other problems which has prevented my files from being scanned properly.  I think I have just about cracked those issues.  I'll be updating all files and the 2 posts above this in the next few days.  So please check back and I'll have a better version available.  Another important issue I have hopefully addressed is some stuttering i noticed on audio files while playing back from NAS (Samba).  Fingers crossed if this is good I will roll it out to the upload location.  So far it seems vastly improved but I have extensive testing to do still!

UPDATE:  Only just finished setting up my new Pi NAS.  Has eaten my time but now done.  Have been testing but want to do some more testing.  So far so good though streaming over network can occasionally stutter if you are doing lots of stuff in Musicbee and playing music at teh same time.  Playing attached external HD or internal HD works v v well... it's just the streaming via NAS part I am exhausting.  That said... if you're just playing and browsing (After your library is setup) it's pretty damn smooth and I am in process of deciding if smooth as butter or not.  MP3s are pretty much perfect via NAS... FLACs seem to be a bit more of job for teh wine version.  Can't tell as I have been updating my library via musicbee a LOT while listening so really just want to listen once library is finished.  That's teh next job!  That said... I think I am going to roll out the new version tomorrow if all continues to go well.  I can carry on testing with that version being live.  It's still an improvement.  Quite a big one since I installed some neccessary audio dlls that I had missed.  I love how even the wine version stays at front if in mini player mode and also notifications of next tune showing in wine version.  Very nice experience.  Let's be honest most of time when listening to music it's not in full screen but while doing other stuff.
Title: Re: MusicBee now works under wine
Post by: jaume on March 05, 2017, 04:31:45 PM
Amazing work, Sirprancelot. Thanks for sharing.

It is working like a charm. However, it appears that WMA tags are not being read. Do you know a solution to that?
Title: Re: MusicBee now works under wine
Post by: sirprancelot on May 08, 2017, 03:37:05 PM
Sorry for v v late reply.  I don't use wma as a format and wasn't able to find anything to properly test it out.  It's not looking like it's working as far as the small tests I did.  For mac users this shouldn't be a big deal as it's a pretty windows format to work with.  As a Windows user myself I've never liked it much.  Best bet is just to convert it.  I'm in the middle of doing some trials on using ALAC (.m4a) format for network streaming and I am liking the look of it so far.  I also am aware I need to update the version I uploaded for my own posterity and for anyone else needing it.  For networking, you'll need to use SMB.  I've tried other options but is the best one. Cheers.
Title: Re: MusicBee now works under wine
Post by: Anja87 on August 04, 2017, 01:39:42 PM
Thank you very very very much  :-*  :-*  :-*
This solution works really well.

I will try to update musicbee on the normal way, and I hope this won't break the solution.

You saved my music experience on the mac  8)
Title: Re: MusicBee now works under wine
Post by: Yummychickenblue on August 23, 2017, 05:07:59 AM
@SirPranceALot, I'm running MusicBee under Wine 2.14 Staging (Linux.)  I've gotten it to run with just the dotnet framework MB pulls itself and gdi+. What are the extra packages for? Granted right now I haven't tried much, just playing, tagging, theming, and manipulating layout.

EDIT: Theatre mode doesn't work, may need some extra packages.
Title: Re: MusicBee now works under wine
Post by: BobbyWibowo on September 09, 2017, 08:41:34 PM
I also managed to get MusicBee 3.0.6335 working with Wine 2.16 (Staging) on a KDE neon 5.10 (Ubuntu 16.04 LTS) machine.
I had to install codecs to get the bee play M4A files. I also had to forcibly change the fonts by manually editing the configuration file since the bee kept on throwing error about the selected font not supporting "underline" (which was kinda weird since I used the same font as the one I previously used on my old Windows installation - I'm assuming this is on Wine's end). Other than that, the bee played the music just fine. There were no stutters or the likes. I didn't try things like CD ripper, file converters, equalizers, etc. since I had never used them with my old Windows installation either.
My current issue for now is that unicode letters aren't being displayed properly (Japanese letters and whatnot). I could get the bee to display them just fine with the same font on my old Windows installation file though.
I'm kind of satisfied with this for now, but I'll try to see what I can do with the unicode issue thing in the next few days.

Here's a sneak peek of my desktop (as well as the unicode letters not being displayed properly thingy): https://a.safe.moe/N3Rop.png (https://a.safe.moe/N3Rop.png)
Ps. Ignore the CPU temperature.

EDIT: I had to disable "Skin Window Borders" to completely eliminate the issue of the skin suddenly breaking after minimizing the bee for a while.

EDIT 2: Running MusicBee with:
Code
LC_ALL=ja_JP.UTF-8 wine /path/to/MusicBee.exe
seem to have solved the Japanese letters not being displayed properly.
Title: Re: MusicBee now works under wine
Post by: megalithic on September 27, 2017, 10:33:02 PM
Hello,
I have MusicBee 3.1.6446 installed and working on OpenSuse 42.3 (latest). I installed via PlayOnLinux as that adds some nice features to Wine such as virtual drives for installs. The only change from default was to switched the Wine Windows version to Vista - it didn't work on the 'Windows 7' setting.

Only problem I have is that MusicBee crashes when trying to play .wma files (as mentioned above)
I installed the Packman codecs and .wma play works fine in VLC etc.

But I can avoid WMAs generally - a hangover from someone elses files I inherited!
Thanks
Andy
Title: Re: MusicBee now works under wine
Post by: username on November 19, 2017, 12:16:45 PM
thanks to SirPranceALot, i got it working almost perfectly.
the only problem i found is that i can't drag and drop, at all. not in the playing tracks panel (it just selects the tracks), and in the main panel it gives me an error related to .net, i didn't see anyone else mentioning this so it might be that i did something wrong during install.
Title: Re: MusicBee now works under wine
Post by: jazbo8 on December 09, 2017, 03:20:26 PM
@sirprancealot - thanks for the ZIP file, it worked like a charm, I installed MB on OSX Maverick without any problem. But I don't know how to set up my network drives so MB can see them. All my music are stored on my server, and have the format "\\Server\disk#\Music\Files" in Windows.

Any suggestion will be appreciated. Thanks!
Title: Re: MusicBee now works under wine
Post by: Lorenzo on January 04, 2018, 12:34:07 PM
MuiscBee was one of the reasons that kept me on Windows but I've finally got it working fine on Antergos (so basically, Arch). Used PlayOnLinux and the portable version of MusicBee 3 on Wine 3.0. I did a x86 prefix (Windows 7) and only needed to install dotnet40 in order to make it working. In order to play m4a files I followed this (http://musicbee.wikia.com/wiki/FAQ#How_do_I_play_AAC_files_in_MusicBee.3F).
As for the problem of Chinese/Japanese/Korean characters I imported fonts from my Windows partition folder in the MusicBee virtual drive's fonts folder (drive_c/windows/fonts). The font rendering isn't the best probably due to CJK Windows fonts that suck, but it's still better than nothing. I tried to manually change fonts in the MusicBee settings but for some reason fonts like the Adobe's ones or the Google CJK's ones are not showing up.
A thing that is not working, at least for me, is the "auto-pick panel colors" option. Instead of picking the color from the album's art it directly shows the album's cover in a stretched way. So I needed to turn it off and keep the gray color background.
I also wish keyboard's multimedial keys would work, but unfortunately are not. I'm sure there's a workaround but at the moment I still haven't looked into it.
MusicBee remote (my life saviour) is also working fine, so I'm really happy of the result!

Here's a screenshot from my screen:
(https://a.pomf.cat/dparev.png)
Title: Re: MusicBee now works under wine
Post by: Yummychickenblue on January 27, 2018, 06:47:20 PM
MuiscBee was one of the reasons that kept me on Windows but I've finally got it working fine on Antergos (so basically, Arch). Used PlayOnLinux and the portable version of MusicBee 3 on Wine 3.0. I did a x86 prefix (Windows 7) and only needed to install dotnet40 in order to make it working. In order to play m4a files I followed
As for the problem of Chinese/Japanese/Korean characters I imported fonts from my Windows partition folder in the MusicBee virtual drive's fonts folder (drive_c/windows/fonts). The font rendering isn't the best probably due to CJK Windows fonts that suck, but it's still better than nothing. I tried to manually change fonts in the MusicBee settings but for some reason fonts like the Adobe's ones or the Google CJK's ones are not showing up.
A thing that is not working, at least for me, is the "auto-pick panel colors" option. Instead of picking the color from the album's art it directly shows the album's cover in a stretched way. So I needed to turn it off and keep the gray color background.
I also wish keyboard's multimedial keys would work, but unfortunately are not. I'm sure there's a workaround but at the moment I still haven't looked into it.
MusicBee remote (my life saviour) is also working fine, so I'm really happy of the result!

Here's a screenshot from my screen:

Did you install GDI+? I had that problem but installing GDI+ via Winetricks made the colors display properly.
Title: Re: MusicBee now works under wine
Post by: Lorenzo on January 31, 2018, 02:01:18 PM
Did you install GDI+? I had that problem but installing GDI+ via Winetricks made the colors display properly.
How did you get it working? Installing GDI+ makes my MB crashing when I start it.

EDIT: looks like it's a problem with PlayOnLinux. Tried to use Wine alone and it's working fine.
By the way I still haven't found a way to make keyboard multimedia keys working...
Title: Re: MusicBee now works under wine
Post by: username on February 03, 2018, 01:21:44 AM
if you are using just wine you can set up a keyboard shortcut that makes wine open the musicbee executable with a launch parameter like /play, idk what desktop enviroment you are using, but with xfce i can keyboard shortcuts by going into the configurations thingy.
all the parameters: https://getmusicbee.com/forum/index.php?topic=6885.0
of course, the obvious huge disadvantage is that your media keys will be tied exclusively to musicbee.
hope this helps.
EDIT: oh, and btw, can you drag and drop albums or tracks to the playing tracks panel? i can't even change the order they are playing :/
Title: Re: MusicBee now works under wine
Post by: sirprancelot on February 15, 2018, 12:43:22 AM
I've just updated to the latest version of musicbee on Wine for macosx.  It's all looking improved for me over samba network with the new option (since I last checked) to preload tunes.  I'm still fine tuning to see how well this is performing but if tests continue to go well I'll share the version I have (Musicbee 3.1.6590).  I did manage to get some visualisations working (Milkdrop looked cracking!) but I'm not sure if it causes conflicts having it included and since I can't get the app to go fullscreen so far... I don't see the need to keep them in.  The same issues are present from earlier version for the mostpart but if you are wanting to access files over the network via samba this is much improved.  Will report back when I get the chance.

@Lorenzo - I don't know if this will work for linux and I can't see from the screenshot whether your fonts are lacking anti-aliasing but one thing that made my version for mac looks SO much better was this:

winetricks settings fontsmooth=rgb
Title: Re: MusicBee now works under wine
Post by: Lorenzo on July 15, 2018, 03:55:37 AM
I might be late for the reply, sorry!
if you are using just wine you can set up a keyboard shortcut that makes wine open the musicbee executable with a launch parameter like /play, idk what desktop enviroment you are using, but with xfce i can keyboard shortcuts by going into the configurations thingy.
all the parameters: https://getmusicbee.com/forum/index.php?topic=6885.0
of course, the obvious huge disadvantage is that your media keys will be tied exclusively to musicbee.
hope this helps.
EDIT: oh, and btw, can you drag and drop albums or tracks to the playing tracks panel? i can't even change the order they are playing :/
When I first posted I was using Cinnamon but now I switched to XFCE and multimedia keys are working as long as the primary window when I press keys is MusicBee. Looks like the problem was in Cinnamon. Anyway I can't drag&drog to the playing panel too, it will throw an error. The same goes for the order, nothing happens.
@Lorenzo - I don't know if this will work for linux and I can't see from the screenshot whether your fonts are lacking anti-aliasing but one thing that made my version for mac looks SO much better was this:

winetricks settings fontsmooth=rgb
Unfortunately that didn't help. The problem was mostly with simplified chinese characters, I don't remember exactly how because months have passed, but I somehow managed to make it reading a different chinese Windows font (simhei) instead of simsun in the settings of the wineprefix. Still not the best font, but better than the default one.

Anyway MusicBee 3.2 is out. Tried it but tracks are not playing... anyone having the same issue?
Title: Re: MusicBee now works under wine
Post by: gregsanz182 on July 29, 2018, 07:59:03 PM
Anyway MusicBee 3.2 is out. Tried it but tracks are not playing... anyone having the same issue?

Yes, I have the same problem with version 3.2. the tracks are not playing.  :'(
Title: Re: MusicBee now works under wine
Post by: Steven on July 29, 2018, 09:38:28 PM
I think its because the new bass.dll uses WASAPI shared mode in place DirectSound
Try this older version of bass.dll
http://www.mediafire.com/file/p45fe25ky1bz8xn/bass.dll/file
Title: Re: MusicBee now works under wine
Post by: Lorenzo on July 30, 2018, 01:22:15 PM
I think its because the new bass.dll uses WASAPI shared mode in place DirectSound
Try this older version of bass.dll
http://www.mediafire.com/file/p45fe25ky1bz8xn/bass.dll/file
That works, thanks!
Are there any negative sides in using an old version of bass.dll?
Title: Re: MusicBee now works under wine
Post by: gregsanz182 on August 02, 2018, 05:35:27 PM
I think its because the new bass.dll uses WASAPI shared mode in place DirectSound
Try this older version of bass.dll
http://www.mediafire.com/file/p45fe25ky1bz8xn/bass.dll/file

Yes, it worked. Thank you man, you're awesome.  :)
Title: Re: MusicBee now works under wine
Post by: Steven on August 15, 2018, 08:18:59 PM
With this version of MB, set the Preferences/Player/output selection to DirectSound and it will retain compatibility with the old DirectSound API using newer versions of bass.dll

https://getmusicbee.com/patches/MusicBee32_Patched.zip
unzip and replace the existing MusicBee files
Title: Re: MusicBee now works under wine
Post by: sveakul on August 15, 2018, 10:02:13 PM
Are there any negative sides in using an old version of bass.dll?

Well, you miss out on all the changes, improvements, and fixes that were made since the 2.4.12.x release.  Which is why it's a great thing that Steven released the new MusicBee 3.2 patch above that allows the newer versions of bass.dll to be used without any problems in MusicBee (THANKS!).  Below is a partial list of the changes made in the newer 2.4.13.x bass.dll, from the un4seen readme file:

2.4.13.8 - 6/2/2018
-------------------
* Indication of a file's original sample format being floating-point
 BASS_ORIGRES_FLOAT (BASS_CHANNELINFO/SAMPLE flag)
* Some extra sample data is retained to account for device latency in data retrieval
 BASS_ChannelGetData
* FFT window is shortened to match amount of available data when less than FFT size
 BASS_ChannelGetData
* FFT level adjusted to be approx the same regardless of amount of available data
 BASS_ChannelGetData
* Fix for crash when decoding channels are dissociated from a device
 BASS_NODEVICE (BASS_ChannelSetDevice option)

2.4.13 - 19/12/2017
-------------------
* WASAPI output on Windows (DirectSound is fallback/optional)
 BASS_DEVICE_DSOUND (BASS_Init flag)
 BASS_CONFIG_DEV_BUFFER/NONSTOP (BASS_SetConfig options)
 BASS_CONFIG_SRC/_SAMPLE (BASS_SetConfig options)
 BASS_ATTRIB_SRC/NORAMP (BASS_ChannelSetAttribute options)
* Default output device following support extended to Windows Vista and OSX
 BASS_CONFIG_DEV_DEFAULT (BASS_SetConfig option)
* Seamless playback buffer length changing
 BASS_ATTRIB_BUFFER (BASS_ChannelSetAttribute option)
 SYNTH example updated
* Access to the final output mix for applying DSP/FX
 STREAMPROC_DEVICE (BASS_StreamCreate option)
 BASS_CTYPE_STREAM_DEVICE
 FXTEST example updated
* Dissociating of decoding channels from a device
 BASS_NODEVICE (BASS_ChannelSetDevice option)
* Volume attribute levels above 1.0 for amplification
 BASS_ATTRIB_VOL (BASS_ChannelSetAttribute option)
* Logarithmic attribute slides
 BASS_SLIDE_LOG (BASS_ChannelSlideAttribute flag)
* Volume & panning attribute affected level retrieval
 BASS_LEVEL_VOLPAN (BASS_ChannelGetLevelEx flag)
* Volume level adjustment effect
 BASS_FX_VOLUME (BASS_ChannelSetFX type)
 BASS_FX_VOLUME_PARAM structure
* Asynchronous pre-buffering
 BASS_CONFIG_NET_PREBUF_WAIT (BASS_SetConfig option)
 BASS_StreamCreateURL/FileUser
 CONTEST and NETRADIO examples updated
* Decoding channels can be dissociated from a device
 BASS_ChannelSetDevice
* Resetting of user file streams/decoders
 BASS_POS_RESET (BASS_ChannelSetPosition flag)
* Relative seeking
 BASS_POS_RELATIVE (BASS_ChannelSetPosition flag)
* RIFF cue points chunk retrieval
 BASS_TAG_RIFF_CUE (BASS_ChannelGetTags type)
 TAG_CUE structure
* RIFF sample chunk retrieval
 BASS_TAG_RIFF_SMPL (BASS_ChannelGetTags type)
 TAG_SMPL structure
* Support for Category/Description/Grouping/Keywords/Lyrics MP4 tags
 BASS_TAG_MP4 (BASS_ChannelGetTags type)
* Separate channel type for dummy streams
 BASS_CTYPE_STREAM_DUMMY
* Stalled internet stream buffering progress retrieval
 BASS_FILEPOS_BUFFERING (BASS_StreamGetFilePosition mode)
 CONTEST and NETRADIO examples updated
* Playlist recursion depth config option
 BASS_CONFIG_NET_PLAYLIST_DEPTH (BASS_SetConfig options)
* Push file system read functions can now return 0 without ending the file
 STREAMFILE_BUFFERPUSH (BASS_StreamCreateFileUser system)
 FILEREADPROC
* 16 point SRC is used by default when SSE is available
 BASS_CONFIG_SRC (BASS_SetConfig option)
* Mono downmixing for all file formats in sample loading
 BASS_SAMPLE_MONO (BASS_SampleLoad flag)
* Mono OGG stream downmixing
 BASS_SAMPLE_MONO (BASS_StreamCreateFile/User/URL flag)
* Media Foundation availability detection
 BASS_CONFIG_MF_DISABLE (BASS_GetConfig option)
 PLUGINS example updated
* AudioTrack output on Android
 BASS_DEVICE_AUDIOTRACK (BASS_Init flag)
* Support for Android Media codecs
 BASS_StreamCreateFile/User/URL
 BASS_TAG_AM_MIME/NAME (BASS_ChannelGetTags type)
 BASS_CONFIG_AM_DISABLE (BASS_SetConfig option)
* Panning fix for MOD files created with ScreamTracker 3
 BASS_MusicLoad
* Fix for compressor and distotion DX8 effects with floating-point data on Windows
 BASS_FX_DX8_COMPRESSOR/DISTORTION (BASS_ChannelSetFX types)
* Fix for plugin freeing issue on 64-bit platforms (HPLUGIN is not library address any more)
 BASS_PluginLoad
 BASS_PluginFree
Title: Re: MusicBee now works under wine
Post by: Elphaba on August 19, 2018, 02:31:15 PM
As I'm on macOS 10.13 can anyone please give me some pointers to getting this installed and working, especially given the fact I can't find / download WINE for macOS without having to download and pay for CrossOver (which I hate the UI for).
Title: Re: MusicBee now works under wine
Post by: matze44 on August 28, 2018, 11:34:33 AM
Hey, I'm running High Sierra (10.13.6) and after following the steps this error came up:

0065:err:process:__wine_kernel_init boot event wait timed out
0065:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.net" in state 2
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"settings" in state 6
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"httpWebRequest" in state 6
0065:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Terminal found an error: 0065:err:process:__wine_kernel_init boot event wait timed out
0065:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"system.net" in state 2
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"settings" in state 6
0065:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"httpWebRequest" in state 6
0065:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed (255)


should I delete everything and start over, how can I do it?
Title: Re: MusicBee now works under wine
Post by: charliex3 on August 28, 2018, 03:36:57 PM
Would be awesome if someone made Step-by-step tutorial with newest MacOS and Wine.
I recently moved to Mac so i have no idea how to do this stuff yet and I really hate using MusicBee through VirtualBox with Win10 on it, it's super slow and audio sometimes even stutter :/

Or even better if we had native support of MusicBee for Mac :D or at least some kind of beta.
Title: Re: MusicBee now works under wine
Post by: Lorenzo on August 28, 2018, 03:41:09 PM
With this version of MB, set the Preferences/Player/output selection to DirectSound and it will retain compatibility with the old DirectSound API using newer versions of bass.dll

https://getmusicbee.com/patches/MusicBee32_Patched.zip
unzip and replace the existing MusicBee files
This 100% works, thanks as always man ;)
Title: Re: MusicBee now works under wine
Post by: farmerbobathan on September 20, 2018, 03:54:05 PM
MusicBee portable worked for me okay in wine 3.15 on Ubuntu 18.04 by only installing .net in winetricks. The tips in this thread made it work much better but I'm still getting stuck on one hangup, click and drag isn't working for me in MusicBee. Does anyone have any ideas to get click and drag working? Does it work for anyone else in wine?
Title: Re: MusicBee now works under wine
Post by: Komagen on April 09, 2019, 08:42:58 PM
MusicBee runs great on Linux with Wine, and is super easy to install

As this is the Top Hit when searching for "MusicBee + Linux" I was kind of disappointed that I didn't find an easy to follow guide on how to install it under wine(for someone with very little wine/winetricks knowledge). Particularly when I found out how easy it actually was. So I'l post how I did it in April 2019.

First, some specs;
 OS: Ubuntu 18.10
 Desktop Environment: KDE Plasma 5.15.3
 Kernel: 4.18.0-17-generic
 Wine: 4.5-staging
 Winetricks: 20180815
 MusicBee: 3.2-Update3 ('Setup', not 'Portable')

Note: Text following the '$' symbol is meant to be run in a terminal

Step 1: Download and extract the MusicBee installer

Step 2: Run the installer with wine. I recommend accepting to add a Desktop Icon so MusicBee becomes searchable from the launcher. You can delete the ~/Desktop/MusicBee.desktop file later anyway.
         $ wine  ~/Downloads/MusicBeeSetup_3_2_Update3.exe

Step 3: Install some DDL dependencies into the wineprefix
         $ winetricks -q dotnet45 mfc42 xmllite gdiplus d3dx9 vcrun2008 wmp10

If you try and launch MusicBee now you might get an error saying that "MusicBee does not run on WindowsVista/XP". If so, do step 4.

Step 4: Set the wineprefix's Windows version to Windows 7 or newer. Open the configuration tool by running;
         $ winecfg

That's it!
I'm no wine expert, but with the latest releases of wine it's become trivial to have MusicBee running in Linux, so I though I'd share for anyone else missing the best music player in the world in their new Linux home.
Title: Re: MusicBee now works under wine
Post by: Mr. Trev on May 12, 2019, 03:20:59 AM
Anybody using Musicbee to edit tags - either through autotag or manually?

I've got MB3.2 installed using basically the same instructions as in the previous post, but when I try to save any tag changes I get a "file already exists" type error with just options to retry or cancel. I can't figure out how to allow a rewrite
Title: Re: MusicBee now works under wine
Post by: shepard on May 17, 2019, 05:50:56 PM
Anybody using Musicbee to edit tags - either through autotag or manually?

I've got MB3.2 installed using basically the same instructions as in the previous post, but when I try to save any tag changes I get a "file already exists" type error with just options to retry or cancel. I can't figure out how to allow a rewrite
yes
https://getmusicbee.com/forum/index.php?topic=5338.msg152361#msg152361

https://getmusicbee.com/forum/index.php?topic=5338.msg159137#msg159137

I've tried everything, from almost all winetricks, to making different bottles with different wine versions (or staging), changing registry settings, things like language envs, nothing works.
Title: Re: MusicBee now works under wine
Post by: shepard on June 01, 2019, 01:32:15 AM
I just realized all .png files are 0b at /drive_c/MusicBee/AppData/InternalCache/AlbumCovers/NUMBER/B1234_5678.png and if I replace them with some random image, MusicBee shows them without a problem.

So the problem is when the embedded artwork is getting cached (thumbnail generator?) or something like that.
Title: Re: MusicBee now works under wine
Post by: OsmarMty on June 18, 2019, 08:10:08 AM
When I used Windows I used the option "Search Internet for Picture" and I used the iTunes and Fanart.tv images but when I starting using Linux it said that it was an invalid picture on both of them
Title: Re: MusicBee now works under wine
Post by: Lorenzo on September 05, 2019, 10:07:36 PM
With this version of MB, set the Preferences/Player/output selection to DirectSound and it will retain compatibility with the old DirectSound API using newer versions of bass.dll

https://getmusicbee.com/patches/MusicBee32_Patched.zip
unzip and replace the existing MusicBee files
New version 3.3 of MusicBee suffers the same problem on wine. If I don't ask too much, could you make a patch for it?
Title: Re: MusicBee now works under wine
Post by: Steven on September 05, 2019, 10:09:20 PM
the instruction remains the same and is still supported - just change the output API in the Player preferences to DirectSound
Title: Re: MusicBee now works under wine
Post by: Lorenzo on September 05, 2019, 11:01:00 PM
the instruction remains the same and is still supported - just change the output API in the Player preferences to DirectSound
Nevermind! It was a problem of mine missing some wine libraries since I'm on a fresh install.
New version works out of the box with WASAPI.
If everyone is wondering, you also need to install Net Framework 4.6.1 or the new version of MusicBee won't start.

Anyway, thanks for the reply as always  :)
Title: Re: MusicBee now works under wine
Post by: sirprancelot on December 12, 2019, 02:51:10 PM
Just as a heads up.  After quitting using musicbee due to it not working nice over my network with a PI server and SMB through wine when playing FLACs.  I've updated to the latest version of Musicbee and had a eureka "that might work" idea of trying AFP (Apple File Protocol) as opposed to Samba.  It seems to be playing nicer from what I can tell but I need to do more intensive tests.  If this pans out I will share how to get it up and running for those of you with similar needs to my own.  I'll be back with reports. PS I am getting the impression the latest version of Musicbee works better with FLACs over the network as well.  Had no issue with MP3s but try to keep my MP3s to minimum and only use CD quality FLACs for most of library.
Title: Re: MusicBee now works under wine
Post by: sirprancelot on December 12, 2019, 08:54:19 PM
Ok.  So far my tests are going pretty well.  If it continues to go like this I'll be sticking to wine musicbee.  Not sure if it's just the latest version of wine is better with mac audio or whether there are improvements in Musicbee but this is very usable.  The only hiccups I have had are making sure to use WASAPI exclusive.  Buffering doesn't seem to work on my FLACS (haven't tested MP3).  But that hasn't been an issue.  The main ugly thing is when it is first downloading artist pictures for my 12000 songs.  Get's a bit crackly if playing whilst it's doing that.  But since the first burst of doing that it's been pretty stellar.  Still to early to call but I've even got subsonic working and tested playing through bluetooth speakers.  Fingers crossed.  I'll run it for a week then report back but day 1 get's a 9/10 once I got my library loaded up over the network which was v slow on AFP.  BTW it's worth noting even on the previous wine mac version I posted instructions to playing files locally was no problem but that is no good for me.  I store all my tunes on a raspberry pi server that runs 24/7.  Has to be a little pi one so my wife doesn't complain!  So I've been dealing with 2 bottlenecks... wine and a low powered server.  Shame Musicbee isn't a native mac app... it has absolutely no competitors.  The music players I've seen on Mac are politely put terrible.
Title: Re: MusicBee now works under wine
Post by: MW2K on December 23, 2019, 05:56:23 AM
MusicBee portable worked for me okay in wine 3.15 on Ubuntu 18.04 by only installing .net in winetricks. The tips in this thread made it work much better but I'm still getting stuck on one hangup, click and drag isn't working for me in MusicBee. Does anyone have any ideas to get click and drag working? Does it work for anyone else in wine?

Yep, 18 months later, someone adds to this. Doesn't work for me either - if I run MusicBee through a console, it throws up an invalid UTF-8 method error. Within MusicBee itself, this is the error it reports:

Code
MusicBee v3.3.7261.33657D  (Win6.1), 23 Dec 2019 16:45:

System.TypeInitializationException: The type initializer for '#=z37lCrcUA9mkb' threw an exception. ---> System.InvalidCastException: Unable to cast COM object of type '#=zyQH8Ta37rIin' to interface type '#=ztNB$EAr5H4oa'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{83E07D0D-0C5F-4163-BF1A-60B274051E40}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE).
   at #=zDCOEcc9zNQtTU$yKE6Jr6j4=.#=z37lCrcUA9mkb..cctor()
   --- End of inner exception stack trace ---
   at #=zDCOEcc9zNQtTU$yKE6Jr6j4=.#=z37lCrcUA9mkb..ctor(String[] #=zG9TJyQBfKs2$)
   at #=zlpWM7vlOZnRzBxwVf7prPpFOpng8.#=zuqOQhhffdeW$wvekOQ==.#=zY6zi0VAPDzfSuvQzAaSJVA8=.#=zq4KXnaQ5NBjj(MouseEventArgs #=zRiDv2sk=)
   at #=zC0pRT91Up5rfT$Mxl$GC1AQ=.OnMouseMove(MouseEventArgs #=zRiDv2sk=)
   at #=zlpWM7vlOZnRzBxwVf7prPpFOpng8.#=zuqOQhhffdeW$wvekOQ==.#=zY6zi0VAPDzfSuvQzAaSJVA8=.OnMouseMove(MouseEventArgs #=zRiDv2sk=)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at #=z47NIqvY5sRVyI8m7kPqlY7E=.WndProc(Message& #=zju6a1l0=)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I've done everything else that's listed here in this thread to get it working, and the program works like a charm save for this particular foible. A viable workaround is to right click the song, add it to queue, and I can live with that.

But yeah, drag and drop would be nice. Open-sourcing this wonderful app would be even better.  :P

Title: Re: MusicBee now works under wine
Post by: mrdaltro on October 01, 2020, 05:30:25 AM
Hey people, so... I migrated to Linux (Zorin OS) today and I was able to get MusicBee working almost perfectly (even last.fm scrobbling!). But I got some weird issue that I think it's not too complicated to fix, it seems like a library issue. No matter what I do, if an artwork is JPG, it doesn't load in MusicBee. Only PNG files are accepted as artworks. The main problem is that artwork downloader only finds JPG images, for almost every album. I can't even convert what the downloader gets 'cause it downloads only 0kb invalid files.

I will take a look for what Windows/winetricks libraries deals with JPG images and maybe I could fix that annoying issue. Maybe if someone knows something about... I'd be really grateful  ;D
Title: Re: MusicBee now works under wine
Post by: omr3lh on January 19, 2021, 11:26:30 PM
I have Musicbee working on my M1 MBP via Crossover — everything functions seamlessly. I was even able to import my library and settings from my Windows backups with no issue. It's a testament to both Steven and the Crossover (and WINE) developers that something like this is even possible!

However, there are a few items I'd like to cover (some ongoing issues and some solutions that may help other people):

1. CPU Usage & Battery Drain

MusicBee has been draining my battery like crazy (it drains way more than Firefox, Dropbox, Plex, etc). I investigated and did some benchmarking:

When music is playing and the main window UI is hidden: ~30% CPU usage
When music is playing and the UI is shown: ~130%+ CPU usage
When music is paused and the UI is hidden: ~6% CPU usage
When music is paused and the UI is shown: ~100% CPU usage

(For comparison, Firefox with many tabs and several windows is maxing out at 25% CPU usage, and Dropbox [not a lighweight application] is at 0.7%).

As for memory, Musicbee hovers around 300 MB used (while Crossover is about the same).

a. UI CPU Usage - Solution
When it comes to the UI creating high CPU usage, it took me a while to solve this — until I realized there was on animated element in the UI: the Now Playing marquee scroll. Disabling this brought UI CPU usage way down. Now, when music is paused and the UI is shown, the CPU usage is ~3% (down from ~100%). Key insight here: remove all animated UI elements.

b. Playback CPU Usage - Ongoing Investigation
However, playback CPU usage (measured with UI hidden and music playing) is still around 30–40% CPU usage.

I tried changing the following settings:
- `use 32 bit output` to `off` = no impact
- load entire file to memory (or increase buffer size) = no impact
- Output methods WASAPI Shared & Exclusive (default: DirectSound) = no impact
- Disabling last.fm plugin (only one used) = no impact
- Equalizer, DSP, and Gain settings are off

Steven, do you have any suggestions for settings/features I can change/disable to reduce CPU usage during playback?


2. Minimizing Player Window
When I minimize the MusicBee window, the minimized window completely disappears. I was able to fix this by changing `General > minimise to` to `Taskbar`. (I originally had it set to `Notification Tray`). With this setting updated, minimizing the window works like one would expect on a Mac.

3. File Converters - Crash
I don't use this feature, but want to note that clicking `File Converters` in the Preferences menu causes a crash.

4. Media Keys Don't Work - Kludge Solution
Out of the box, Mac's play-pause/skip forward/skip back media keys won't control MusicBee. I was able to create a solution with the help of Karabiner Elements, a FOSS app that can intercept and remap keystrokes on Mac. I am using a "complex modification" in Karabiner to remap the media keys to hotkeys that can be used in Musicbee. Here is an example:
Code
"from": {
    "key_code": "play_or_pause",
    "modifiers": {
        "optional": [
            "any"
        ]
    }
},
"to": [
    {
        "key_code": "f4"
    }
]
And, to make the above example work, I also remapped my MusicBee play/pause hotkey to F4. A lot more than this can be done (especially if pairing Karabiner with Keyboard Maestro), but I'll leave that up to the reader.
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on February 16, 2021, 10:39:33 PM
For the file converter tabs to not crash you need windows media player, you can find it as wmp11

And for the hotkeys I personally just use xdotool
Title: Re: MusicBee now works under wine
Post by: omr3lh on February 16, 2021, 10:45:08 PM
For the file converter tabs to not crash you need windows media player, you can find it as wmp11

And for the hotkeys I personally just use xdotool

Thanks for the tips! I'll give xdotool a look. I already was using Karabiner for other uses, so it was an easy fit.

Great note about WMP — I'll add that to my bottle. Danke!
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on February 18, 2021, 03:49:29 PM
OK, I have been doing some more testing and I think I can say this confidently: Dont use dotnet48, its garbage, if you use the builtin wine mono, it actually goes waaay faster, and you dont get the strange font distortion. WIth dotnet, im sitting around 23% cpu consumption and with winemono im sitting around 5-4%
Title: Re: MusicBee now works under wine
Post by: omr3lh on February 18, 2021, 08:34:46 PM
OK, I have been doing some more testing and I think I can say this confidently: Dont use dotnet48, its garbage, if you use the builtin wine mono, it actually goes waaay faster, and you dont get the strange font distortion. WIth dotnet, im sitting around 23% cpu consumption and with winemono im sitting around 5-4%

In my current bottle, I'm using .NET 2.0/4.0/4.5/4.5.2/4.6.2, CrossOver HTML Engine, MS RichEdit 2.0/4.1. And it works fine, but I'm interesting in seeing if I can reduce playback CPU usage.

I tried making a new bottle in Crossover Mac with only MusicBee's install files and wine-mono. MusicBee launched and showed the main library's UI fine. I tried to go into the context menu to view preferences, but the context menu text wasn't visible. And then it crashed — and I was unable to reopen MusicBee.

Are there any other dependencies you're using beyond wine-mono?
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on February 19, 2021, 12:18:14 AM
Oh I probably have all of them, because before installing wine-staging I installed playonlinux, which came with pretty much everything you could ever need dependency wise, then i uninstalled it but while leaving all the dependencies behind, then I downloaded the latest mono from winehq (6.0 as of now) and installed xmllite and gdiplus through winetricks.
Ah, and I use manjaro.
Playback is max 8% cpu when changing songs and 5% when playing, only time it ever passed 10% was when it was scanning the drive.

Edit: Also im on a 64bit prefix
Title: Re: MusicBee now works under wine
Post by: omr3lh on February 19, 2021, 03:16:36 AM
Oh I probably have all of them, because before installing wine-staging I installed playonlinux, which came with pretty much everything you could ever need dependency wise, then i uninstalled it but while leaving all the dependencies behind, then I downloaded the latest mono from winehq (6.0 as of now) and installed xmllite and gdiplus through winetricks.
Ah, and I use manjaro.
Playback is max 8% cpu when changing songs and 5% when playing, only time it ever passed 10% was when it was scanning the drive.

Edit: Also im on a 64bit prefix

Thanks! I'll have to explore a bit more. I'm eager to get my CPU usage down. During playback, it still hovers around 30%. (At 0 when not playing though).
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on March 02, 2021, 11:55:42 PM
Ok, I think I found the winning setup
*Use 64 bits prefix, dotnet48(lmao), mfc40, gdiplus and msxml6
The command should look like this

WINEPREFIX=[whatever place you use as prefix] winetricks -q --force gdiplus msxml6 mfc40 dotnet48

I added "dwmapi" and "windowscodecs" internal wine libraries through winecfg, but idk if it does something.

This setup just works so good lol, I can enter the now playing tab without problems, everything loads and the gui is really fast, something did not happen with wine-mono or the earlier dotnets, althoug wine-mono will get your cpu usage quite low ~5%, the gui wont look as good. With dotnet48 the gui looks like it should and cpu usage is 4%~ playback with slight jumps to 9%~ when changing songs.
Now playing tab hovers around 7~ and jumps to 10~ when changing songs.

Im on garuda linux (arch) with the linux-zen kernel and wine 6.0 with a musicbee only prefix.
Title: Re: MusicBee now works under wine
Post by: omr3lh on March 28, 2021, 07:02:16 PM
Ok, I think I found the winning setup
*Use 64 bits prefix, dotnet48(lmao), mfc40, gdiplus and msxml6
The command should look like this

WINEPREFIX=[whatever place you use as prefix] winetricks -q --force gdiplus msxml6 mfc40 dotnet48

I added "dwmapi" and "windowscodecs" internal wine libraries through winecfg, but idk if it does something.

This setup just works so good lol, I can enter the now playing tab without problems, everything loads and the gui is really fast, something did not happen with wine-mono or the earlier dotnets, althoug wine-mono will get your cpu usage quite low ~5%, the gui wont look as good. With dotnet48 the gui looks like it should and cpu usage is 4%~ playback with slight jumps to 9%~ when changing songs.
Now playing tab hovers around 7~ and jumps to 10~ when changing songs.

Im on garuda linux (arch) with the linux-zen kernel and wine 6.0 with a musicbee only prefix.

I've tried various combinations of dotnet, mono, mfc, dwmapi, windowscodecs, Windows 7/8/10, x86/x64 with no luck. I haven't been able to decrease my playback CPU usage at all. What version of Musicbee are you using? I'm using 3.3.7602.
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on April 02, 2021, 05:16:12 PM
Quote
I've tried various combinations of dotnet, mono, mfc, dwmapi, windowscodecs, Windows 7/8/10, x86/x64 with no luck. I haven't been able to decrease my playback CPU usage at all. What version of Musicbee are you using? I'm using 3.3.7602.

Tbh I think this is not a wine or musicbee problem anymore...what sound server do you use? I'm using pipewire with the latest MusicBee 3.3.7491
Also do you have any cpu profiling daemon running?
Title: Re: MusicBee now works under wine
Post by: omr3lh on April 02, 2021, 11:56:23 PM
Oh, I thought I had mentioned earlier — I'm running this on MacOS on an M1 Macbook using CrossOver (basically a wine wrapper with extra goodies).
Title: Re: MusicBee now works under wine
Post by: Lord of Carpinchos on April 03, 2021, 05:53:13 PM
Oh, I thought I had mentioned earlier — I'm running this on MacOS on an M1 Macbook using CrossOver (basically a wine wrapper with extra goodies).

eh, a paid program, don't they offer some kind of support? I mean you are paying for a (kinda?) modded wine.
You could try the normal wine and see if there is any difference, I mean an M1 chip is quite fast for it to be struggling over MusicBee, I have a shitty AMD A4 and it runs smooth as butter.
Title: Re: MusicBee now works under wine
Post by: omr3lh on April 03, 2021, 08:52:51 PM
Oh, I thought I had mentioned earlier — I'm running this on MacOS on an M1 Macbook using CrossOver (basically a wine wrapper with extra goodies).

eh, a paid program, don't they offer some kind of support? I mean you are paying for a (kinda?) modded wine.
You could try the normal wine and see if there is any difference, I mean an M1 chip is quite fast for it to be struggling over MusicBee, I have a shitty AMD A4 and it runs smooth as butter.

Haha yeah, they do offer support! I should give that a try — didn't even think of it  ::)

I was also considering trying normal Wine, so I'll give that a good too.
Title: Re: MusicBee now works under wine
Post by: madrone on August 14, 2021, 11:13:45 PM
MusicBee 3.4.7805 (and MusicBee Portable) seems to install straightforwardly in Linux WINE, using Bottles (https://usebottles.com/), and a 64-bit chardonnay-6.10 runner. It doesn't even seem to require any additional dependencies. But as others have noted above

When I used Windows I used the option "Search Internet for Picture" and I used the iTunes and Fanart.tv images but when I starting using Linux it said that it was an invalid picture on both of them

all of the album art disappears and is replaced with "No Cover Art" or "Invalid Picture." Tinkering with permissions or different file types (e.g., jpg to png) doesn't seem to make a difference. Has anyone been able to fix this glitch?
Title: Re: MusicBee now works under wine
Post by: wisah on September 24, 2021, 06:53:29 AM
Hello everyone,

I'm using Crossover for MusicBee on my Mac, it work well but i'm struggling to understand how can i use the Global Hotkey to control the player !
Anyone can point me in the right direction ? Any possibility to map the Mediakey of my touchbar also ?

Bless
Title: Re: MusicBee now works under wine
Post by: Cymbaline on October 28, 2021, 11:06:36 PM
all of the album art disappears and is replaced with "No Cover Art" or "Invalid Picture." Tinkering with permissions or different file types (e.g., jpg to png) doesn't seem to make a difference. Has anyone been able to fix this glitch?

On my new computer I get this error as well, and I can't edit files either. I didn't have this problem on my old laptop. Any help with this matter would be much appreciated.
Title: Re: MusicBee now works under wine
Post by: dotheemptyhouse on February 17, 2022, 08:52:40 PM
For the file converter tabs to not crash you need windows media player, you can find it as wmp11

Hi, I've been working on setting up MusicBee through Wine on an Intel Mac and this issue is a big sticking point for me. I have lots of AAC files and I see that I'll need to install an AAC codec for MusicBee to play them. However I can't configure that codec because the file converter tab crashes. I was hoping I could solve that issue by adding wmp11 to my bottle, but I'm struggling here. All of the WMP11 installers I have so far found will not install, giving me the error message "Your computer is running the most recent version of Windows Media Player 11 and all of its components. No update is available at this time." Is there a specific version of wmp11 I need to look for in order to get this crash to stop happening?
Title: Re: MusicBee now works under wine
Post by: sveakul on February 17, 2022, 09:43:35 PM
I have lots of AAC files and I see that I'll need to install an AAC codec for MusicBee to play them. However I can't configure that codec because the file converter tab crashes.
If all you want to be able to do is PLAY the files, have you tried just dropping bass_aac.dll into the folder that contains MusicBee.exe?
https://getmusicbee.com/forum/index.php?topic=23454.0 (https://getmusicbee.com/forum/index.php?topic=23454.0)

The file converter tab should have nothing to do with this, unless your aim is also to be able to convert formats to AAC, which is a whole different discussion.
Title: Re: MusicBee now works under wine
Post by: danejur on March 10, 2022, 01:33:46 PM
For anyone who is trying to get MusicBee to run with the current version of Wine (7.3) and having trouble, I found that the Valve fork of Wine worked out of the box with no modifications (https://github.com/ValveSoftware/wine). I'm using Manjaro and was able to install this with the wine-valve package in the AUR (https://aur.archlinux.org/packages/wine-valve). Just a note: this will probably take a while to build (around 45 minutes for me on a high-end machine), but YMMV.
The only thing I can't get working is skins, but everything else seems to be fine at the moment.
Title: Re: MusicBee now works under wine
Post by: Rotom on March 12, 2022, 02:01:41 PM
For anyone who is trying to get MusicBee to run with the current version of Wine (7.3) and having trouble, I found that the Valve fork of Wine worked out of the box with no modifications (https://github.com/ValveSoftware/wine). I'm using Manjaro and was able to install this with the wine-valve package in the AUR (https://aur.archlinux.org/packages/wine-valve). Just a note: this will probably take a while to build (around 45 minutes for me on a high-end machine), but YMMV.
The only thing I can't get working is skins, but everything else seems to be fine at the moment.

WINE just updated to 7.4 on mainline Arch and whatever was causing trouble has been fixed. MusicBee loads again, now.
Title: Re: MusicBee now works under wine
Post by: chrismeraz on March 13, 2022, 12:53:15 PM
Nearly all of my files are clipping my DAC when I play them in MusicBee via Crossover. These same files do not clip when played on my PC through the same DAC, nor when played on the Mac through iTunes. Replay Gain is Off, Equalizer if Off. Does anyone else have this problem? I have an M1 Mac.

I tried Parallels and I have the same problem there.
Title: Re: MusicBee now works under wine
Post by: ome-reily on April 24, 2022, 11:17:45 PM
So I've got this mostly installed on Linux Mint, but I keep getting this "Sharing violation. This file cannot be updated as another application has this file open at the same time" error whenever I have to do literally anything that updates the file. Change rating, add it to playlist, update metadata, anything.

The music is on my mint partition, so not sure what's happening.

Anyone else getting this error?

Currently on Ming 20.2 (which is based on Ubuntu 20.04) and Wine staging 7.7. Everything else seems to work (though I haven't yet tried connecting my phone).
Title: Re: MusicBee now works under wine
Post by: bloodfu on April 25, 2022, 03:20:59 AM
Thats great! Never knew it worked on Linux. MusicBee is the main reason why I didn't go back to Ubuntu and just used the already installed Windows on my new PC. Going to bookmark this thread for when and if I decide to go back to linux. Thanks for this!  :)
Title: [Wine] Trouble installing MusicBee
Post by: chalchiutlicue on May 29, 2022, 02:15:07 PM
I've had several problems with wine and it's only getting worse. I tried using the other topics about the subject but only worsened my problems (read further for more details) so I decided to make a topic here because I'm definitely past the point where I can continue without help.

1) I installed MusicBee on an external hard drive with
Code
wine [installer].exe
2) upon launch, got a "BASS_ERROR_DRIVER" that I figured I'd fix later
3) When I tried creating a library in the first window, I ended up with the following error :
(https://i.stack.imgur.com/hT5u5.png) (I tried with undescores too so the error doesn't come from the spaces). What's weird is that MusicBee manages to create a folder and a .ini file inside of it, so I'm not sure why it even crashes
4) I read https://getmusicbee.com/forum/index.php?topic=17074 and had the bad idea to try one of the tutorials from 2019 (answer #44), so I ran
Code
winetricks -q dotnet45 mfc42 xmllite gdiplus d3dx9 vcrun2008 wmp10
5) now when I start running the installed MusicBee it just doesn't work (opens and closes instantly without error), and when I try to run the installer it tells me Vista and XP is no longer supported.

I'm now completely stuck and out of ideas. I'm very new to wine and I don't even know how I can revert to the state before 4) where I could at least use the installer and launch the app. Any help would be greatly appreciated
Title: Re: MusicBee now works under wine
Post by: chalchiutlicue on May 29, 2022, 04:22:41 PM
MusicBee runs great on Linux with Wine, and is super easy to install

As this is the Top Hit when searching for "MusicBee + Linux" I was kind of disappointed that I didn't find an easy to follow guide on how to install it under wine(for someone with very little wine/winetricks knowledge). Particularly when I found out how easy it actually was. So I'l post how I did it in April 2019.

First, some specs;
 OS: Ubuntu 18.10
 Desktop Environment: KDE Plasma 5.15.3
 Kernel: 4.18.0-17-generic
 Wine: 4.5-staging
 Winetricks: 20180815
 MusicBee: 3.2-Update3 ('Setup', not 'Portable')

Note: Text following the '$' symbol is meant to be run in a terminal

Step 1: Download and extract the MusicBee installer

Step 2: Run the installer with wine. I recommend accepting to add a Desktop Icon so MusicBee becomes searchable from the launcher. You can delete the ~/Desktop/MusicBee.desktop file later anyway.
         $ wine  ~/Downloads/MusicBeeSetup_3_2_Update3.exe

Step 3: Install some DDL dependencies into the wineprefix
         $ winetricks -q dotnet45 mfc42 xmllite gdiplus d3dx9 vcrun2008 wmp10

If you try and launch MusicBee now you might get an error saying that "MusicBee does not run on WindowsVista/XP". If so, do step 4.

Step 4: Set the wineprefix's Windows version to Windows 7 or newer. Open the configuration tool by running;
         $ winecfg

That's it!
I'm no wine expert, but with the latest releases of wine it's become trivial to have MusicBee running in Linux, so I though I'd share for anyone else missing the best music player in the world in their new Linux home.

can anyone update this for current MusicBee? I tried this tutorial and ended up with a MusicBee that don't launch and an installer that says I can't run it on Vista or XP (further details at https://getmusicbee.com/forum/index.php?topic=36644.0 )

EDIT by Moderator: Topics merged; referenced "further details" thread struck out.
Title: Re: MusicBee now works under wine
Post by: chalchiutlicue on June 01, 2022, 05:42:45 PM
Someone told me about https://appdb.winehq.org/objectManager.php?sClass=version&iId=33888&iTestingId=111465
so I fully reinitialized wine and tried to run MusicBee with only winetricking
Code
dotnet48
and
Code
gdiplus
. I fell back on the initial error I had : (https://i.imgur.com/DGyGNJb.png)

The main difference I have is that I use wine's latest version (7) and the last tested one is the 6th. I'll try with the 6th to check if it is indeed a version compatibility issue.
Title: Re: MusicBee now works under wine
Post by: Rotom on June 30, 2022, 02:03:58 PM
Someone told me about https://appdb.winehq.org/objectManager.php?sClass=version&iId=33888&iTestingId=111465
so I fully reinitialized wine and tried to run MusicBee with only winetricking
Code
dotnet48
and
Code
gdiplus
. I fell back on the initial error I had : (https://i.imgur.com/DGyGNJb.png)

The main difference I have is that I use wine's latest version (7) and the last tested one is the 6th. I'll try with the 6th to check if it is indeed a version compatibility issue.

This error occurs when it can't find a valid card to play on. Check your winecfg, and if it says winealsa.drv, then you need to install the 32-bit PulseAudio/PipeWire libraries.
Title: Re: MusicBee now works under wine
Post by: chalchiutlicue on August 10, 2022, 02:51:55 PM
Okay I managed to make it work, but the sound is super laggy, the cover art do not display in playlists for some obscure reason, and japanese characters are all messed up.
I guess I'll either have to wait for a real linux build, or hope wine improves enough for it to work properly.
(https://image.noelshack.com/fichiers/2022/32/3/1660139499-screenshot-20220810-155101.png)
Title: Re: MusicBee now works under wine
Post by: phred on August 10, 2022, 06:03:28 PM
I guess I'll either have to wait for a real linux build, or hope wine improves enough for it to work properly.
https://musicbee.fandom.com/wiki/FAQ#Will_MusicBee_be_ported_to_Mac/Linux/other_OS?
Title: Re: MusicBee now works under wine
Post by: chrismeraz on September 06, 2022, 08:41:47 PM
It's difficult with Wine, I could never make it work. Crossover is like a pre-built Wine that works out of the box.

However, I still have the problem with audio glitches (in both Crossover and Parallels).
Title: Re: MusicBee now works under wine
Post by: Rotom on November 01, 2022, 06:03:55 PM
Okay I managed to make it work, but the sound is super laggy, the cover art do not display in playlists for some obscure reason, and japanese characters are all messed up.

The Japanese character thing is certainly a WINE issue, unhelped by .NET's handling of certain fonts.

Use Meiryo UI, Microsoft Yahei or WenQuanYi Micro Hei (whichever works) if you want CJK.
Title: Re: MusicBee now works under wine
Post by: yeti on November 03, 2022, 12:23:06 AM
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
Title: Re: MusicBee now works under wine
Post by: Rotom on November 21, 2022, 02:19:50 PM
Anyone here having issues with their MusicBee library on a native Linux filesystem (in my case, ext4) and the automatic retrieval for new files? On both Arch and Fedora, it kept removing then adding back existing songs, seemingly at random. I've had to move to Quod Libet as a result.

EDIT: I think I know what the issue might be? I think it might be my files having characters that are incompatible with NTFS. Even though my file system is ext4, .NET and by extension MusicBee might still have those NTFS-related limitations. I'll test this theory later.
Title: Re: MusicBee now works under wine
Post by: jb on January 30, 2023, 04:48:56 AM
For anyone interested, I made a docker image that runs MusicBee through Wine in Arch, and is accessible via browser: https://github.com/jmbannon/musicbee-docker
Title: .NET 8
Post by: I_Tichy on February 26, 2023, 03:49:45 PM
Does added support for linux in the .NET framework (https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-1/) move us in anyway towards MusicBee ending up on linux? I confess my utter ignorance when it comes to building cross-platform software.

I apologize is this is already being discussed elsewhere on the forum of if I'm beating a horse that's already been dead for years.
Title: Re: .NET 8
Post by: phred on February 26, 2023, 04:02:23 PM
I'm beating a horse that's already been dead for years.
This ^^

Please search the forum and the Wiki before posting. It's been discussed many times.
Title: Re: .NET 8
Post by: I_Tichy on February 26, 2023, 04:19:51 PM
Yeah, I realize it's been discussed before a number of times, but from my understanding it's been .NET that's gotten in the way of linux development.

My question isn't just "why isn't musicbee on linux", it's "Do changes to .NET change the state of this discussion at all?"
Title: Re: .NET 8
Post by: phred on February 26, 2023, 04:42:28 PM
I don't think .net has anything to do with it.

You need to understand that MB is a one person operation. There is no development team. The sole developer, Steven, does this as a hobby in his spare time. I don't speak for him but since he has a life and a job, he probably doesn't have the time nor the desire, to support another version.

Again, read the Wiki and the many forum posts
https://musicbee.fandom.com/wiki/FAQ#Will_MusicBee_be_ported_to_Mac/Linux/other_OS?
Title: Re: .NET 8
Post by: hiccup on February 26, 2023, 04:56:31 PM
I don't think .net has anything to do with it.
Respectfully, I think it does.
MusicBee is build using .NET. I'm not sure what version it currently uses, but I can imagine that it has been updated more then once over the past 14 years.

So this would not be about another (parallel) version of MusicBee, only about what .NET version is, or maybe is going to be used.
I have no knowledge of (nor interest in) Linux to speak of, but I know that there are quite a few forum members that are successfully using Wine to run MusicBee on their Linux machines.
They are Bees too ;-)

Perhaps they can chime in if they are indeed experiencing issues that might get resolved if MusicBee would update it's .NET version?

Or, there will probably be Linux forums where this may better be asked and answered? Not sure.

edit:
It might make sense to move this thread to one of the existing Linux topics (which is what the OP is actually asking about here) to keep things a bit together and not spread all over?
Title: Re: .NET 8
Post by: I_Tichy on February 26, 2023, 05:09:57 PM
I don't think .net has anything to do with it.

You need to understand that MB is a one person operation. There is no development team. The sole developer, Steven, does this as a hobby in his spare time. I don't speak for him but since he has a life and a job, he probably doesn't have the time nor the desire, to support another version.

Again, read the Wiki and the many forum posts
https://musicbee.fandom.com/wiki/FAQ#Will_MusicBee_be_ported_to_Mac/Linux/other_OS?

I appreciate your attention here, but your link is where I found out about .NET in the first place:

Quote
Begging is a bit underhanded, he has already replied on the issue a while ago.

Here's the issue from a programmers perspective.
MusicBee is based heavily on .NET
.NET is Microsoft and windows.

That leaves 3 options for Linux:
1) use Mono (open source Linux C#) but its far from perfect. as in galaxies away.
2) use Wine, which is an option,
        but sound quality becomes questionable, unless you use wineasio and jack.
        then its all the wine hacks he will have to put in, and there will be many, and many odd ass bugs. which is not fun for a dev.
3) Rewrite it using QT, which is laughable. If it took him this long to get MusicBee this good on .NET, because it would be a full rewrite and in C++ not C# and the differences are vast.

there are so many more issues, thankfully though the BASS library does support linux.  
Title: Re: .NET 8
Post by: I_Tichy on February 26, 2023, 05:17:50 PM
edit:
It might make sense to move this thread to one of the existing Linux topics (which is what the OP is actually asking about here) to keep things a bit together and not spread all over?

This would be fine with me, I don't mean to step on anyone's toes. I only posted this question because I've seen in past that .NET was part of what made deploying musicbee on linux problematic (only the dev knows if this is actually the case) and that .NET has recently been updated with linux support and was interested if this would have any sort of impact.
Title: Re: .NET 8
Post by: hiccup on February 26, 2023, 05:30:32 PM
only the dev knows if this is actually the case) and that .NET has recently been updated with linux support and was interested if this would have any sort of impact.
As phred tried to explain, and what has been explained many times in several Linux topics on this forum, the sole developer of MusicBee can't and shouldn't be bothered about making changes to his software for the benefit of operating systems that MusicBee is not and was never designed for.
You are curious about .NET versions, but it looks like you don't even have any knowledge or proof if there are current .NET issues that are relevant to Windows emulators for Linux.

Perhaps you will get an answer on what .NET version is currently used.
But anything else regarding Linux should be discussed elsewhere.
Title: Re: .NET 8
Post by: I_Tichy on February 26, 2023, 05:46:18 PM
Oh, yeah, absolutely was not looking for the dev to respond. I suppose I figured there'd be someone with some sort of knowledge on the topic roaming the forums, but it's not a big deal.
Title: Re: .NET 8
Post by: phred on February 26, 2023, 06:19:47 PM
It might make sense to move this thread to one of the existing Linux topics (which is what the OP is actually asking about here) to keep things a bit together and not spread all over?
I agree that this should be merged with an existing Linux thread. Since there are many, please suggest (with a link) which thread this should be merged with.
Title: Re: .NET 8
Post by: hiccup on February 26, 2023, 06:31:16 PM
I agree that this should be merged with an existing Linux thread. Since there are many, please suggest (with a link) which thread this should be merged with.
The OP has not given any information whatsoever on how he is (trying) to use MusicBee on Linux (or what distribution), nor what emulator he is using, nor what issues he may be experiencing.
So we probably shouldn't care too much. As a dartboard guess: maybe this one?:
https://getmusicbee.com/forum/index.php?topic=17074.0
Title: Re: .NET 8
Post by: sveakul on February 26, 2023, 07:11:03 PM
Perhaps you will get an answer on what .NET version is currently used.
I don't know if I_Tichy is already aware of this but according to the latest MusicBee.exe.config file:

supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"
Title: Re: MusicBee now works under wine
Post by: I_Tichy on February 26, 2023, 07:36:59 PM
The OP has not given any information whatsoever on how he is (trying) to use MusicBee on Linux (or what distribution), nor what emulator he is using, nor what issues he may be experiencing.
So we probably shouldn't care too much. As a dartboard guess: maybe this one?:
https://getmusicbee.com/forum/index.php?topic=17074.0

Not terribly interested in WINE, I was more interested if the new .NET upgrades might allow for easier native implementation, but I guess I took too long to respond.
Title: Re: MusicBee now works under wine
Post by: hiccup on February 26, 2023, 07:42:16 PM
Not terribly interested in WINE, I was more interested if the new .NET upgrades might allow for easier native implementation, but I guess I took too long to respond.
That makes no sense to me.
Are you saying that Linux is able to natively run Windows programs, depending on .NET versions used?
Title: Re: MusicBee now works under wine
Post by: I_Tichy on March 01, 2023, 04:31:01 PM
That makes no sense to me.
Are you saying that Linux is able to natively run Windows programs, depending on .NET versions used?

Not quite, I was saying that .NET is adding more and more support for building applications that work on linux (i.e. cross-platform development (https://www.techspot.com/news/97741-application-framework-net-8-improve-cloud-linux-support.html)):

Quote
The .NET Framework technology has been part of the Windows platform since the NT 4.0/XP era, providing developers with an integrated environment (class library, language interoperability, runtime/execution engine) to write Windows-specific applications easily. The environment has been now replaced by .NET (Core), which is a cross-platform technology supporting all the major desktop and mobile operating systems available today.

Quote
Furthermore, the .NET MAUI (Multi-platform App UI) SDK can help build cross-platform mobile and desktop applications from the same codebase.
Title: Re: MusicBee now works under wine
Post by: Rotom on April 18, 2023, 11:28:21 AM
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 (https://bugs.winehq.org/show_bug.cgi?id=52078) 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.
Title: Re: MusicBee now works under wine
Post by: Rathori on December 25, 2023, 11:29:34 AM
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.
Title: Re: MusicBee now works under wine
Post by: FurryFennec on January 22, 2024, 12:31:28 AM
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 (https://github.com/Winetricks/winetricks).

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

Title: Re: MusicBee now works under wine
Post by: edhorch on February 02, 2024, 10:55:06 PM
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!
Title: Re: MusicBee now works under wine
Post by: Rotom on February 29, 2024, 02:40:44 PM
Anyone know how to fix the performance issues on MusicBee? Mine gets awfully sluggish when scrolling...