Bump up version number to 8.0
This commit is contained in:
parent
75cd8bc8cc
commit
d6a0385270
|
@ -1,6 +1,6 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set VERSION=7.3
|
set VERSION=8.0
|
||||||
echo.
|
echo.
|
||||||
echo #####################################
|
echo #####################################
|
||||||
echo # Welcome to ks-tools installer %VERSION% #
|
echo # Welcome to ks-tools installer %VERSION% #
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# cygwin-path - Convert Windows paths in Cywin paths & vice versa #
|
# cygwin-path - Convert Windows paths in Cywin paths & vice versa #
|
||||||
# Date: 28-03-2020 #
|
# Date: 28-03-2020 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
####################################################################
|
####################################################################
|
||||||
VERSION="1.0"
|
VERSION="1.0"
|
||||||
M_DATE="280320"
|
M_DATE="280320"
|
||||||
|
|
20
cygwin/ks-tools-cmd.cmd
Normal file
20
cygwin/ks-tools-cmd.cmd
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
rem ######################################
|
||||||
|
rem # ks-tools for Windows #
|
||||||
|
rem # U. Modificacion: 01-02-2022 #
|
||||||
|
rem # Author: q3aql #
|
||||||
|
rem # Contact: q3aql@duck.com #
|
||||||
|
rem # License: GPL v2.0 #
|
||||||
|
rem ######################################
|
||||||
|
set VERSION=8.0
|
||||||
|
|
||||||
|
rem # Start ks-tools terminal (bash)
|
||||||
|
cd "%~d0%~p0"
|
||||||
|
mkdir home\%USERNAME%
|
||||||
|
copy /Y prompt\.bashrc home\%USERNAME%
|
||||||
|
copy /Y prompt\.minttyrc home\%USERNAME%
|
||||||
|
cls
|
||||||
|
set PATH=%PATH%;%~d0%~p0\bin
|
||||||
|
bin\bash.exe
|
||||||
|
rem bash
|
|
@ -2,18 +2,19 @@
|
||||||
|
|
||||||
rem ######################################
|
rem ######################################
|
||||||
rem # ks-tools for Windows #
|
rem # ks-tools for Windows #
|
||||||
rem # U. Modificacion: 03-05-2021 #
|
rem # U. Modificacion: 01-02-2022 #
|
||||||
rem # Author: q3aql #
|
rem # Author: q3aql #
|
||||||
rem # Contact: q3aql@protonmail.ch #
|
rem # Contact: q3aql@duck.com #
|
||||||
rem # License: GPL v2.0 #
|
rem # License: GPL v2.0 #
|
||||||
rem ######################################
|
rem ######################################
|
||||||
set VERSION=7.3
|
set VERSION=8.0
|
||||||
|
|
||||||
rem # Start ks-tools terminal (bash)
|
rem # Start ks-tools terminal (bash)
|
||||||
|
cd "%~d0%~p0"
|
||||||
mkdir home\%USERNAME%
|
mkdir home\%USERNAME%
|
||||||
copy /Y prompt\.bashrc home\%USERNAME%
|
copy /Y prompt\.bashrc home\%USERNAME%
|
||||||
copy /Y prompt\.minttyrc home\%USERNAME%
|
copy /Y prompt\.minttyrc home\%USERNAME%
|
||||||
cls
|
cls
|
||||||
set PATH=%PATH%;%~d0%~p0\bin
|
set PATH=%PATH%;%~d0%~p0\bin
|
||||||
mintty
|
bin\mintty.exe
|
||||||
rem bash
|
rem bash
|
||||||
|
|
|
@ -185,7 +185,7 @@ alias Z:="/cygdrive/z"
|
||||||
# Show menu of ks-tools
|
# Show menu of ks-tools
|
||||||
echo ""
|
echo ""
|
||||||
echo " #####################################"
|
echo " #####################################"
|
||||||
echo " # ks-tools 7.3 (for Windows/Cygwin) #"
|
echo " # ks-tools 8.0 (for Windows/Cygwin) #"
|
||||||
echo " #####################################"
|
echo " #####################################"
|
||||||
echo ""
|
echo ""
|
||||||
echo " * Note:"
|
echo " * Note:"
|
||||||
|
@ -204,7 +204,7 @@ echo " - ks-mp4s - ks-mp4k-wrapper"
|
||||||
echo " - ks-mix - ks-mp4s-wrapper"
|
echo " - ks-mix - ks-mp4s-wrapper"
|
||||||
echo " - ks-avi - ks-mp4s-folder"
|
echo " - ks-avi - ks-mp4s-folder"
|
||||||
echo " - ks-mp3 - ks-mp3-album"
|
echo " - ks-mp3 - ks-mp3-album"
|
||||||
echo " - ks-vob"
|
echo " - ks-vob - ks-conf"
|
||||||
echo ""
|
echo ""
|
||||||
echo " * Type 'all-commands' for show all commands."
|
echo " * Type 'all-commands' for show all commands."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
rem ######################################
|
rem ######################################
|
||||||
rem # ks-tools for Windows #
|
rem # ks-tools for Windows #
|
||||||
rem # U. Modificacion: 03-05-2021 #
|
rem # U. Modificacion: 01-02-2022 #
|
||||||
rem # Author: q3aql #
|
rem # Author: q3aql #
|
||||||
rem # Contact: q3aql@protonmail.ch #
|
rem # Contact: q3aql@duck.com #
|
||||||
rem # License: GPL v2.0 #
|
rem # License: GPL v2.0 #
|
||||||
rem ######################################
|
rem ######################################
|
||||||
set VERSION=7.3
|
set VERSION=8.0
|
||||||
|
|
||||||
rem # Start ks-tools ZUI (bash)
|
rem # Start ks-tools ZUI (bash)
|
||||||
mkdir home\%USERNAME%
|
mkdir home\%USERNAME%
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
|
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#################################################################
|
#################################################################
|
||||||
VERSION="7.3 (BETA)"
|
VERSION="8.0 (BETA)"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Function to show about
|
# Function to show about
|
||||||
function showAbout() {
|
function showAbout() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
|
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#################################################################
|
#################################################################
|
||||||
VERSION="7.3 (BETA)"
|
VERSION="8.0 (BETA)"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Function to show about
|
# Function to show about
|
||||||
function showAbout() {
|
function showAbout() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-tools - Initialize the ks-tools terminal (using xterm) #
|
# ks-tools - Initialize the ks-tools terminal (using xterm) #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
name_terminal="ks-tools v${VERSION} (${M_DATE})"
|
name_terminal="ks-tools v${VERSION} (${M_DATE})"
|
||||||
|
|
|
@ -114,7 +114,7 @@ fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " #################################"
|
echo " #################################"
|
||||||
echo " # ks-tools 7.3 (for Unix/Linux) #"
|
echo " # ks-tools 8.0 (for Unix/Linux) #"
|
||||||
echo " #################################"
|
echo " #################################"
|
||||||
echo ""
|
echo ""
|
||||||
echo " * Available commands:"
|
echo " * Available commands:"
|
||||||
|
@ -129,5 +129,5 @@ echo " - ks-mp4s - ks-mp4k-wrapper"
|
||||||
echo " - ks-mix - ks-mp4s-wrapper"
|
echo " - ks-mix - ks-mp4s-wrapper"
|
||||||
echo " - ks-avi - ks-mp4s-folder"
|
echo " - ks-avi - ks-mp4s-folder"
|
||||||
echo " - ks-mp3 - ks-mp3-album"
|
echo " - ks-mp3 - ks-mp3-album"
|
||||||
echo " - ks-vob"
|
echo " - ks-vob - ks-conf"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-tools - Initialize the ks-tools ZUI (using xterm) #
|
# ks-tools - Initialize the ks-tools ZUI (using xterm) #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3 (BETA)"
|
VERSION="8.0 (BETA)"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
name_terminal="ks-tools v${VERSION} (${M_DATE})"
|
name_terminal="ks-tools v${VERSION} (${M_DATE})"
|
||||||
|
|
20
src/ks-avi
20
src/ks-avi
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-avi (ks-tools) - Convert video to AVI format #
|
# ks-avi (ks-tools) - Convert video to AVI format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -29,6 +29,12 @@ default_lang_audio="spa"
|
||||||
default_lang_subt="spa"
|
default_lang_subt="spa"
|
||||||
v_ext="avi"
|
v_ext="avi"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -84,12 +90,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-crop (ks-tools) - Crop or change aspect ratio of a video #
|
# ks-crop (ks-tools) - Crop or change aspect ratio of a video #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# ks-mix (ks-tools) - Extract video/audio and mix video/audio files #
|
# ks-mix (ks-tools) - Extract video/audio and mix video/audio files #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# File(s) detection
|
# File(s) detection
|
||||||
current_dir="$(pwd)"
|
current_dir="$(pwd)"
|
||||||
|
|
20
src/ks-mp3
20
src/ks-mp3
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# ks-mp3 (ks-tools) - Convert video/audio file(s) to MP3 (Audio) Format #
|
# ks-mp3 (ks-tools) - Convert video/audio file(s) to MP3 (Audio) Format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -22,6 +22,12 @@ b_acodec="128k"
|
||||||
v_ext="mp3"
|
v_ext="mp3"
|
||||||
default_lang_audio="spa"
|
default_lang_audio="spa"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -52,12 +58,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# ks-mp3-album (ks-tools) - Convert folder album to MP3 Audio Format #
|
# ks-mp3-album (ks-tools) - Convert folder album to MP3 Audio Format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
######################################################################
|
######################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
tempFile="/tmp/ks-mp4s-folder.txt"
|
tempFile="/tmp/ks-mp4s-folder.txt"
|
||||||
|
@ -29,6 +29,12 @@ track_init="1"
|
||||||
artist_init="Artist"
|
artist_init="Artist"
|
||||||
default_lang_audio="spa"
|
default_lang_audio="spa"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -59,12 +65,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
20
src/ks-mp4
20
src/ks-mp4
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4 (ks-tools) - Convert video to MP4 format #
|
# ks-mp4 (ks-tools) - Convert video to MP4 format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -29,6 +29,12 @@ default_lang_audio="spa"
|
||||||
default_lang_subt="spa"
|
default_lang_subt="spa"
|
||||||
v_ext="mp4"
|
v_ext="mp4"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -84,12 +90,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
20
src/ks-mp4k
20
src/ks-mp4k
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4k (ks-tools) - Convert video to MP4 format (4K) #
|
# ks-mp4k (ks-tools) - Convert video to MP4 format (4K) #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -29,6 +29,12 @@ default_lang_audio="spa"
|
||||||
default_lang_subt="spa"
|
default_lang_subt="spa"
|
||||||
v_ext="mp4"
|
v_ext="mp4"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -84,12 +90,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
20
src/ks-mp4s
20
src/ks-mp4s
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4s (ks-tools) - Convert video to MP4 format (Series) #
|
# ks-mp4s (ks-tools) - Convert video to MP4 format (Series) #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -29,6 +29,12 @@ default_lang_audio="spa"
|
||||||
default_lang_subt="spa"
|
default_lang_subt="spa"
|
||||||
v_ext="mp4"
|
v_ext="mp4"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -84,12 +90,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
# ks-mp4s-folder (ks-tools) - Convert videos from folder to MP4 format (Series) #
|
# ks-mp4s-folder (ks-tools) - Convert videos from folder to MP4 format (Series) #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#################################################################################
|
#################################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
tempFile="/tmp/ks-mp4s-folder.txt"
|
tempFile="/tmp/ks-mp4s-folder.txt"
|
||||||
|
|
20
src/ks-oga
20
src/ks-oga
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# ks-oga (ks-tools) - Convert video/audio file(s) to OGA (OGG Audio) Format #
|
# ks-oga (ks-tools) - Convert video/audio file(s) to OGA (OGG Audio) Format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#############################################################################
|
#############################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters
|
# Global parameters
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -22,6 +22,12 @@ b_acodec="130k"
|
||||||
v_ext="oga"
|
v_ext="oga"
|
||||||
default_lang_audio="spa"
|
default_lang_audio="spa"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -52,12 +58,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
# ks-oga-album (ks-tools) - Convert folder album to OGA (OGG Audio) Format #
|
# ks-oga-album (ks-tools) - Convert folder album to OGA (OGG Audio) Format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
############################################################################
|
############################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
tempFile="/tmp/ks-mp4s-folder.txt"
|
tempFile="/tmp/ks-mp4s-folder.txt"
|
||||||
|
@ -29,6 +29,12 @@ track_init="1"
|
||||||
artist_init="Artist"
|
artist_init="Artist"
|
||||||
default_lang_audio="spa"
|
default_lang_audio="spa"
|
||||||
|
|
||||||
|
# Check cygwin alias (for Windows)
|
||||||
|
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
||||||
|
shopt -s expand_aliases
|
||||||
|
source "/usr/bin/cygwin-alias.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create inicial config file
|
# Create inicial config file
|
||||||
mkdir -p ${configFolder}
|
mkdir -p ${configFolder}
|
||||||
if [ -f ${configFile} ] ; then
|
if [ -f ${configFile} ] ; then
|
||||||
|
@ -59,12 +65,6 @@ else
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check cygwin alias (for Windows)
|
|
||||||
if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|
||||||
shopt -s expand_aliases
|
|
||||||
source "/usr/bin/cygwin-alias.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if ffmpeg is installed
|
# Check if ffmpeg is installed
|
||||||
ffmpeg_test=$(ffmpeg --help 2>&1)
|
ffmpeg_test=$(ffmpeg --help 2>&1)
|
||||||
error_ffmpeg=$?
|
error_ffmpeg=$?
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# ks-upa (ks-tools) - Upload audio file(s) to server with rsync+ssh #
|
# ks-upa (ks-tools) - Upload audio file(s) to server with rsync+ssh #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# ks-upf (ks-tools) - Upload common file(s) to server with rsync+ssh #
|
# ks-upf (ks-tools) - Upload common file(s) to server with rsync+ssh #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
######################################################################
|
######################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# ks-upr (ks-tools) - Upload recursively file(s) to server with rsync+ssh #
|
# ks-upr (ks-tools) - Upload recursively file(s) to server with rsync+ssh #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# ks-upv (ks-tools) - Upload videos file(s) to server with rynsc+ssh #
|
# ks-upv (ks-tools) - Upload videos file(s) to server with rynsc+ssh #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
######################################################################
|
######################################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-avi (ks-tools) - Convert video to VOB DVD Format #
|
# ks-avi (ks-tools) - Convert video to VOB DVD Format #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Basic parameters
|
# Basic parameters
|
||||||
rel_size="720x480"
|
rel_size="720x480"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-avi-wrapper (ks-tools) - Wrapper for ks-avi #
|
# ks-avi-wrapper (ks-tools) - Wrapper for ks-avi #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Conversion parameters
|
# Conversion parameters
|
||||||
ks_avi_to_wrap="/usr/bin/ks-avi"
|
ks_avi_to_wrap="/usr/bin/ks-avi"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4-wrapper (ks-tools) - Wrapper for ks-mp4 #
|
# ks-mp4-wrapper (ks-tools) - Wrapper for ks-mp4 #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Conversion parameters
|
# Conversion parameters
|
||||||
ks_mp4_to_wrap="/usr/bin/ks-mp4"
|
ks_mp4_to_wrap="/usr/bin/ks-mp4"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4k-wrapper (ks-tools) - Wrapper for ks-mp4k #
|
# ks-mp4k-wrapper (ks-tools) - Wrapper for ks-mp4k #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Conversion parameters
|
# Conversion parameters
|
||||||
ks_mp4k_to_wrap="/usr/bin/ks-mp4k"
|
ks_mp4k_to_wrap="/usr/bin/ks-mp4k"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-mp4s-wrapper (ks-tools) - Wrapper for ks-mp4s #
|
# ks-mp4s-wrapper (ks-tools) - Wrapper for ks-mp4s #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Conversion parameters
|
# Conversion parameters
|
||||||
ks_mp4s_to_wrap="/usr/bin/ks-mp4s"
|
ks_mp4s_to_wrap="/usr/bin/ks-mp4s"
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# ks-vob-wrapper (ks-tools) - Wrapper for ks-vob #
|
# ks-vob-wrapper (ks-tools) - Wrapper for ks-vob #
|
||||||
# Date: 03-05-2021 #
|
# Date: 02-01-2022 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@duck.com #
|
||||||
###############################################################
|
###############################################################
|
||||||
VERSION="7.3"
|
VERSION="8.0"
|
||||||
M_DATE="030521"
|
M_DATE="020122"
|
||||||
|
|
||||||
# Conversion parameters
|
# Conversion parameters
|
||||||
ks_vob_to_wrap="/usr/bin/ks-vob"
|
ks_vob_to_wrap="/usr/bin/ks-vob"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user