org.mythtv.services.api.content
Interface ContentOperations

All Known Implementing Classes:
ContentTemplate

public interface ContentOperations


Method Summary
 org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addLiveStream(String storageGroup, String filename, String hostname, int maxSegments, int width, int height, int bitrate, int audioBitrate, int sampleRate)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addRecordingLiveStream(int channelId, org.joda.time.DateTime startTime, int maxSegments, int width, int height, int bitrate, int audioBitrate, int sampleRate)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addVideoLiveStream(int id, int maxSegments, int width, int height, int bitrate, int audioBitrate, int sampleRate)
          - GET
 org.springframework.http.ResponseEntity<Bool> downloadFile(String url, String storageGroup, ETagInfo etag)
          - POST
 org.springframework.http.ResponseEntity<byte[]> getAlbumArt(int id, int width, int height, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getFile(String storageGroup, String filename, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<StringList> getFileList(String storageGroup, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfos> getFilteredLiveStreamList(String filename, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<String> getHash(String storageGroup, String filename, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getImageFile(String storageGroup, String filename, int width, int height, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> getLiveStream(int id, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfos> getLiveStreamList(ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getMusic(int id, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getPreviewImage(int channelId, org.joda.time.DateTime startTime, int width, int height, int secondsIn, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<ArtworkInfos> getProgramArtworkList(String inetRef, int season, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getRecording(int channelId, org.joda.time.DateTime startTime, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getRecordingArtwork(String type, String inetRef, int season, int width, int height, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<ArtworkInfoList> getRecordingArtworkList(int channelId, org.joda.time.DateTime startTime, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getVideo(int id, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<byte[]> getVideoArtwork(String type, int id, int width, int height, ETagInfo etag)
          - GET
 org.springframework.http.ResponseEntity<Bool> removeLiveStream(int id)
          - GET
 org.springframework.http.ResponseEntity<LiveStreamInfo> stopLiveStream(int id)
          - GET
 

Method Detail

addLiveStream

org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addLiveStream(String storageGroup,
                                                                             String filename,
                                                                             String hostname,
                                                                             int maxSegments,
                                                                             int width,
                                                                             int height,
                                                                             int bitrate,
                                                                             int audioBitrate,
                                                                             int sampleRate)
                                                                             throws MythServiceApiRuntimeException
- GET

Parameters:
storageGroup -
filename -
hostname -
maxSegments -
width -
height -
bitrate -
audioBitrate -
sampleRate -
Returns:
Throws:
MythServiceApiRuntimeException

addRecordingLiveStream

org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addRecordingLiveStream(int channelId,
                                                                                      org.joda.time.DateTime startTime,
                                                                                      int maxSegments,
                                                                                      int width,
                                                                                      int height,
                                                                                      int bitrate,
                                                                                      int audioBitrate,
                                                                                      int sampleRate)
                                                                                      throws MythServiceApiRuntimeException
- GET

Parameters:
channelId -
startTime -
maxSegments -
width -
height -
bitrate -
audioBitrate -
sampleRate -
Returns:
Throws:
MythServiceApiRuntimeException

addVideoLiveStream

org.springframework.http.ResponseEntity<LiveStreamInfoWrapper> addVideoLiveStream(int id,
                                                                                  int maxSegments,
                                                                                  int width,
                                                                                  int height,
                                                                                  int bitrate,
                                                                                  int audioBitrate,
                                                                                  int sampleRate)
                                                                                  throws MythServiceApiRuntimeException
- GET

Parameters:
id -
maxSegments -
width -
height -
bitrate -
audioBitrate -
sampleRate -
Returns:
Throws:
MythServiceApiRuntimeException

downloadFile

org.springframework.http.ResponseEntity<Bool> downloadFile(String url,
                                                           String storageGroup,
                                                           ETagInfo etag)
                                                           throws MythServiceApiRuntimeException
- POST

Parameters:
url -
storageGroup -
Returns:
Throws:
MythServiceApiRuntimeException

getAlbumArt

org.springframework.http.ResponseEntity<byte[]> getAlbumArt(int id,
                                                            int width,
                                                            int height,
                                                            ETagInfo etag)
                                                            throws MythServiceApiRuntimeException
- GET

Parameters:
id -
width -
height -
Returns:
Throws:
MythServiceApiRuntimeException

getFile

org.springframework.http.ResponseEntity<byte[]> getFile(String storageGroup,
                                                        String filename,
                                                        ETagInfo etag)
                                                        throws MythServiceApiRuntimeException
- GET

Parameters:
storageGroup -
filename -
Returns:
Throws:
MythServiceApiRuntimeException

getFileList

org.springframework.http.ResponseEntity<StringList> getFileList(String storageGroup,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- GET

Parameters:
storageGroup -
Returns:
Throws:
MythServiceApiRuntimeException

getFilteredLiveStreamList

org.springframework.http.ResponseEntity<LiveStreamInfos> getFilteredLiveStreamList(String filename,
                                                                                   ETagInfo etag)
                                                                                   throws MythServiceApiRuntimeException
- GET

Parameters:
filename -
Returns:
Throws:
MythServiceApiRuntimeException

getHash

org.springframework.http.ResponseEntity<String> getHash(String storageGroup,
                                                        String filename,
                                                        ETagInfo etag)
                                                        throws MythServiceApiRuntimeException
- GET

Parameters:
storageGroup -
filename -
Returns:
Throws:
MythServiceApiRuntimeException

getImageFile

org.springframework.http.ResponseEntity<byte[]> getImageFile(String storageGroup,
                                                             String filename,
                                                             int width,
                                                             int height,
                                                             ETagInfo etag)
                                                             throws MythServiceApiRuntimeException
- GET

Parameters:
storageGroup -
filename -
width -
height -
Returns:
Throws:
MythServiceApiRuntimeException

getLiveStream

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

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException

getLiveStreamList

org.springframework.http.ResponseEntity<LiveStreamInfos> getLiveStreamList(ETagInfo etag)
                                                                           throws MythServiceApiRuntimeException
- GET

Returns:
Throws:
MythServiceApiRuntimeException

getMusic

org.springframework.http.ResponseEntity<byte[]> getMusic(int id,
                                                         ETagInfo etag)
                                                         throws MythServiceApiRuntimeException
- GET

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException

getPreviewImage

org.springframework.http.ResponseEntity<byte[]> getPreviewImage(int channelId,
                                                                org.joda.time.DateTime startTime,
                                                                int width,
                                                                int height,
                                                                int secondsIn,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- GET

Parameters:
channelId -
startTime -
width -
height -
secondsIn -
Returns:
Throws:
MythServiceApiRuntimeException

getProgramArtworkList

org.springframework.http.ResponseEntity<ArtworkInfos> getProgramArtworkList(String inetRef,
                                                                            int season,
                                                                            ETagInfo etag)
                                                                            throws MythServiceApiRuntimeException
- GET

Parameters:
inetRef -
season -
Returns:
Throws:
MythServiceApiRuntimeException

getRecording

org.springframework.http.ResponseEntity<byte[]> getRecording(int channelId,
                                                             org.joda.time.DateTime startTime,
                                                             ETagInfo etag)
                                                             throws MythServiceApiRuntimeException
- GET

Parameters:
channelId -
startTime -
Returns:
Throws:
MythServiceApiRuntimeException

getRecordingArtwork

org.springframework.http.ResponseEntity<byte[]> getRecordingArtwork(String type,
                                                                    String inetRef,
                                                                    int season,
                                                                    int width,
                                                                    int height,
                                                                    ETagInfo etag)
                                                                    throws MythServiceApiRuntimeException
- GET

Parameters:
type -
inetRef -
season -
width -
height -
Returns:
Throws:
MythServiceApiRuntimeException

getRecordingArtworkList

org.springframework.http.ResponseEntity<ArtworkInfoList> getRecordingArtworkList(int channelId,
                                                                                 org.joda.time.DateTime startTime,
                                                                                 ETagInfo etag)
                                                                                 throws MythServiceApiRuntimeException
- GET

Parameters:
channelId -
startTime -
Returns:
Throws:
MythServiceApiRuntimeException

getVideo

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

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException

getVideoArtwork

org.springframework.http.ResponseEntity<byte[]> getVideoArtwork(String type,
                                                                int id,
                                                                int width,
                                                                int height,
                                                                ETagInfo etag)
                                                                throws MythServiceApiRuntimeException
- GET

Parameters:
type -
id -
width -
height -
Returns:
Throws:
MythServiceApiRuntimeException

removeLiveStream

org.springframework.http.ResponseEntity<Bool> removeLiveStream(int id)
                                                               throws MythServiceApiRuntimeException
- GET

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException

stopLiveStream

org.springframework.http.ResponseEntity<LiveStreamInfo> stopLiveStream(int id)
                                                                       throws MythServiceApiRuntimeException
- GET

Parameters:
id -
Returns:
Throws:
MythServiceApiRuntimeException


Copyright © 2012. All Rights Reserved.