Foobar2000

Informations

Creator Message
Tr4sK Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 36789
Wine: System

Feedbacks

Description

Foobar2000 is an advanced freeware audio player for the Windows platform.

Source code

#!/bin/bash
 
# Date : 2014-04-21 18-00
# Last revision : (2019-04-07 19-00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie, Fedora 29
# Author : Tr4sK, Koblaid, Tarulia
 
# CHANGELOG
# [Tr4sK] (2014-04-21 18-00)
#        Initial release
# [Koblaid] (2014-06-12)
#        Bugfix: setup file must be downloaded manually
# [Tarulia] (2019-04-07)
#        open Browser for downloading setup, removed WINEVERSION since it's unused, minor cleanups

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="foobar2000"
EDITOR="foobar2000"
EDITOR_URL="http://www.foobar2000.org"

SCRIPT_AUTHOR="Tr4sK, Koblaid, Tarulia"
PREFIX="foobar2000"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2011
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$SCRIPT_AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"

POL_Browser "https://www.foobar2000.org/download"
POL_SetupWindow_browse "Please download the setup file from the foobar2000 website (opened in your browser) and select it." "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Shortcut "foobar2000.exe" "$TITLE" "" "" "AudioVideo;Audio;Player;"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
mihawk90 Sunday 7 April 2019 at 19:01
mihawk90 Anonymous

Information

This update has been approved by the team.

Message

  • removed WINEVERSION since it's unused
  • open download page before file selector
  • add categories in shortcuts
  • name to official spelling
  • minor cleanups

PS: Should changelog really be in the file? I thought that's what the comment section is for...

Differences

@@ -1,46 +1,43 @@
 #!/bin/bash
  
 # Date : 2014-04-21 18-00
-# Last revision : (2014-04-21 18-00)
+# Last revision : (2019-04-07 19-00)
 # Wine version used : 1.6.2
-# Distribution used to test : Debian Jessie
-# Author : Tr4sK, Koblaid
+# Distribution used to test : Debian Jessie, Fedora 29
+# Author : Tr4sK, Koblaid, Tarulia
  
 # CHANGELOG
 # [Tr4sK] (2014-04-21 18-00)
 #        Initial release
 # [Koblaid] (2014-06-12)
 #        Bugfix: setup file must be downloaded manually
+# [Tarulia] (2019-04-07)
+#        open Browser for downloading setup, removed WINEVERSION since it's unused, minor cleanups
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
-
-TITLE="Foobar2000"
-WINEVERSION="1.6.2"
+ 
+TITLE="foobar2000"
 EDITOR="foobar2000"
 EDITOR_URL="http://www.foobar2000.org"
-PREFIX="Foobar2k"
 
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
+SCRIPT_AUTHOR="Tr4sK, Koblaid, Tarulia"
+PREFIX="foobar2000"
 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2011
-POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"
-
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$SCRIPT_AUTHOR" "$PREFIX"
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
+Set_OS "win7"
 
-POL_Call POL_Install_LunaTheme
-
-
-POL_SetupWindow_browse "$(eval_gettext 'Please download the setup file from http://www.foobar2000.org/download and select it.')" "$TITLE"
+POL_Browser "https://www.foobar2000.org/download"
+POL_SetupWindow_browse "Please download the setup file from the foobar2000 website (opened in your browser) and select it." "$TITLE"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "$APP_ANSWER"
-
-POL_Shortcut "foobar2000.exe" "$TITLE"
+POL_Shortcut "foobar2000.exe" "$TITLE" "" "" "AudioVideo;Audio;Player;"
 
 POL_SetupWindow_Close
-exit 0
+exit

New source code

#!/bin/bash
 
# Date : 2014-04-21 18-00
# Last revision : (2019-04-07 19-00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie, Fedora 29
# Author : Tr4sK, Koblaid, Tarulia
 
# CHANGELOG
# [Tr4sK] (2014-04-21 18-00)
#        Initial release
# [Koblaid] (2014-06-12)
#        Bugfix: setup file must be downloaded manually
# [Tarulia] (2019-04-07)
#        open Browser for downloading setup, removed WINEVERSION since it's unused, minor cleanups

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="foobar2000"
EDITOR="foobar2000"
EDITOR_URL="http://www.foobar2000.org"

SCRIPT_AUTHOR="Tr4sK, Koblaid, Tarulia"
PREFIX="foobar2000"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2011
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "$SCRIPT_AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
Set_OS "win7"

POL_Browser "https://www.foobar2000.org/download"
POL_SetupWindow_browse "Please download the setup file from the foobar2000 website (opened in your browser) and select it." "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Shortcut "foobar2000.exe" "$TITLE" "" "" "AudioVideo;Audio;Player;"

POL_SetupWindow_Close
exit

Replies

Edited by mihawk90

xfrog Sunday 21 August 2016 at 21:59
xfrog Anonymous

Message

On El Capitan 10.11.6 it works. But I had to install gdiplus component for enabling album art preview.

 

 

 

Replies

Dennis50300 Friday 27 May 2016 at 21:39
Dennis50300 Anonymous

Message

with actually staging so on Ubuntu 16.04 it's running wonderful, but in/(over) PlayOnLinux i can't configure as like Wine normally in Ubuntu with winetricks to "sound=alsa"

I can't find any Option in PlayOnLinux -.-

gives it a workaround to get the prefix ?

 

best regards

 

Dennis

Replies

petch Sunday 31 May 2015 at 4:02
petch
Developer

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fix $TITLE to match script name

Differences

@@ -16,7 +16,7 @@
 source "$PLAYONLINUX/lib/sources"
 
 
-TITLE="foobar2000"
+TITLE="Foobar2000"
 WINEVERSION="1.6.2"
 EDITOR="foobar2000"
 EDITOR_URL="http://www.foobar2000.org"

New source code

#!/bin/bash
 
# Date : 2014-04-21 18-00
# Last revision : (2014-04-21 18-00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie
# Author : Tr4sK, Koblaid
 
# CHANGELOG
# [Tr4sK] (2014-04-21 18-00)
#        Initial release
# [Koblaid] (2014-06-12)
#        Bugfix: setup file must be downloaded manually

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


TITLE="Foobar2000"
WINEVERSION="1.6.2"
EDITOR="foobar2000"
EDITOR_URL="http://www.foobar2000.org"
PREFIX="Foobar2k"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2011
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Call POL_Install_LunaTheme


POL_SetupWindow_browse "$(eval_gettext 'Please download the setup file from http://www.foobar2000.org/download and select it.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"

POL_Shortcut "foobar2000.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

petch Sunday 31 May 2015 at 3:54
petch
Developer

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Remove start /unix so the script (and shortcut creation) is blocked until the program installation completes

Differences

@@ -11,36 +11,36 @@
 #        Initial release
 # [Koblaid] (2014-06-12)
 #        Bugfix: setup file must be downloaded manually
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
- 
+
+
 TITLE="foobar2000"
 WINEVERSION="1.6.2"
 EDITOR="foobar2000"
 EDITOR_URL="http://www.foobar2000.org"
 PREFIX="Foobar2k"
- 
+
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
- 
+
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2011
 POL_Debug_Init
- 
+
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"
- 
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
- 
+
 POL_Call POL_Install_LunaTheme
- 
- 
-POL_SetupWindow_browse "Please download the setup file from http://www.foobar2000.org/download and select it." "foobar2000 installation"
-POL_SetupWindow_wait "Installation in progress." "foobar2000 installation"
-POL_Wine start /unix "$APP_ANSWER"
- 
+
+
+POL_SetupWindow_browse "$(eval_gettext 'Please download the setup file from http://www.foobar2000.org/download and select it.')" "$TITLE"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$APP_ANSWER"
+
 POL_Shortcut "foobar2000.exe" "$TITLE"
- 
+
 POL_SetupWindow_Close
 exit 0

New source code

#!/bin/bash
 
# Date : 2014-04-21 18-00
# Last revision : (2014-04-21 18-00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie
# Author : Tr4sK, Koblaid
 
# CHANGELOG
# [Tr4sK] (2014-04-21 18-00)
#        Initial release
# [Koblaid] (2014-06-12)
#        Bugfix: setup file must be downloaded manually

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"


TITLE="foobar2000"
WINEVERSION="1.6.2"
EDITOR="foobar2000"
EDITOR_URL="http://www.foobar2000.org"
PREFIX="Foobar2k"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2011
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

POL_Call POL_Install_LunaTheme


POL_SetupWindow_browse "$(eval_gettext 'Please download the setup file from http://www.foobar2000.org/download and select it.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"

POL_Shortcut "foobar2000.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

koblaid Thursday 12 June 2014 at 10:15
koblaid Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Installation fails while trying to verify the md5 sum of foobar2000_v1.3.2.exe

The reason is that the url for the file no longer works. Foobar2000 doesn't seem to provide a permanent link to the setup file (see http://www.hydrogenaud.io/forums/index.php?showtopic=83124).

Differences

@@ -1,52 +1,46 @@
 #!/bin/bash
-
+ 
 # Date : 2014-04-21 18-00
 # Last revision : (2014-04-21 18-00)
 # Wine version used : 1.6.2
 # Distribution used to test : Debian Jessie
-# Author : Tr4sK
-
+# Author : Tr4sK, Koblaid
+ 
 # CHANGELOG
 # [Tr4sK] (2014-04-21 18-00)
-#	Initial release
-
+#        Initial release
+# [Koblaid] (2014-06-12)
+#        Bugfix: setup file must be downloaded manually
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
-
-TITLE="Foobar2000"
+ 
+ 
+TITLE="foobar2000"
 WINEVERSION="1.6.2"
-EDITOR="Foobar2000"
+EDITOR="foobar2000"
 EDITOR_URL="http://www.foobar2000.org"
 PREFIX="Foobar2k"
-
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
-
+ 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2011
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate
-
+ 
 POL_Call POL_Install_LunaTheme
-
-POL_System_TmpCreate "$PREFIX"
-cd "$POL_System_TmpDir"
-
-# Some dependencies
-
-POL_Download "http://www.foobar2000.org/files/815579e1dd0c31b8c5f61d41ab4d296e/foobar2000_v1.3.2.exe" "927e88bce9dbb36ea02e52cc9259a963"
-POL_Wine "foobar2000_v1.3.2.exe"
-POL_Wine_WaitExit "$TITLE"
-
-POL_System_TmpDelete
-
-
-
+ 
+ 
+POL_SetupWindow_browse "Please download the setup file from http://www.foobar2000.org/download and select it." "foobar2000 installation"
+POL_SetupWindow_wait "Installation in progress." "foobar2000 installation"
+POL_Wine start /unix "$APP_ANSWER"
+ 
 POL_Shortcut "foobar2000.exe" "$TITLE"
-
+ 
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
 
# Date : 2014-04-21 18-00
# Last revision : (2014-04-21 18-00)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie
# Author : Tr4sK, Koblaid
 
# CHANGELOG
# [Tr4sK] (2014-04-21 18-00)
#        Initial release
# [Koblaid] (2014-06-12)
#        Bugfix: setup file must be downloaded manually
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
 
TITLE="foobar2000"
WINEVERSION="1.6.2"
EDITOR="foobar2000"
EDITOR_URL="http://www.foobar2000.org"
PREFIX="Foobar2k"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2011
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tr4sK" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
POL_Call POL_Install_LunaTheme
 
 
POL_SetupWindow_browse "Please download the setup file from http://www.foobar2000.org/download and select it." "foobar2000 installation"
POL_SetupWindow_wait "Installation in progress." "foobar2000 installation"
POL_Wine start /unix "$APP_ANSWER"
 
POL_Shortcut "foobar2000.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Edited by Tinou