# ISSUE11 : qo-op/Astroport.ONE#11
This commit is contained in:
parent
26fee3977d
commit
197d42fca6
|
@ -146,6 +146,23 @@ esac
|
||||||
MEDIAKEY="${INDEXPREFIX}${REFERENCE}"
|
MEDIAKEY="${INDEXPREFIX}${REFERENCE}"
|
||||||
echo ">>>>>>>>>> $MEDIAKEY ($MIME) <<<<<<<<<<<<<<<"
|
echo ">>>>>>>>>> $MEDIAKEY ($MIME) <<<<<<<<<<<<<<<"
|
||||||
|
|
||||||
|
# CapitalGluedTitle
|
||||||
|
CapitalGluedTitle=$(echo "${TITLE}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
|
||||||
|
|
||||||
|
######################### Decimal convert
|
||||||
|
rm ~/.zen/tmp/decimal
|
||||||
|
echo "$CapitalGluedTitle" > ~/.zen/tmp/convert
|
||||||
|
|
||||||
|
# iteracte through each like
|
||||||
|
while read -r -n1 char; do
|
||||||
|
arr+=$(printf '%d+' "'$char");
|
||||||
|
done <<< ~/.zen/tmp/convert
|
||||||
|
|
||||||
|
printf '%s' "${arr[@]::-3}" > ~/.zen/tmp/decimal
|
||||||
|
## TODO USE IT TO MAKE A MEDIAKEY IMAGE KEY "SONDE" FOR FILTERING ?
|
||||||
|
# ISSUE11 : https://git.p2p.legal/qo-op/Astroport.ONE/issues/11
|
||||||
|
##########################
|
||||||
|
|
||||||
## RUBISH ??
|
## RUBISH ??
|
||||||
########################################################################
|
########################################################################
|
||||||
mkdir -p ~/.zen/game/players/$PLAYER/ipfs/.${IPFSNODEID}/astroport/kodi/vstream/
|
mkdir -p ~/.zen/game/players/$PLAYER/ipfs/.${IPFSNODEID}/astroport/kodi/vstream/
|
||||||
|
@ -458,9 +475,6 @@ then
|
||||||
[[ $CAT == "Film" ]] && tdb="movie"
|
[[ $CAT == "Film" ]] && tdb="movie"
|
||||||
[[ $CAT == "Serie" ]] && tdb="tv"
|
[[ $CAT == "Serie" ]] && tdb="tv"
|
||||||
|
|
||||||
# CapitalGluedTitle
|
|
||||||
CapitalGluedTitle=$(echo "${TITLE}" | sed -r 's/\<./\U&/g' | sed 's/ //g')
|
|
||||||
|
|
||||||
GENRE=$(cat ~/astroport/${TyPE}/${REFERENCE}/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/ /g' | jq -r '@csv' | sed 's/ /_/g' | sed 's/,/ /g' | sed 's/\"//g' )
|
GENRE=$(cat ~/astroport/${TyPE}/${REFERENCE}/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/ /g' | jq -r '@csv' | sed 's/ /_/g' | sed 's/,/ /g' | sed 's/\"//g' )
|
||||||
echo $GENRE
|
echo $GENRE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue