public interface IMP4Manager
Modifier and Type | Method and Description |
---|---|
void |
init(java.io.File nativeDir)
Used to setup the manager
|
java.util.List<IAtom> |
listAtoms(java.io.File mp4File)
Used to get a list of atoms in the MP4 file.
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Used to set parameters on the manager
|
void |
updateEpsiode(Controller controller,
java.io.File mp4File,
IEpisode episode)
Used to add atoms to a MP4 file that makes iTunes see it as a TV Show episode
|
void |
updateFilm(Controller controller,
java.io.File mp4File,
IFilm film,
java.lang.Integer part)
Used to add atoms to a MP4 file that makes iTunes see it as a Film.
|
java.util.List<IAtom> listAtoms(java.io.File mp4File) throws MP4Exception
mp4File
- The MP4 fileMP4Exception
- Thrown if their is a problem reading the MP4 filevoid init(java.io.File nativeDir) throws MP4Exception
nativeDir
- The native folder been used or configured. Null if can't be foundMP4Exception
- Thrown if their is a problem setup up the managervoid setParameter(java.lang.String key, java.lang.String value)
key
- The key of the parametervalue
- The name of the parametervoid updateEpsiode(Controller controller, java.io.File mp4File, IEpisode episode) throws MP4Exception
controller
- the media file controllermp4File
- The MP4 fileepisode
- The episode detailsMP4Exception
- Thrown if their is a problem updating the atomsvoid updateFilm(Controller controller, java.io.File mp4File, IFilm film, java.lang.Integer part) throws MP4Exception
controller
- The media controllermp4File
- The MP4 filefilm
- The film detailspart
- The part number of the film, or null if it does not have partsMP4Exception
- Thrown if their is a problem updating the atoms