Changeset 3935


Ignore:
Timestamp:
Sep 10, 2010, 3:41:57 PM (16 years ago)
Author:
civer
Message:

[ ALL/ IPK/ MediaPlayer]

  • added MP to Extensions Menü (now you can find it in Blue-Key
  • some MP translation fixes in enigma2.po
Location:
ipk/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/epg_crossepg_0_41_svn38/var/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg/crossepg_epgmove.sh

    r3613 r3935  
    11#!/bin/sh
     2
     3#--- Civer add AAF specified options---
     4locateepg=`cat /etc/enigma2/settings | grep config.epg.EPG_path | cut -d "=" -f 2`
     5if [ "$locateepg" ]; then
     6                epgfilelocation="$locateepg"
     7else
     8                epgfilelocation="/media/hdd/epg.dat"
     9fi
     10
    211HOME=`echo $0 | sed "s/crossepg_epgmove\.sh//"`
    312
     
    918fi
    1019
    11 if [ -f "$DBROOT/ext.epg.dat" ] # try on configuration path
    12 then
    13         echo copying ext.epg.dat from $DBROOT
    14         $HOME/crossepg_epgcopy "$DBROOT/ext.epg.dat" /media/hdd/epg.dat
    15 elif [ -f "/media/hdd/crossepg/ext.epg.dat" ] # if we have a bad path try with default path
    16 then
    17         echo copying ext.epg.dat from /media/hdd/crossepg/
    18         $HOME/crossepg_epgcopy /media/hdd/crossepg/ext.epg.dat /media/hdd/epg.dat
    19 else # no epg found
    20         echo ext.epg.dat not found
     20if [ ! -f "$epgfilelocation" ]; then # skip epg copy if file exists
     21        if [ -f "$DBROOT/ext.epg.dat" ] # try on configuration path
     22        then
     23                echo copying ext.epg.dat from $DBROOT
     24                $HOME/crossepg_epgcopy "$DBROOT/ext.epg.dat" "$epgfilelocation"
     25        elif [ -f "/media/hdd/crossepg/ext.epg.dat" ] # if we have a bad path try with default path
     26        then
     27                echo copying ext.epg.dat from /media/hdd/crossepg/
     28                $HOME/crossepg_epgcopy /media/hdd/crossepg/ext.epg.dat "$epgfilelocation"
     29        else # no epg found
     30                echo ext.epg.dat not found
     31        fi
    2132fi
  • ipk/source/players_mediaplayer_1_0/usr/lib/enigma2/python/Plugins/Extensions/MediaPlayer/__init__.py

    r3771 r3935  
    1  
  • ipk/source/players_mediaplayer_1_0/usr/lib/enigma2/python/Plugins/Extensions/MediaPlayer/plugin.py

    r3772 r3935  
    539539                        menu.append((_("add/remove bookmarks (locationbox)"), "locationbox"))
    540540                if self.currList == "filelist":
    541                         menu.append((_("---------------------- bookmarks -------------------"), "line"))
     541                        menu.append((_("--------------------- bookmarks --------------------"), "line"))
    542542                        for x in self.bookmarks.value:
    543543                                menu.append((x, x))
     
    11941194        return [
    11951195                PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_MENU, fnc = menu),
     1196                PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc = main),
    11961197                PluginDescriptor(name = "MediaPlayer", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan)
    11971198        ]
  • ipk/source/swapplayers_mediaplayer_1_0/var/swap/extensions/MediaPlayer/__init__.py

    r3771 r3935  
    1  
  • ipk/source/swapplayers_mediaplayer_1_0/var/swap/extensions/MediaPlayer/plugin.py

    r3772 r3935  
    539539                        menu.append((_("add/remove bookmarks (locationbox)"), "locationbox"))
    540540                if self.currList == "filelist":
    541                         menu.append((_("---------------------- bookmarks -------------------"), "line"))
     541                        menu.append((_("--------------------- bookmarks --------------------"), "line"))
    542542                        for x in self.bookmarks.value:
    543543                                menu.append((x, x))
     
    11941194        return [
    11951195                PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_MENU, fnc = menu),
     1196                PluginDescriptor(name = "MediaPlayer", description = "Play back media files", where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc = main),
    11961197                PluginDescriptor(name = "MediaPlayer", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan)
    11971198        ]
Note: See TracChangeset for help on using the changeset viewer.