Skip to content

Commit bc345fd

Browse files
authored
Merge pull request #5 from mauricerenck/develop
New features
2 parents 265079b + 8ff309c commit bc345fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1151
-574
lines changed

blueprints/pages/podcasterfeed.yml

Lines changed: 162 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ tabs:
5858
type: text
5959
settings:
6060
label: RSS Settings
61-
icon: text
6261
columns:
6362
- width: 1/1
6463
sections:
@@ -122,54 +121,6 @@ tabs:
122121
label: Owner
123122
type: users
124123
max: 1
125-
dangerzone:
126-
label: Dangerzone
127-
icon: text
128-
sections:
129-
dangerzone:
130-
type: fields
131-
fields:
132-
headlineDanger:
133-
type: headline
134-
label: Dangerzone
135-
infoDanger:
136-
label: Be aware!️️
137-
type: info
138-
theme: negative
139-
text: The following settings will influence how and if your podcast appears on directories like iTunes. Please be aware that setting the wrong option can harm your podcasts appearance.
140-
width: 1/4
141-
podcasterBlock:
142-
label: Block
143-
type: toggle
144-
default: no
145-
text:
146-
- Podcast is visible
147-
- Podcast is BLOCKED
148-
help: Enabling this will prevent your Podcast from appearing on the iTunes Store and other podcast directories.
149-
width: 1/4
150-
podcasterExplicit:
151-
label: Explicit
152-
type: toggle
153-
default: no
154-
text:
155-
- Suitable for all ages
156-
- Podcast marked as explicit
157-
help: Enabling this will mark your podcast as explicit and may cause that it's not available for certain age groups.
158-
width: 1/4
159-
podcasterComplete:
160-
label: Complete
161-
type: toggle
162-
default: no
163-
text:
164-
- New episodes will come
165-
- No new episodes planned
166-
help: Enabling this will tell podcast directories that there won't be any new episodes.
167-
width: 1/4
168-
podcasterNewFeedUrl:
169-
label: New Feed URL
170-
type: url
171-
help: Leave empty if you do not want to change your feed url
172-
width: 1/4
173124
player:
174125
label: Website Player
175126
columns:
@@ -201,69 +152,86 @@ tabs:
201152
headlinePodlove:
202153
type: headline
203154
label: Podlove Player Configuration
204-
infoPodlove:
205-
type: info
206-
theme: info
207-
text: This settings will only work, if you chose the Podlove player.
155+
when:
156+
playerType: podlove
208157
podcasterPodloveMainColor:
209158
label: Main color (hex)
210159
type: text
211160
width: 1/2
161+
when:
162+
playerType: podlove
212163
podcasterPodloveHighlighColor:
213164
label: Highlight color (hex)
214165
type: text
215166
width: 1/2
167+
when:
168+
playerType: podlove
216169
podcasterPodloveTabsInfo:
217170
label: Info Tab
218171
type: toggle
219-
default: yes
172+
default: no
220173
text:
221174
- Invisible
222175
- Visible
223176
width: 1/4
177+
when:
178+
playerType: podlove
224179
podcasterPodloveTabsShare:
225180
label: Share Tab
226181
type: toggle
227-
default: yes
182+
default: no
228183
text:
229184
- Invisible
230185
- Visible
231186
width: 1/4
187+
when:
188+
playerType: podlove
232189
podcasterPodloveTabsChapters:
233190
label: Chapters Tab
234191
type: toggle
235-
default: yes
192+
default: no
236193
text:
237194
- Invisible
238195
- Visible
239196
width: 1/4
197+
when:
198+
playerType: podlove
240199
podcasterPodloveTabsAudio:
241200
label: Audio Tab
242201
type: toggle
243-
default: yes
202+
default: no
244203
text:
245204
- Invisible
246205
- Visible
247206
width: 1/4
207+
when:
208+
playerType: podlove
248209
podcasterPodloveTabsDownload:
249210
label: Download Tab
250211
type: toggle
251-
default: yes
212+
default: no
252213
text:
253214
- Invisible
254215
- Visible
255216
width: 1/4
217+
when:
218+
playerType: podlove
256219
tracking:
257220
label: Tracking
258221
columns:
259-
- width: 1/3
222+
- width: 1/1
260223
sections:
261-
matomo:
224+
matomoHeadline:
262225
type: fields
263226
fields:
264227
headlineMatomo:
265228
type: headline
266229
label: Matomo settings
230+
- width: 1/3
231+
sections:
232+
matomo:
233+
type: fields
234+
fields:
267235
infoMatomo:
268236
type: info
269237
theme: info
@@ -274,9 +242,6 @@ tabs:
274242
matomoEpisode:
275243
type: fields
276244
fields:
277-
headlineMatomoEpisode:
278-
type: headline
279-
label: Matomo Episode Settings
280245
podcasterMatomoEnabled:
281246
label: Enable Matomo episode tracking
282247
help: Tracking will only be enabled for this podcast if you run another one, enable it there, too
@@ -291,16 +256,42 @@ tabs:
291256
help: Your Matomo Site Id.
292257
type: text
293258
width: 1/4
259+
when:
260+
podcasterMatomoEnabled: yes
261+
podcasterMatomoTrackGoal:
262+
label: Track goal
263+
help: Enable if you want to track a certain goal for each download. Please be aware that you have to create this goal in Matomo
264+
type: toggle
265+
default: no
266+
text:
267+
- disabled
268+
- enabled
269+
width: 1/4
270+
when:
271+
podcasterMatomoEnabled: yes
294272
podcasterMatomoGoalId:
295273
label: Goal Id
296-
help: If you want to track a certain goal, fill in its Id. Leave empty to disable.
297274
type: text
298275
width: 1/4
276+
when:
277+
podcasterMatomoTrackGoal: yes
278+
podcasterMatomoTrackEvent:
279+
label: Track event
280+
help: Enable if you want to track a certain event for each download.
281+
type: toggle
282+
default: no
283+
text:
284+
- disabled
285+
- enabled
286+
width: 1/4
287+
when:
288+
podcasterMatomoEnabled: yes
299289
podcasterMatomoEventName:
300290
label: Event name
301-
help: If you want to track a certain event, fill in its name here. Leave empty to disable.
302291
type: text
303292
width: 1/4
293+
when:
294+
podcasterMatomoTrackEvent: yes
304295
podcasterMatomoAction:
305296
label: Action
306297
help: If you want to track the download action, enable this.
@@ -310,14 +301,13 @@ tabs:
310301
- disabled
311302
- enabled
312303
width: 1/4
304+
when:
305+
podcasterMatomoEnabled: yes
313306
- width: 1/3
314307
sections:
315308
matomoFeed:
316309
type: fields
317310
fields:
318-
headlineMatomoFeed:
319-
type: headline
320-
label: Matomo Feed Settings
321311
podcasterMatomoFeedEnabled:
322312
label: Enable Matomo rss-feed tracking
323313
help: Tracking will only be enabled for this podcast if you run another one, enable it there, too
@@ -332,16 +322,42 @@ tabs:
332322
help: Your Matomo Site Id.
333323
type: text
334324
width: 1/4
325+
when:
326+
podcasterMatomoFeedEnabled: yes
327+
podcasterMatomoFeedTrackGoal:
328+
label: Track goal
329+
help: Enable if you want to track a certain goal for each download. Please be aware that you have to create this goal in Matomo
330+
type: toggle
331+
default: no
332+
text:
333+
- disabled
334+
- enabled
335+
width: 1/4
336+
when:
337+
podcasterMatomoFeedEnabled: yes
335338
podcasterMatomoFeedGoalId:
336339
label: Goal Id
337-
help: If you want to track a certain goal, fill in its Id. Leave empty to disable.
338340
type: text
339341
width: 1/4
342+
when:
343+
podcasterMatomoFeedTrackGoal: yes
344+
podcasterMatomoFeedTrackEvent:
345+
label: Track event
346+
help: Enable if you want to track a certain event for each download.
347+
type: toggle
348+
default: no
349+
text:
350+
- disabled
351+
- enabled
352+
width: 1/4
353+
when:
354+
podcasterMatomoFeedEnabled: yes
340355
podcasterMatomoFeedEventName:
341356
label: Event name
342-
help: If you want to track a certain event, fill in its name here. Leave empty to disable.
343357
type: text
344358
width: 1/4
359+
when:
360+
podcasterMatomoFeedTrackEvent: yes
345361
podcasterMatomoFeedAction:
346362
label: Action
347363
help: If you want to track the download action, enable this.
@@ -350,4 +366,79 @@ tabs:
350366
text:
351367
- disabled
352368
- enabled
353-
width: 1/4
369+
width: 1/4
370+
when:
371+
podcasterMatomoFeedEnabled: yes
372+
- width: 1/1
373+
sections:
374+
podTracHeadline:
375+
type: fields
376+
fields:
377+
headlinePodTrac:
378+
type: headline
379+
label: PodTrac
380+
width: 1/1
381+
podTracEnabled:
382+
label: Enable PodTrac tracking
383+
type: toggle
384+
default: no
385+
text:
386+
- disabled
387+
- enabled
388+
width: 1/4
389+
podTracUrl:
390+
type: url
391+
label: PodTrac Base Url
392+
default: https://dts.podtrac.com/redirect.mp3/
393+
placeholder: https://dts.podtrac.com/redirect.mp3/
394+
width: 2/4
395+
when:
396+
podTracEnabled: yes
397+
dangerzone:
398+
label: Dangerzone
399+
icon: alert
400+
sections:
401+
dangerzone:
402+
type: fields
403+
fields:
404+
headlineDanger:
405+
type: headline
406+
label: Dangerzone
407+
infoDanger:
408+
label: Be aware!️️
409+
type: info
410+
theme: negative
411+
text: The following settings will influence how and if your podcast appears on directories like iTunes. Please be aware that setting the wrong option can harm your podcasts appearance.
412+
width: 1/4
413+
podcasterBlock:
414+
label: Block
415+
type: toggle
416+
default: no
417+
text:
418+
- Podcast is visible
419+
- Podcast is BLOCKED
420+
help: Enabling this will prevent your Podcast from appearing on the iTunes Store and other podcast directories.
421+
width: 1/4
422+
podcasterExplicit:
423+
label: Explicit
424+
type: toggle
425+
default: no
426+
text:
427+
- Suitable for all ages
428+
- Podcast marked as explicit
429+
help: Enabling this will mark your podcast as explicit and may cause that it's not available for certain age groups.
430+
width: 1/4
431+
podcasterComplete:
432+
label: Complete
433+
type: toggle
434+
default: no
435+
text:
436+
- New episodes will come
437+
- No new episodes planned
438+
help: Enabling this will tell podcast directories that there won't be any new episodes.
439+
width: 1/4
440+
podcasterNewFeedUrl:
441+
label: New Feed URL
442+
type: url
443+
help: Leave empty if you do not want to change your feed url
444+
width: 1/4

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"utils/PodcasterStats.php",
1919
"utils/PodcasterStatsFile.php",
2020
"utils/PodcasterStatsMysql.php",
21+
"utils/PodcasterStatsPodTrac.php",
2122
"lib/PiwikTracker.php"
2223
]
2324
},

0 commit comments

Comments
 (0)