diff options
Diffstat (limited to 'recipes/google-podcasts')
-rw-r--r-- | recipes/google-podcasts/icon.svg | 1 | ||||
-rw-r--r-- | recipes/google-podcasts/index.js | 1 | ||||
-rw-r--r-- | recipes/google-podcasts/package.json | 9 | ||||
-rw-r--r-- | recipes/google-podcasts/webview.js | 16 |
4 files changed, 27 insertions, 0 deletions
diff --git a/recipes/google-podcasts/icon.svg b/recipes/google-podcasts/icon.svg new file mode 100644 index 0000000..f1da8b9 --- /dev/null +++ b/recipes/google-podcasts/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round" stroke-width="48.5"><path d="M24.26 186.32v27.351" stroke="#0066d9"/><path d="M375.74 186.32v27.351" stroke="#4285f4"/><path d="M112.13 104.27v89.46m0 74.645v27.351" stroke="#ea4335"/><path d="M287.87 206.26v89.46m0-191.46v27.351" stroke="#34a853"/><path d="M200 127.06v145.87m0-248.68v27.351m0 296.78v27.351" stroke="#fab908"/></g></svg> \ No newline at end of file | |||
diff --git a/recipes/google-podcasts/index.js b/recipes/google-podcasts/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/google-podcasts/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/google-podcasts/package.json b/recipes/google-podcasts/package.json new file mode 100644 index 0000000..91258da --- /dev/null +++ b/recipes/google-podcasts/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "google-podcasts", | ||
3 | "name": "Google Podcasts", | ||
4 | "version": "1.4.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://podcasts.google.com/u/0/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/google-podcasts/webview.js b/recipes/google-podcasts/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/google-podcasts/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||