Howto on sound?

Asked by james m

Hi All :)
can anyone tell a way to add sound to a region, as well as how long a sound will play(loop)?
 any examples would be awesome :)
Think of adding a "bell" to ring as i send out a new message in a particular region, to get peoples attention :)

thank you so much :)

Xibo is great!

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

The only way at the moment is to add the mp3 extension to the video module and then upload a mp3 - you can position the region off screen or make it really small to avoid seeing an empty space where the video player should be.

Revision history for this message
james m (i4) said :
#2

Hi dan

Thank you so much for that :)

Has any one use a different methods?

James

Revision history for this message
treenerd (treenerd) said :
#3

Hi Dan;

I used Internetradio in an offscreen region. But stability isn't really good at the moment.
for example:
http://rtlradiode.radio.at/

At the moment I work on my own solution with DVB-C and vlc because Internetradios are not realy stable enough for production environments.

Revision history for this message
Dan Garner (dangarner) said :
#4

Hi,

That is great - rolling your own solution so that you provide the stream is also a good alternative (the Xibo part of that solution is the same, but the data source should be much to reliable).

Thanks,
Dan

Revision history for this message
treenerd (treenerd) said :
#5

Solution done;

Now I use shell scripts to start and stop DVB-C radio-stations at the background;
I have layouts with movies and layouts with static content without sound where I use DVB-C radiostations for music.

In the layout with sound I use a shell script to start the radiostation in background which is whitelisted at the site.cfg.
In layouts with movies i use radiostop instead as first task.

for example
/usr/local/sbin/radiostart
#########
#!/bin/sh
sudo -u xibo cvlc dvb-c:// --dvb-frequency=402000000 --dvb-c-modulation=256QAM --dvb-srate=6900000 --dvb-adapter=2 --program 31 --x11-display :1 --no-video-title-show --no-overlay --no-video-on-top &

#end
########

and to stop that
/usr/local/sbin/radiostop
########
#!/bin/sh
sudo killall vlc
#end
########

section in site.cfg of the xibo pythin client
#####
[ShellCommands]
enabled=true
whitelist=radiostart,radiostop
#####

And it worked very nice for me, and it's really more stable than any webstream radio station.

Hope this will help...

Can you help with this problem?

Provide an answer of your own, or ask james m for more information if necessary.

To post a message you must log in.