Now playing

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
Radiofreak
Posts: 156
Joined: 26 Aug 2018 17:20
Contact:
Now playing

Post by Radiofreak »

I want to send now playing track to my website. Now I have searched everything and until now I understand that you can do this via a command. But what do I have to put in the backend of my website? What I want is the same as on the website of radio 42. With album art and text. It will be a stupid question, but I can not figure it out :roll: . Can someone explain it in simple steps please?
User avatar
radio42
Site Admin
Posts: 8329
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Now playing

Post by radio42 »

Try a search for ‘Now Playing’... and you might find this:
viewtopic.php?f=9&t=730

Or this:
viewtopic.php?f=9&t=759&p=2366

Many Greets
User avatar
Radiofreak
Posts: 156
Joined: 26 Aug 2018 17:20
Contact:
Re: Now playing

Post by Radiofreak »

I have all read that before..the point is that i don't understand how to put on my website. I am to stupid for that i am afraid. I beter let it go i think...but thanks anyway.
User avatar
radio42
Site Admin
Posts: 8329
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Now playing

Post by radio42 »

That is strange.
The first link contained a description using the EXEC_WRITE_PLAYLISTFILE command, which allows you to create a html file from a template (even a sample of that is giving there), the generated html file is then upload to your website. All this required no web dev skills.

The other example is more complex where you post the title update to your web, eg. using a PHP Script to than store this info and update your pages accordingly.
User avatar
radio42
Site Admin
Posts: 8329
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Now playing

Post by radio42 »

In the EXEC_UPLOAD_FILE command you give four parameters in total:

1) file to upload : the full path to your html file you generated with the previous command (looks okay in the above example)

2) destination : this is the full FTP path to where you want to upload your file. This is typically your ftp domain plus the path in your web-site
(Example: ftp://radiofreak.com/playlist/nowplaying.html)
If you are unsure, please ask your web-admin or host provider.

3) username
4) password
The FTP account username and password to access the ftp service.
If you are unsure, please ask your web-admin or host provider.
User avatar
Radiofreak
Posts: 156
Joined: 26 Aug 2018 17:20
Contact:
Re: Now playing

Post by Radiofreak »

Sorry for the late reaction but i figured it out, thanks Bernd.

Post Reply