forked from axiom-team/astrXbian
[STY] Add "barry" (white) theme #1
|
@ -412,16 +412,16 @@ then
|
|||
echo "----------------- REFRESH LOCAL KODI INDEX ----------------------"
|
||||
cat ~/.zen/ipfs/.${IPFSNODEID}/astroport/kodi/vstream/${PREFIX}ASTRXBIAN ~/.zen/ipfs_swarm/.12D*/astroport/kodi/vstream/${PREFIX}ASTRXBIAN | sort | uniq > ~/.zen/ipfs/.${IPFSNODEID}/${PREFIX}ASTRXBIAN
|
||||
|
||||
|
||||
GENRE=$(cat ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/ajouter_video.txt | cut -d ';' -f 6 | sed 's/|/ /g' )
|
||||
MIME=$(file --mime-type "$HOME/astroport/${TYPE}/${REFERENCE}/${file}" | cut -d ':' -f 2 | cut -d ' ' -f 2)
|
||||
if [[ $(echo "$MIME" | grep 'video') ]]; then
|
||||
TEXT="<video controls><source src='/ipfs/"${IPFSID}"' type='"${MIME}"'></video><h1>"${TITLE}"</h1>"
|
||||
MIME="txt/html"
|
||||
TAGS="${CAT} astroport"
|
||||
TAGS="${CAT} astroport $GENRE"
|
||||
CANON=''
|
||||
else
|
||||
TEXT=''
|
||||
TAGS='$:/isAttachment $:/isIpfs astroport '${CAT}
|
||||
TAGS='$:/isAttachment $:/isIpfs astroport '${CAT} $GENRE
|
||||
CANON="/ipfs/"${IPFSID}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue