[vignettes] Pour la radio et pour la tv (en utilisant vlc)
This commit is contained in:
parent
20fc077b5b
commit
2dfcc35dfe
2 changed files with 25 additions and 0 deletions
9
tv/radio/vignettes.py
Executable file
9
tv/radio/vignettes.py
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from config import multicast
|
||||
import os
|
||||
for (name, value) in multicast['Radio'].items():
|
||||
try: os.symlink('/var/www/sound.jpg', '/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])
|
||||
except OSError: pass
|
Loading…
Add table
Add a link
Reference in a new issue