Album Art Downloader

Informatie

Creator Bericht
meegle84 Anonymous

Warning

This installer has not been approved yet by the team.

Informatie

Platforms:
Downloads: 0
Wine: System

Feedbacks

Omschrijving

The Album Art Downloader is a program designed to make life easier for anyone who wishes to find and update their album art for their music collection. The sources for the pictures can be defined by creating plugin scripts. Website.

Broncode

                

Contributions

Filters:

Contribute
Member Bericht
GuerreroAzul Maandag 13 November 2023 om 21:12
GuerreroAzul

Warning

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

Bericht

The script was created, which performs the installation. But when you run the program it does not work correctly.

Differences

@@ -0,0 +1,105 @@
+#!/usr/bin/env PlayOnLinux-Bash
+# Information
+# Date: 2023-11-10
+# Last revision: 2023-11-10
+# Wine Version: 4.15
+# OS: Linux Mint 21.2 x86_64 
+# Author: GuerreroAzul
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+# Program licence : Retail
+
+# Running the Scripts
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# Variable
+TITLE="Album Art Downloader"
+PREFIX="AlbumArtDownloader"
+POLVERSION="4.3.4"
+WINEVERSION="4.15"
+OSVERSION="win7"
+ARCHITECTURE="x86"
+COMPANY="alexvallat, marclandis"
+SITEWEB="https://sourceforge.net/projects/album-art/"
+AUTHOR="GuerreroAzul"
+DOWNLOAD_URL="https://phoenixnap.dl.sourceforge.net/project/album-art/album-art-xui/AlbumArtDownloaderXUI-1.05.exe"
+MD5_CHECKSUM="830c050655ea9bf3075acf71cf9d0f34"
+SETUP="AlbumArtDownloaderXUI-1.05.exe"
+ 
+#Presentation
+POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE"
+ 
+# POL Validations
+POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
+ 
+#Linux Validations
+if [ "$POL_OS" = "Linux" ]; then
+    wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
+fi
+ 
+#Mac Validations
+if [ "$POL_OS" = "Mac" ]; then
+    POL_Call POL_GetTool_samba3
+    source "$POL_USER_ROOT/tools/samba3/init"
+fi
+ 
+#wine Setup And Installation
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "$OS"
+POL_System_SetArch "$ARQUITECTURE"
+ 
+# Theme Windows
+POL_Call POL_Install_LunaTheme
+
+#Library
+POL_Call POL_Install_vcrun2008
+
+#Install .Net Framework 4.7.2
+DOWNLOAD_NET="https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/124d2afe5c8f67dfa910da5f9e3db9c1/ndp472-kb4054531-web.exe"
+MD5_NET="b3844d880d71de6d787190d2e378101b"
+NET="ndp472-kb4054531-web.exe"
+
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_Download "$DOWNLOAD_NET" "$MD5_NET"
+NET_FRAMEWORK="$POL_System_TmpDir/$NET"
+
+POL_Wine start /unix "$NET_FRAMEWORK"
+POL_Wine_WaitExit "$NET_FRAMEWORK"
+POL_Wine_OverrideDLL "native" "mscoree"
+POL_Wine_reboot
+ 
+# Installation
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+# Local Installation
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+# Web Installation
+else
+    DOWNLOAD_URL=$DOWNLOAD_URL
+    MD5_CHECKSUM="$MD5_CHECKSUM"
+
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+
+    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
+    INSTALLER="$POL_System_TmpDir/$SETUP"
+fi
+
+#Installation started
+POL_Wine start /unix "$INSTALLER"
+POL_Wine_WaitExit "$INSTALLER"
+
+POL_Shortcut "AlbumArt.exe" "Album Art Downloader"
+
+#End installation
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env PlayOnLinux-Bash
# Information
# Date: 2023-11-10
# Last revision: 2023-11-10
# Wine Version: 4.15
# OS: Linux Mint 21.2 x86_64 
# Author: GuerreroAzul
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : Retail

# Running the Scripts
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_Debug_Init
 
# Variable
TITLE="Album Art Downloader"
PREFIX="AlbumArtDownloader"
POLVERSION="4.3.4"
WINEVERSION="4.15"
OSVERSION="win7"
ARCHITECTURE="x86"
COMPANY="alexvallat, marclandis"
SITEWEB="https://sourceforge.net/projects/album-art/"
AUTHOR="GuerreroAzul"
DOWNLOAD_URL="https://phoenixnap.dl.sourceforge.net/project/album-art/album-art-xui/AlbumArtDownloaderXUI-1.05.exe"
MD5_CHECKSUM="830c050655ea9bf3075acf71cf9d0f34"
SETUP="AlbumArtDownloaderXUI-1.05.exe"
 
#Presentation
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE"
 
# POL Validations
POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!"
 
#Linux Validations
if [ "$POL_OS" = "Linux" ]; then
    wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!"
fi
 
#Mac Validations
if [ "$POL_OS" = "Mac" ]; then
    POL_Call POL_GetTool_samba3
    source "$POL_USER_ROOT/tools/samba3/init"
fi
 
#wine Setup And Installation
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "$OS"
POL_System_SetArch "$ARQUITECTURE"
 
# Theme Windows
POL_Call POL_Install_LunaTheme

#Library
POL_Call POL_Install_vcrun2008

#Install .Net Framework 4.7.2
DOWNLOAD_NET="https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/124d2afe5c8f67dfa910da5f9e3db9c1/ndp472-kb4054531-web.exe"
MD5_NET="b3844d880d71de6d787190d2e378101b"
NET="ndp472-kb4054531-web.exe"

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_Download "$DOWNLOAD_NET" "$MD5_NET"
NET_FRAMEWORK="$POL_System_TmpDir/$NET"

POL_Wine start /unix "$NET_FRAMEWORK"
POL_Wine_WaitExit "$NET_FRAMEWORK"
POL_Wine_OverrideDLL "native" "mscoree"
POL_Wine_reboot
 
# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
# Local Installation
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
# Web Installation
else
    DOWNLOAD_URL=$DOWNLOAD_URL
    MD5_CHECKSUM="$MD5_CHECKSUM"

    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"

    POL_Download "$DOWNLOAD_URL" "$MD5_CHECKSUM"
    INSTALLER="$POL_System_TmpDir/$SETUP"
fi

#Installation started
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$INSTALLER"

POL_Shortcut "AlbumArt.exe" "Album Art Downloader"

#End installation
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Antwoorden