[tv/radio] Des vignettes pour les chaines de radio.

This commit is contained in:
Valentin Samir 2013-12-08 15:33:04 +01:00
parent 29d23cfef0
commit 76efdbeeb3
26 changed files with 9 additions and 2 deletions

View file

@ -2,8 +2,15 @@
from config import multicast
import os
vignettes="/usr/scripts/tv/radio/vignettes/"
for (name, value) in multicast['Radio'].items():
try: os.symlink('/var/www/sound.jpg', '/var/www/images/%s.jpg' % value[1])
try: os.unlink('/var/www/images/%s.jpg' % value[1])
except OSError: pass
try: os.symlink('/var/www/sound_petites.jpg', '/var/www/images/%s_petites.jpg' % value[1])
try: os.unlink('/var/www/images/%s_petites.jpg' % value[1])
except OSError: pass
if os.path.exists("%s%s.jpg" % (vignettes,name)):
os.symlink("%s%s.jpg" % (vignettes,name), '/var/www/images/%s.jpg' % value[1])
os.symlink("%s%s.jpg" % (vignettes,name), '/var/www/images/%s_petites.jpg' % value[1])
else:
os.symlink('/var/www/sound.jpg', '/var/www/images/%s.jpg' % value[1])
os.symlink('/var/www/sound_petites.jpg', '/var/www/images/%s_petites.jpg' % value[1])

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
tv/radio/vignettes/BFM.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
tv/radio/vignettes/NRJ.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
tv/radio/vignettes/RFM.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
tv/radio/vignettes/RTL.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
tv/radio/vignettes/RTL2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
tv/radio/vignettes/rts.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB