Command line for startup to play a song

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[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
writes4cmt
Posts: 2
Joined: 2. Jul 08, 09:37
Location: Canada
[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

Command line for startup to play a song

Postby writes4cmt » 2. Jul 08, 10:06

Hello,

Like others I'm impressed with SJ too, but I spent some time trying get SJ to open and load up a song from the Startup folder, but it just doesn't seem to work.
Don't laugh, but I'm running Windows 98SE still. SJ works great!! Buying it soon here.

In the console window, it gives me an error but can't evaluate it. I even tried using the *.M3u file in a shortcut for a single song loaded in the playlist, that didn't work either.

So from the command line in a DOS Window, I typed this from the DOS prompt>> silverjuke/?, and this gave me a bunch of options for Silverjuke.exe. I tried few of them, like play and open with no luck. If there's a post about this, I'm sorry I missed it.

The Windows Media Player can do this without a hitch, so why can't Silverjuke?

Neil

Guest
[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: Command line for startup to play a song

Postby Guest » 2. Jul 08, 10:33

Does the following not work?

c:\Programs\Silverjuke\Silverjuke.exe "c:\any folder\my.mp3"

It works for me - if Silverjuke is not started, it starts Silverjuke and plays the title, if Silverjuke is already started, it forces the running instance to play the given title.

Please note the quotes around the title: They are always needed if the title contains spaces or some other special characters. Maybe this is the problem?

Regards,
B.

writes4cmt
Posts: 2
Joined: 2. Jul 08, 09:37
Location: Canada
[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: Command line for startup to play a song

Postby writes4cmt » 2. Jul 08, 22:44

Well Ok. Windows XP works fine, however the results are somewhat different in Windows 98SE. The long file names need to be truncated to 8 chars like the path below

CD progra~1\Silver~1\Silver~1.exe c:\Walkaw~1.mp3

Note: "" not required in 98SE, makes no difference.

You probably know that, but what's really strange is the song starts somewhere in the middle from a batch file located in the C:\ directory. From what I can tell, maybe a 60 second lead in.
The Win API calls in 98 are probably outdated for this software, and I just bet I need new updated DLL files in the system directory to correct this, however this OS is not supported anymore, so I 'll just leave it, thanks for your help.

Neil


[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
[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

Return to “Main Forum”