From c84423179ca17e15faeaaa576c5ae446d443cd6a Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 4 Sep 2013 10:47:05 +0200 Subject: [PATCH] [radio] Ajout de canaux --- tv/radio/config.py | 7 ++++++- tv/radio/igmp.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tv/radio/config.py b/tv/radio/config.py index 87e89bce..fd1b15be 100644 --- a/tv/radio/config.py +++ b/tv/radio/config.py @@ -26,7 +26,12 @@ multicast={ 'Nostalgie': ('nostalgie', '239.231.140.179', '1234', ['http://95.81.146.2/nostalgie/all/nos_113812.mp3']), 'le mouv\'': ('lemouv', '239.231.140.180', '1234', ['http://95.81.147.3/lemouv/all/lemouvhautdebit.mp3']), 'NRJ': ('nrj', '239.231.140.181', '1234', ['http://95.81.146.2/nrj/all/nrj_113225.mp3']), - + 'rts': ('rtd', '239.231.140.182', '1234', ['http://95.81.146.6/3966/rtsfm_hd.mp3']), + 'Sud Radio': ('sud_radio', '239.231.140.183', '1234', ['http://95.81.147.10/5726/gie_105741.mp3']), + 'France Bleu': ('bleu', '239.231.140.184', '1234', ['http://95.81.146.2/fbidf/all/fbidfhautdebit.mp3']), + 'RFM': ('rfm', '239.231.140.185', '1234', ['http://vipicecast.yacast.net/rfm_128']), + 'RTL': ('rtl', '239.231.140.186', '1234', ['http://streaming.radio.rtl.fr/rtl-1-44-128']), + 'RTL2': ('rtl2', '239.231.140.187', '1234', ['http://streaming.radio.rtl2.fr/rtl2-1-44-96']), }, } diff --git a/tv/radio/igmp.py b/tv/radio/igmp.py index 917990fa..8fce6b2c 100755 --- a/tv/radio/igmp.py +++ b/tv/radio/igmp.py @@ -252,4 +252,4 @@ class IgmpTable(object): if __name__ == "__main__": - IgmpTable('eth0', ignore_src=['138.231.136.88', '0.0.0.0'], logpath='/var/log/igmp.log').run() + IgmpTable('eth0', ignore_src=['138.231.136.88', '0.0.0.0'], logpath='/var/log/igmp.log', resolve_dns=True).run()