Skip to content

A module to stream 100 Sekunden Tagesschau

License

Notifications You must be signed in to change notification settings

agierloff88/MMM-Podcast2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Podcast2

A module to stream Tagesschau 100 Sekunden to your magic mirror. This is a fork of Ax-LED/MMM-Podcast2
It includes a bugfix to correctly parse the RSS Tagesschau feed
Also it makes it possible to use the module with either mpv or vlc player in addition to deprecated omxplayer

Requirements

Any of the following Videoplayers: mpv, vlc, omxplayer

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 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/ ):

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:

{
	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)
		videoplayer: 'mpv', // omxplayer | cvlc | mpv
		videoargs: '--geometry=75%+50%+50% --volume=75 --no-border', //  mpv default 
		}
},

Configuration options

The 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 link default: 1000 * 1800 Refreshs streaming link every 1800 seconds (30Min).
videoplayer Videoplayer used under the hood. Possibilities: mvp, omxplayer, cvlc (vlcplayer) Default: mpv Note: Player needs to be installed
videoargs Arguments for the choosen videoplayer, like '--geometry=75%+50%+50% --volume=75 --no-border'. Attention: Theese are specific to the used videoplayer

Further options

You can communication with this module also by sending notifications.
Examples:

  • yourmmip:8080/remote?action=NOTIFICATION&notification=BUTTON_PRESSED starts the stream (with omxplayer) and stops the stream if its already running

To use this examples the module MMM-Remote-Control is required.

Version

2.0

About

A module to stream 100 Sekunden Tagesschau

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.4%
  • CSS 6.6%