Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ax-LED/MMM-Podcast2
A module to stream 100 Sekunden Tagesschau
https://github.com/Ax-LED/MMM-Podcast2
Last synced: 23 days ago
JSON representation
A module to stream 100 Sekunden Tagesschau
- Host: GitHub
- URL: https://github.com/Ax-LED/MMM-Podcast2
- Owner: Ax-LED
- License: mit
- Created: 2019-01-07T22:59:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T18:43:33.000Z (almost 6 years ago)
- Last Synced: 2024-08-04T10:02:29.806Z (4 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-Podcast2**
README
# MMM-Podcast2
A module to stream Tagesschau 100 Sekunden to your magic mirror## Requirements
omxplayer: Omxplayer is normally already installed on raspbian. You can check it by commmanline ````which omxplayer````. The result should be a path like ````/usr/bin/omxplayer````.
MMM-Remote-Control: [MMM-Remote-Control](https://github.com/Jopyth/MMM-Remote-Control) is required, if you want to use the sample links for communication, as mentioned at the end of this file.## Installing the module
Clone this repository in your `~/MagicMirror/modules/` folder `( $ cd ~/MagicMirror/modules/ )`:
````javascript
git clone https://github.com/Ax-LED/MMM-Podcast2
````## Using the module
To use this module, add it to the modules array in the `config/config.js` file:
````javascript
{
module: 'MMM-Podcast2',
config: {
feedUrl: 'https://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden_https/',
refreshInterval: 1000 * 1800, //refreshs streaming link every 1800 seconds (30Min)
omxargs: ' --win 320,180,1600,900 -o both '
}
},
````
## Configuration optionsThe following properties can be configured:
Option
Description
feedUrl
URL of the feed,default: 'https://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden_https/'
.
refreshInterval
refreshs streaming linkdefault: 1000 * 1800
Refreshs streaming link every 1800 seconds (30Min).
omxargs
Arguments for the omxplayer, like' --win 320,180,1600,900 -o both '
. Attention, leading and last blanks are required.
## Further options
You can communication with this module also by sending notifications.
Examples:
-yourmmip:8080/remote?action=NOTIFICATION¬ification=BUTTON_PRESSED
starts the stream (with omxplayer) and stops the stream if its already running
To use this examples the module [MMM-Remote-Control](https://github.com/Jopyth/MMM-Remote-Control) is required.## Version
1.0 initial release