[Freevo-devel] VideoGroups too complicated

2004-08-05 Thread Dirk Meyer
Hi,

I found the VideoGroups part in Freevo too complicated. Maybe it's
just me, but maybe we should use a simpler layout. Here a suggestion,
let me know if I missed something:

We have one Channel list. This list has everything we can play. The
tunerfreq will be changed to _how_ to play this:

CHANNEL_LIST = [
   ('ard.de', 'ARD', 'dvb:Das Erste'),
   ('zdf.de', 'ZDF', 'dvb:ZDF'),
   ('vox.de', 'VOX', 'tv:1234'),
   ('rtl.de', 'RTL', 'ivtv:1234'),
   ('', 'My Webcam', 'cam:0') ]

The first two channels are shown by using a dvb backend. Whatever this
is. The 3rd. is analog tv on tuner id 1234, the 4th using the ivtv
backend on tunerid 1234 and the last is a webcam.

Now, how to play this? When Freevo wants to tune to that channel, it
will ask every plugin 'can you show dvb:ZDF?'. The tvtime plugin will
say no, others like mplayer and xine will say yes. The best player
will be taken. About the cam:0, you can set special url handlers for
some player. E.g. TV_MPLAYER_URLS['cam:0'] = 'needed mplayer
args'. Since xine and other don't know about cam:0, they will reject
playing. Mplayer knows and will be taken. 

Is it too simple or could it work?

Dischi

-- 
Warning:  Dates in Calendar are closer than they appear.



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] VideoGroups too complicated

2004-08-05 Thread Matthieu Weber
On Thu 05.08.2004 at 01:00:33PM +0200, Dirk Meyer wrote:
 Hi,
 
 I found the VideoGroups part in Freevo too complicated. Maybe it's
 just me, but maybe we should use a simpler layout. Here a suggestion,
 let me know if I missed something:
 
 We have one Channel list. This list has everything we can play. The
 tunerfreq will be changed to _how_ to play this:
 
 CHANNEL_LIST = [
('ard.de', 'ARD', 'dvb:Das Erste'),
('zdf.de', 'ZDF', 'dvb:ZDF'),
('vox.de', 'VOX', 'tv:1234'),
('rtl.de', 'RTL', 'ivtv:1234'),
('', 'My Webcam', 'cam:0') ]
 
 The first two channels are shown by using a dvb backend. Whatever this
 is. The 3rd. is analog tv on tuner id 1234, the 4th using the ivtv
 backend on tunerid 1234 and the last is a webcam.
 
 Now, how to play this? When Freevo wants to tune to that channel, it
 will ask every plugin 'can you show dvb:ZDF?'. The tvtime plugin will
 say no, others like mplayer and xine will say yes. The best player
 will be taken. About the cam:0, you can set special url handlers for
 some player. E.g. TV_MPLAYER_URLS['cam:0'] = 'needed mplayer
 args'. Since xine and other don't know about cam:0, they will reject
 playing. Mplayer knows and will be taken. 
 
 Is it too simple or could it work?

It's simple and will work (I've patched my old freevo to support
watching DVB by adding tags like that), but we can go further. If I have
2 devices, one analog and one digital, I would like freevo to:

 1. choose the best possible device when watching TV or recording (dvb
first, analog if dvb is already busy). Note that:

   1.1 some channels are available in dvb and analog

   1.2 some channels are digital only

   1.3 some channels are analog only

 2. allow recording 2 or more dvb channels at the same time with one
device, if they are on the same transponder.

   2.1 the 2 shows don't necessarily start at the same time

   2.2 we probably need an external program that handles it

   2.3 recording more than n channels on the same transponder might be
 problematic if the PCI bus is too slow, or if the disk is too
   slow

 3. the scheduled programs have priorities regarding the type of device
to be used: a TV series episode that I watch and throw away can be
recorded in analog (i.e. low quality) if DVB is not available, but a
movie I want to archive will preferably be recorded in digital (i.e.
high quality).
   
   3.1 the user should get a warning when scheduling two movies at the
 same time that cannot be recorded in DVB simultaneously with 
one
   device (because different transponders for the channels).

   3.2 this warning stuff will be tricky (or must be automated) if the
   scheduling is made automatically based on the favorites.

 4. forcibly switch the user watching dvb to analog (if the channel can
be received in analog too) when a recoding should start, in order to
use a dvb device for recording.

   4.1 if the program to be recorded is on the same transponder than
   the one the user is watching, there is no need to force the TV
   app to switch to another device.

   4.2 if the user wants to watch a DVB program which is on the same
 transponder than the one currently used for recording it 
should
   be allowed too.

Besides, DVB also provides radios, so it would be nice the be able to
access then from the audio menu.

And of course, if we have 2 or more devices of the same type, the same
kind of rules should apply also (device selection, prioroties,
simultaneous watching one channel and recording another).

Matthieu
-- 
 (~._.~)Matthieu Weber - Université de Jyväskylä (~._.~)
  ( ? )email : [EMAIL PROTECTED]  ( ? ) 
 ()- -()   public key id : 452AE0AD  ()- -()
 (_)-(_)  Humor ist, wenn man trotzdem lacht (Germain Muller)  (_)-(_)


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel