Change and remove items from Basichome (1 Viewer)

z3r0_burn

Portal Member
December 8, 2008
31
0
Minneapolis, MN, USA
United States of America United States of America
Country flag
Thanks for the help in fixing the script but now it pukes on the filename of the templates.

"C:\Program Files\Team MediaPortal\MediaPortal\skin\BasicHomer.py"
Traceback (most recent call last):
File "C:\Program Files\Team MediaPortal\MediaPortal\skin\BasicHomer.py", line 235, in <module>
myTemplate = open(template)
File "C:\Python30\lib\io.py", line 278, in __new__
return open(*args, **kwargs)
File "C:\Python30\lib\io.py", line 222, in open
closefd)
File "C:\Python30\lib\io.py", line 615, in __init__
_fileio._FileIO.__init__(self, name, mode, closefd)
IOError: [Errno 2] No such file or directory: 'basichome.3.tpl'

I have made sure the filename and source code have the same capitalization but that did not help at all.

Thanks in advance
 

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Croatia Croatia
    Country flag
    why don't you just install python2.6? :) works fine there..

    btw i miss 4x3 layout.. and some new plugins.. might add it all later..

    thanx for the menu generator fmarcia!
     

    z3r0_burn

    Portal Member
    December 8, 2008
    31
    0
    Minneapolis, MN, USA
    United States of America United States of America
    Country flag
    why don't you just install python2.6?
    Because it was not stated that an OLD version of Python was required to run the script. I will test that tonight and report back. I guess the script has some requirements that should be listed with it or be updated to handle the changes in Python 3.
     

    z3r0_burn

    Portal Member
    December 8, 2008
    31
    0
    Minneapolis, MN, USA
    United States of America United States of America
    Country flag
    why don't you just install python2.6? :) works fine there..
    I uninstalled Python 3.0 and installed Python 2.6.1 but I am still getting the same error:
    IOError: [Errno 2] No such file or directory: 'basichome.3.tpl'

    Is there some other requirement besides just Python 2.6 that I need to know about?

    :D
     

    fmarcia

    Portal Member
    April 20, 2008
    76
    6
    Boussy Saint Antoine
    France France
    You need 3 files:
    - BasicHomer.py, the python script,
    - BasicHome.2.tpl, the template for 2 rows,
    - BasicHome.3.tpl, the template for 3 rows.

    First, check all these files are in the same folder.

    There is no more requirement.

    If you're using a case-sensitive file system, you can try to rename BasicHome.#.tpl to basichome.#.tpl (I tested it and use it on a win32 platform, so it's not a issue for me).
     

    z3r0_burn

    Portal Member
    December 8, 2008
    31
    0
    Minneapolis, MN, USA
    United States of America United States of America
    Country flag
    All the files are in the same I had already tried to check the capitalisation of the files and that did not change anything. I was able to get it to work after moving it to another system for testing. I use "c:\test" for anything I need to troubleshoot and it worked fine so I tried it in "c:\test 1" with the same failures. I think its because Python is a UNIX based language and it does not like spaces in pathname.

    THANKS for all the help
     

    ltooz_audis

    Portal Member
    March 12, 2009
    23
    0
    Fremont, CA
    United States of America United States of America
    Hello all,
    After trying all the skins, and my family likes this one the most. My kids think it's clean, easy to read and has all the functions they need. I modified the 2 rows basic home, replaced TV & TV series with Weather & Pictures and they work great, thank you. There are 2 more buttons I want to replace with is Radio & the blank one. I want to replace Radio with Games & the blank one with HOME MOVIES.

    Games: My kids love to play NFSIII & MULAN (they are both in ISO form, they're default mounted with Daemon tools), I want to put NFSIII & MULAN icon in games and when they click it, it will play the game.

    HOME MOVIES: I have all the movies of my kids in MKV format and they're all in 1 folder "HOME MOVIES". I know I can go to videos and select the folder, but I want to make a short cut to go straight to "HOME MOVIES" folder on this 2 rows basichome.

    SHUTDOWN PC: I also like to have a shutdown button on basichome so my kids can click it and shutdown the PC.

    Please show me how to achieve these tasks.

    Thanks,
     

    aj1405

    Portal Pro
    September 30, 2007
    443
    302
    Norway Norway
    Hello all,
    After trying all the skins, and my family likes this one the most. My kids think it's clean, easy to read and has all the functions they need. I modified the 2 rows basic home, replaced TV & TV series with Weather & Pictures and they work great, thank you. There are 2 more buttons I want to replace with is Radio & the blank one. I want to replace Radio with Games & the blank one with HOME MOVIES.

    Games: My kids love to play NFSIII & MULAN (they are both in ISO form, they're default mounted with Daemon tools), I want to put NFSIII & MULAN icon in games and when they click it, it will play the game.

    HOME MOVIES: I have all the movies of my kids in MKV format and they're all in 1 folder "HOME MOVIES". I know I can go to videos and select the folder, but I want to make a short cut to go straight to "HOME MOVIES" folder on this 2 rows basichome.

    SHUTDOWN PC: I also like to have a shutdown button on basichome so my kids can click it and shutdown the PC.

    Please show me how to achieve these tasks.

    Thanks,
    Games:
    You can create a new games menu with the "Game menu" plugin.
    You then need a plugin to start the games. Have a look at the MultiShortcut plugin.

    Home movies:
    I don't think this possibility exist in MediaPortal at the moment.
    You could use the Moving Pictures and Video plugin; each displaying different movies. This will achieve your goal.

    Shutdown:
    Try replacing the <hyperlink>132</hyperlink> tag with <action>99</action>
     

    ltooz_audis

    Portal Member
    March 12, 2009
    23
    0
    Fremont, CA
    United States of America United States of America
    AJ1405,
    Thank you... I played with the basichome last night and I got one of the game on the screen. I think I'm getting a hang of this a little bit now. Yes, I'll look for the Game Menu plug in to see if I can do it. We do love this skin, I think it's better the way it is with moving pictures also, the plug-in for moving pictures actually are too busy looking for us. The white banner with icons are much easier to read, some of the moving pictures background do make the icons harder to see.

    Kindergarden icon will execute the batch file that mounts the cd.iso, the kids can play, when they're done with it, close it, and the MP comes back with the basic home screen....




    :D:D:D:D
     

    ltooz_audis

    Portal Member
    March 12, 2009
    23
    0
    Fremont, CA
    United States of America United States of America
    Got it tonight.


    games






    Shutdown works great except it doesn't display hover_xx pictures and "shutdown" text for some reason, please check the codes to see what's I'm missing. I have 2 icon pictures for shutdown.
    This is the 8th button in the 2rows basichome.
    "
    <control>
    <description>8 - Button</description>
    <type>button</type>
    <id>9</id>
    <posX>940</posX>
    <posY>580</posY>
    <width>300</width>
    <height>180</height>
    <textureFocus>shutdown.png</textureFocus>
    <textureNoFocus>shutdown1.png</textureNoFocus>
    <hyperlink>7842</hyperlink>
    <label></label>
    <onleft>8</onleft>
    <onup>5</onup>
    </control>
    <!--<control>
    <description>8 - Icon</description>
    <type>image</type>
    <id>1</id>
    <posX>1025</posX>
    <posY>590</posY>
    <width>130</width>
    <height>130</height>
    <texture>shutdown1.jpeg</texture>
    </control>
    <control>
    <description>8 - Text</description>
    <type>label</type>
    <id>1</id>
    <posX>940</posX>
    <posY>720</posY>
    <width>300</width>
    <height>40</height>
    <label>Shutdown</label>
    <align>center</align>
    </control>
    <control>
    <description>8 - Image</description>
    <type>image</type>
    <id>1</id>
    <posX>1300</posX>
    <posY>260</posY>
    <width>580</width>
    <height>580</height>
    <texture>shutdown1.png</texture>
    <animation effect="fade" time="1000">VisibleChange</animation>
    <visible>Control.HasFocus(9)</visible>
    </control>-->
    </controls>
    </window>


    Thanks,
    :D:D:D:D:D
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    E 1.25.0 Change AVC / AAC Codec for Analog card captured videos Codecs, External Players 0
    C 1.25.0 mini Splashscreen - how can i change it MediaPortal 1 Skins 6
    toricred Recordings Change : to _ in Series Name General 0
    A UK Freeview channel changes Installation, configuration support 14
    T Client / Server slow channel-to-channel change (zapping) General Support 1
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 22
    J How to change y position of subtitles General 3
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    M Change size of the splash screen Skins and Plugins Installer (MPEI) 2
    S Remote button to change audio and subtitle on / off General 10
    BenGonGon chaine qui change aléatoirement Support Général 2
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    ge2301 New forum design together with change to XF2.x Online Facilities 4
    doskabouter [Evaluate] Changing SecurityProtocol Developer Discussions 1
    O [Help Me!] How to change 'release' status in Jira? Developer Discussions 9
    cbr954rr [fixed] Movie db refresh on changes of nfo and correct spelling of words in titles 2.2 Archive 33
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    F Somethings changed - mce remote General Support 9
    N [will not fix] Changed settings do not take effect until MP2-Client is stopped and restarted. Submit: Bug Reports 4
    M reimport of movies with changed nfo files General 14
    R [solved] Change Server name General 1
    Hawkeye Changes to last added view Feature Requests 0
    J Media Portal changes master volume level General Support 7
    Similar threads

























    Top Bottom