aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Tools/Directories.py
AgeCommit message (Collapse)Author
2009-11-10Tools/Directories.py: - add fallback to default_skin if SCOPE_CURRENT_SKIN ↵Acid Burn
is used and the wanted file is not found inside the current skin path. - introduce SCOPE_CURRENT_PLUGIN whitch first looks inside the current skin path for the requested file and if not found fallbacks to SCOPE_PLUGINS. For Example: pixmap = LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/epgclock.png')) first looks inside /usr/lib/enigma2/yourskinfolder/skin_default/icons/ for the png file and if not found it takes the png from /usr/lib/enigma2/skin_default/icons/. Similiar pixmap = LoadPixmap(resolveFilename(SCOPE_CURRENT_PLUGIN, "SystemPlugins/SoftwareManager/upgrade.png")) does the same, except that it fallbacks to SCOPE_PLUGINS, aka /usr/lib/enigma2/python/Plugins. In this example /usr/lib/enigma2/python/Plugins/SystemPlugins/SoftwareManager/ and gets the provided original png. So it is now possible to reskin hardcoded pixmaps inside .py files through the skin by providing new graphics inside the current skin path and overriding the original values. This fixes #249
2009-09-08Tools/Directories.py: SCOPE_METADIR is now /usr/share/metaacid-burn
2009-07-29add getSize convenience function to obtain file or directory size (not ↵Fraxinas
tested with directories containing lots of files)
2009-07-07take care of utf-8 when cutting filenameghost
2009-07-07Directories.py: max filename length without extension is now 240 ↵ghost
characters.. (ext3 can handle only 255 characters) thx to adenin for bugreport
2009-05-27continue work on plugin manageracid-burn
not yet finished
2009-03-31fix typoacid-burn
add SCOPE_METADIR
2009-02-13filter illegal (newline) characters to fix Dr.Dish TV recordsFelix Domke
2009-02-12small speedups/cleanups by moritz vennghost
2008-11-18add isMount encapsulationFraxinas
2008-10-09use access for fileExits instead of try to open a fileAndreas Monzner
2008-09-04allow recursive (-p) directory creationAndreas Frisch
2008-07-21use builtin python functions instead of use os.systemAndreas Monzner
2008-07-11use /dev/mtdblock/6 as defaults partitionStefan Pluecken
2008-06-26add possibility to choose record location on timer creation and chooseAndreas Monzner
record location in movieplayer (only in expert user level)
2008-05-16add new scope for directory for the dealer partition to be mounted onto ↵Stefan Pluecken
(SCOPE_DEFAULTPARTITIONMOUNTDIR)
2008-04-25- add crawlDirectory helper functionStefan Pluecken
- add SCOPE_DEFAULTDIR and SCROPT_DEFAULTPARTITION
2008-04-21speedup resolveFilename a bitAndreas Monzner
2008-04-17add SCOPE_CURRENT_SKIN to resolveFileNames in currently used skin directoryAndreas Monzner
2008-03-10dont show pip options in extension menu when no pip is availableAndreas Monzner
2008-02-20timer_select.patch by Moritz Venn, with minor fixesFelix Domke
2007-07-22cleanup some importsAndreas Monzner
2007-07-11(ralfk) Add SCOPE_PLAYLIST to /etc/enigma2/playlist/Felix Domke
2007-03-26don't create PO directory.Felix Domke
2006-12-15fix encodingAndreas Monzner
2006-11-28add createDir, init radio favouritesFelix Domke
2006-11-20make xgettext happyAndreas Monzner
2006-06-16use os.path.join instead of string concat to fix trailing slash issueFelix Domke
2006-06-15support path_prefixFelix Domke
2006-04-03disallow ?, *, |, <, >Felix Domke
2006-04-03disallow '"' in filenamesFelix Domke
2006-03-27do not allow colon in filenamesFelix Domke
2006-03-23- switchtimer added to RecordingTimerStefan Pluecken
- media player to play mp3, ogg (not yet fully working) and ts files (needs gstreamer) - language selection saves a language string instead of a changing index number
2006-03-05don't resolve absolute pathsFelix Domke
2006-03-05too many side effects for a sunday - remove previous changesStefan Pluecken
2006-03-05grmpfStefan Pluecken
2006-03-05small fix for basenames of zero lengthStefan Pluecken
2006-03-05allow absolute paths in resolveFilenameStefan Pluecken
2006-01-10move the plugins into their own directory and every plugin has a main python ↵Stefan Pluecken
file called plugin.py in his directory for example the update plugin now resides in /usr/lib/enigma2/python/Plugins/update when you add a plugin, don't forget to put an empty __init__.py file into the directory, otherwise python doesn't recognize the directory as module
2006-01-09do not use a re object for a simple replace (make tmbinc happy)Andreas Monzner
2006-01-09filter out short name brakets in record filenamesAndreas Monzner
2006-01-01remove debug codeStefan Pluecken
2006-01-01remove debug codeStefan Pluecken
execute first fallback action only
2006-01-01make use of fallback files in Tools.Directories when file or path is not in ↵Stefan Pluecken
place
2005-12-30the new hdd movie directory is /hdd/movie (for 7020 compatibility reasons)Stefan Pluecken
if /hdd/movies is found and /hdd/movie doesn't exist, /hdd/movies is moved to /hdd/movie
2005-12-11po: use correct pathFelix Domke
2005-12-11example where "German"-text disappears with RT_VALIGN_CENTERStefan Pluecken
change directory for po again until the language-files are installed properly
2005-12-11some language-workStefan Pluecken
catch case of not available languages
2005-12-11use Tools.Directories to access the flag-imagesStefan Pluecken
2005-11-30store config in /etc/enigma2 and create the path if neededStefan Pluecken