/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to scripts/video2lbry.sh

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-13 20:29:17 UTC
  • Revision ID: git-v1:4502736d0e4c4af9a28416c4b04bf9725893c5a0
Fixed up the rest of the if statments.

  I have no idea how it even worked before.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
# Encodes videos so they are ready to be uploaded to LBRY.
6
6
#
7
 
# Changes
8
 
# 2021-01-13
9
 
#   * fixed up if statments
10
 
#   * removed eval
11
 
#
12
7
####################
 
8
ARGS=()
 
9
ARGS="${@}"
13
10
 
14
 
__IN_NAME=""
15
 
__OUT_NAME=""
 
11
__IN_NAME=
 
12
__OUT_NAME=
16
13
 
17
14
__help () {
18
15
  echo "video2lbry.sh -- Make vide ready for upload to LBRY."
50
47
  
51
48
  while [[ $# -gt 0 ]]
52
49
  do
 
50
    eval key="${1}"
53
51
    
54
52
    case "${1}" in
55
53
      -i)