https://docs.tizonia.org/manual/tunein.html
youpodcast "el sueño de andromeda" >> (tizonia --tunein-search "$chain" --tunein-type "shows")
youpodcast.sh
It searches for podcasts in tunein database, and gives results in mode normal/shuffle
Code: Select all
#!/bin/bash
#
tizontune="/home/$USER/.cache/tizontuneshuffle.txt"
clear
killall tizonia
tizonia --help tunein
touch "$tizontune"
if [ "0" == "$1" ] ; then echo "0" > $tizontune ; opt="MODO NORMAL" ; fi
if [ "1" == "$1" ] ; then echo "1" > $tizontune ; opt="MODO SHUFFLE" ; fi
if [ "0" == "$1" ] || [ "1" == "$1" ] ; then echo "$opt" ; exit ; fi
if [ -z "$2" ]
then
chain="'$1'"
else
chain="'$1' $2"
fi
##Opción shuffle
OP=$(cat $tizontune)
if [ "1" == "$OP" ]
then
echo "1" > $tizontune
echo "MODO SHUFFLE"
tizonia --tunein-search "$chain" --shuffle --tunein-type "shows"
else
echo "0" > $tizontune
echo "MODO NO SHUFFLE"
tizonia --tunein-search "$chain" --tunein-type "shows"
fi
youpodcast 0 >> Switch to mode normal (NO SHUFFLE)
youpodcast 1 >> Switch to mode shuffe
youpodcast <<Canal podcast>>
youpodcast <<Canal podcast>> <<filter search>>
-----------------------------------------------
Listen to Youtube with tizonia (command line)
http://forums.debian.net/viewtopic.php?f=3&t=148232
Listen to radio with tizonia (command line)
http://forums.debian.net/viewtopic.php? ... 02#p730002
For remote control, we need tizonia-remote,
http://forums.debian.net/viewtopic.php? ... 6&start=60