[mythtv] [mythtv-commits] mythtv/master commit: d3644e038 by Robert McNamara (rmcnamara)

David Blain mythtv at theblains.net
Fri Apr 22 16:38:24 UTC 2011


 
>       Author:  Robert McNamara <rmcnamara at mythtv.org>  Change Date:
> 2011-04-22T09:16:13-07:00
>    Push Date:  2011/04/22 09:23:08 -0700
>   Repository:  mythtv
>       Branch:  master
> New Revision:  d3644e038fdb0538d76b5c8bce5d9e08aaca8511
>    Changeset:  https://github.com/MythTV/mythtv/commit/d3644e038
> 
> Log:
> 
> API: Extend the video service, clean up the channel service.
> 
> Add methods to pull a single metadata item by ID or Filename, and to
> remove a video item from the database.
> 
> Flesh out the ScriptableVideo class, and use it properly in the
mediaserver
> class.
> 
> Add the missing functions to the ScriptableChannel class.
> 
> Modified:
> 
>    mythtv/libs/libmythservicecontracts/services/videoServices.h
>    mythtv/programs/mythbackend/mediaserver.cpp
>    mythtv/programs/mythbackend/services/channel.h
>    mythtv/programs/mythbackend/services/video.cpp
>    mythtv/programs/mythbackend/services/video.h
> 

GetVideoById and GetVideoByFilename share a lot of functionality... wouldn't
it make sense to create a private/protected function that both can share?

David.



More information about the mythtv-dev mailing list