Update CinemaxxTrack.json

This commit is contained in:
2001-01-01 00:00:00 +00:00
parent 21959efc53
commit d3a2f1af26

View File

@@ -1,5 +1,5 @@
{
"updatedAt": "2026-01-04T22:53:44.000Z",
"updatedAt": "2026-01-04T23:12:55.000Z",
"createdAt": "2026-01-04T21:51:46.836Z",
"id": "gkgv22mxUGzKIMZj",
"name": "CinemaxxTrack",
@@ -76,7 +76,7 @@
},
{
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nvar showtimes_weekends = [];\nvar today_weekday = $now.setLocale('de').weekdayShort\n\nfor (const item of $input.all()) {\n if (([\"Fr\",\"Sa\",\"So\"]).includes(today_weekday)){\n for (const movie of item.json.movies){\n const alleZeiten = movie.showing\n .map(entry => entry.time.join(\", \")) // Macht aus [\"17:00\", \"20:00\"] -> \"17:00, 20:00\"\n .join(\" | \"); // Verbindet die verschiedenen Gruppen (z.B. 2D und 3D)\n showtimes_weekends.push(\n {\n \"day\": today_weekday,\n \"movie\": movie.name,\n \"time\": alleZeiten\n }\n );\n }\n\n }\n \n}\n\nreturn showtimes_weekends;"
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nvar showtimes_weekends = [];\nvar today_weekday = $now.setLocale('de').weekdayShort;\n\nfor (const item of $input.all()) {\n// if (([\"Fr\",\"Sa\",\"So\"]).includes(today_weekday){\n for (const movie of item.json.movies){\n const alleZeiten = movie.showing\n .map(entry => entry.time.join(\", \")) // Macht aus [\"17:00\", \"20:00\"] -> \"17:00, 20:00\"\n .join(\" | \"); // Verbindet die verschiedenen Gruppen (z.B. 2D und 3D)\n showtimes_weekends.push(\n {\n \"day\": item.json.day,\n \"movie\": movie.name,\n \"time\": alleZeiten,\n \"link\": movie.link\n }\n );\n }\n}\n\nreturn showtimes_weekends;"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
@@ -186,7 +186,7 @@
{
"parameters": {
"chatId": "302560724",
"text": "={{ $json.data }}",
"text": "={{ $input.all().map(item => \n \"Day: \" + item.json.day + \"\\n\" + \n \"Name: \" + item.json.movie + \"\\n\" + \n \"Time: \" + item.json.time + \"\\n\" +\n \"Link: \" + item.json.link + \"\\n\\n\" \n).join('') }}",
"additionalFields": {}
},
"type": "n8n-nodes-base.telegram",
@@ -234,7 +234,7 @@
{
"parameters": {
"chatId": "288081595",
"text": "={{ $json.data }}",
"text": "={{ $input.all().map(item => \n \"Day: \" + item.json.day + \"\\n\" + \n \"Name: \" + item.json.movie + \"\\n\" + \n \"Time: \" + item.json.time + \"\\n\" +\n \"Link: \" + item.json.link + \"\\n\\n\" \n).join('') }}",
"additionalFields": {}
},
"type": "n8n-nodes-base.telegram",
@@ -246,6 +246,7 @@
"id": "978140b7-59b2-433f-8c6d-44d69f05afaf",
"name": "Send a text message2",
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
"executeOnce": true,
"credentials": {
"telegramApi": {
"id": "jGxFCFCy4GyzHcVQ",
@@ -446,193 +447,8 @@
}
},
"meta": null,
"pinData": {
"Code in JavaScript": [
{
"json": {
"day": "So",
"movie": "Anaconda",
"time": "22:40"
}
},
{
"json": {
"day": "So",
"movie": "Kaantha",
"time": "23:10"
}
},
{
"json": {
"day": "So",
"movie": "Billa",
"time": "22:50"
}
},
{
"json": {
"day": "So",
"movie": "Idhayam Murali",
"time": "19:00 | 10:50, 11:30, 13:00, 15:00, 17:30, 20:30, 22:00 | 16:00"
}
},
{
"json": {
"day": "So",
"movie": "Zootopia 2",
"time": "11:00, 13:50, 17:30, 19:30, 22:20"
}
},
{
"json": {
"day": "So",
"movie": "The SpongeBob Movie: Search for SquarePants",
"time": "10:40, 12:50, 15:10, 16:40"
}
},
{
"json": {
"day": "So",
"movie": "Anaconda",
"time": "17:20, 20:20, 23:00"
}
},
{
"json": {
"day": "So",
"movie": "Stromberg Wieder alles wie immer",
"time": "20:00"
}
},
{
"json": {
"day": "So",
"movie": "Checker Tobi 3 - Die heimliche Herrscherin der Erde",
"time": "14:40"
}
},
{
"json": {
"day": "So",
"movie": "Wicked: For Good",
"time": "11:20"
}
},
{
"json": {
"day": "So",
"movie": "Five Nights at Freddy's 2",
"time": "23:10"
}
},
{
"json": {
"day": "So",
"movie": "A PAW Patrol Christmas",
"time": "10:30"
}
},
{
"json": {
"day": "So",
"movie": "Now You See Me: Now You Don't",
"time": "22:40"
}
},
{
"json": {
"day": "So",
"movie": "Avatar: Fire and Ash",
"time": "19:00 | 10:10, 11:00, 13:00, 14:30, 15:30, 17:30, 20:00"
}
},
{
"json": {
"day": "So",
"movie": "Zootopia 2",
"time": "10:20, 10:50, 13:40, 15:40, 17:40"
}
},
{
"json": {
"day": "So",
"movie": "The SpongeBob Movie: Search for SquarePants",
"time": "10:30, 12:40, 15:10, 16:30"
}
},
{
"json": {
"day": "So",
"movie": "Anaconda",
"time": "18:30, 20:30"
}
},
{
"json": {
"day": "So",
"movie": "Checker Tobi 3 - Die heimliche Herrscherin der Erde",
"time": "13:10"
}
},
{
"json": {
"day": "So",
"movie": "Wicked: For Good",
"time": "19:10"
}
},
{
"json": {
"day": "So",
"movie": "A PAW Patrol Christmas",
"time": "10:30"
}
},
{
"json": {
"day": "So",
"movie": "Avatar: Fire and Ash",
"time": "19:20 | 13:00, 13:50, 15:30, 17:30 | 20:00"
}
},
{
"json": {
"day": "So",
"movie": "Zootopia 2",
"time": "13:10, 15:00, 16:00, 18:20"
}
},
{
"json": {
"day": "So",
"movie": "The SpongeBob Movie: Search for SquarePants",
"time": "13:10, 16:50, 18:50"
}
},
{
"json": {
"day": "So",
"movie": "Anaconda",
"time": "17:50, 20:30, 21:20"
}
},
{
"json": {
"day": "So",
"movie": "Stromberg Wieder alles wie immer",
"time": "21:10"
}
},
{
"json": {
"day": "So",
"movie": "Checker Tobi 3 - Die heimliche Herrscherin der Erde",
"time": "14:20"
}
}
]
},
"versionId": "afed6ca9-9ba9-458c-8adf-17bb9d218f54",
"pinData": {},
"versionId": "5991048e-61fe-485c-a672-9219fa9ffc7e",
"triggerCount": 1,
"shared": [
{