MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2006-03-07, 23:46   #21 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: great job...

Quote:
Originally Posted by bored
just one question, would mediaportal start automatically if the path in mp_start.exe would be correct?
Yes, mp_start will automatically start mediaportal if the specified path is correct. This is essential. Starting mediaportal yourself does not work.

In your case you would like to start mp_start with the following command:

mp_start "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"
dhannema is offline   Reply With Quote
Old 2006-03-07, 23:53   #22 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by Spyder
i have a radeon X850XT AGP
when i start MP_START it starts mp but on my primary screen + mp seems to use a lot of resources and just starts on my primary screen

can some1 tell me what's wrong ?
Plz try http://www.geocities.com/don_hannema/mp_start_debug.zip and post the results...
dhannema is offline   Reply With Quote
Old 2006-03-08, 10:20   #23 (permalink)
Portal Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: great job...

Quote:
Originally Posted by dhannema
In your case you would like to start mp_start with the following command:

mp_start "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"
thats it, but how to change that command?
bored is offline   Reply With Quote
Old 2006-03-08, 12:36   #24 (permalink)
Portal Member
 
Join Date: Aug 2005
Location: Melbourne, Australia
Age: 22
Posts: 707
Thanks: 0
Thanked 0 Times in 0 Posts

My System

Default

It is a command line argument. You can create a shortcut to mp_start and add the path on the shortcut list, or create a .bat file that runs it with the path, etc. There are many ways to get it working.
jawbroken is offline   Reply With Quote
Old 2006-03-08, 16:34   #25 (permalink)
Portal Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default

ok, i see that this little problem can be easily solved... in fact i just didnt really understand how, maybe you could describe that shortcut-solution for a beginner like me... that would be a great help..

so:
a) i create a shortcut to mp_start
b) i add the path "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe" to the shortcut list.. only problem: what shortcut list?

i guess the .bat-file solution might be far too difficult for me ;-)

hope you can help me
greetz bored
bored is offline   Reply With Quote
Old 2006-03-09, 18:01   #26 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by bored
ok, i see that this little problem can be easily solved... in fact i just didnt really understand how, maybe you could describe that shortcut-solution for a beginner like me... that would be a great help..
It's very easy, follow these steps:
1. rightclick on your desktop
2. select New -> Shortcut
3. copy-pase this location:

c:\mp_start.exe "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"

This assumes that you have mp_start.exe located in your c:\ folder; if you have it on your desktop, use something like c:\documents and settings\bored\desktop\mp_start.exe
4. click next
5. click finish

Now you can start mp_start using the icon on your desktop.
dhannema is offline   Reply With Quote
Old 2006-03-09, 21:10   #27 (permalink)
Portal Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by dhannema
Now you can start mp_start using the icon on your desktop.
thx for that detailed description, now it works perfectly ;-)

other question, maybe you can help me:
is it possible to start MP with my remote using that shortcut ?
i use PCTV remote and changed the profiles.ini from

; start MediaPortal with Remote
key1006=EXEC C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe| -10ft -full

to the shortcut (not desktop but the mediaportal-folder):

; start MediaPortal with Remote
key1006=EXEC C:\Programme\Team MediaPortal\MediaPortal\Verknüpfung mit MediaPortal.exe.lnk| -10ft -full

("Verknüpfung mit Mediaportal.exe.lnk" is the name of the shortcut i created)
but nothing happens... :-(
bored is offline   Reply With Quote
Old 2006-03-10, 13:04   #28 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

[quote="bored"]
Quote:
Originally Posted by dhannema
start MediaPortal with Remote
key1006=EXEC C:\Programme\Team MediaPortal\MediaPortal\Verknüpfung mit MediaPortal.exe.lnk| -10ft -full

("Verknüpfung mit Mediaportal.exe.lnk" is the name of the shortcut i created)
but nothing happens... :-(
Probably pctv doesn't know how to start .lnk files. As I'm not sure if the ini file can handle something like this:

; start MediaPortal with Remote
key1006=EXEC c:\mp_start.exe "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe" | -10ft -full

You probably would want to create a batch file with the start command and use the following section in the ini file:

; start MediaPortal with Remote
key1006=EXEC C:\documents and settings\bored\desktop\mpstart.bat | -10ft -full

For this to work you can create the batch file like this:
1. Right click on the desktop and select New -> Text Document
2. enter the filename mpstart.bat (and select Yes to the warning)
3. now right click the new icon and select Edit
4. type in the following:
c:\mp_start.exe "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"

(assuming you have mp_start in your c:\ folder)
5. Save and close
dhannema is offline   Reply With Quote
Old 2006-03-10, 16:08   #29 (permalink)
Portal Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by dhannema
Probably pctv doesn't know how to start .lnk files. As I'm not sure if the ini file can handle something like this:

; start MediaPortal with Remote
key1006=EXEC c:\mp_start.exe "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe" | -10ft -full
ja, as you feared, the ini file cant handle such a command but i tried to create the bat-file and it partly worked...

what i did:
1) mp_start.exe is placed in mediaportal-folder C:\Programme\Team MediaPortal\MediaPortal\mp_start.exe

2) mpstart.bat is placed in the same folder with the command:
mp_start.exe "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"

3) i changed the exec-command in the ini-file to:
; start MediaPortal with Remote
key1006=EXEC C:\Programme\Team MediaPortal\MediaPortal\mpstart.bat| -10ft -full

so when i open mpstart.bat directly it works perfectly, but when using my remote only for less than a second i can see a small window opening and closing... thats it...

kind of weird, cause the bat-file seems to work when opening it directly but not when using the same file with my remote, although something opens...

maybe you know whtas wrong, or maybe i wanna have to give up.. anyway great thanks for your help til now ;-)
bored is offline   Reply With Quote
Old 2006-03-10, 16:48   #30 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by bored
so when i open mpstart.bat directly it works perfectly, but when using my remote only for less than a second i can see a small window opening and closing... thats it...
I see what's happening.
Change the content of the batch file to include the full path names:

"C:\Programme\Team MediaPortal\MediaPortal\mp_start.exe" "C:\Programme\Team MediaPortal\MediaPortal\MediaPortal.exe"
dhannema is offline   Reply With Quote
Reply

Bookmarks

Tags
automatically, display, fullscreen, secondary

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autotune doesn't find any channels friedit Installation, configuration support 2 2007-01-02 14:34
Recording from TV 'Arry General Support 2 2006-09-20 01:12
Cant get MyTV to work (2.0 RC3)? mdolan General Support 3 2006-03-30 15:58
After first time entering .apefolder all files is unknown. PHN2 The old Bugreport Forum 1 2006-03-15 17:28


All times are GMT +1. The time now is 19:00.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden