From 51550aa81c726aedfa7159af0e67f8bcd5fb8a2f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 11 Jul 2008 12:23:16 +0000 Subject: fix some imports --- lib/python/Plugins/Extensions/DVDBurn/TitleList.py | 2 +- lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 7 +------ lib/python/Plugins/Extensions/MediaPlayer/plugin.py | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) (limited to 'lib/python/Plugins/Extensions') diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py index efbab91a..99344e46 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py +++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py @@ -1,4 +1,4 @@ -import DVDProject, DVDTitle, TitleList, TitleCutter +import DVDProject, TitleList, TitleCutter from Screens.Screen import Screen from Components.ActionMap import HelpableActionMap, ActionMap diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 0db850a4..8e9031d7 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -1,10 +1,8 @@ from os import path as os_path, remove as os_remove, listdir as os_listdir, system -from time import strftime -from enigma import eTimer, iPlayableService, eServiceCenter, iServiceInformation, eServiceReference, iServiceKeys +from enigma import eTimer, iPlayableService, iServiceInformation, eServiceReference, iServiceKeys from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Screens.ChoiceBox import ChoiceBox -from Screens.InputBox import InputBox from Screens.HelpMenu import HelpableScreen from Screens.InfoBarGenerics import InfoBarSeek, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarShowHide, InfoBarNotifications from Components.ActionMap import ActionMap, NumberActionMap, HelpableActionMap @@ -12,11 +10,8 @@ from Components.Label import Label from Components.FileList import FileList from Components.ServiceEventTracker import ServiceEventTracker, InfoBarBase from Components.config import config -from Components.ProgressBar import ProgressBar -from ServiceReference import ServiceReference from Tools.Directories import pathExists, fileExists -import random import servicedvd # load c++ part of dvd player plugin lastpath = "" diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py index bca85518..267ada1c 100644 --- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py @@ -1,6 +1,6 @@ from os import path as os_path, remove as os_remove, listdir as os_listdir from time import strftime -from enigma import eTimer, iPlayableService, eServiceCenter, iServiceInformation +from enigma import eTimer, eServiceCenter, iServiceInformation from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Screens.InputBox import InputBox @@ -12,7 +12,7 @@ from Components.FileList import FileList from Components.MediaPlayer import PlayList from Tools.Directories import resolveFilename, SCOPE_CONFIG, SCOPE_PLAYLIST, SCOPE_SKIN_IMAGE from Components.ServicePosition import ServicePositionGauge -from Components.ServiceEventTracker import ServiceEventTracker, InfoBarBase +from Components.ServiceEventTracker import InfoBarBase from Components.Playlist import PlaylistIOInternal, PlaylistIOM3U, PlaylistIOPLS from Screens.InfoBarGenerics import InfoBarSeek, InfoBarAudioSelection, InfoBarCueSheetSupport, InfoBarNotifications from ServiceReference import ServiceReference -- cgit v1.2.3