[mythtv-commits] mythtv/master commit: 1afb6b11f by Robert McNamara (rmcnamara)
MythTV
noreply at mythtv.org
Thu Apr 21 23:15:37 UTC 2011
Author: Robert McNamara <rmcnamara at mythtv.org>
Change Date: 2011-04-21T16:10:48-07:00
Push Date: 2011/04/21 16:15:34 -0700
Repository: mythtv
Branch: master
New Revision: 1afb6b11fb13be3342ad52d6f080dd7d58742616
Changeset: https://github.com/MythTV/mythtv/commit/1afb6b11f
Log:
API: Add a Video Service.
Adds a service for Video metadata (since videometadata is now a DB table independent of a plugin, and MythVideo as a plugin will soon cease to exist).
Right now, just returns a list of (unfortunately named to prevent class name collisions with libmythmetadata) VideoMetadataInfo objects using API calls nearly identical to the GetRecordings API.
Use:
http://BackendServerIP:6544/Video/GetVideos?StartIndex=10&Count=25
To return 25 video metadata items, starting at the tenth.
While I was add it, I added methods to the Content Service to return Fanart, Banners, and Screenshots for Video, and renamed the "GetVideoArt" API to match its correct naming elsewhere in our code for that art type, GetVideoCoverart. I need to go back in and extend these functions to resize as the other artwork calls do.
Added:
mythtv/libs/libmythservicecontracts/datacontracts/videoMetadataInfo.h
mythtv/libs/libmythservicecontracts/datacontracts/videoMetadataInfoList.h
mythtv/libs/libmythservicecontracts/services/videoServices.h
mythtv/programs/mythbackend/serviceHosts/videoServiceHost.h
mythtv/programs/mythbackend/services/video.cpp
mythtv/programs/mythbackend/services/video.h
Modified:
mythtv/html/misc/overview.qsp
mythtv/libs/libmythservicecontracts/libmythservicecontracts.pro
mythtv/libs/libmythservicecontracts/services/contentServices.h
mythtv/programs/mythbackend/mediaserver.cpp
mythtv/programs/mythbackend/mythbackend.pro
mythtv/programs/mythbackend/services/content.cpp
mythtv/programs/mythbackend/services/content.h
More information about the mythtv-commits
mailing list