Commit 0becd8b4 authored by Thorfin89's avatar Thorfin89

Affichage du nom de la radio dans le bas de l'application

parent 4878d5e0
......@@ -12,6 +12,8 @@ Pour toute information : thorfin89@free.fr
Interface au 15/01/2023
#### Sur un eee-PC reconverti en poste de radio Web
![WebRadioPi](dcts/images/WebRadioPi-on-eeePC.png)
### SOLUTIONS :
......
Nom,Pays,Type,Url,Logo
France Inter,FR,Généraliste,http://direct.franceinter.fr/live/franceinter-midfi.mp3,france-inter.png
France Musique,FR,Classique,http://direct.francemusique.fr/live/francemusique-midfi.mp3,france-musique.png
France Bleue Auxerre,FR,Régionale,http://direct.francebleu.fr/live/fbauxerre-midfi.mp3,fb-auxerre.png
France Bleue Isère,FR,Régionale,http://direct.francebleu.fr/live/fbisere-midfi.mp3,fb-isere.png
France Bleu Armorique,FR,Régionale,http://direct.francebleu.fr/live/fbarmorique-midfi.mp3,fb-armorique.png
France Info,FR,Informations,http://direct.franceinfo.fr/live/franceinfo-midfi.mp3,france-info.png
RTL,FR,Généraliste,http://icecast.rtl.fr/rtl-1-44-128?listen=webCwsBCggNCQgLDQUGBAcGBg,rtl.png
Europe 1,FR,Généraliste,http://stream.europe1.fr/europe1.mp3,europe-1.png
Nostalgie,FR,Divers,http://scdn.nrjaudio.fm/adwz2/fr/30601/mp3_128.mp3?origine=fluxradios,nostalgie.png
Dépèche Mode,UK,Rock,http://streaming.radionomy.com/wwwdepechemodebe-radio,dempechemode.png
TSF Jazz,FR,Jazz,http://tsfjazz.ice.infomaniak.ch/tsfjazz-high.mp3,tsf-jazz.png
Jazz Radio,FR,Jazz,http://jazzradio.ice.infomaniak.ch/jazzradio-high.mp3,jazz-radio.png
Live Ireland ch1,DE,Celtic,http://192.111.140.11:8058/stream?type=http&nocache=51282,live-ireland.png
Bretagne Blog,DE,Celtic,http://laut.fm/bretagneblog,bretagneblog.png
Highlander Radio Live Stream,DE,Celtic,https://jenny.torontocast.com:2000/stream/highlanderradio/stream,Highlander.png
Virgin Rock 70,DE,Rock,http://icy.unitedradio.it/VirginRock70.mp3,virginrock70.png
Boom FM Ottawa,CA,Rock,http://live.leanstream.co/CJOTFM-MP3,boom-ottawa.png
Celtic-Folk-Punk,DE,Celtic-Folk-Punk,https://streamingp.shoutcast.com/JamendoLounge,celtik-folk-punk.png
\ No newline at end of file
Null,Nom,Pays,Type,Url,Logo
,France Inter,FR,Généraliste,http://direct.franceinter.fr/live/franceinter-midfi.mp3,france-inter.png
,France Musique,FR,Classique,http://direct.francemusique.fr/live/francemusique-midfi.mp3,france-musique.png
,France Bleue Auxerre,FR,Régionale,http://direct.francebleu.fr/live/fbauxerre-midfi.mp3,fb-auxerre.png
,France Bleue Isère,FR,Régionale,http://direct.francebleu.fr/live/fbisere-midfi.mp3,fb-isere.png
,France Bleu Armorique,FR,Régionale,http://direct.francebleu.fr/live/fbarmorique-midfi.mp3,fb-armorique.png
,France Info,FR,Informations,http://direct.franceinfo.fr/live/franceinfo-midfi.mp3,france-info.png
,RTL,FR,Généraliste,http://icecast.rtl.fr/rtl-1-44-128?listen=webCwsBCggNCQgLDQUGBAcGBg,rtl.png
,Europe 1,FR,Généraliste,http://stream.europe1.fr/europe1.mp3,europe-1.png
,Nostalgie,FR,Divers,http://scdn.nrjaudio.fm/adwz2/fr/30601/mp3_128.mp3?origine=fluxradios,nostalgie.png
,Dépèche Mode,UK,Rock,http://streaming.radionomy.com/wwwdepechemodebe-radio,dempechemode.png
,TSF Jazz,FR,Jazz,http://tsfjazz.ice.infomaniak.ch/tsfjazz-high.mp3,tsf-jazz.png
,Jazz Radio,FR,Jazz,http://jazzradio.ice.infomaniak.ch/jazzradio-high.mp3,jazz-radio.png
,Live Ireland,DE,Celtic,http://192.111.140.11:8058/stream?type=http&nocache=51282,live-ireland.png
,Bretagne Blog,DE,Celtic,http://laut.fm/bretagneblog,bretagneblog.png
,Highlander Radio,DE,Celtic,https://jenny.torontocast.com:2000/stream/highlanderradio/stream,Highlander.png
,Virgin Rock 70,DE,Rock,http://icy.unitedradio.it/VirginRock70.mp3,virginrock70.png
,Boom FM_Ottawa,CA,Rock,http://live.leanstream.co/CJOTFM-MP3,boom-ottawa.png
,Celtic Folk Punk,DE,Celtic-Folk-Punk,https://streamingp.shoutcast.com/JamendoLounge,celtik-folk-punk.png
File mode changed from 100644 to 100755
......@@ -130,6 +130,8 @@ class Pupitre:
radios_list = [dict(ligne) for ligne in radios_list] # transforme en liste de dictionnaires
self.logo_selected = tk.PhotoImage(file="images/Large/" + radios_list[num_radio]['Logo'])
self.lbl_radio_selected.config(image=self.logo_selected)
print(radios_list[num_radio]['Nom'])
self.lbl_info_radio.config(text=radios_list[num_radio]['Nom'], font=('Helvatical bold',20))
def switch_sound(self): # bascule on/off du son
global mute
......@@ -143,10 +145,15 @@ class Pupitre:
mute = False
def info(self):
# affichage de l'info sur la radio sélectionnée
self.lbl_info_radio = tk.Label(self.bandeau)
self.lbl_info_radio.place(width=500, height=60, x=0, y=10)
# affichage de l'info sur l'application dans le bas
lbl_info = tk.Label(self.bandeau, text="WebRadioPi © Thorfin89", anchor=CENTER)
lbl_info.config(bg="gray51", fg="white")
lbl_info.place(width=180, height=16, x=620, y=60)
self.lbl_info = tk.Label(self.bandeau, text="WebRadioPi © Thorfin89", anchor=CENTER)
self.lbl_info.config(bg=bg_color, fg="black")
self.lbl_info.place(width=180, height=16, x=620, y=60)
def boucle(self):
self.root.mainloop()
90
\ No newline at end of file
55
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment