Skip to Content
It is currently February 27th, 2021, 4:41 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Add webhooks
PostPosted: April 27th, 2020, 6:27 pm 
Offline
New User
New User

Joined: April 27th, 2020, 6:15 pm
Posts: 15
Add a feature to emit a webhook to remote database to fire an album art update on song change.

Also, have better http request docs for PAL scripting.


Top
 Profile  
Reply with quote  
 Post subject: Re: Add webhooks
PostPosted: April 28th, 2020, 6:55 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8152
Location: Cologne (Germany)
Hooks (as in call something external to SAM when something happens in the database) is called triggers in SQL and is included in MySQL since version 5.0:
https://dev.mysql.com/doc/refman/8.0/en/triggers.html

What exactly are you missing with regard to the HTTP tools?
Check the PAL Script reference on THttpClient and especially the examples. That should cover almost anything you might want to do with PAL.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group