Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Running Foobar in Linux (Read 649925 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Running Foobar in Linux

Reply #325
guys! upgrade to version 1.0 - it works so much better under wine! (well, at least for me)

Running Foobar in Linux

Reply #326
@ jacobbrett

I'm testing WinePulse with Fb2k 1.0 on Ubuntu Karmik. I have to say that till now it seems to work much better than the ordinary package of wine.

Running Foobar in Linux

Reply #327
It does  It's mystifying why pulse isn't enabled in wine by default.
Already upgraded to 1.0 works just as well as previous versions it seems.

Running Foobar in Linux

Reply #328
I'm running foobar2000 on Arch Linux and it works like a charm  I don't know if this is already asked here but I have a little problem to show Japanese songs correctly, of course I can fix this by changing playlist font (like Sazanami Mincho) but it would take too much space. So my question, is it possible to add Japanese language support on all fonts used by wine? Here's an example picture:

Running Foobar in Linux

Reply #329
I'm running foobar2000 on Arch Linux and it works like a charm


Running on Arch here, too.

I have issues with Foobar2000 v1.0+ and Wine package v1.1.40-1 while using the Default UI; specifically, album art does not display. Instead, an error message is inserted where the art should be ("unsupported format or corrupted file"). Foobar2000 v9.5+'s Default UI album art works with Wine 1.1.40 as does v1.0+'s Column UI album art panel.

So, I'm not sure what alchemy exists between Foobar2000 1.0+ and Wine 1.1.40 that causes the Default UI's album art display breakage, but downgrading to Wine package 1.1.39-1 fixes the problem.

By the way, I can't get foo_prettypop to work with 1.0+. Is it just broken for the latest Foobar2000 releases, or has someone gotten it to work?

Running Foobar in Linux

Reply #330
Update to previous post (#330):

I continued testing my older Foobar2000 v9.5x installations and Foobar2000 v1.0 / 1.0.1 in Wine, and with the inconsistencies reported, I decided to test a clean installation of Wine. The results:

- pkg version 1.1.40-1 of Wine now causes the "unsupported format or corrupted file" album art error in the Default UI for all FB2000 versions tested;

- foo_prettypop does not cause FB2000 1.0 / 1.0.1 to crash and seems to be working as expected, although the preferences page looks different in FB2000 1.0 / 1.01

Bottom-line: Wine pkg 1.1.39-1 + FB2000 1.0 / 1.0.1 runs well. Hopefully, whatever is causing the issues in 1.1.40 will be addressed in future Wine versions (bug report submitted).

 

Running Foobar in Linux

Reply #331
Mhh really interesting problems you have there.. I haven't played much around with Default UI but I might test how it works out with latest wine version. My only problem is that when I try to use "add files..." to .cue files etc. foobar2000 crashes but this thing worked in the past. This really doesn't bother me because I usually rip my stuff to lossy formats

EDIT:
If those problems bothers you that much you could download and test earlier versions that are compatible with your plugins. You can get from 0.8 Beta 1 to 0.9.8.6 versions here, http://www.oldapps.com/foobar2000.php

Running Foobar in Linux

Reply #332
I am trying to get album art downloader xui to work with foobar in ubuntu. no succes so far. Anyone succesfull with this and combination foo_run?

Running Foobar in Linux

Reply #333
I am trying to get album art downloader xui to work with foobar in ubuntu. no succes so far. Anyone succesfull with this and combination foo_run?


i think albumart downloader XUI depends on .NET, so if you want to run it, you would have to install that. don't know if that works in wine. http://appdb.winehq.org/objectManager.php?...on&iId=2586 says some versions work, don't know which one is needed by XUI
or maybe it will work with mono, it's supposed to be a .NET replacement/alternative?? http://mono-project.com/Main_Page
you could try to install it under wine and then run XUI.
http://wiki.winehq.org/MicrosoftDotNet just found this short guide to dotnet. i was pretty close

sounds too much of a hassle for me, i'd rather search for a native linux alternative. don't have any i could really recommend though. amarok has a copycover script that i use. gmusicbrowser (the best alternative to foobar2000, in my opinion) has a nice cover search too.

good luck

Running Foobar in Linux

Reply #334
Well I am addicted to using foobar, so I can't live without it. If there is any linux native album art grabber like xui that can be run from foobar with titleformatting I would be very happy. Now I am using a run command to search for the cover on google, but that is manual labour, which I hate.

I allready did the dotnet3.0 winetrick. It gave me errors and albumart.exe won't start. I created an executable script for it, but nonetheless...

Running Foobar in Linux

Reply #335
The commandline version of album art downloader xui runs with mono, but not the full version.


Running Foobar in Linux

Reply #337
Mhh really interesting problems you have there.. I haven't played much around with Default UI but I might test how it works out with latest wine version. My only problem is that when I try to use "add files..." to .cue files etc. foobar2000 crashes but this thing worked in the past. This really doesn't bother me because I usually rip my stuff to lossy formats

EDIT:
If those problems bothers you that much you could download and test earlier versions that are compatible with your plugins. You can get from 0.8 Beta 1 to 0.9.8.6 versions here, http://www.oldapps.com/foobar2000.php


Yeah. Interesting. If interesting equals annoying.

However, I've got it sorted by reverting to 1.1.39 and setting pacman to ignore Wine packages for now.

As noted, I submitted a bug report to Wine. I went through multiple passes of git regression analysis to narrow down the culprits. Turns out a patch submitted between 1.1.39 and 1.1.40 causes incompatibilities with the native-Windows GDI Plus dll. As a consequence of a native dll being involved, my bug report was closed as 'invalid'. My mistake for not figuring out it was a GDI Plus incompatibility before reporting, but STILL ... GDI PLus is a fairly common dll in Wine installations, and it has always just worked, at least as long as I can remember. So, to me, this seems like a regression that's worthwhile to fix, regardless.

I have continued to test with the Wine git repository up until just a few minutes before making this post thinking that despite the technical invalidity of the bug report, the developers might have decided to fix the issue anyway. So far, they have not; the issue still exists.

Note:
I've got my own 'old app' repository of Foobar2000, and I've got 'oldapps.com' beat.

Running Foobar in Linux

Reply #338
I can't even get aad.exe to work. When I start it directly with wine it opens sort of a dosbox (which is ok I think). I think there is something wrong with a missing depency, it doesn't get started. Can someone see what's wrong?

Code: [Select]
Backtrace:
=>0 0x7b843892 in kernel32 (+0x23892) (0x0032f1ac)
  1 0x79f97065 in mscorwks (+0x127065) (0x0032f20c)
  2 0x7a0945a4 in mscorwks (+0x2245a4) (0x0032f2d0)
  3 0x79653861 in mscorlib.ni (+0x593861) (0x0032f330)
  4 0x793b8102 in mscorlib.ni (+0x2f8102) (0x0032f370)
  5 0x79e88f63 in mscorwks (+0x18f63) (0x0032f380)
  6 0x79e88ee4 in mscorwks (+0x18ee4) (0x0032f400)
  7 0x79e88e31 in mscorwks (+0x18e31) (0x0032f538)
  8 0x79e88d19 in mscorwks (+0x18d19) (0x0032f60c)
  9 0x003731a8 (0x00373070)
  10 0x00200004 (0x09000028)
  11 0x00000000 (0x00000000)


Running Foobar in Linux

Reply #339
I can't even get aad.exe to work. When I start it directly with wine it opens sort of a dosbox (which is ok I think). I think there is something wrong with a missing depency, it doesn't get started. Can someone see


afaik aad is written with some really obscure "XUI" gui elemnets from .NET. i wouldnt be suprised if wine does not support these things as not many ppl used them  . If i remember correctly from times when i witnessed creation of aad its author was playing with XUI because he wanted to learn to work with them.

Running Foobar in Linux

Reply #340
I am trying to get album art downloader xui to work with foobar in ubuntu. no succes so far. Anyone succesfull with this and combination foo_run?

Hello,
I tried the same thing with no luck.
I have a lot of audio files without cover it's why I made a little script with python to do the tricks. (Automatic seach on google image with tag info)
It looks like this:


Running Foobar in Linux

Reply #342
Yes please!!!
:-)

Well, in fact there are two scripts
 One run by foo_run extension and second run by the first.

First script: run_coverwesm.sh

Customize it with your informations

Code: [Select]
#!/bin/bash

#######be careful don't work with double quotes " en quotes ' in directory name#########

#split in 2 part
partie1=$(eval echo '"'"$@"'"' | sed 's/::cut::/%/g' | cut -d'%' -f1)
partie2=$(eval echo '"'"$@"'"' | sed 's/::cut::/%/g' | cut -d'%' -f2)


#define first letter to reverse wine configuration
lettre=$(eval echo ${partie2%:*})

##########################################################################
#first exemple
#here if first letter is "C" then the script replace in directory name:
#C:\windows\profiles\wesm\Bureau by /home/wesm/Desktop
#Replace the name directory by yours
#add or delete if then fi structure according to your configuration

if [ "$lettre" = "C" ]
then
var=$(eval echo '"'"$partie2"'"' | sed 's/C:\\windows\\profiles\\wesm\\Bureau/\/home\/wesm\/Desktop/g')
fi

if [ "$lettre" = "F" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/F:/\/media\/Data/g')
fi

if [ "$lettre" = "Z" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/Z:/\//g')
fi

if [ "$lettre" = "I" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/I:/\/home\/wesm/g')
fi

############################################################

#replace "\" by "/" in directory name
var1=$(eval echo '"'"$var"'"' | sed 's/\\/\//g')

#run python script with the good argument
#here enter your path to the script
python /path/tothe/script/coverwesm.py "$partie1" "$var1"

#optional run nautilus with directory name (you can use this script for replace the command "open containing folder")
nautilus "$var1"

exit 0

Python script: coverwesm.py
It's my first python script i'm sure it's not perfect but it works for me
Nothing to customize in this one.
But you have to install python2.5 and  python-imaging-tk.

#requirements
#sudo apt-get install python2.5
#sudo apt-get install python-imaging-tk

Code: [Select]
Download link on megaupload because codebox don't respect indentation after copy/paste of the python script !?
megaupload.com/?d=4DXEOQM0

After create a new entry in foo-run extension:
C:\where\isthescript\run_coverwesm.sh "%artist%+%album%"::cut::"$directory_path(%path%)"

Normally it's OK 

Running Foobar in Linux

Reply #343
Thank you very much!
Well I got it to work partially, it launches the window with the pictures in it. I can scroll to next and previous images, but it won't allow me to save. I click save and nothing happens. (i have read/write on the musicfolders).

It's a mounted networkdirectory, mounted to /home/user/Music, I added this to the .sh script. When I read your pythonscript I see it should save it as a arg[1]/cover.extension). I assume this is the argument $directory_path(%path%) followed by /cover.ext?.

How can I debug what's wrong?

It should be in this line?
def OnButtonClick1(self):

Code: [Select]
#Save image

        shutil.copy(os.getcwd() + "/temp_cover." + img.format,args[1] + "/cover." + img.format.lower())

        self.labelVariable1.set("Info.: cover." + img.format.lower() + '\nSaved in : ' + args[1])

Running Foobar in Linux

Reply #344
... When I read your pythonscript I see it should save it as a arg[1]/cover.extension). I assume this is the argument $directory_path(%path%) followed by /cover.ext?.
...

Yes, the python script copy the temp cover file in your music directory. arg[1] is the path to this directory. it is definied in the bash script. I think the problem is in the bash script.
Could you run the script from terminal with this command.
sh /where/isthe/run_coverwesm.sh "miles+davis" "your/music/directory/"

Try to save image and after copy/paste the return of the terminal in codebox here.



Running Foobar in Linux

Reply #345
Try to save image and after copy/paste the return of the terminal in codebox here.


Here is the part I changed in the runscript:

Code: [Select]
#add or delete if then fi structure according to your configuration

if [ "$lettre" = "Z" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/Z:/home/marsjaco/Muziek\/home/marsjaco/Muziek/g')
fi

############################################################

#replace "\" by "/" in directory name
var1=$(eval echo '"'"$var"'"' | sed 's/\\/\//g')

#run python script with the good argument
#here enter your path to the script
python /home/marsjaco/.foobar2000/coverart/coverwesm.py "$partie1" "$var1"

#optional run nautilus with directory name (you can use this script for replace the command "open containing folder")
nautilus "$var1"

exit 0


Here is terminal output of the process (only the last lines are relevant I think?) run with: sh /home/marsjaco/.foobar2000/coverart/run_coverwesm.sh "miles+davis" "/home/marsjaco/Muziek/test/" , but it doesn't start your graphical interface.
Code: [Select]
Nous avons echoue a joindre le serveur.
Raison:  no host given
Traceback (most recent call last):
   File "/home/marsjaco/.foobar2000/coverart/coverwesm.py", line 270, in <module>
     app.affiche_image(i)
   File "/home/marsjaco/.foobar2000/coverart/coverwesm.py", line 159, in affiche_image
     if os.path.isfile('temp_cover.' + img.format):
TypeError: cannot concatenate 'str' and 'builtin_function_or_method' objects

(nautilus:5282): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Running Foobar in Linux

Reply #346
[quote name='Mar2zz' date='Mar 19 2010, 11:23' post='694637']

OK, i see a mistake in the use of sed fonction.
In your bash script replace that:

Code: [Select]
 
if [ "$lettre" = "Z" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/Z:/home/marsjaco/Muziek\/home/marsjaco/Muziek/g')
fi


by this:

Code: [Select]
 
if [ "$lettre" = "Z" ]
then
var=$(eval echo '"'"$partie2"'"'| sed 's/Z:/\//g')
fi


after i hope it works in foobar

Running Foobar in Linux

Reply #347
Wesm you are my hero!!! It works great now!

This was the last thing I needed to get working and was bothering me since I switched to only linux.

Running Foobar in Linux

Reply #348
Wesm you are my hero!!! It works great now!

This was the last thing I needed to get working and was bothering me since I switched to only linux.



Good news 
I want to make this tool look better. I don't like the python tkinter appearance.
At the same time, i would like to know C++ language now i try to make this tool in C++ with qt4 library.
if I can to do it properly i post it here soon.

Running Foobar in Linux

Reply #349
Well it looks ok now, I like it because it works. I am interested in your progress and happy to test if you need to.

It could be an idea to show more covers at once and save the cover that is clicked. (same as XUI).

The tools button doesn't work (I think). When I click it it shows the word options, and when I click that the window dissapears and nautilus opens in the path I was searching art for (I like that behaviour though). Is that the intended behaviour?