AIMP Forum

English pages => Questions => Topic started by: Morbius on July 02, 2020, 19:35:30

Title: How to access the AIMP Artist & Song Title data from another application ?
Post by: Morbius on July 02, 2020, 19:35:30
I was wondering if it is possible, while listening to a radio stream on AIMP, to access the Artist & Song Title info displayed at the top of the AIMP window (horizontal scrolling) from another application and how.

Application Example
I wish to write a very simple Windows program which, when launched, will open a Command Prompt window and display :
            You are currently listening to < Artist - Song Title > on AIMP.

Writing such an application supposes to be able to extract this Artist & Song Title from AIMP in real time. And I don't know how to do.

My apologies if the question has already been asked. This is a large forum.

Could someone possibly help ?
Title: Re: How to access the AIMP Artist & Song Title data from another application ?
Post by: Zhenya on July 02, 2020, 19:41:00
Remote API from SDK (https://www.aimp.ru/?do=download&os=windows&cat=sdk) should help you.
Title: Re: How to access the AIMP Artist & Song Title data from another application ?
Post by: Zhenya on July 02, 2020, 19:54:26
Another option is to use the output of Current Track Info to Any (https://www.aimp.ru/?do=catalog&rec_id=358) plugin.
Title: Re: How to access the AIMP Artist & Song Title data from another application ?
Post by: Morbius on July 02, 2020, 22:01:22
Hello Zhenya,

Thank you very much for your speedy answer.

I have already tried the Current Track Info to Any solution and it works perfectly fine for me !
With the right settings, I get exactly what I want in the text file and nothing more.
It updates the text file at each new song or whenever I switch to a new radio stream.

Now, I wish to try the SDK - Remote API solution.
As I have never used an SDK before (but willing to learn...), it would help to see examples. Are there examples of programs written by others and which use this SDK (and the remote API) somewhere ?
Title: Re: How to access the AIMP Artist & Song Title data from another application ?
Post by: Zhenya on July 02, 2020, 22:45:57
Now, I wish to try the SDK - Remote API solution.
As I have never used an SDK before (but willing to learn...), it would help to see examples. Are there examples of programs written by others and which use this SDK (and the remote API) somewhere ?

The SDK has RemoteAccessDemo (written in Delphi) in the Demos folder.
Also refer to SDK / Help / Remote API / Information about the playable file.