Captvty v3

Informations

Creator Message
RemyH Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 271
Wine: 4.0.3

Feedbacks

Description

For french TV : it allow to download replay TV programs from the websites of the french TV channels (that usually only allow to view, not to download).
"Accédez, depuis un point unique grâce à Captvty, aux directs et à une multitude d’émissions proposées au rattrapage par différentes chaînes de télévision."  Website.

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).

  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Captvty v3 alpha"
PREFIX="captvty_v3_alpha"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
  
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
  
###############
# Go          #
###############
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
  
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
  
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
  
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
  
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
  
  
# Seem useless
# POL_Call POL_Install_gdiplus
 
POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
POL_Call POL_Install_dotnet461
# POL_Call POL_Install_dotnet40
  
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
  
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
RemyH Monday 9 March 2020 at 23:33
RemyH Anonymous

Warning

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

Message

This script uses the auto-extractible version and not the ZIP file of Captvty.
It uses DotNet4.5 and not 4.6

 

Differences

@@ -1,91 +1,42 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2020-03-03)
-# Last revision : See changelog below
-# Wine version used : see below
-# Distribution used to test : Ubuntu 18.10 amd64
-# Script licence : GPL3
-# Program licence : Retail
-#
-# Playonlinux version used : 4.3.4
-#
-# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
-# Software based on : MS VisualBasic, MS DotNet.
-#
-#
-# CHANGELOG
-# [Dadu042] (2020-03-03)
-#   First version, from script for v3.
-# 
-#
-# KNOWN ISSUES :
-# - x
-#
-#
-# IMPROVEMENT IDEAS: 
-# - change the Videos output folder to the OS's Videos folder.
-# - add a option to upgrade the software (it is provided as a .ZIP).
 
+# Date : (2020-03-08)
+# Last revision : (2020-03-08)
+# Wine version used : 3.20
+# Distribution used to test : Linux Mint 19.3
+# Author : Remy
+# PlayOnLinux : 4.2.12
+# Script licence : GPL3
+# It's my first PlayOnLinux script
   
-[ -z "$PLAYONLINUX" ] && exit 0
+[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
-TITLE="Captvty v3 alpha"
-PREFIX="captvty_v3_alpha"
-WORKING_WINE_VERSION="4.0.3"
-AUTHOR="Dadu042"
-EDITOR="Guillaume"
-GAME_URL="https://captvty.fr"
-  
+
 POL_SetupWindow_Init
-POL_Debug_Init
-     
-POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
-POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
- 
- 
-POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-POL_System_TmpCreate "$TITLE"
-  
-Set_OS "win7"
-  
-# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
-  
-###############
-# Go          #
-###############
-  
-cd "$HOME"
-POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
-SETUP_EXE="$APP_ANSWER"
-  
-cd "$POL_System_TmpDir"
-TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
-mkdir -p "$TARGET_DIR"
-cd "$TARGET_DIR"
-  
-POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
-  
-POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
-  
-POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
-  
-  
-# Seem useless
-# POL_Call POL_Install_gdiplus
- 
-POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
-POL_Call POL_Install_dotnet461
-# POL_Call POL_Install_dotnet40
-  
-# Should be useful for msvcr90.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2005
-  
-# Should be useful for msvcr100.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2010
 
-POL_System_TmpDelete
+POL_SetupWindow_presentation "Captvty 3" "Captvty" "http://v3.captvty.fr/" "Remy" "Captvty3"
+
+# Information
+POL_SetupWindow_message "Cet installateur installe la version 3, qui apporte un super système de recherche." "Captvty 3"
+
+# Instructions
+POL_SetupWindow_message "Téléchargez d'abord la dernière version autoextractible du logiciel sur http://v3.captvty.fr/." "Captvty 3"
+POL_SetupWindow_message "Si une erreur apparaît pendant l'installation des différentes couches de DotNet, validez sans vous inquiéter. Ca fonctionne." "Captvty 3"
+POL_SetupWindow_message "Lorsqu'il demande où installer le logiciel, indiquez de préférence un répertoire dans l'arborescence du prefixe. Exemple : /home/<user>/PlayOnLinux's virtual drives/Captvty3/drive_c/Program Files" "Captvty 3"
+
+POL_SetupWindow_browse "Selectionnez le fichier d'installation autoextractible" "Indiquez le fichier d'installation."
+
+
+POL_Wine_SelectPrefix "Captvty3"
+POL_Wine_PrefixCreate "3.20"
+
+# Install DotNet4.5
+POL_Call POL_Install_dotnet45
+
+# Install files
+POL_Wine "$APP_ANSWER"
+
+POL_Shortcut "Captvty.exe" "Captvty 3"
+
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit

New source code

#!/usr/bin/env playonlinux-bash

# Date : (2020-03-08)
# Last revision : (2020-03-08)
# Wine version used : 3.20
# Distribution used to test : Linux Mint 19.3
# Author : Remy
# PlayOnLinux : 4.2.12
# Script licence : GPL3
# It's my first PlayOnLinux script
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init

POL_SetupWindow_presentation "Captvty 3" "Captvty" "http://v3.captvty.fr/" "Remy" "Captvty3"

# Information
POL_SetupWindow_message "Cet installateur installe la version 3, qui apporte un super système de recherche." "Captvty 3"

# Instructions
POL_SetupWindow_message "Téléchargez d'abord la dernière version autoextractible du logiciel sur http://v3.captvty.fr/." "Captvty 3"
POL_SetupWindow_message "Si une erreur apparaît pendant l'installation des différentes couches de DotNet, validez sans vous inquiéter. Ca fonctionne." "Captvty 3"
POL_SetupWindow_message "Lorsqu'il demande où installer le logiciel, indiquez de préférence un répertoire dans l'arborescence du prefixe. Exemple : /home/<user>/PlayOnLinux's virtual drives/Captvty3/drive_c/Program Files" "Captvty 3"

POL_SetupWindow_browse "Selectionnez le fichier d'installation autoextractible" "Indiquez le fichier d'installation."


POL_Wine_SelectPrefix "Captvty3"
POL_Wine_PrefixCreate "3.20"

# Install DotNet4.5
POL_Call POL_Install_dotnet45

# Install files
POL_Wine "$APP_ANSWER"

POL_Shortcut "Captvty.exe" "Captvty 3"

POL_SetupWindow_Close
exit

Replies

Thursday 12 March 2020 at 20:55
Merci de contribuer, j'ai apparament écrit un script avant toi. Libre à toi d'y proposer des modifications. Je conseille d'utiliser plutot le .ZIP que le .EXE de l'appli.
Anonymous
Saturday 14 March 2020 at 19:26
Hello,
J'en avais écrit un aussi. J'ai essayé le tien. Il ne marche pas chez moi.
J'utilise DotNet4.5, qui ne signale qu'une erreur mineure sans impact.
Comme mon script n'a pas été validé, j'utilise ma version en local.
Dadu042 Monday 9 March 2020 at 14:54
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,91 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2020-03-03)
+# Last revision : See changelog below
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.10 amd64
+# Script licence : GPL3
+# Program licence : Retail
+#
+# Playonlinux version used : 4.3.4
+#
+# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
+# Software based on : MS VisualBasic, MS DotNet.
+#
+#
+# CHANGELOG
+# [Dadu042] (2020-03-03)
+#   First version, from script for v3.
+# 
+#
+# KNOWN ISSUES :
+# - x
+#
+#
+# IMPROVEMENT IDEAS: 
+# - change the Videos output folder to the OS's Videos folder.
+# - add a option to upgrade the software (it is provided as a .ZIP).
+
+  
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Captvty v3 alpha"
+PREFIX="captvty_v3_alpha"
+WORKING_WINE_VERSION="4.0.3"
+AUTHOR="Dadu042"
+EDITOR="Guillaume"
+GAME_URL="https://captvty.fr"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+     
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+ 
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+  
+Set_OS "win7"
+  
+# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
+  
+###############
+# Go          #
+###############
+  
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
+SETUP_EXE="$APP_ANSWER"
+  
+cd "$POL_System_TmpDir"
+TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
+mkdir -p "$TARGET_DIR"
+cd "$TARGET_DIR"
+  
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
+  
+POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
+  
+POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
+  
+  
+# Seem useless
+# POL_Call POL_Install_gdiplus
+ 
+POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
+POL_Call POL_Install_dotnet461
+# POL_Call POL_Install_dotnet40
+  
+# Should be useful for msvcr90.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2005
+  
+# Should be useful for msvcr100.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2010
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).

  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Captvty v3 alpha"
PREFIX="captvty_v3_alpha"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
  
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
  
###############
# Go          #
###############
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
  
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
  
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
  
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
  
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
  
  
# Seem useless
# POL_Call POL_Install_gdiplus
 
POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
POL_Call POL_Install_dotnet461
# POL_Call POL_Install_dotnet40
  
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
  
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Monday 9 March 2020 at 14:58
Note: Wine 4.21 semble empecher Dotnet461 de s'installer correctement.