User Tools

Site Tools


tutorials:using_mairlist_with_ifttt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:using_mairlist_with_ifttt [2016/01/11 09:14] – [Test the Recipe] twtutorials:using_mairlist_with_ifttt [2019/07/09 16:18] (current) – external edit 127.0.0.1
Line 59: Line 59:
 ===== Set Up mAirList ===== ===== Set Up mAirList =====
  
 +The final step is to make mAirList trigger the HTTP POST call when the playlist runs empty during automation.
 +
 +==== Create Script ====
 +
 +At this time, we cannot use HTTP POST calls directly in action lists, so we must create a very simple script first:
 +
 +<code language="pascal">
 +begin
 +  HTTPPost('https://maker.ifttt.com/trigger/playlist_empty/with/key/<key>', '');
 +end.
 +</code>
 +
 +Replace ''<key>'' by your IFTTT Maker Channel key, then save the script as e.g. ''ifttt_playlist_empty.mls''.
 +
 +==== Set Up Action ====
 +
 +Now that we have created the script, we can go to the configuration and add it as an action to the //When playlist runs empty in automation mode// condition:
 +
 +{{ :tutorials:pasted:20160111-102138.png?400 }}
 +
 +{{ :tutorials:pasted:20160111-102239.png?400 }}
 +
 +That's all. Now when the playlist runs empty, mAirList will make a call to IFTTT.
tutorials/using_mairlist_with_ifttt.1452503666.txt.gz · Last modified: 2019/07/09 16:19 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki