2017-12-19, 12:17
Hi @enen92.
I too use this add-on extensively.
When I am at the linux command line I use a one-liner to play media from it. Last weekend that one-liner was affected by the same "mata-bicho" annoying media (although I appreciate Bruno Nogueira humour... but enough is enough)
Since you guys are too wanting to enjoy that content, I will share with you this line of code:
for i in $(curl 'http://www.rtp.pt/play/p361/musica-com-pes-e-cabeca' | grep -a 'p361' | grep -a episode | tr -s ' ' | cut -f 3 -d ' ' | cut -f2 -d'"' | cut -f4 -d'/');do mpv $(curl https://www.rtp.pt/play/p361/$i/musica-com-pes-e-cabeca | grep 'mp3' | grep 'file\:' | grep ,$ | cut -d '"' -f2) --no-ytdl --ao alsa ;done
this is for one of my favorite shows. But you can easily adapt it to whatever is in their repository.
If there is any need to explain what and each part of the code is, feel free to ask.
Cheers
I too use this add-on extensively.
When I am at the linux command line I use a one-liner to play media from it. Last weekend that one-liner was affected by the same "mata-bicho" annoying media (although I appreciate Bruno Nogueira humour... but enough is enough)
Since you guys are too wanting to enjoy that content, I will share with you this line of code:
for i in $(curl 'http://www.rtp.pt/play/p361/musica-com-pes-e-cabeca' | grep -a 'p361' | grep -a episode | tr -s ' ' | cut -f 3 -d ' ' | cut -f2 -d'"' | cut -f4 -d'/');do mpv $(curl https://www.rtp.pt/play/p361/$i/musica-com-pes-e-cabeca | grep 'mp3' | grep 'file\:' | grep ,$ | cut -d '"' -f2) --no-ytdl --ao alsa ;done
this is for one of my favorite shows. But you can easily adapt it to whatever is in their repository.
If there is any need to explain what and each part of the code is, feel free to ask.
Cheers