How to use Videos?

Posts that are done/fixed/closed or aged! for this section are placed in here to keep the forum in shape & more viewable!
User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: How to use Videos?

Unread post by Phoenix » 12 Nov 2012, 00:37

I may have found the solution :swing:

PHP is wierd...haha

For executing this DON'T WORK because PHP stops here and WAITS for the external program to finish...

Code: Select all

exec($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected');
So therefore i used the 'start /b' for some time...but that DOESN'T WORK on every machine because of your bug...

Code: Select all

exec('start /b "'.$AutoitExe_DosPath.'" "'.$ScriptToRun_DosPath.'" romselected');
start /b is a workaround to disable waiting for the script to finish!

And this WORKS!! (using the COM object) (even the eccVideoPlayer icon is shown properly now :-" )

Code: Select all

$shell = new COM("WScript.Shell");
$shell->run($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected', 0, false);
Upload testfile in a second...hang on...
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: How to use Videos?

Unread post by Phoenix » 12 Nov 2012, 00:41

Okey here it is :thumbsup: , please try!
*Edit file deleted!
(overwrite ecc-system\ecc.php)
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

retroboyz
Posts: 45
Joined: 16 Sep 2012, 21:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to use Videos?

Unread post by retroboyz » 12 Nov 2012, 00:56

Win7 64bit
English
D:\Dropbox\Emulation\emuControlCenter\emuControlCenter

retroboyz
Posts: 45
Joined: 16 Sep 2012, 21:25
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to use Videos?

Unread post by retroboyz » 12 Nov 2012, 01:04

It worked!!!!!! :D

You rock!

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: How to use Videos?

Unread post by Phoenix » 12 Nov 2012, 01:05

Great to hear retroboyz!!, and thanks for testing and reporting :thumb:

Creating an update right away!! :boxing:
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: How to use Videos?

Unread post by Phoenix » 12 Nov 2012, 01:42

Fix released in update 00553, closing...
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

Locked
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 6 guests