Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Listen Podcasts with tizonia (command line)

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Listen Podcasts with tizonia (command line)

#1 Post by bester69 »

Listening to podcasts with tizonia (command line)
:!: 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
Examples.:
youpodcast 0 >> Switch to mode normal (NO SHUFFLE)
youpodcast 1 >> Switch to mode shuffe

youpodcast <<Canal podcast>>
youpodcast <<Canal podcast>> <<filter search>>

-----------------------------------------------
:arrow: Listen to Youtube with tizonia (command line)
http://forums.debian.net/viewtopic.php?f=3&t=148232

:arrow: Listen to radio with tizonia (command line)
http://forums.debian.net/viewtopic.php? ... 02#p730002

:arrow: For remote control, we need tizonia-remote,
http://forums.debian.net/viewtopic.php? ... 6&start=60
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply