Update of /cvsroot/freevo/freevo/WIP/Dischi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv678

Added Files:
        mbus-brain-dump.txt 
Log Message:
brain dump

--- NEW FILE: mbus-brain-dump.txt ---
[ thanks crunchy for taking the notes ]

* Freevo Mbus Communication

** components
   - FRED: Freevo Record Daemon -> recording, hardware management, [ EPG ]
   - FRES: Freevo Record Server -> controlling
   - FREC: Freevo EPG Capturer -> collecting program information
   - Freevo -> Display
** command prefix
   - ht.
** Mbus addressing scheme
   app:freevo
   module: (display, record-daemon, record-server)
** communication: FRED <-> FRES
*** FRES -> FRED
**** provide ressource information
     - RPC: devices.list()
       return: list of device names
       (<dev1> .. <devN>)
     - RPC: device.describe( <dev> )
       ressource information per device
       return: list of bouquets; each bouquet contains a list of
       channels with the media-type
       ( ( ( <name> <media-type> ) .. ) .. ( ( <name> <media-type> ) .. ) )
**** recording and TV watching (for time shifting)
     - RPC: vdr.record( <dev> <channel> <start> <end> <url-filename>
                   ( <option> ... ) )
       return: uniqueID
       valid options:
                boolean useVPS (default: yes)
       TV watching: start and end == 0
       INFO: Freevo never talks directly to a FRED; always with FRES
     - RPC: vdr.remove(uniqueID (<options> ...))
       Options:
                boolean delete  (default: no)
**** Events
     Just some thoughts:
     recording ( started, ended, interrupted )
     device-locked
** communication: FRES <-> Freevo
*** Freevo -> FRES
**** recording
     - recording.add( <name> <channel> <priority> <start> <end>
                      ( <option> .. ) )
       return: uniqueID
       valid options:
             description        type: string
             subtitle           type: string
     - recording.list()
       return: ( ( <uniqueID> <channel> <priority> <start> <end> ) .. )
       start, end as RFCxxxx
     - recording.describe( <uniqueID> )
       return:
       ( ( ( <key> <value> ) .. ) )
     - recording.remove( <uniqueID> .. )
     - recording.modify( <uniqueID> ( ( <key> <value> ) .. ) )
       valid keys:
           channel              type: string
           priority             type: integer
           start                type: time
           end                  type: time
     - favourite.add( <name> <channel> <priority>
                      ( <day> .. ) ( <start> .. ) )
       return: uniqueID
     - favourite.list( ( <uniqueID> <name> <channel> <priority>
                         ( <day> .. ) ( <start> .. ) ) .. )
     - favourite.remove( <uniqueID> .. )
     - favourite.modify( <uniqueID> ( ( <key> <value> ) .. ) )
       valid keys:
           name                 type: string
           channel              type: string
           priority             type: integer
           day                  type: list of days
           start                type: list of time

* TODO
  - some more thoughts on events 
  - complete EPG API is missing



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to