org.mythtv.services.api.v026
Interface VideoOperations

All Known Implementing Classes:
VideoTemplate

public interface VideoOperations


Method Summary
 org.springframework.http.ResponseEntity<Bool> addVideo(java.lang.String filename, java.lang.String hostname)
          - POST
 org.springframework.http.ResponseEntity<BlurayInfoWrapper> getBluray(java.lang.String path, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideo(int id, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideoByFilename(java.lang.String filename, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoMetadataInfoList> getVideoList(boolean descending, int startIndex, int count, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<VideoLookupList> lookupVideo(java.lang.String title, java.lang.String subtitle, java.lang.String inetRef, int season, int episode, java.lang.String grabberType, boolean allowGeneric, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<Bool> removeVideoFromDatabase(int id)
          - POST
 

Method Detail

addVideo

org.springframework.http.ResponseEntity<Bool> addVideo(java.lang.String filename,
                                                       java.lang.String hostname)
                                                       throws MythServiceApiRuntimeException
- POST

Parameters:
filename -
hostname -
Returns:
Throws:
MythServiceApiRuntimeException

getBluray

org.springframework.http.ResponseEntity<BlurayInfoWrapper> getBluray(java.lang.String path,
                                                                     ETagInfo etag)
                                                                     throws MythServiceApiRuntimeException
- GET

Parameters:
path -
Returns:
Throws:
MythServiceApiRuntimeException

getVideo

org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideo(int id,
                                                                           ETagInfo etag)
                                                                           throws MythServiceApiRuntimeException
- GET

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoByFilename

org.springframework.http.ResponseEntity<VideoMetaDataInfoWrapper> getVideoByFilename(java.lang.String filename,
                                                                                     ETagInfo etag)
                                                                                     throws MythServiceApiRuntimeException
- GET

Parameters:
filename -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoList

org.springframework.http.ResponseEntity<VideoMetadataInfoList> getVideoList(boolean descending,
                                                                            int startIndex,
                                                                            int count,
                                                                            ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Parameters:
descending -
startIndex -
count -
Returns:
Throws:
MythServiceApiRuntimeException

lookupVideo

org.springframework.http.ResponseEntity<VideoLookupList> lookupVideo(java.lang.String title,
                                                                     java.lang.String subtitle,
                                                                     java.lang.String inetRef,
                                                                     int season,
                                                                     int episode,
                                                                     java.lang.String grabberType,
                                                                     boolean allowGeneric,
                                                                     ETagInfo etag)
                                                                     throws MythServiceApiRuntimeException
- GET

Parameters:
title -
subtitle -
inetRef -
season -
episode -
grabberType -
allowGeneric -
Returns:
Throws:
MythServiceApiRuntimeException

removeVideoFromDatabase

org.springframework.http.ResponseEntity<Bool> removeVideoFromDatabase(int id)
                                                                      throws MythServiceApiRuntimeException
- POST

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException