![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
Classes | |
class | MovieListData |
class | StubInfo |
class | MovieList |
Functions | |
def | lastPlayPosFromCache (ref) |
def | moviePlayState (cutsFileName, ref, length) |
def | resetMoviePlayState (cutsFileName, ref=None) |
def | getShortName (name, serviceref) |
Variables | |
AUDIO_EXTENSIONS = frozenset((".dts", ".mp3", ".wav", ".wave", ".ogg", ".flac", ".m4a", ".mp2", ".m2a", ".3gp", ".3g2", ".asf", ".wma")) | |
tuple | DVD_EXTENSIONS = ('.iso', '.img') |
IMAGE_EXTENSIONS = frozenset((".jpg", ".png", ".gif", ".bmp")) | |
MOVIE_EXTENSIONS = frozenset((".mpg", ".vob", ".wav", ".m4v", ".mkv", ".avi", ".divx", ".dat", ".flv", ".mp4", ".mov", ".wmv", ".m2ts", ".webm")) | |
KNOWN_EXTENSIONS = MOVIE_EXTENSIONS.union(IMAGE_EXTENSIONS, DVD_EXTENSIONS, AUDIO_EXTENSIONS) | |
tuple | RECORD_EXTENSIONS = (".ts") |
cutsParser = struct.Struct('>QI') | |
justStubInfo = StubInfo() | |
def Components.MovieList.getShortName | ( | name, | |
serviceref | |||
) |
def Components.MovieList.lastPlayPosFromCache | ( | ref | ) |
def Components.MovieList.moviePlayState | ( | cutsFileName, | |
ref, | |||
length | |||
) |
Returns None, 0..100 for percentage
def Components.MovieList.resetMoviePlayState | ( | cutsFileName, | |
ref = None |
|||
) |
Components.MovieList.AUDIO_EXTENSIONS = frozenset((".dts", ".mp3", ".wav", ".wave", ".ogg", ".flac", ".m4a", ".mp2", ".m2a", ".3gp", ".3g2", ".asf", ".wma")) |
Components.MovieList.cutsParser = struct.Struct('>QI') |
tuple Components.MovieList.DVD_EXTENSIONS = ('.iso', '.img') |
Components.MovieList.IMAGE_EXTENSIONS = frozenset((".jpg", ".png", ".gif", ".bmp")) |
Components.MovieList.justStubInfo = StubInfo() |
Components.MovieList.KNOWN_EXTENSIONS = MOVIE_EXTENSIONS.union(IMAGE_EXTENSIONS, DVD_EXTENSIONS, AUDIO_EXTENSIONS) |
Components.MovieList.MOVIE_EXTENSIONS = frozenset((".mpg", ".vob", ".wav", ".m4v", ".mkv", ".avi", ".divx", ".dat", ".flv", ".mp4", ".mov", ".wmv", ".m2ts", ".webm")) |
tuple Components.MovieList.RECORD_EXTENSIONS = (".ts") |