kiosko-plugin-events 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -14,6 +14,14 @@ The events this plugin shows come from:
14
14
  "Kulturklik · Turismo Euskadi · Open Data Euskadi". The pictures of
15
15
  Kulturklik's events are served from opendata.euskadi.eus with the events.
16
16
 
17
+ - The agenda of the Ayuntamiento de Murcia (https://eventos.murcia.es), through
18
+ the iCalendar feeds it publishes for use from other applications
19
+ (https://eventos.murcia.es/kml.html), and the description its events' pages
20
+ give search engines (schema.org JSON-LD), for their pictures and prices.
21
+ Its licence could not be checked (the site's legal page needs JavaScript);
22
+ the widgets credit it as "Ayuntamiento de Murcia (eventos.murcia.es)". The
23
+ pictures are served from eventos.murcia.es with the events.
24
+
17
25
  - Ticketmaster's Discovery API (https://developer.ticketmaster.com), only
18
26
  with a key of the user's own, under its terms of use
19
27
  (https://developer.ticketmaster.com/support/terms-of-use/). Event content
@@ -29,6 +37,12 @@ data:
29
37
  euskadi-tourism-agenda.json: answers of the Kulturklik API and the tourism
30
38
  agenda recorded on 4 December 2026 (scripts/capture.ts), trimmed to their
31
39
  first 30 events. CC BY 4.0, Basque Government / Open Data Euskadi.
40
+ - murcia-upcoming.ics, murcia-musica.ics, murcia-teatro.ics and
41
+ murcia-exposiciones.ics: feeds of the Ayuntamiento de Murcia's agenda
42
+ (eventos.murcia.es) saved on 5 December 2026, trimmed to a few events each.
43
+ murcia-event-162370.html: one event's page, trimmed to its head and its
44
+ JSON-LD; its inline data, which carries the organiser's contact, is
45
+ replaced by made-up values. The Ayuntamiento de Murcia's data.
32
46
  - ticketmaster-docs-events.json and ticketmaster-docs-event.json: the example
33
47
  answers of Ticketmaster's Discovery API v2 documentation
34
48
  (https://developer.ticketmaster.com/products-and-docs/apis/discovery-api/v2/),
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # kiosko-plugin-events
2
2
 
3
- What's on around you, on the panel: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when one announces a date near you or its tickets go on sale. From the Basque Country's open agendas ([Kulturklik](https://www.kulturklik.euskadi.eus) and Euskadi's tourism agenda, through [Open Data Euskadi](https://opendata.euskadi.eus), no key) and, anywhere, from [Ticketmaster](https://developer.ticketmaster.com) with a free key of your own.
3
+ What's on around you, on the panel: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when one announces a date near you or its tickets go on sale. From the Basque Country's open agendas ([Kulturklik](https://www.kulturklik.euskadi.eus) and Euskadi's tourism agenda, through [Open Data Euskadi](https://opendata.euskadi.eus)) and the [Ayuntamiento de Murcia's agenda](https://eventos.murcia.es), with no key, and, anywhere, from [Ticketmaster](https://developer.ticketmaster.com) with a free key of your own.
4
4
 
5
5
  A plugin for [Kiosko](https://github.com/kiosko-lcd/kiosko), the widget mosaic for small USB LCD panels.
6
6
 
@@ -23,11 +23,12 @@ Then **New page → Agenda** puts the three widgets together.
23
23
  Your place in **Settings**. Around it, in **Settings → Data sources → Events**: how far (25 km by default), how many days ahead (14), what kinds of events, and the artists and shows you follow.
24
24
 
25
25
  - **Basque Country and Navarre** (and the French Basque Country): nothing to sign up for. Kulturklik has the concerts, theatre, dance, exhibitions, films and children's shows of the whole region, in Spanish and Basque; the tourism agenda adds the fiestas, fairs and big festivals.
26
- - **Anywhere else**, or for more concerts and **ticket sale dates** here too: a free key from [developer.ticketmaster.com](https://developer.ticketmaster.com) (sign up, create an app, copy its *Consumer Key*) in the source's **Ticketmaster key** field. Without it, outside the Basque Country the widgets say so.
26
+ - **Murcia** (the municipality, its pedanías, and around it: Molina de Segura is 10 km from the centre): nothing to sign up for either. The city council's agenda has the concerts, plays, exhibitions, children's shows, talks and fiestas of the municipality, in Spanish. Its events come without a place of their own, so they are all placed at the city centre: the distance shown is to it, and "how far" counts from it.
27
+ - **Anywhere else**, or for more concerts and **ticket sale dates** here too: a free key from [developer.ticketmaster.com](https://developer.ticketmaster.com) (sign up, create an app, copy its *Consumer Key*) in the source's **Ticketmaster key** field. Without it, outside the Basque Country and Murcia the widgets say so.
27
28
 
28
29
  ## What it does on your machine
29
30
 
30
- - **Internet**: `api.euskadi.eus` (Kulturklik), `opendata.euskadi.eus` (the tourism agenda and Kulturklik's pictures), `app.ticketmaster.com` (only with your key) and `s1.ticketm.net` (Ticketmaster's pictures). Nothing else; never your place's name, only its coordinates to Ticketmaster (rounded to about 150 m) and the province to Kulturklik.
31
+ - **Internet**: `api.euskadi.eus` (Kulturklik), `opendata.euskadi.eus` (the tourism agenda and Kulturklik's pictures), `eventos.murcia.es` (Murcia's agenda: its calendar feeds, a few events' pages for their pictures, and the pictures), `app.ticketmaster.com` (only with your key) and `s1.ticketm.net` (Ticketmaster's pictures). Each is only asked where it has events. Nothing else; never your place's name, only its coordinates to Ticketmaster (rounded to about 150 m) and the province to Kulturklik; Murcia's agenda is asked the same whoever asks.
31
32
  - **Files**: what it got, in its cache folder (RAM), so a restart asks nothing that isn't due; and which dates of your artists it has already seen (`seen.json` in its data folder), so it tells you only about new ones.
32
33
  - **Your Ticketmaster key** is a secret field: masked in the editor, never logged, never in an error.
33
34
 
@@ -67,7 +68,7 @@ They come while a widget of the plugin is on an enabled screen. To have them **w
67
68
 
68
69
  ## Data source
69
70
 
70
- `events/agenda`, read every half hour, but each question is only asked again when it is due: **Kulturklik every 12 hours** (the provinces your circle reaches, up to six pages of 100 events each), **the tourism agenda once a day** (and only downloaded if it changed: `If-Modified-Since`), **Ticketmaster every 6 hours**; **each artist** you follow every 12 hours at each source that searches by name, a dozen names at most per read. After a failure, half an hour, or what the service says (`Retry-After`), showing the last good events meanwhile. A change of place, distance, days or kinds is asked at once.
71
+ `events/agenda`, read every half hour, but each question is only asked again when it is due: **Kulturklik every 12 hours** (the provinces your circle reaches, up to six pages of 100 events each), **the tourism agenda once a day** (and only downloaded if it changed: `If-Modified-Since`), **Murcia's agenda every 6 hours** (see below), **Ticketmaster every 6 hours**; **each artist** you follow every 12 hours at each source that searches by name, a dozen names at most per read. After a failure, half an hour, or what the service says (`Retry-After`), showing the last good events meanwhile. A change of place, distance, days or kinds is asked at once.
71
72
 
72
73
  | Option | |
73
74
  |---|---|
@@ -78,19 +79,29 @@ They come while a widget of the plugin is on an enabled screen. To have them **w
78
79
  | Your artists: how far you would travel | 400 km; 0 for anywhere. |
79
80
  | Ticketmaster key | Optional, secret. |
80
81
  | Event texts in | Spanish or Basque, by Kiosko's language by default (advanced). |
81
- | Sources | Kulturklik, the tourism agenda, Ticketmaster (advanced). |
82
+ | Sources | Kulturklik, the tourism agenda, Murcia's agenda, Ticketmaster (advanced). |
82
83
 
83
84
  The same event in two sources (a concert on Kulturklik and Ticketmaster) is shown once, with the facts of both: the same day, a start within an hour and a half, titles that share most of their words, and the same venue or town.
84
85
 
86
+ ### Murcia's agenda
87
+
88
+ [eventos.murcia.es](https://eventos.murcia.es) publishes iCalendar feeds "para que puedas utilizarlos desde aplicaciones externas" (its [`/kml.html`](https://eventos.murcia.es/kml.html) page), one per category, and its `robots.txt` allows them. The plugin asks a dozen of them, those of the kinds you look for (Música; Teatro and Humor; Danza; Exposiciones; Infantil; Festivales and Festejos; Cine; Conferencia; Mercadillo; Deportes), **one after another**, and, when you look for everything, the next fifty events of every kind as well (visits, workshops…, as *Other*). Each feed lists its category's coming events padded up to fifty with recent past ones: only what hasn't ended is kept, an exhibition still open included. An event in two feeds is shown once, of the most telling kind (for children before theatre, a concert before the fiesta it is part of, *Exhibitions* last). Its times come in UTC and are shown at Murcia's.
89
+
90
+ The feeds have no pictures: the plugin reads them from the events' own pages, from the description they carry for search engines (schema.org's `Event`, in JSON-LD) and **nothing else of the page** (whose scripts also carry the organiser's contact). Up to five pages a read, the soonest events first, each asked once (remembered across restarts with the rest of the agenda): **15 requests a read at most**, every 6 hours, so the spotlight gets its pictures over the first reads. A price is taken only when a line of that description says it plainly ("Precio: 25/35/45 €", "Entrada libre hasta completar aforo"); the Christmas programme's descriptions list the other activities of the day with their own prices, so a price in the middle of a line is left alone, and many events show none.
91
+
92
+ A feed that fails doesn't take the others: the plugin shows what that feed gave last time (while it runs) and logs it; only when every feed fails does the widget say the agenda can't be reached. Not used: Molina de Segura's agenda (its legal notice doesn't allow reuse without permission) and Cartagena's.
93
+
85
94
  ## Tested against
86
95
 
87
96
  - **The real Kulturklik API and tourism agenda** on 4 December 2026: Bizkaia's upcoming events, a search by name and the whole tourism agenda. Their answers are recorded in `src/fixtures` (`scripts/capture.ts`, six requests) and the tests read them.
88
97
  - **Ticketmaster: not against the real API.** Without a key, its tests read the examples of its documentation (`src/fixtures/ticketmaster-docs-*.json`) and the fields it documents (sale dates, presales, cancellations). The first time it runs with a real key, check that **Your artists** shows the sale dates.
98
+ - **Murcia's real agenda** on 5 December 2026: one read as the plugin does it, everything asked (twelve feeds, the next fifty and two events' pages: 15 requests, one after another, with the plugin's User-Agent). 123 events not over yet, through May 2027; 63 in the next 14 days: concerts, plays, children's shows, dance, exhibitions, talks, sport, and the next fifty's visits and workshops. The two pages gave their pictures (JPEG, 460 × 200, decoded by the canvas) and one a price ("Actividad gratuita"); another's "Acceso libre" was the description's list of the day's other activities, which is why prices are only read from the start of a line. Recorded feeds and a page, trimmed, are in `src/fixtures` (`murcia-*`), saved by hand; the page's own inline data, which carries the organiser's contact, is replaced there by made-up values. **Not tried in a Kiosko sandbox**: What's on and the spotlight were painted from that read in the tests' renderer, not on a panel.
89
99
  - **A Kiosko 0.2.28 sandbox** with Bilbao as the place: the three widgets painted from Kulturklik's and the tourism agenda's live answers, two artists followed (their searches answered 23 and 8 dates), the spotlight's pictures downloaded, and a *New date* alert raised for a date the plugin hadn't seen.
90
100
 
91
101
  ## Credits and licences
92
102
 
93
103
  - **Kulturklik** and **Euskadi's tourism agenda** are open data of the Basque Government, published on [Open Data Euskadi](https://opendata.euskadi.eus) under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). The widgets credit them ("Kulturklik · Turismo Euskadi · Open Data Euskadi") under the rows when there is room.
104
+ - **Murcia's agenda** belongs to the Ayuntamiento de Murcia, which publishes its calendar feeds for use from other applications ([eventos.murcia.es/kml.html](https://eventos.murcia.es/kml.html)). **Its licence could not be checked**: the site's legal page needs JavaScript to show anything, and no open-data licence is stated next to the feeds. The plugin credits it as "Ayuntamiento de Murcia (eventos.murcia.es)" ("Ayto. de Murcia" on a narrow tile), asks it a few times a day and keeps nothing longer than the agenda needs (its cache, in RAM). If the Ayuntamiento asks for something else, it will be done.
94
105
  - **Ticketmaster**: event content is its organisers' and Ticketmaster's, used through the [Discovery API](https://developer.ticketmaster.com/products-and-docs/apis/discovery-api/v2/) under its [terms of use](https://developer.ticketmaster.com/support/terms-of-use/), with your own key; credited as "Ticketmaster" on what comes from it, and kept only as long as it is shown (hours).
95
106
 
96
107
  ## Development
package/dist/index.js CHANGED
@@ -60,6 +60,11 @@ function instantOf(day2, time, tz) {
60
60
  return new Date(y, m - 1, d, hh, mm).getTime();
61
61
  }
62
62
  }
63
+ function localIn(at2, tz) {
64
+ const parts = dateFormat("en-US", { timeZone: tz, hourCycle: "h23", year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit" }).formatToParts(new Date(at2));
65
+ const v = (t6) => parts.find((p) => p.type === t6)?.value ?? "00";
66
+ return { day: `${v("year")}-${v("month")}-${v("day")}`, time: `${v("hour")}:${v("minute")}` };
67
+ }
63
68
  var isDay = (s) => typeof s === "string" && /^\d{4}-\d{2}-\d{2}$/.test(s);
64
69
  function weekendOf(now) {
65
70
  const today = dayOf(now);
@@ -71,11 +76,11 @@ function weekendOf(now) {
71
76
  function dayLabel(day2, locale, o = {}) {
72
77
  const [y, m, d] = day2.split("-").map(Number);
73
78
  const at2 = new Date(Date.UTC(y, m - 1, d, 12));
74
- const opts = { timeZone: "UTC", day: "numeric", ...o.month !== false ? { month: "short" } : {}, ...o.weekday !== false ? { weekday: "short" } : {} };
79
+ const opts2 = { timeZone: "UTC", day: "numeric", ...o.month !== false ? { month: "short" } : {}, ...o.weekday !== false ? { weekday: "short" } : {} };
75
80
  try {
76
- return dateFormat(locale, opts).format(at2).replace(/\.(?=\s|,|$)/g, "");
81
+ return dateFormat(locale, opts2).format(at2).replace(/\.(?=\s|,|$)/g, "");
77
82
  } catch {
78
- return dateFormat("en", opts).format(at2);
83
+ return dateFormat("en", opts2).format(at2);
79
84
  }
80
85
  }
81
86
  function weekdayLabel(day2, locale) {
@@ -92,9 +97,9 @@ function dayRange(from, to, locale) {
92
97
  const [y, m, d] = day2.split("-").map(Number);
93
98
  return new Date(Date.UTC(y, m - 1, d, 12));
94
99
  };
95
- const opts = { timeZone: "UTC", weekday: "short", day: "numeric", month: "short" };
100
+ const opts2 = { timeZone: "UTC", weekday: "short", day: "numeric", month: "short" };
96
101
  try {
97
- return dateFormat(locale, opts).formatRange(utc(from), utc(to)).replace(/\.(?=\s|,|$)/g, "");
102
+ return dateFormat(locale, opts2).formatRange(utc(from), utc(to)).replace(/\.(?=\s|,|$)/g, "");
98
103
  } catch {
99
104
  return `${dayLabel(from, locale)} \u2013 ${dayLabel(to, locale)}`;
100
105
  }
@@ -315,7 +320,7 @@ function parseTime(text) {
315
320
 
316
321
  // src/types.ts
317
322
  var CATEGORIES = ["concert", "theatre", "dance", "exhibition", "kids", "festival", "film", "talk", "fair", "sport", "other"];
318
- var PROVIDER_IDS = ["kulturklik", "euskadi", "ticketmaster"];
323
+ var PROVIDER_IDS = ["kulturklik", "euskadi", "murcia", "ticketmaster"];
319
324
 
320
325
  // src/categories.ts
321
326
  var CATEGORY_NAMES = {
@@ -607,9 +612,280 @@ var kulturklik = {
607
612
  }
608
613
  };
609
614
 
615
+ // src/providers/murcia.ts
616
+ import { HttpError as HttpError2 } from "@kiosko/sdk";
617
+
618
+ // src/ics.ts
619
+ function unfold(text) {
620
+ return text.replace(/\r\n?/g, "\n").replace(/\n[ \t]/g, "").split("\n");
621
+ }
622
+ var unescapeText = (s) => s.replace(/\\([\\;,nN])/g, (_, c) => c === "n" || c === "N" ? "\n" : c);
623
+ function contentLine(line) {
624
+ const head = /^([A-Za-z0-9-]+)/.exec(line);
625
+ if (!head) return void 0;
626
+ const params = {};
627
+ let i = head[1].length;
628
+ while (line[i] === ";") {
629
+ const p = /^;([A-Za-z0-9-]+)=("[^"]*"|[^";:]*)/.exec(line.slice(i));
630
+ if (!p) return void 0;
631
+ params[p[1].toUpperCase()] = p[2].replace(/^"|"$/g, "");
632
+ i += p[0].length;
633
+ }
634
+ if (line[i] !== ":") return void 0;
635
+ return { name: head[1].toUpperCase(), prop: { value: line.slice(i + 1), params } };
636
+ }
637
+ function parseCalendar(text) {
638
+ const lines = unfold(text);
639
+ if (!lines.some((l) => /^BEGIN:VCALENDAR\s*$/i.test(l))) return void 0;
640
+ const out = [];
641
+ let ev = null;
642
+ let inner = 0;
643
+ for (const line of lines) {
644
+ const c = contentLine(line);
645
+ if (!c) continue;
646
+ const v = c.prop.value.trim().toUpperCase();
647
+ if (c.name === "BEGIN") {
648
+ if (v === "VEVENT" && !ev) ev = {};
649
+ else if (ev) inner++;
650
+ } else if (c.name === "END") {
651
+ if (ev && inner) inner--;
652
+ else if (ev && v === "VEVENT") {
653
+ out.push(ev);
654
+ ev = null;
655
+ }
656
+ } else if (ev && !inner && !ev[c.name]) ev[c.name] = c.prop;
657
+ }
658
+ return out;
659
+ }
660
+ function icsTime(p, tz) {
661
+ const s = p?.value.trim() ?? "";
662
+ const m = /^(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})?(Z)?)?$/.exec(s);
663
+ if (!m) return void 0;
664
+ const day2 = `${m[1]}-${m[2]}-${m[3]}`;
665
+ const [mo, d] = [Number(m[2]), Number(m[3])];
666
+ if (!isDay(day2) || mo < 1 || mo > 12 || d < 1 || d > 31) return void 0;
667
+ if (m[4] === void 0 || p?.params.VALUE?.toUpperCase() === "DATE") return { day: day2, at: instantOf(day2, void 0, tz) };
668
+ const [h, min] = [Number(m[4]), Number(m[5])];
669
+ if (h > 23 || min > 59) return void 0;
670
+ const time = `${m[4]}:${m[5]}`;
671
+ const at2 = m[7] ? Date.UTC(Number(m[1]), mo - 1, d, h, min, Number(m[6] ?? 0)) : instantOf(day2, time, p?.params.TZID || tz);
672
+ return Number.isFinite(at2) ? { ...localIn(at2, tz), at: at2 } : void 0;
673
+ }
674
+
675
+ // src/providers/murcia.ts
676
+ var MURCIA_SITE = "https://eventos.murcia.es";
677
+ var HOST = "eventos.murcia.es";
678
+ var IMAGE_HOSTS2 = [HOST];
679
+ var TZ = "Europe/Madrid";
680
+ var MURCIA_CENTRE = { latitude: 37.9922, longitude: -1.1307 };
681
+ var MUNICIPALITY = [37.8, -1.37, 38.07, -0.92];
682
+ var feed = (id, slug, name, category) => ({ id, name, category, url: `${MURCIA_SITE}/ics/category/${id}/95/${slug}.ics` });
683
+ var FEEDS = [
684
+ feed(39, "musica-general", "M\xFAsica", "concert"),
685
+ feed(45, "teatro-general", "Teatro", "theatre"),
686
+ feed(65, "humor-general", "Humor", "theatre"),
687
+ feed(81, "danza-general", "Danza", "dance"),
688
+ feed(1, "exposiciones", "Exposiciones", "exhibition"),
689
+ feed(55, "infantil-general", "Infantil", "kids"),
690
+ feed(4, "festivales-general", "Festivales", "festival"),
691
+ feed(156, "festejos", "Festejos", "festival"),
692
+ feed(67, "cine-general", "Cine", "film"),
693
+ feed(87, "conferencia-general", "Conferencia", "talk"),
694
+ feed(109, "mercadillo-general", "Mercadillo", "fair"),
695
+ feed(11, "deportes-general", "Deportes", "sport")
696
+ ];
697
+ var UPCOMING = { id: 0, name: "Pr\xF3ximos", category: "other", url: `${MURCIA_SITE}/ics/location/espana/lo-1.ics` };
698
+ var KIND_ORDER = ["kids", "film", "dance", "concert", "theatre", "talk", "sport", "fair", "festival", "exhibition", "other"];
699
+ var MAX_REQUESTS = 15;
700
+ var PAGES_PER_READ = 5;
701
+ var KEEP_DETAILS = 500;
702
+ var FEED_BYTES = 2 * 1024 * 1024;
703
+ var PAGE_BYTES = 1024 * 1024;
704
+ function feedsFor(categories) {
705
+ const all = !categories.length || categories.includes("other");
706
+ return [...FEEDS.filter((f) => all || categories.includes(f.category)), ...all ? [UPCOMING] : []];
707
+ }
708
+ function idOf(ev) {
709
+ return /-(\d+)@eventos\.murcia\.es\s*$/i.exec(ev.UID?.value ?? "")?.[1] ?? /eventos\.murcia\.es\/event_detail\/(\d+)/i.exec(ev.DESCRIPTION?.value ?? "")?.[1];
710
+ }
711
+ function venueOf(location) {
712
+ const first = plain(location?.split(",")[0]);
713
+ return first && !["murcia", "espana", "region de murcia"].includes(norm(first)) ? first : void 0;
714
+ }
715
+ function unquote(title) {
716
+ const m = /^(['‘’"“”«])([^'‘’"“”«»]+)(['‘’"“”»])$/.exec(title);
717
+ return m ? m[2].trim() : title;
718
+ }
719
+ function parseMurciaEvent(ev, category) {
720
+ const id = idOf(ev);
721
+ const start = icsTime(ev.DTSTART, TZ);
722
+ const named = cancellation(unquote(plain(unescapeText(ev.SUMMARY?.value ?? ""))));
723
+ if (!id || !start || !named.title) return void 0;
724
+ const raw = icsTime(ev.DTEND, TZ);
725
+ const end = raw && raw.at >= start.at ? raw : void 0;
726
+ const last2 = end && (!end.time || end.time === "00:00") && end.day > start.day ? addDays(end.day, -1) : end?.day;
727
+ const endsAt = end?.at ?? (start.time ? start.at : instantOf(addDays(start.day, 1), void 0, TZ));
728
+ const venue = venueOf(unescapeText(ev.LOCATION?.value ?? ""));
729
+ const status = ev.STATUS?.value.trim().toUpperCase();
730
+ return {
731
+ endsAt,
732
+ event: {
733
+ id,
734
+ provider: "murcia",
735
+ title: { es: named.title },
736
+ category,
737
+ date: start.day,
738
+ ...start.time ? { time: start.time, startsAt: start.at } : {},
739
+ ...last2 && last2 > start.day ? { endDate: last2 } : {},
740
+ tz: TZ,
741
+ ...venue ? { venue: { es: venue } } : {},
742
+ town: { es: "Murcia" },
743
+ ...MURCIA_CENTRE,
744
+ ...named.cancelled || status === "CANCELLED" ? { cancelled: true } : {},
745
+ ...named.postponed ? { postponed: true } : {}
746
+ }
747
+ };
748
+ }
749
+ function parseMurciaCalendar(text, category, now) {
750
+ const events = parseCalendar(text);
751
+ if (!events) throw new Error(`not a calendar from ${HOST}`);
752
+ return events.map((ev) => parseMurciaEvent(ev, category)).filter((x) => !!x && x.endsAt >= now).map((x) => x.event);
753
+ }
754
+ var rank = (c) => KIND_ORDER.indexOf(c);
755
+ var startOf = (e) => e.startsAt ?? instantOf(e.date, void 0, TZ);
756
+ function mergeFeeds(lists) {
757
+ const byKey = /* @__PURE__ */ new Map();
758
+ for (const e of lists.flat()) {
759
+ const key = `${e.id}|${startOf(e)}`;
760
+ const was = byKey.get(key);
761
+ if (!was) byKey.set(key, e);
762
+ else byKey.set(key, { ...was, ...rank(e.category) < rank(was.category) ? { category: e.category } : {}, ...e.cancelled ? { cancelled: true } : {} });
763
+ }
764
+ const seen2 = /* @__PURE__ */ new Set();
765
+ return [...byKey.values()].sort((a, b) => startOf(a) - startOf(b) || a.id.localeCompare(b.id)).map((e) => {
766
+ if (seen2.has(e.id)) return { ...e, id: `${e.id}@${startOf(e)}` };
767
+ seen2.add(e.id);
768
+ return e;
769
+ });
770
+ }
771
+ var pageUrl = (id) => `${MURCIA_SITE}/${encodeURIComponent(id.split("@")[0])}.html`;
772
+ var FREE_LINE = /^(?:la |el )?(?:entrada|entradas|acceso|actividad|actividades|asistencia|inscripcion|participacion|visita|visitas)(?: es| son)? (?:libre|libres|gratuit[ao]s?)\b|^(?:gratis|gratuit[ao])$/;
773
+ function priceOfText(text) {
774
+ if (!text) return void 0;
775
+ for (const raw of text.split(/\n|<br\s*\/?>|<\/p>/i)) {
776
+ const line = plain(raw);
777
+ const m = /^(?:precios?|entradas?|tarifas?|localidades)\b[^:]{0,30}:\s*(.+)$/i.exec(line);
778
+ const p = m ? parsePrice(m[1].split(new RegExp("\\.\\s+(?=\\p{Lu})", "u"))[0]) : FREE_LINE.test(norm(line)) ? { free: true } : void 0;
779
+ if (p) return p;
780
+ }
781
+ return void 0;
782
+ }
783
+ var asList = (v) => Array.isArray(v) ? v : v === void 0 || v === null ? [] : [v];
784
+ var isEvent = (o) => asList(o["@type"]).some((t6) => typeof t6 === "string" && /Event$/.test(t6));
785
+ function things(v, depth = 0) {
786
+ if (depth > 3) return [];
787
+ if (Array.isArray(v)) return v.flatMap((x) => things(x, depth + 1));
788
+ if (!v || typeof v !== "object") return [];
789
+ const o = v;
790
+ return [o, ...things(o["@graph"], depth + 1)];
791
+ }
792
+ function parseEventPage(html) {
793
+ for (const m of html.matchAll(/<script\b[^>]*\btype\s*=\s*["']application\/ld\+json["'][^>]*>([\s\S]*?)<\/script>/gi)) {
794
+ let data;
795
+ try {
796
+ data = JSON.parse(m[1]);
797
+ } catch {
798
+ try {
799
+ data = JSON.parse(m[1].replace(/[\u0000-\u001f]+/g, " "));
800
+ } catch {
801
+ continue;
802
+ }
803
+ }
804
+ const ev = things(data).find(isEvent);
805
+ if (!ev) continue;
806
+ const pictures = asList(ev.image).map((i) => typeof i === "string" ? i : typeof i?.url === "string" ? i.url : void 0);
807
+ const image = pictures.map((u) => imageHostOk(u, IMAGE_HOSTS2)).find(Boolean);
808
+ const offer = asList(ev.offers)[0];
809
+ const amount = typeof offer?.price === "number" ? offer.price : typeof offer?.price === "string" ? Number(offer.price.replace(",", ".")) : Number.NaN;
810
+ const price = ev.isAccessibleForFree === true || amount === 0 ? { free: true } : Number.isFinite(amount) && amount > 0 ? { min: amount, max: amount, currency: typeof offer?.priceCurrency === "string" ? offer.priceCurrency : "EUR" } : priceOfText(typeof ev.description === "string" ? ev.description : void 0);
811
+ return { ...image ? { image } : {}, ...price ? { price } : {} };
812
+ }
813
+ return {};
814
+ }
815
+ var details = /* @__PURE__ */ new Map();
816
+ var lastGood = /* @__PURE__ */ new Map();
817
+ function remember(id, d) {
818
+ details.delete(id);
819
+ details.set(id, d);
820
+ while (details.size > KEEP_DETAILS) details.delete(details.keys().next().value);
821
+ }
822
+ var errorText = (err) => (err instanceof Error ? err.message : String(err)).slice(0, 200);
823
+ var opts = (signal) => signal ? { signal } : {};
824
+ async function lookUp(http, events, max, ask) {
825
+ const today = instantOf(dayOf(ask.now), void 0, TZ);
826
+ const order = (e) => startOf(e) >= today ? startOf(e) : Number.MAX_SAFE_INTEGER;
827
+ const todo = [...new Set(events.filter((e) => !e.cancelled && !details.has(e.id.split("@")[0])).sort((a, b) => order(a) - order(b)).map((e) => e.id.split("@")[0]))];
828
+ for (const id of todo.slice(0, Math.max(0, max))) {
829
+ if (ask.signal?.aborted) break;
830
+ try {
831
+ const { data } = await http.text(pageUrl(id), { noCache: true, headers: { Accept: "text/html" }, maxBytes: PAGE_BYTES, ...opts(ask.signal) });
832
+ remember(id, parseEventPage(data));
833
+ } catch (err) {
834
+ ask.log?.(`murcia: page of ${id}: ${errorText(err)}`);
835
+ if (err instanceof HttpError2 && err.retryAt) break;
836
+ if (err instanceof HttpError2 && err.status === 404) remember(id, {});
837
+ }
838
+ }
839
+ }
840
+ var murcia = {
841
+ id: "murcia",
842
+ credit: "Ayuntamiento de Murcia (eventos.murcia.es)",
843
+ short: "eventos.murcia.es",
844
+ hosts: [HOST],
845
+ imageHosts: IMAGE_HOSTS2,
846
+ agendaMs: 6 * 36e5,
847
+ // Its events are placed at the centre: asked when the circle reaches it, and from anywhere in the municipality (its farthest pedanías are 20-odd km out).
848
+ covers: (place, radiusKm) => km(place, MURCIA_CENTRE) <= radiusKm || reaches(place, 0, MUNICIPALITY),
849
+ async agenda(http, ask) {
850
+ for (const e of ask.previous ?? []) {
851
+ const id = e.id.split("@")[0];
852
+ if (e.provider === "murcia" && (e.image || e.price) && !details.has(id)) remember(id, { ...e.image ? { image: e.image } : {}, ...e.price ? { price: e.price } : {} });
853
+ }
854
+ const feeds = feedsFor(ask.categories);
855
+ const lists = [];
856
+ let answered = 0;
857
+ let asked = 0;
858
+ let failure;
859
+ for (const f of feeds) {
860
+ if (ask.signal?.aborted) break;
861
+ asked++;
862
+ try {
863
+ const { data } = await http.text(f.url, { headers: { Accept: "text/calendar" }, maxBytes: FEED_BYTES, ...opts(ask.signal) });
864
+ const events2 = parseMurciaCalendar(data, f.category, ask.now);
865
+ lastGood.set(f.url, events2);
866
+ lists.push(events2);
867
+ answered++;
868
+ } catch (err) {
869
+ failure ??= err;
870
+ ask.log?.(`murcia: ${f.name}: ${errorText(err)}`);
871
+ const was = lastGood.get(f.url);
872
+ if (was) lists.push(was);
873
+ if (err instanceof HttpError2 && err.retryAt) break;
874
+ }
875
+ }
876
+ if (!answered) throw failure ?? new Error(`${HOST}: no feed asked`);
877
+ const events = mergeFeeds(lists).filter((e) => e.date <= ask.to && (e.endDate ?? e.date) >= ask.from);
878
+ await lookUp(http, events, Math.min(PAGES_PER_READ, MAX_REQUESTS - asked), ask);
879
+ return events.map((e) => {
880
+ const d = details.get(e.id.split("@")[0]);
881
+ return d ? { ...e, ...d.image ? { image: d.image } : {}, ...d.price ? { price: d.price } : {} } : e;
882
+ });
883
+ }
884
+ };
885
+
610
886
  // src/providers/ticketmaster.ts
611
887
  var TICKETMASTER_API = "https://app.ticketmaster.com/discovery/v2";
612
- var IMAGE_HOSTS2 = ["s1.ticketm.net"];
888
+ var IMAGE_HOSTS3 = ["s1.ticketm.net"];
613
889
  function pickImage(images) {
614
890
  const ok = (images ?? []).filter((i) => i.url && !i.fallback && (i.ratio === "16_9" || i.ratio === "3_2"));
615
891
  if (!ok.length) return void 0;
@@ -618,7 +894,7 @@ function pickImage(images) {
618
894
  try {
619
895
  const u = new URL(best.url);
620
896
  u.protocol = "https:";
621
- return IMAGE_HOSTS2.includes(u.host) ? u.href : void 0;
897
+ return IMAGE_HOSTS3.includes(u.host) ? u.href : void 0;
622
898
  } catch {
623
899
  return void 0;
624
900
  }
@@ -699,8 +975,8 @@ var ticketmaster = {
699
975
  id: "ticketmaster",
700
976
  credit: "Ticketmaster",
701
977
  short: "Ticketmaster",
702
- hosts: ["app.ticketmaster.com", ...IMAGE_HOSTS2],
703
- imageHosts: IMAGE_HOSTS2,
978
+ hosts: ["app.ticketmaster.com", ...IMAGE_HOSTS3],
979
+ imageHosts: IMAGE_HOSTS3,
704
980
  needsKey: true,
705
981
  agendaMs: 6 * 36e5,
706
982
  // Wherever it sells; it answers with nothing where it doesn't.
@@ -726,10 +1002,10 @@ var ticketmaster = {
726
1002
  };
727
1003
 
728
1004
  // src/providers/index.ts
729
- var PROVIDERS = { kulturklik, euskadi, ticketmaster };
1005
+ var PROVIDERS = { kulturklik, euskadi, murcia, ticketmaster };
730
1006
  var HOSTS = [...new Set(Object.values(PROVIDERS).flatMap((p) => p.hosts))];
731
- var IMAGE_HOSTS3 = [...new Set(Object.values(PROVIDERS).flatMap((p) => p.imageHosts))];
732
- var PRIORITY = ["kulturklik", "ticketmaster", "euskadi"];
1007
+ var IMAGE_HOSTS4 = [...new Set(Object.values(PROVIDERS).flatMap((p) => p.imageHosts))];
1008
+ var PRIORITY = ["kulturklik", "murcia", "ticketmaster", "euskadi"];
733
1009
 
734
1010
  // src/draw.ts
735
1011
  var intlLocale = (locale) => locale === "zh-Hant" ? "zh-TW" : locale === "zh-Hans" ? "zh-CN" : locale;
@@ -934,10 +1210,11 @@ function priceText(ctx, p) {
934
1210
  }
935
1211
  function credits(ids) {
936
1212
  const basque = [ids.includes("kulturklik") ? "Kulturklik" : "", ids.includes("euskadi") ? "Turismo Euskadi" : ""].filter(Boolean);
1213
+ const murcia2 = ids.includes("murcia");
937
1214
  const tm = ids.includes("ticketmaster") ? ["Ticketmaster"] : [];
938
1215
  return {
939
- long: [...basque, ...basque.length ? ["Open Data Euskadi"] : [], ...tm].join(" \xB7 "),
940
- short: [...ids.includes("kulturklik") ? ["Kulturklik"] : basque.length ? ["Open Data Euskadi"] : [], ...tm].join(" \xB7 ")
1216
+ long: [...basque, ...basque.length ? ["Open Data Euskadi"] : [], ...murcia2 ? ["Ayuntamiento de Murcia (eventos.murcia.es)"] : [], ...tm].join(" \xB7 "),
1217
+ short: [...ids.includes("kulturklik") ? ["Kulturklik"] : basque.length ? ["Open Data Euskadi"] : [], ...murcia2 ? ["Ayto. de Murcia"] : [], ...tm].join(" \xB7 ")
941
1218
  };
942
1219
  }
943
1220
  function drawCredit(g, ctx, ids, box, size) {
@@ -1080,10 +1357,10 @@ function fill(a, b) {
1080
1357
  return out;
1081
1358
  }
1082
1359
  function dedupe(events) {
1083
- const rank = (e) => PRIORITY.indexOf(e.sources[0]);
1360
+ const rank2 = (e) => PRIORITY.indexOf(e.sources[0]);
1084
1361
  const byDay = /* @__PURE__ */ new Map();
1085
1362
  const seen2 = /* @__PURE__ */ new Set();
1086
- for (const e of [...events].sort((a, b) => rank(a) - rank(b))) {
1363
+ for (const e of [...events].sort((a, b) => rank2(a) - rank2(b))) {
1087
1364
  if (seen2.has(e.key)) continue;
1088
1365
  seen2.add(e.key);
1089
1366
  const c = { e, title: words(e.title), venue: words(e.venue), town: norm(e.town) };
@@ -1103,12 +1380,12 @@ var byStart = (a, b) => a.start - b.start || a.title.localeCompare(b.title);
1103
1380
  import { filterPatterns, matchFilter, t as t2 } from "@kiosko/sdk";
1104
1381
 
1105
1382
  // src/source.ts
1106
- import { createHttp, defineSource, HttpError as HttpError2, locationOptions, placeOf, t } from "@kiosko/sdk";
1383
+ import { createHttp, defineSource, HttpError as HttpError3, locationOptions, placeOf, t } from "@kiosko/sdk";
1107
1384
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
1108
1385
  import { join } from "node:path";
1109
1386
 
1110
1387
  // src/version.ts
1111
- var VERSION = "0.1.0";
1388
+ var VERSION = "0.1.1";
1112
1389
  var AGENT = `kiosko-plugin-events/${VERSION}`;
1113
1390
  var USER_AGENT = `${AGENT} Kiosko (+https://kioskolcd.dev)`;
1114
1391
 
@@ -1239,6 +1516,7 @@ var sourceOptions = t.object({
1239
1516
  labels: {
1240
1517
  kulturklik: L("Kulturklik (Basque Country and Navarre)", "Kulturklik (Euskadi y Navarra)", "Kulturklik (Baskenland und Navarra)", "Kulturklik\uFF08\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF09", "Kulturklik\uFF08\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF09"),
1241
1518
  euskadi: L("Basque tourism agenda (fiestas)", "Agenda tur\xEDstica de Euskadi (fiestas)", "Tourismuskalender Baskenland (Feste)", "\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF08\u8282\u5E86\uFF09", "\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF08\u7BC0\u6176\uFF09"),
1519
+ murcia: L("Murcia city council\u2019s agenda", "Agenda del Ayuntamiento de Murcia", "Veranstaltungskalender der Stadt Murcia", "\u7A46\u5C14\u897F\u4E9A\u5E02\u653F\u5E9C\u6D3B\u52A8\u65E5\u5386", "\u7A46\u723E\u897F\u4E9E\u5E02\u653F\u5E9C\u6D3B\u52D5\u65E5\u66C6"),
1242
1520
  ticketmaster: L("Ticketmaster (with a key)", "Ticketmaster (con clave)", "Ticketmaster (mit Schl\xFCssel)", "Ticketmaster\uFF08\u9700\u5BC6\u94A5\uFF09", "Ticketmaster\uFF08\u9700\u91D1\u9470\uFF09")
1243
1521
  }
1244
1522
  }),
@@ -1272,8 +1550,8 @@ var sleep = (ms, signal) => new Promise((resolve) => {
1272
1550
  const t6 = setTimeout(resolve, ms);
1273
1551
  signal?.addEventListener("abort", () => (clearTimeout(t6), resolve()), { once: true });
1274
1552
  });
1275
- var errorText = (err) => (err instanceof Error ? err.message : String(err)).slice(0, 200);
1276
- var retryAt = (err, now) => Math.max(now + RETRY_MS, err instanceof HttpError2 && err.retryAt ? err.retryAt : 0);
1553
+ var errorText2 = (err) => (err instanceof Error ? err.message : String(err)).slice(0, 200);
1554
+ var retryAt = (err, now) => Math.max(now + RETRY_MS, err instanceof HttpError3 && err.retryAt ? err.retryAt : 0);
1277
1555
  var dateKey = (e) => `${norm(e.follows ?? e.title)}|${e.date}|${norm(e.town ?? e.venue ?? "")}`;
1278
1556
  async function readEvents(o) {
1279
1557
  const opt = o.options;
@@ -1308,10 +1586,10 @@ async function readEvents(o) {
1308
1586
  }
1309
1587
  if (o.signal?.aborted) break;
1310
1588
  try {
1311
- const events2 = await p.agenda(http, { place, radiusKm: opt.radiusKm, from: today, to, categories, now: o.now, ...key ? { key } : {}, ...o.signal ? { signal: o.signal } : {}, ...o.log ? { log: o.log } : {} });
1589
+ const events2 = await p.agenda(http, { place, radiusKm: opt.radiusKm, from: today, to, categories, now: o.now, ...key ? { key } : {}, ...was?.events.length ? { previous: was.events } : {}, ...o.signal ? { signal: o.signal } : {}, ...o.log ? { log: o.log } : {} });
1312
1590
  k.agenda[p.id] = { sig, at: o.now, nextAt: o.now + p.agendaMs, events: events2 };
1313
1591
  } catch (err) {
1314
- const message = errorText(err);
1592
+ const message = errorText2(err);
1315
1593
  o.log?.(`${p.id}: ${message}`);
1316
1594
  problems.push({ provider: p.id, message });
1317
1595
  k.agenda[p.id] = { sig, at: was?.at ?? 0, nextAt: retryAt(err, o.now), events: was?.sig === sig ? was.events : [], error: message };
@@ -1337,7 +1615,7 @@ async function readEvents(o) {
1337
1615
  seenChanged = true;
1338
1616
  }
1339
1617
  } catch (err) {
1340
- const message = errorText(err);
1618
+ const message = errorText2(err);
1341
1619
  o.log?.(`${p.id} \u201C${n}\u201D: ${message}`);
1342
1620
  k.artists[id] = { sig: artistSig, at: was?.at ?? 0, nextAt: retryAt(err, o.now), events: was?.events ?? [], error: message };
1343
1621
  }
@@ -1403,11 +1681,11 @@ var agendaSource = defineSource({
1403
1681
  id: "agenda",
1404
1682
  name: L("Events", "Eventos", "Veranstaltungen", "\u6D3B\u52A8", "\u6D3B\u52D5"),
1405
1683
  description: L(
1406
- "What\u2019s on around your place for the next days, from Kulturklik and Euskadi\u2019s tourism agenda (Basque Country and Navarre, no key) and Ticketmaster (anywhere, with a free key), merged; and the next dates of the artists and shows you follow. Each source is asked a few times a day.",
1407
- "Lo que hay cerca de tu lugar en los pr\xF3ximos d\xEDas, de Kulturklik y la agenda tur\xEDstica de Euskadi (Euskadi y Navarra, sin clave) y de Ticketmaster (en cualquier sitio, con una clave gratuita), unificado; y las pr\xF3ximas fechas de los artistas y espect\xE1culos que sigues. Cada fuente se consulta unas pocas veces al d\xEDa.",
1408
- "Was in den n\xE4chsten Tagen in deiner N\xE4he los ist, aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra, ohne Schl\xFCssel) und von Ticketmaster (\xFCberall, mit einem kostenlosen Schl\xFCssel), zusammengef\xFChrt; und die n\xE4chsten Termine der K\xFCnstler und Shows, denen du folgst. Jede Quelle wird nur ein paarmal am Tag gefragt.",
1409
- "\u4F60\u6240\u5728\u4F4D\u7F6E\u9644\u8FD1\u672A\u6765\u51E0\u5929\u7684\u6D3B\u52A8\uFF0C\u6765\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF08\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF0C\u65E0\u9700\u5BC6\u94A5\uFF09\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8D39\u5BC6\u94A5\uFF09\uFF0C\u5408\u5E76\u53BB\u91CD\uFF1B\u8FD8\u6709\u4F60\u5173\u6CE8\u7684\u827A\u4EBA\u548C\u8282\u76EE\u7684\u4E0B\u4E00\u573A\u6F14\u51FA\u3002\u6BCF\u4E2A\u6570\u636E\u6E90\u6BCF\u5929\u53EA\u67E5\u8BE2\u51E0\u6B21\u3002",
1410
- "\u4F60\u6240\u5728\u4F4D\u7F6E\u9644\u8FD1\u672A\u4F86\u5E7E\u5929\u7684\u6D3B\u52D5\uFF0C\u4F86\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF08\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF0C\u7121\u9700\u91D1\u9470\uFF09\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8CBB\u91D1\u9470\uFF09\uFF0C\u5408\u4F75\u53BB\u91CD\uFF1B\u9084\u6709\u4F60\u95DC\u6CE8\u7684\u85DD\u4EBA\u548C\u7BC0\u76EE\u7684\u4E0B\u4E00\u5834\u6F14\u51FA\u3002\u6BCF\u500B\u8CC7\u6599\u4F86\u6E90\u6BCF\u5929\u53EA\u67E5\u8A62\u5E7E\u6B21\u3002"
1684
+ "What\u2019s on around your place for the next days, from Kulturklik and Euskadi\u2019s tourism agenda (Basque Country and Navarre) and Murcia city council\u2019s agenda (Murcia), with no key, and from Ticketmaster (anywhere, with a free key), merged; and the next dates of the artists and shows you follow. Each source is asked a few times a day.",
1685
+ "Lo que hay cerca de tu lugar en los pr\xF3ximos d\xEDas, de Kulturklik y la agenda tur\xEDstica de Euskadi (Euskadi y Navarra) y de la agenda del Ayuntamiento de Murcia (Murcia), sin clave, y de Ticketmaster (en cualquier sitio, con una clave gratuita), unificado; y las pr\xF3ximas fechas de los artistas y espect\xE1culos que sigues. Cada fuente se consulta unas pocas veces al d\xEDa.",
1686
+ "Was in den n\xE4chsten Tagen in deiner N\xE4he los ist, aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra) und dem Veranstaltungskalender der Stadt Murcia (Murcia), ohne Schl\xFCssel, und von Ticketmaster (\xFCberall, mit einem kostenlosen Schl\xFCssel), zusammengef\xFChrt; und die n\xE4chsten Termine der K\xFCnstler und Shows, denen du folgst. Jede Quelle wird nur ein paarmal am Tag gefragt.",
1687
+ "\u4F60\u6240\u5728\u4F4D\u7F6E\u9644\u8FD1\u672A\u6765\u51E0\u5929\u7684\u6D3B\u52A8\uFF0C\u6765\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF08\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF09\u3001\u7A46\u5C14\u897F\u4E9A\u5E02\u653F\u5E9C\u6D3B\u52A8\u65E5\u5386\uFF08\u7A46\u5C14\u897F\u4E9A\uFF09\uFF0C\u5747\u65E0\u9700\u5BC6\u94A5\uFF0C\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8D39\u5BC6\u94A5\uFF09\uFF0C\u5408\u5E76\u53BB\u91CD\uFF1B\u8FD8\u6709\u4F60\u5173\u6CE8\u7684\u827A\u4EBA\u548C\u8282\u76EE\u7684\u4E0B\u4E00\u573A\u6F14\u51FA\u3002\u6BCF\u4E2A\u6570\u636E\u6E90\u6BCF\u5929\u53EA\u67E5\u8BE2\u51E0\u6B21\u3002",
1688
+ "\u4F60\u6240\u5728\u4F4D\u7F6E\u9644\u8FD1\u672A\u4F86\u5E7E\u5929\u7684\u6D3B\u52D5\uFF0C\u4F86\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF08\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF09\u3001\u7A46\u723E\u897F\u4E9E\u5E02\u653F\u5E9C\u6D3B\u52D5\u65E5\u66C6\uFF08\u7A46\u723E\u897F\u4E9E\uFF09\uFF0C\u5747\u7121\u9700\u91D1\u9470\uFF0C\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8CBB\u91D1\u9470\uFF09\uFF0C\u5408\u4F75\u53BB\u91CD\uFF1B\u9084\u6709\u4F60\u95DC\u6CE8\u7684\u85DD\u4EBA\u548C\u7BC0\u76EE\u7684\u4E0B\u4E00\u5834\u6F14\u51FA\u3002\u6BCF\u500B\u8CC7\u6599\u4F86\u6E90\u6BCF\u5929\u53EA\u67E5\u8A62\u5E7E\u6B21\u3002"
1411
1689
  ),
1412
1690
  options: sourceOptions,
1413
1691
  intervalMs: 30 * MIN3,
@@ -1725,7 +2003,7 @@ var failed = /* @__PURE__ */ new Map();
1725
2003
  function allowed(url) {
1726
2004
  try {
1727
2005
  const u = new URL(url);
1728
- return u.protocol === "https:" && IMAGE_HOSTS3.includes(u.host);
2006
+ return u.protocol === "https:" && IMAGE_HOSTS4.includes(u.host);
1729
2007
  } catch {
1730
2008
  return false;
1731
2009
  }
@@ -1993,8 +2271,8 @@ var spotlightOptions = t5.object({
1993
2271
  });
1994
2272
  function slidesOf(data, o, now) {
1995
2273
  const all = pickEvents(data, o, now).filter((e) => !e.cancelled);
1996
- const rank = (e) => e.follows ? 0 : e.image ? 1 : 2;
1997
- return all.map((e, i) => ({ e, i })).sort((a, b) => rank(a.e) - rank(b.e) || a.i - b.i).slice(0, MAX_SLIDES).map((x) => x.e).sort((a, b) => a.start - b.start);
2274
+ const rank2 = (e) => e.follows ? 0 : e.image ? 1 : 2;
2275
+ return all.map((e, i) => ({ e, i })).sort((a, b) => rank2(a.e) - rank2(b.e) || a.i - b.i).slice(0, MAX_SLIDES).map((x) => x.e).sort((a, b) => a.start - b.start);
1998
2276
  }
1999
2277
  function slideAt(slides, rotateMs, now, view) {
2000
2278
  const n = slides.length;
@@ -2171,11 +2449,11 @@ var index_default = definePlugin({
2171
2449
  name: L("Events", "Eventos", "Veranstaltungen", "\u6D3B\u52A8", "\u6D3B\u52D5"),
2172
2450
  version: VERSION,
2173
2451
  description: L(
2174
- "What\u2019s on around you: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when they announce one near you or its tickets go on sale. From Kulturklik and the Basque tourism agenda (Basque Country and Navarre, no key) and Ticketmaster (anywhere, with a free key).",
2175
- "Lo que hay cerca de ti: conciertos, teatro, danza y planes de los pr\xF3ximos d\xEDas y de este fin de semana, filtrados por tipo, sala, precio y palabras; y las pr\xF3ximas fechas de los artistas que sigues, con cuenta atr\xE1s y un aviso cuando anuncian una cerca o salen a la venta sus entradas. De Kulturklik y la agenda tur\xEDstica de Euskadi (Euskadi y Navarra, sin clave) y de Ticketmaster (en cualquier sitio, con una clave gratuita).",
2176
- "Was in deiner N\xE4he los ist: Konzerte, Theater, Tanz und Ausfl\xFCge der n\xE4chsten Tage und dieses Wochenendes, gefiltert nach Art, Ort, Preis und W\xF6rtern; und die n\xE4chsten Termine der K\xFCnstler, denen du folgst, mit Countdown und einem Hinweis, wenn sie einen in deiner N\xE4he ank\xFCndigen oder der Vorverkauf beginnt. Aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra, ohne Schl\xFCssel) und von Ticketmaster (\xFCberall, mit kostenlosem Schl\xFCssel).",
2177
- "\u4F60\u9644\u8FD1\u7684\u6D3B\u52A8\uFF1A\u672A\u6765\u51E0\u5929\u548C\u672C\u5468\u672B\u7684\u97F3\u4E50\u4F1A\u3001\u620F\u5267\u3001\u821E\u8E48\u548C\u5176\u4ED6\u6D3B\u52A8\uFF0C\u53EF\u6309\u7C7B\u578B\u3001\u573A\u9986\u3001\u4EF7\u683C\u548C\u5173\u952E\u8BCD\u7B5B\u9009\uFF1B\u8FD8\u6709\u4F60\u5173\u6CE8\u7684\u827A\u4EBA\u7684\u4E0B\u4E00\u573A\u6F14\u51FA\uFF0C\u9644\u5012\u8BA1\u65F6\uFF0C\u5E76\u5728\u4ED6\u4EEC\u5BA3\u5E03\u9644\u8FD1\u7684\u65B0\u65E5\u671F\u6216\u5F00\u7968\u65F6\u63D0\u9192\u4F60\u3002\u6570\u636E\u6765\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF08\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF0C\u65E0\u9700\u5BC6\u94A5\uFF09\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8D39\u5BC6\u94A5\uFF09\u3002",
2178
- "\u4F60\u9644\u8FD1\u7684\u6D3B\u52D5\uFF1A\u672A\u4F86\u5E7E\u5929\u548C\u672C\u9031\u672B\u7684\u97F3\u6A02\u6703\u3001\u6232\u5287\u3001\u821E\u8E48\u548C\u5176\u4ED6\u6D3B\u52D5\uFF0C\u53EF\u4F9D\u985E\u578B\u3001\u5834\u9928\u3001\u50F9\u683C\u548C\u95DC\u9375\u5B57\u7BE9\u9078\uFF1B\u9084\u6709\u4F60\u95DC\u6CE8\u7684\u85DD\u4EBA\u7684\u4E0B\u4E00\u5834\u6F14\u51FA\uFF0C\u9644\u5012\u6578\uFF0C\u4E26\u5728\u4ED6\u5011\u5BA3\u5E03\u9644\u8FD1\u7684\u65B0\u65E5\u671F\u6216\u958B\u8CE3\u6642\u63D0\u9192\u4F60\u3002\u8CC7\u6599\u4F86\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF08\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF0C\u7121\u9700\u91D1\u9470\uFF09\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8CBB\u91D1\u9470\uFF09\u3002"
2452
+ "What\u2019s on around you: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when they announce one near you or its tickets go on sale. From Kulturklik and the Basque tourism agenda (Basque Country and Navarre) and Murcia city council\u2019s agenda (Murcia), with no key, and Ticketmaster (anywhere, with a free key).",
2453
+ "Lo que hay cerca de ti: conciertos, teatro, danza y planes de los pr\xF3ximos d\xEDas y de este fin de semana, filtrados por tipo, sala, precio y palabras; y las pr\xF3ximas fechas de los artistas que sigues, con cuenta atr\xE1s y un aviso cuando anuncian una cerca o salen a la venta sus entradas. De Kulturklik y la agenda tur\xEDstica de Euskadi (Euskadi y Navarra) y de la agenda del Ayuntamiento de Murcia (Murcia), sin clave, y de Ticketmaster (en cualquier sitio, con una clave gratuita).",
2454
+ "Was in deiner N\xE4he los ist: Konzerte, Theater, Tanz und Ausfl\xFCge der n\xE4chsten Tage und dieses Wochenendes, gefiltert nach Art, Ort, Preis und W\xF6rtern; und die n\xE4chsten Termine der K\xFCnstler, denen du folgst, mit Countdown und einem Hinweis, wenn sie einen in deiner N\xE4he ank\xFCndigen oder der Vorverkauf beginnt. Aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra) und dem Veranstaltungskalender der Stadt Murcia (Murcia), ohne Schl\xFCssel, und von Ticketmaster (\xFCberall, mit kostenlosem Schl\xFCssel).",
2455
+ "\u4F60\u9644\u8FD1\u7684\u6D3B\u52A8\uFF1A\u672A\u6765\u51E0\u5929\u548C\u672C\u5468\u672B\u7684\u97F3\u4E50\u4F1A\u3001\u620F\u5267\u3001\u821E\u8E48\u548C\u5176\u4ED6\u6D3B\u52A8\uFF0C\u53EF\u6309\u7C7B\u578B\u3001\u573A\u9986\u3001\u4EF7\u683C\u548C\u5173\u952E\u8BCD\u7B5B\u9009\uFF1B\u8FD8\u6709\u4F60\u5173\u6CE8\u7684\u827A\u4EBA\u7684\u4E0B\u4E00\u573A\u6F14\u51FA\uFF0C\u9644\u5012\u8BA1\u65F6\uFF0C\u5E76\u5728\u4ED6\u4EEC\u5BA3\u5E03\u9644\u8FD1\u7684\u65B0\u65E5\u671F\u6216\u5F00\u7968\u65F6\u63D0\u9192\u4F60\u3002\u6570\u636E\u6765\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF08\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF09\u3001\u7A46\u5C14\u897F\u4E9A\u5E02\u653F\u5E9C\u6D3B\u52A8\u65E5\u5386\uFF08\u7A46\u5C14\u897F\u4E9A\uFF09\uFF0C\u5747\u65E0\u9700\u5BC6\u94A5\uFF0C\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8D39\u5BC6\u94A5\uFF09\u3002",
2456
+ "\u4F60\u9644\u8FD1\u7684\u6D3B\u52D5\uFF1A\u672A\u4F86\u5E7E\u5929\u548C\u672C\u9031\u672B\u7684\u97F3\u6A02\u6703\u3001\u6232\u5287\u3001\u821E\u8E48\u548C\u5176\u4ED6\u6D3B\u52D5\uFF0C\u53EF\u4F9D\u985E\u578B\u3001\u5834\u9928\u3001\u50F9\u683C\u548C\u95DC\u9375\u5B57\u7BE9\u9078\uFF1B\u9084\u6709\u4F60\u95DC\u6CE8\u7684\u85DD\u4EBA\u7684\u4E0B\u4E00\u5834\u6F14\u51FA\uFF0C\u9644\u5012\u6578\uFF0C\u4E26\u5728\u4ED6\u5011\u5BA3\u5E03\u9644\u8FD1\u7684\u65B0\u65E5\u671F\u6216\u958B\u8CE3\u6642\u63D0\u9192\u4F60\u3002\u8CC7\u6599\u4F86\u81EA Kulturklik \u548C\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF08\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF09\u3001\u7A46\u723E\u897F\u4E9E\u5E02\u653F\u5E9C\u6D3B\u52D5\u65E5\u66C6\uFF08\u7A46\u723E\u897F\u4E9E\uFF09\uFF0C\u5747\u7121\u9700\u91D1\u9470\uFF0C\u4EE5\u53CA Ticketmaster\uFF08\u5404\u5730\uFF0C\u9700\u514D\u8CBB\u91D1\u9470\uFF09\u3002"
2179
2457
  ),
2180
2458
  author: "Loksly",
2181
2459
  license: "MIT",
@@ -2199,11 +2477,11 @@ var index_default = definePlugin({
2199
2477
  },
2200
2478
  markets: {
2201
2479
  note: L(
2202
- "Without a key, the Basque Country and Navarre (Kulturklik, Euskadi\u2019s tourism agenda); with a free Ticketmaster key, wherever Ticketmaster sells.",
2203
- "Sin clave, Euskadi y Navarra (Kulturklik, la agenda tur\xEDstica de Euskadi); con una clave gratuita de Ticketmaster, donde venda Ticketmaster.",
2204
- "Ohne Schl\xFCssel das Baskenland und Navarra (Kulturklik, baskischer Tourismuskalender); mit einem kostenlosen Ticketmaster-Schl\xFCssel \xFCberall, wo Ticketmaster verkauft.",
2205
- "\u65E0\u9700\u5BC6\u94A5\u65F6\u8986\u76D6\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF08Kulturklik\u3001\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF09\uFF1B\u4F7F\u7528\u514D\u8D39\u7684 Ticketmaster \u5BC6\u94A5\u540E\uFF0C\u8986\u76D6 Ticketmaster \u552E\u7968\u7684\u6240\u6709\u5730\u533A\u3002",
2206
- "\u7121\u9700\u91D1\u9470\u6642\u6DB5\u84CB\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF08Kulturklik\u3001\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF09\uFF1B\u4F7F\u7528\u514D\u8CBB\u7684 Ticketmaster \u91D1\u9470\u5F8C\uFF0C\u6DB5\u84CB Ticketmaster \u552E\u7968\u7684\u6240\u6709\u5730\u5340\u3002"
2480
+ "Without a key, the Basque Country and Navarre (Kulturklik, Euskadi\u2019s tourism agenda) and Murcia (its city council\u2019s agenda); with a free Ticketmaster key, wherever Ticketmaster sells.",
2481
+ "Sin clave, Euskadi y Navarra (Kulturklik, la agenda tur\xEDstica de Euskadi) y Murcia (la agenda de su ayuntamiento); con una clave gratuita de Ticketmaster, donde venda Ticketmaster.",
2482
+ "Ohne Schl\xFCssel das Baskenland und Navarra (Kulturklik, baskischer Tourismuskalender) und Murcia (der Veranstaltungskalender der Stadt); mit einem kostenlosen Ticketmaster-Schl\xFCssel \xFCberall, wo Ticketmaster verkauft.",
2483
+ "\u65E0\u9700\u5BC6\u94A5\u65F6\u8986\u76D6\u5DF4\u65AF\u514B\u5730\u533A\u548C\u7EB3\u74E6\u62C9\uFF08Kulturklik\u3001\u5DF4\u65AF\u514B\u65C5\u6E38\u65E5\u5386\uFF09\u4EE5\u53CA\u7A46\u5C14\u897F\u4E9A\uFF08\u5E02\u653F\u5E9C\u6D3B\u52A8\u65E5\u5386\uFF09\uFF1B\u4F7F\u7528\u514D\u8D39\u7684 Ticketmaster \u5BC6\u94A5\u540E\uFF0C\u8986\u76D6 Ticketmaster \u552E\u7968\u7684\u6240\u6709\u5730\u533A\u3002",
2484
+ "\u7121\u9700\u91D1\u9470\u6642\u6DB5\u84CB\u5DF4\u65AF\u514B\u5730\u5340\u548C\u7D0D\u74E6\u62C9\uFF08Kulturklik\u3001\u5DF4\u65AF\u514B\u65C5\u904A\u65E5\u66C6\uFF09\u4EE5\u53CA\u7A46\u723E\u897F\u4E9E\uFF08\u5E02\u653F\u5E9C\u6D3B\u52D5\u65E5\u66C6\uFF09\uFF1B\u4F7F\u7528\u514D\u8CBB\u7684 Ticketmaster \u91D1\u9470\u5F8C\uFF0C\u6DB5\u84CB Ticketmaster \u552E\u7968\u7684\u6240\u6709\u5730\u5340\u3002"
2207
2485
  )
2208
2486
  },
2209
2487
  widgets: [upcoming, artists, spotlight],
@@ -9,13 +9,13 @@
9
9
  "zh-Hans": "活动",
10
10
  "zh-Hant": "活動"
11
11
  },
12
- "version": "0.1.0",
12
+ "version": "0.1.1",
13
13
  "description": {
14
- "en": "What’s on around you: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when they announce one near you or its tickets go on sale. From Kulturklik and the Basque tourism agenda (Basque Country and Navarre, no key) and Ticketmaster (anywhere, with a free key).",
15
- "es": "Lo que hay cerca de ti: conciertos, teatro, danza y planes de los próximos días y de este fin de semana, filtrados por tipo, sala, precio y palabras; y las próximas fechas de los artistas que sigues, con cuenta atrás y un aviso cuando anuncian una cerca o salen a la venta sus entradas. De Kulturklik y la agenda turística de Euskadi (Euskadi y Navarra, sin clave) y de Ticketmaster (en cualquier sitio, con una clave gratuita).",
16
- "de": "Was in deiner Nähe los ist: Konzerte, Theater, Tanz und Ausflüge der nächsten Tage und dieses Wochenendes, gefiltert nach Art, Ort, Preis und Wörtern; und die nächsten Termine der Künstler, denen du folgst, mit Countdown und einem Hinweis, wenn sie einen in deiner Nähe ankündigen oder der Vorverkauf beginnt. Aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra, ohne Schlüssel) und von Ticketmaster (überall, mit kostenlosem Schlüssel).",
17
- "zh-Hans": "你附近的活动:未来几天和本周末的音乐会、戏剧、舞蹈和其他活动,可按类型、场馆、价格和关键词筛选;还有你关注的艺人的下一场演出,附倒计时,并在他们宣布附近的新日期或开票时提醒你。数据来自 Kulturklik 和巴斯克旅游日历(巴斯克地区和纳瓦拉,无需密钥)以及 Ticketmaster(各地,需免费密钥)。",
18
- "zh-Hant": "你附近的活動:未來幾天和本週末的音樂會、戲劇、舞蹈和其他活動,可依類型、場館、價格和關鍵字篩選;還有你關注的藝人的下一場演出,附倒數,並在他們宣布附近的新日期或開賣時提醒你。資料來自 Kulturklik 和巴斯克旅遊日曆(巴斯克地區和納瓦拉,無需金鑰)以及 Ticketmaster(各地,需免費金鑰)。"
14
+ "en": "What’s on around you: concerts, theatre, dance and plans for the coming days and this weekend, filtered by kind, venue, price and words; and the next dates of the artists you follow, with a countdown and an alert when they announce one near you or its tickets go on sale. From Kulturklik and the Basque tourism agenda (Basque Country and Navarre) and Murcia city council’s agenda (Murcia), with no key, and Ticketmaster (anywhere, with a free key).",
15
+ "es": "Lo que hay cerca de ti: conciertos, teatro, danza y planes de los próximos días y de este fin de semana, filtrados por tipo, sala, precio y palabras; y las próximas fechas de los artistas que sigues, con cuenta atrás y un aviso cuando anuncian una cerca o salen a la venta sus entradas. De Kulturklik y la agenda turística de Euskadi (Euskadi y Navarra) y de la agenda del Ayuntamiento de Murcia (Murcia), sin clave, y de Ticketmaster (en cualquier sitio, con una clave gratuita).",
16
+ "de": "Was in deiner Nähe los ist: Konzerte, Theater, Tanz und Ausflüge der nächsten Tage und dieses Wochenendes, gefiltert nach Art, Ort, Preis und Wörtern; und die nächsten Termine der Künstler, denen du folgst, mit Countdown und einem Hinweis, wenn sie einen in deiner Nähe ankündigen oder der Vorverkauf beginnt. Aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra) und dem Veranstaltungskalender der Stadt Murcia (Murcia), ohne Schlüssel, und von Ticketmaster (überall, mit kostenlosem Schlüssel).",
17
+ "zh-Hans": "你附近的活动:未来几天和本周末的音乐会、戏剧、舞蹈和其他活动,可按类型、场馆、价格和关键词筛选;还有你关注的艺人的下一场演出,附倒计时,并在他们宣布附近的新日期或开票时提醒你。数据来自 Kulturklik 和巴斯克旅游日历(巴斯克地区和纳瓦拉)、穆尔西亚市政府活动日历(穆尔西亚),均无需密钥,以及 Ticketmaster(各地,需免费密钥)。",
18
+ "zh-Hant": "你附近的活動:未來幾天和本週末的音樂會、戲劇、舞蹈和其他活動,可依類型、場館、價格和關鍵字篩選;還有你關注的藝人的下一場演出,附倒數,並在他們宣布附近的新日期或開賣時提醒你。資料來自 Kulturklik 和巴斯克旅遊日曆(巴斯克地區和納瓦拉)、穆爾西亞市政府活動日曆(穆爾西亞),均無需金鑰,以及 Ticketmaster(各地,需免費金鑰)。"
19
19
  },
20
20
  "author": "Loksly",
21
21
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "network": [
58
58
  "api.euskadi.eus",
59
59
  "opendata.euskadi.eus",
60
+ "eventos.murcia.es",
60
61
  "app.ticketmaster.com",
61
62
  "s1.ticketm.net"
62
63
  ]
@@ -1007,11 +1008,11 @@
1007
1008
  "zh-Hant": "活動"
1008
1009
  },
1009
1010
  "description": {
1010
- "en": "What’s on around your place for the next days, from Kulturklik and Euskadi’s tourism agenda (Basque Country and Navarre, no key) and Ticketmaster (anywhere, with a free key), merged; and the next dates of the artists and shows you follow. Each source is asked a few times a day.",
1011
- "es": "Lo que hay cerca de tu lugar en los próximos días, de Kulturklik y la agenda turística de Euskadi (Euskadi y Navarra, sin clave) y de Ticketmaster (en cualquier sitio, con una clave gratuita), unificado; y las próximas fechas de los artistas y espectáculos que sigues. Cada fuente se consulta unas pocas veces al día.",
1012
- "de": "Was in den nächsten Tagen in deiner Nähe los ist, aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra, ohne Schlüssel) und von Ticketmaster (überall, mit einem kostenlosen Schlüssel), zusammengeführt; und die nächsten Termine der Künstler und Shows, denen du folgst. Jede Quelle wird nur ein paarmal am Tag gefragt.",
1013
- "zh-Hans": "你所在位置附近未来几天的活动,来自 Kulturklik 和巴斯克旅游日历(巴斯克地区和纳瓦拉,无需密钥)以及 Ticketmaster(各地,需免费密钥),合并去重;还有你关注的艺人和节目的下一场演出。每个数据源每天只查询几次。",
1014
- "zh-Hant": "你所在位置附近未來幾天的活動,來自 Kulturklik 和巴斯克旅遊日曆(巴斯克地區和納瓦拉,無需金鑰)以及 Ticketmaster(各地,需免費金鑰),合併去重;還有你關注的藝人和節目的下一場演出。每個資料來源每天只查詢幾次。"
1011
+ "en": "What’s on around your place for the next days, from Kulturklik and Euskadi’s tourism agenda (Basque Country and Navarre) and Murcia city council’s agenda (Murcia), with no key, and from Ticketmaster (anywhere, with a free key), merged; and the next dates of the artists and shows you follow. Each source is asked a few times a day.",
1012
+ "es": "Lo que hay cerca de tu lugar en los próximos días, de Kulturklik y la agenda turística de Euskadi (Euskadi y Navarra) y de la agenda del Ayuntamiento de Murcia (Murcia), sin clave, y de Ticketmaster (en cualquier sitio, con una clave gratuita), unificado; y las próximas fechas de los artistas y espectáculos que sigues. Cada fuente se consulta unas pocas veces al día.",
1013
+ "de": "Was in den nächsten Tagen in deiner Nähe los ist, aus Kulturklik und dem baskischen Tourismuskalender (Baskenland und Navarra) und dem Veranstaltungskalender der Stadt Murcia (Murcia), ohne Schlüssel, und von Ticketmaster (überall, mit einem kostenlosen Schlüssel), zusammengeführt; und die nächsten Termine der Künstler und Shows, denen du folgst. Jede Quelle wird nur ein paarmal am Tag gefragt.",
1014
+ "zh-Hans": "你所在位置附近未来几天的活动,来自 Kulturklik 和巴斯克旅游日历(巴斯克地区和纳瓦拉)、穆尔西亚市政府活动日历(穆尔西亚),均无需密钥,以及 Ticketmaster(各地,需免费密钥),合并去重;还有你关注的艺人和节目的下一场演出。每个数据源每天只查询几次。",
1015
+ "zh-Hant": "你所在位置附近未來幾天的活動,來自 Kulturklik 和巴斯克旅遊日曆(巴斯克地區和納瓦拉)、穆爾西亞市政府活動日曆(穆爾西亞),均無需金鑰,以及 Ticketmaster(各地,需免費金鑰),合併去重;還有你關注的藝人和節目的下一場演出。每個資料來源每天只查詢幾次。"
1015
1016
  },
1016
1017
  "polled": true,
1017
1018
  "intervalMs": 1800000,
@@ -1035,6 +1036,7 @@
1035
1036
  "providers": [
1036
1037
  "kulturklik",
1037
1038
  "euskadi",
1039
+ "murcia",
1038
1040
  "ticketmaster"
1039
1041
  ],
1040
1042
  "latitude": 0,
@@ -1370,6 +1372,7 @@
1370
1372
  "default": [
1371
1373
  "kulturklik",
1372
1374
  "euskadi",
1375
+ "murcia",
1373
1376
  "ticketmaster"
1374
1377
  ],
1375
1378
  "x-ui": {
@@ -1408,6 +1411,13 @@
1408
1411
  "zh-Hans": "巴斯克旅游日历(节庆)",
1409
1412
  "zh-Hant": "巴斯克旅遊日曆(節慶)"
1410
1413
  },
1414
+ "murcia": {
1415
+ "en": "Murcia city council’s agenda",
1416
+ "es": "Agenda del Ayuntamiento de Murcia",
1417
+ "de": "Veranstaltungskalender der Stadt Murcia",
1418
+ "zh-Hans": "穆尔西亚市政府活动日历",
1419
+ "zh-Hant": "穆爾西亞市政府活動日曆"
1420
+ },
1411
1421
  "ticketmaster": {
1412
1422
  "en": "Ticketmaster (with a key)",
1413
1423
  "es": "Ticketmaster (con clave)",
@@ -1421,6 +1431,7 @@
1421
1431
  "enum": [
1422
1432
  "kulturklik",
1423
1433
  "euskadi",
1434
+ "murcia",
1424
1435
  "ticketmaster"
1425
1436
  ]
1426
1437
  }
@@ -1525,11 +1536,11 @@
1525
1536
  ],
1526
1537
  "markets": {
1527
1538
  "note": {
1528
- "en": "Without a key, the Basque Country and Navarre (Kulturklik, Euskadi’s tourism agenda); with a free Ticketmaster key, wherever Ticketmaster sells.",
1529
- "es": "Sin clave, Euskadi y Navarra (Kulturklik, la agenda turística de Euskadi); con una clave gratuita de Ticketmaster, donde venda Ticketmaster.",
1530
- "de": "Ohne Schlüssel das Baskenland und Navarra (Kulturklik, baskischer Tourismuskalender); mit einem kostenlosen Ticketmaster-Schlüssel überall, wo Ticketmaster verkauft.",
1531
- "zh-Hans": "无需密钥时覆盖巴斯克地区和纳瓦拉(Kulturklik、巴斯克旅游日历);使用免费的 Ticketmaster 密钥后,覆盖 Ticketmaster 售票的所有地区。",
1532
- "zh-Hant": "無需金鑰時涵蓋巴斯克地區和納瓦拉(Kulturklik、巴斯克旅遊日曆);使用免費的 Ticketmaster 金鑰後,涵蓋 Ticketmaster 售票的所有地區。"
1539
+ "en": "Without a key, the Basque Country and Navarre (Kulturklik, Euskadi’s tourism agenda) and Murcia (its city council’s agenda); with a free Ticketmaster key, wherever Ticketmaster sells.",
1540
+ "es": "Sin clave, Euskadi y Navarra (Kulturklik, la agenda turística de Euskadi) y Murcia (la agenda de su ayuntamiento); con una clave gratuita de Ticketmaster, donde venda Ticketmaster.",
1541
+ "de": "Ohne Schlüssel das Baskenland und Navarra (Kulturklik, baskischer Tourismuskalender) und Murcia (der Veranstaltungskalender der Stadt); mit einem kostenlosen Ticketmaster-Schlüssel überall, wo Ticketmaster verkauft.",
1542
+ "zh-Hans": "无需密钥时覆盖巴斯克地区和纳瓦拉(Kulturklik、巴斯克旅游日历)以及穆尔西亚(市政府活动日历);使用免费的 Ticketmaster 密钥后,覆盖 Ticketmaster 售票的所有地区。",
1543
+ "zh-Hant": "無需金鑰時涵蓋巴斯克地區和納瓦拉(Kulturklik、巴斯克旅遊日曆)以及穆爾西亞(市政府活動日曆);使用免費的 Ticketmaster 金鑰後,涵蓋 Ticketmaster 售票的所有地區。"
1533
1544
  }
1534
1545
  },
1535
1546
  "support": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kiosko-plugin-events",
3
- "version": "0.1.0",
4
- "description": "What's on near you, on the panel: concerts, theatre, dance, festivals and plans for children, this weekend or in the coming days, with the date, time, venue and price; the next dates of the artists you follow with a countdown, and an alert when they announce one near you or their tickets go on sale. Basque Country and Navarre through Kulturklik and Open Data Euskadi, with no key; anywhere Ticketmaster sells, with a free key of your own.",
3
+ "version": "0.1.1",
4
+ "description": "What's on near you, on the panel: concerts, theatre, dance, festivals and plans for children, this weekend or in the coming days, with the date, time, venue and price; the next dates of the artists you follow with a countdown, and an alert when they announce one near you or their tickets go on sale. Basque Country and Navarre through Kulturklik and Open Data Euskadi, and Murcia through its city council's agenda, with no key; anywhere Ticketmaster sells, with a free key of your own.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Loksly <info@kioskolcd.dev> (https://kioskolcd.dev)",
@@ -21,7 +21,8 @@
21
21
  "open-data-euskadi",
22
22
  "ticketmaster",
23
23
  "bilbao",
24
- "basque-country"
24
+ "basque-country",
25
+ "murcia"
25
26
  ],
26
27
  "homepage": "https://github.com/kiosko-lcd/kiosko-plugin-events#readme",
27
28
  "repository": {