Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #477 from alexander-heimbuch/feature/episode-trans…
Browse files Browse the repository at this point in the history
…cripts

Feature/episode transcripts
  • Loading branch information
alexander-heimbuch authored Jan 3, 2018
2 parents 21f4fed + 408c8ac commit 069ae52
Show file tree
Hide file tree
Showing 95 changed files with 16,855 additions and 247 deletions.
48 changes: 38 additions & 10 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ navigation: 4

#### Episode Information

| title | Episode Title |
| subtitle | Episode Description |
| summary | Episode Summary |
| poster | Episode Cover |
| publicationDate | Episode Publication Date |
| duration | Episode Duration |
| link | Link to Episode |
| title | Episode Title |
| subtitle | Episode Description |
| summary | Episode Summary |
| poster | Episode Cover |
| publicationDate | Episode Publication Date |
| duration | Episode Duration |
| link | Link to Episode |

```javascript
{
Expand All @@ -43,7 +43,7 @@ navigation: 4
summary: 'Wir haben eine wie wir finden abwechslungsreiche Sendung produziert, die wir Euch wie immer mit Freude bereitstellen. Während die Live-Hörer Freak-Show-Bingo spielen, greifen wir das Wikipedia-Thema der letzten Sendung auf und liefern auch noch weitere Aspekte des optimalen Star-Wars-Medienkonsums frei Haus. Dazu viel Nerderei rund um die Kommandozeile, eine Einschätzung der Perspektive der Apple Watch, ein Rant über die mangelhafte Security im Internet of Things (and Buildings) und allerlei anderer Kram. Roddi setzt dieses Mal aus, sonst Vollbesetzung.',
publicationDate: '2016-02-11T03:13:55+00:00',
poster: 'https://freakshow.fm/wp-content/cache/podlove/04/662a9d4edcf77ea2abe3c74681f509/freak-show_200x200.jpg',
duration: '04:15:32',
duration: '04:15:32', // Simple time format
link: 'https://freakshow.fm/fs171-invasion'
}
```
Expand Down Expand Up @@ -164,20 +164,41 @@ _Not providing chapters will disable all chapter related functions._

```javascript
contributors: [{
id: 'tim-pritlove',
avatar: 'https://freakshow.fm/wp-content/cache/podlove/47/08928e3c26dcb1141d67ad75869619/tim-pritlove_50x50.jpg',
name: 'Tim Pritlove'
}, {
id: 'clemens-schrimpe',
avatar: 'https://freakshow.fm/wp-content/cache/podlove/0f/9c18f5e825496b9060337f92814142/clemens-schrimpe_50x50.jpg',
name: ' Clemens Schrimpe'
name: 'Clemens Schrimpe'
}, {
id: 'hukl',
avatar: 'https://freakshow.fm/wp-content/cache/podlove/8e/f30cbe274c3f5e43dc4a7219676f50/hukl_50x50.jpg',
name: 'hukl'
}, {
id: 'denis-ahrens',
avatar: 'https://freakshow.fm/wp-content/cache/podlove/b2/425e5c8f180ddf548c95be1c2d7bcf/denis-ahrens_50x50.jpg',
name: 'Denis Ahrens'
}]
```

#### Transcripts

To enable transcripts provide a URI to the transcriptions file.

| transcripts | `http://url.to/transcripts.json` |

The transcriptions file contains transcripts in the following format:

```javascript
[{
"start": "00:00:43.1", // Simple Time Format
"end": "00:01:17.2", // Simple Time Format
"speaker?": "Speaker ID",
"test": "Transcribed text"
}]
```

#### Tabs

| tabs.info | toggle the info tab |
Expand All @@ -186,7 +207,6 @@ _Not providing chapters will disable all chapter related functions._
| tabs.audio | toggle the audio tab |
| tabs.download | toggle the download tab |


```javascript
tabs: {
info: true // will expand the info tab on load
Expand Down Expand Up @@ -226,3 +246,11 @@ List of components that are visible in the player. if nothing is provided all co
'controlChapters'
]
```

#### Simple Time Definitions

| `01:35:52` | 1 hour 35 minutes 52 seconds |
| `7:48` | 7 minutes, 48 seconds |
| `35:12.250` | 35 minutes, 12 seconds, 250 ms |
| `05:12:03.5` | 5 hours, 12 minutes, 3 seconds, 500 ms |
| `37` | 37 seconds |
71 changes: 71 additions & 0 deletions docs/fixtures/cs309.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"title": "Common Sense 309 - A Bodyguard of Lies",
"subtitle": "Secrecy, hacking, information leaks, whistle-blowers, foreign-operative propaganda pushers, disinformation, election tampering and the search for any truth in cyberspace occupy Dan's thoughts in this show.",
"summary": "An automatic speech recognition transcript example from the first 10 minutes of Common Sense 309 by Dan Carlin (without the commercial at the beginning).\r\nClick the link above to listen to the original audio file.\r\n\r\nThe Google Cloud Speech API was used as speech recognition engine without any keywords or further manual editing.",
"link": "http://www.dancarlin.com/product/common-sense-309-a-bodyguard-of-lies/",
"poster": "https://auphonic.com/media/audio-examples/speechrec/CommonSense309_10min.jpg",
"show": {
"title": "Common Sense",
"subtitle": "Dangerously thoughtful.",
"summary": "Common Sense with Dan Carlin isn’t a show for everyone, and that’s what makes it so great. It’s a smart, deep, passionate, engaging, inquisitive and of course, politically Martian view of news and current events. There’s nothing else like it.",
"poster": "http://www.dancarlin.com/wp-content/uploads/2013/06/cs-home-imag.jpg",
"link": "http://www.dancarlin.com/common-sense-home-landing-page/"
},
"publicationDate": "2016-02-11T03:13:55+00:00",
"duration": "00:10:25",
"chapters": [
{
"start": "00:00:00",
"title": "Sponsors"
},
{
"start": "00:00:14",
"title": "Hillary Clinton"
},
{
"start": "00:02:21.200",
"title": "The other guy"
},
{
"start": "00:04:31.200",
"title": "The death of objective truth"
},
{
"start": "00:07:45.200",
"title": "We don't know the same things"
},
{
"start": "00:08:30.200",
"title": "Nonsense Discussions"
},
{
"start": "00:09:48.200",
"title": "Free Society"
}
],
"audio": [
{
"url": "https://auphonic.com/media/audio-examples/speechrec/CommonSense309_10min.opus",
"mimeType": "audio/opus",
"size": 6037832,
"title": "Audio Opus"
},
{
"url": "https://auphonic.com/media/audio-examples/speechrec/CommonSense309_10min.m4a",
"mimeType": "audio/mp4",
"size": 8183015,
"title": "Audio MP4"
},
{
"url": "https://auphonic.com/media/audio-examples/speechrec/CommonSense309_10min.mp3",
"mimeType": "audio/mp3",
"size": 8936519,
"title": "Audio MP3"
}
],
"reference": {
"config": "//podlove-player.surge.sh/fixtures/cs309.json",
"share": "//podlove-player.surge.sh/share"
},
"transcripts": "fixtures/transcripts/cs309.json"
}
91 changes: 91 additions & 0 deletions docs/fixtures/fg45.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"show": {
"title": "Forschergeist",
"subtitle": "Horizonte f\u00fcr Bildung und Forschung",
"summary":
"Moderator Tim Pritlove spricht mit Wissenschaftlern und anderen Aktiven des Wissenschaftssystems \u00fcber aktuelle und zuk\u00fcnftige Trends und Praktiken f\u00fcr die Bildung, der Forschung und der Organisation und Kommunikation der Wissenschaft.\r\n\r\nDie ausf\u00fchrlichen Interviews wenden sich vor allem an junge und angehende Wissenschaftler, die nach M\u00f6glichkeiten suchen, ihre Forschung und Lehre den neuen Bed\u00fcrfnissen der Zeit anzupassen und weiter zu entwickeln.\r\n\r\nForschergeist ist ein Projekt des Stifterverbands f\u00fcr die Deutsche Wissenschaft und erscheint im Schnitt alle drei Wochen neu.",
"poster":
"https://forschergeist.de/wp-content/cache/podlove/56/919e28c4f31fedd72bcd78569f81bc/forschergeist_500x500.jpg",
"link": "https://forschergeist.de"
},
"reference": {
"share": "//podlove-player.surge.sh/share",
"config": "//podlove-player.surge.sh/fixtures/fg45.json",
"origin": "http://logbuch-netzpolitik.de/lnp220-street-clickability"
},
"theme": { "main": "#12584b" },
"title": "FG045 Martin Luther",
"subtitle": "\u00dcber den Menschen Martin Luther und die Erforschung des Mittelalters",
"summary":
"2017 ist das Luther-Jahr. Die evangelische Kirche feiert 500 Jahre Reformation. Am 31. Oktober 1517 hatte Martin Luther (1483-1546) seine 95 Thesen gegen die Missst\u00e4nde der Kirche seiner Zeit ver\u00f6ffentlicht. Der legend\u00e4re Thesenanschlag gilt als Ausgangspunkt der weltweiten Reformation, die die Spaltung in evangelische und katholische Kirche zur Folge hatte.<br />\r\n<br />\r\nIn dieser Folge sprechen wir mit der in Oxford lehrenden australisch-britischen Historikerin Lyndal Roper \u00fcber den Menschen Martin Luther, \u00fcber seine Widerspr\u00fcche und fr\u00fchen Pr\u00e4gungen. Wer war dieser Mensch, der, wie Lyndal Roper sagt, mit dem K\u00f6rper gedacht hat?<br />\r\n<br />\r\nLyndal Roper forscht zu Geschlechterrollen, Hexenverfolgung und K\u00f6rpergeschichte der fr\u00fchen Neuzeit. P\u00fcnktlich zum Luther-Jahr erschien ihre wegweisende Luther-Biografie \u201eDer Mensch Martin Luther\u201c, in dem sie ein sehr differenziertes Bild des Reformators zeichnet. \u201eLuther konnte\u201c, so Roper, \u201e ein wunderbarer Tr\u00f6ster sein, aber Menschen auch richtig niedermachen.\u201c",
"publicationDate": "2017-06-09T10:00:02+00:00",
"poster":
"https://forschergeist.de/wp-content/cache/podlove/f1/601fb0767fde9037119dc3607cb498/fg045-martin-luther_500x500.jpg",
"duration": "01:01:52.873",
"link": "https://forschergeist.de/podcast/fg045-martin-luther/",
"audio": [
{
"url": "https://forschergeist.de/podlove/file/1026/s/webplayer/c/episode/fg045-martin-luther.m4a",
"size": "51459312",
"title": "MPEG-4 AAC Audio (m4a)",
"mimeType": "audio/mp4"
},
{
"url": "https://forschergeist.de/podlove/file/1022/s/webplayer/c/episode/fg045-martin-luther.opus",
"size": "39849787",
"title": "Opus Audio (opus)",
"mimeType": "audio/opus"
},
{
"url": "https://forschergeist.de/podlove/file/1028/s/webplayer/c/episode/fg045-martin-luther.oga",
"size": "52096417",
"title": "Ogg Vorbis Audio (oga)",
"mimeType": "audio/ogg"
},
{
"url": "https://forschergeist.de/podlove/file/1027/s/webplayer/c/episode/fg045-martin-luther.mp3",
"size": "54200328",
"title": "MP3 Audio (mp3)",
"mimeType": "audio/mpeg"
}
],
"chapters": [
{ "start": "00:00:00.000", "title": "Intro", "href": "", "image": "" },
{ "start": "00:00:42.645", "title": "Begr\u00fc\u00dfung", "href": "", "image": "" },
{ "start": "00:01:17.725", "title": "Pers\u00f6nlicher Hintergrund", "href": "", "image": "" },
{ "start": "00:06:28.942", "title": "Auswirkungen des Brexit", "href": "", "image": "" },
{ "start": "00:11:12.223", "title": "Die Person Martin Luther", "href": "", "image": "" },
{ "start": "00:14:50.873", "title": "Luthers Glaubensverst\u00e4ndnis", "href": "", "image": "" },
{ "start": "00:24:32.358", "title": "Luthers Thesen", "href": "", "image": "" },
{ "start": "00:29:38.309", "title": "Der Freie", "href": "", "image": "" },
{ "start": "00:33:56.128", "title": "Luther und die Kirche", "href": "", "image": "" },
{ "start": "00:36:31.141", "title": "Luthers Reisen", "href": "", "image": "" },
{ "start": "00:38:04.652", "title": "Der Bruch mit der Kirche", "href": "", "image": "" },
{ "start": "00:40:51.869", "title": "Lutherbibel", "href": "", "image": "" },
{ "start": "00:43:12.919", "title": "Bedeutung Luthers", "href": "", "image": "" },
{ "start": "00:48:37.417", "title": "Ordensaustritt und Heirat", "href": "", "image": "" },
{ "start": "00:52:28.890", "title": "Unser Lutherbild", "href": "", "image": "" },
{ "start": "00:59:51.886", "title": "Ausklang", "href": "", "image": "" }
],
"contributors": [
{
"name": "Tim Pritlove",
"id": "timpritlove",
"avatar":
"https://forschergeist.de/wp-content/cache/podlove/47/08928e3c26dcb1141d67ad75869619/tim-pritlove_150x150.jpg",
"role": { "id": "1", "slug": "moderation", "title": "Moderation" },
"group": { "id": "1", "slug": "onair", "title": "On Air" },
"comment": null
},
{
"name": "Lyndal Roper",
"id": "lyndalroper",
"avatar":
"https://forschergeist.de/wp-content/cache/podlove/88/47def9ad8458c83467f77f31d8b8bc/lyndal-roper_150x150.jpg",
"role": { "id": "2", "slug": "guest", "title": "Gast" },
"group": { "id": "1", "slug": "onair", "title": "On Air" },
"comment": null
}
],
"transcripts": "fixtures/transcripts/fg45.json"
}
Loading

0 comments on commit 069ae52

Please sign in to comment.