• English
  • Deutsch
  • Español
  • Русский
Professional Radio Automation at a price you can afford.Professional Radio Automation at a price you can afford.
RadioBOSS box
RadioBOSS makes automating your broadcast to the world, your business or shop professional, simple, affordable, reliable.

Author Topic: Download and insert track via. API  (Read 312 times)

0 Members and 1 Guest are viewing this topic.

ReyFM

  • Posts: 16
Download and insert track via. API
« on: December 11, 2019, 08:49:17 AM »
Hi,

Is it currently possible to download a MP3 file from URL and insert it directly to the playlist via. the API?

djsoft

  • Administrator
  • Posts: 10333
    • http://www.djsoft.net
Re: Download and insert track via. API
« Reply #1 on: December 13, 2019, 02:13:26 AM »
You can isue two commands, first download it using ...&cmd=download... (call the download scheduler command via the API: https://manual.djsoft.net/radioboss/en/scheduler_commands.htm

Then after some time (to make sure it's downloaded) insert into the playlist using the inserttrack API: https://manual.djsoft.net/radioboss/en/remote_controlapi.htm
Dmitry  •  DJSoft.Net Team  •  Email: support@djsoft.net

ReyFM

  • Posts: 16
Re: Download and insert track via. API
« Reply #2 on: December 16, 2019, 04:17:22 PM »
Thanks for the help! I didn't know that you can use scheduler commands over the API ^^