MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » Bugreport Archive » pre 1.0 RC1


pre 1.0 RC1 Bugreports from the time before the 1.0RC1 release are stored in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-04-12, 09:39   #1 (permalink)
Portal Member
 
Join Date: Jul 2004
Posts: 380
Thanks: 0
Thanked 2 Times in 2 Posts


Comskip launcher

Hi
When specifying a bat file that runs comskip, the plugin runs the file with a working directory of the recorded file name. This does not work very good for me, but maybe it's suppose to?

When the TEST button is used, it works since the plugin then uses the working diretory of the program itself.

code for the test button in svn
LaunchProcess(program, parameters, Path.GetDirectoryName(program), ProcessWindowStyle.Normal);

code for the real launch:
LaunchProcess(_program, parameters, Path.GetDirectoryName(tvEvent.Recording.FileName), ProcessWindowStyle.Hidden);

My bat file assumes that is starts in the comskip directory so it fails for me.

regards

//Lasse
__________________
----------------------------------------
MCE 2005
Twinhan 3040 DVB-T + CI + Cam---Boxer
ATI Radeon 9800 Pro 128Mb
SoundMax 1950
1Gb Ram
-----------------------------------------

Last edited by lar282; 2007-04-12 at 10:10.
lar282 is offline   Reply With Quote
Old 2007-04-15, 20:15   #2 (permalink)
Portal Developer
 
Join Date: Sep 2006
Posts: 368
Thanks: 6
Thanked 25 Times in 17 Posts


Default

you can always edit the bat file and change to the comskip directory manually as a workaround.
Eabin is offline   Reply With Quote
Old 2007-04-16, 01:08   #3 (permalink)
Portal Developer
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,248
Thanks: 30
Thanked 139 Times in 88 Posts

Country:

My System

Default

When I get home, and if no-one else has already changed the code, I'll change it so that both use the same working folder. I'll make the working folder the program's working folder, because the recording path can be supplied as a parameter, so the programs path is most logical.

The above mentioned work-around will do for the meantime, but I'll post back here when the change is in SVN.

Thanks for bringing this up, if there's one thing I can't stand it's inconsistencies like this. These little unexpected behaviors really annoy people, myself included. And this one is my fault, so I'll fix straight away.

Cheers,
and-81 is offline   Reply With Quote
Old 2007-04-16, 11:18   #4 (permalink)
Portal Member
 
Join Date: Jul 2004
Posts: 380
Thanks: 0
Thanked 2 Times in 2 Posts


Default

Thank's alot for taking the time to look into this.

regards

//Lasse
__________________
----------------------------------------
MCE 2005
Twinhan 3040 DVB-T + CI + Cam---Boxer
ATI Radeon 9800 Pro 128Mb
SoundMax 1950
1Gb Ram
-----------------------------------------
lar282 is offline   Reply With Quote
Reply

Bookmarks

Tags
comskip, launcher

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comskip in SVN jburnette MyTV - Engine 0.2 53 2007-08-07 15:13
Comskip/Comclean Nightmare77 General Talk 7 2007-02-22 09:43
WinUAE launcher for you! gazoot Tips and Tricks 9 2007-02-09 16:50
MP Launcher ohdarklord Plugins 1 2006-05-26 06:52
comskip support rob_z11 Improvement Suggestions 2 2005-05-26 18:40


All times are GMT +1. The time now is 07:21.


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