Hi,

Some time ago I started with expanding the favorite functionality in
freevo2. And when doing this I walked into more or less the same issues
Tanja described. I have looked into the option of making some kind of a
generic class, which would contain the existing program item plus record
and favorite functionality. But every time I tried a new approach I
found out that something could not work any more. I think these classes
are just to different from each other. But, maybe I should try
harder.. :)

Finally I just started expanding the existing tv.favorite.py class. For
now this class is created from a kaa.epg.program (in case of the
TVGuide) or from the ipc.tvserver.favorite (in case of the a query of
all the favorites). Upon creation I check with which class it was
created and use the correct members. The tv.program class uses this
tv.favorite class. 

Maybe there should also be a tv.recording.py class which handles all the
recording stuff. And the tv.program class should use that also, i.s.o.
implementing it self.
But if you or some one else has a nice idea, I would love to see it.

Later on I will sent the changes I made for expanding the favorite
functionality.

regards,
Jose


-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to