current artist, song, album by command line

The forum for designers and developers.
[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
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

current artist, song, album by command line

Postby Guest » 17. Jan 07, 20:41

A command line or command lines that would return the current artist, song, album and album cover file location would make it easy to write a screensaver that could poll silverjuke for info, then pull info and images off the internet.

Is there currently any way to do this?

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[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: current artist, song, album by command line

Postby Service-Team » 18. Jan 07, 09:42

Guest wrote:
> A command line or command lines that would return
> the current artist, song, album and album cover
> file location would make it easy to write a
> screensaver that could poll silverjuke for info,
> then pull info and images off the internet.
>
> Is there currently any way to do this?

For this purpose, you can write a script or a Plugin DLL that forwards the information to your application or screensaver. Please have a look at and related functions.

Using a script, you can then forward the needed information using ; for a you have access to the whole Windows API.
Last edited by Service-Team on 10. Jul 07, 19:19, edited 1 time in total.

User avatar
Iznogood
Posts: 271
Joined: 6. Nov 05, 12:27
Location: NRW
[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: current artist, song, album by command line

Postby Iznogood » 18. Jan 07, 09:44

Very Good Idea!!!
This in combination with a batch that writes the info in a text-file would give us the possibility to show current info about artist etc on a LCD-Matrix!

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: current artist, song, album by command line

Postby Guest » 18. Jan 07, 18:45

Thanks for the quick help. OnTrackChange event based mechanism is a much better solution,...I will sort it out when I get a free weekend and be sure to post the code.

Very impressed with the application so far BTW. Runs great on an old 400mhz box running win2k server w/ 500GB HD & touchscreen.


[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 “Developer Network”