Thnx Tanja, you directed me to the right track.
It works like a charm now.
These are my working (minimal!) modifications to you're suggestion.
elif vg.group_type == 'rtsp':
self.fc.chanSet(tuner_channel, True, app='mplayer')
tvcmd = ''
args += ('"rtsp://%s/%s"' % (config.TVSTREAM, tuner_channel),)
Regards,
Geert
Quoting Tanja <[EMAIL PROTECTED]>:
My suggestion would be to do something similar to the dvb setup.
Put the following in your local_conf.py:
VIDEO_GROUPS[0].group_type = 'rtsp'
and
TVSTREAM = '192.168.1.1:5554'
and create a section like this in tv/plugins/mplayer.py (e.g after line 133):
elif vg.group_type == 'rtsp':
self.fc.chanSet(tuner_channel, True, app='mplayer')
tvcmd = ''
args += ('"rtsp://%s/%s"'
%(config.TVSTREAM, tuner_channel))
Just a guess! As my setup is completly different from yours, I cannot
test this idea, but maybe it helps you to figure out the correct way.
Good luck!
Tanja
Geert Decorte schrieb:
Freevo 1.7.1
first let me explain what I already have
1) a vlc server streaming live tv on demand.
With vlc I'm capable of changing channels.
The same way when I fire up mplayer.
This is my working commandline
mplayer rtsp://192.168.1.1:5554/<channel>
Filling in the channel name, tunes correctly to the correct channel.
The Channel parameter I use overthere is identical to the ones
I've defined in my local_conf.py
example
TV_CHANNELS = [
# voorkeurzenders
( 'een.7', 'een', 'een' ),
( 'ketnet-canvas.9', 'Ketnet / Canvas', 'ketnet' ),
# ( 'ketnet-canvas.9', 'Canvas', 'canvas' ),
so mplayer rtsp://192.168.1.1:5554/een would start autoimaticly
the live tv stream on my server 192.168.1.1 and plays it perfectly
on my client.
I wanna fire up this command from the freevo TV interface
I've already tried to tweak
/usr/lib/python2.5/site-packages/freevo/tv/plugins/mplayer.py
with a partial success
# tvcmd = ('tv:// -tv driver=%s:freq=%s:%s:%s:'
tvcmd = ('rtsp://192.168.1.1:5554/een')
# -tv driver=%s:freq=%s:%s:%s:'
# '%s:width=%s:height=%s:%s %s' %
# (config.TV_DRIVER, tuner_freq, device,
input, norm,
# w, h, outfmt, config.TV_OPTS))
This modification is only capable of playing one fixed program.
Problem: I'm not so good in programming. I'll know I'll should
change the tvcmd replacing "een" by a variable indicates the tuned
program, but I can't figure out the correct variable/syntax.
Anyone capable of pointing me to the right direction?
Thnx
Geert
Malek's Law:
Any simple idea will be worded in the most complicated way.
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
Malek's Law:
Any simple idea will be worded in the most complicated way.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users