Skip to content

Instantly share code, notes, and snippets.

@Axel-Erfurt
Axel-Erfurt / celluloidTV.m3u
Last active Jun 7, 2021
Livestreams deutscher TV-Sender
View celluloidTV.m3u
#EXTM3U
#EXTINF:0,ARD
http://mcdn.daserste.de/daserste/de/master.m3u8
#EXTINF:1,ARD ONE
http://onelivestream-lh.akamaihd.net/i/one_livestream@568814/master.m3u8
#EXTINF:2,ARD Alpha
http://brlive-lh.akamaihd.net/i/bralpha_germany@119899/master.m3u8
#EXTINF:3,ARD Tagesschau
http://tagesschau-lh.akamaihd.net/i/tagesschau_1@119231/master.m3u8
#EXTINF:4,ZDF
@Axel-Erfurt
Axel-Erfurt / album_get_tracklist.py
Last active Nov 3, 2020
get tracklist of album using musicbrainzngs
View album_get_tracklist.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
import musicbrainzngs
import sys
musicbrainzngs.set_useragent(
"python-musicbrainzngs-example",
"0.1",
@Axel-Erfurt
Axel-Erfurt / test_bitwig.sh
Last active Jul 23, 2021
temporary Bitwig test in Ubuntu/Mint 20
View test_bitwig.sh
#!/bin/sh
cd /tmp
wget https://downloads-eu.bitwig.com/stable/4.0.1/bitwig-studio-4.0.1.deb
mkdir bitwig
dpkg-deb -xv bitwig-studio-4.0.1.deb /tmp/bitwig
cd /tmp/bitwig/opt/bitwig-studio/
./bitwig-studio
@Axel-Erfurt
Axel-Erfurt / ExclusiveRadio.txt
Last active Aug 12, 2020
ExclusiveRadio Liste für myRadio
View ExclusiveRadio.txt
-- Exclusive Radio Genres --
Blues,http://streaming.exclusive.radio/er/blues/icecast.audio
Classical,http://streaming.exclusive.radio/er/classical/icecast.audio
Country,http://streaming.exclusive.radio/er/country/icecast.audio
Easy,http://streaming.exclusive.radio/er/easy/icecast.audio
Folk,http://streaming.exclusive.radio/er/folk/icecast.audio
Jazz,http://streaming.exclusive.radio/er/jazz/icecast.audio
Motown,http://streaming.exclusive.radio/er/motown/icecast.audio
Rock,http://streaming.exclusive.radio/er/rock/icecast.audio
Soft Rock,http://streaming.exclusive.radio/er/softrock/icecast.audio
@Axel-Erfurt
Axel-Erfurt / ExclusiveRadio.m3u
Last active Feb 4, 2021
Exclusive Radio Channels
View ExclusiveRadio.m3u
#EXTM3U
#EXTINF:1,Blues
http://streaming.exclusive.radio/er/blues/icecast.audio
#EXTINF:2,Calm
http://streaming.exclusive.radio/er/calm/icecast.audio
#EXTINF:3,Chart
http://streaming.exclusive.radio/er/chart/icecast.audio
#EXTINF:4,Classical
http://streaming.exclusive.radio/er/classical/icecast.audio
#EXTINF:5,Country
@Axel-Erfurt
Axel-Erfurt / LiveStreamsDeutscheSender.py
Last active Jun 10, 2021
die aktuellen Livestreams der öffentlich rechtlichen Sender auslesen
View LiveStreamsDeutscheSender.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import requests
import json
url = "https://raw.githubusercontent.com/mediathekview/MServer/master/dist/live-streams.json"
data = requests.get(url).text
js = json.loads(data)
@Axel-Erfurt
Axel-Erfurt / TVPlayer2.py
Last active Dec 10, 2018
Livestream TVPlayer
View TVPlayer2.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
from PyQt5.QtCore import (QPoint, QRect, Qt, QUrl)
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QAction, QApplication, QMainWindow, QMessageBox, QMenu, QWidget)
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
import m3u8
@Axel-Erfurt
Axel-Erfurt / TV_LiveStream.py
Last active Dec 9, 2018
TV LiveStream (German)
View TV_LiveStream.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from PyQt5.QtGui import QKeySequence, QIcon
from PyQt5.QtCore import Qt, QUrl, QSize, QPoint, QRect
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import (QApplication, QMessageBox, QVBoxLayout,
QWidget, QShortcut, QMenu, QToolTip, QPushButton)
from distutils.spawn import find_executable
@Axel-Erfurt
Axel-Erfurt / normalize_movie_audio.py
Last active Dec 8, 2018
Normalize Audio in movie
View normalize_movie_audio.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
import os
import unicodedata
from PyQt5.QtWidgets import QMainWindow, QApplication, QPushButton, QFileDialog, QLineEdit, QMessageBox, QComboBox, QPlainTextEdit, QProgressBar
from PyQt5.QtGui import QIcon, QFont, QPalette, QBrush, QColor, QPen
from PyQt5.QtCore import QSize, QEvent, QObject, QDir, QFileInfo, QProcess, Qt
from gi.repository import GLib
@Axel-Erfurt
Axel-Erfurt / getFolderNames.py
Created Sep 23, 2018
Linux User Folders (python)
View getFolderNames.py
from gi.repository import GLib
docs = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOCUMENTS)
desktop = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DESKTOP)
pics = GLib.get_user_special_dir(GLib.USER_DIRECTORY_PICTURES)
videos = GLib.get_user_special_dir(GLib.USER_DIRECTORY_VIDEOS)
music = GLib.get_user_special_dir(GLib.USER_DIRECTORY_MUSIC)
downloads = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOWNLOAD)
public = GLib.get_user_special_dir(GLib.USER_DIRECTORY_PUBLIC_SHARE)
templates = GLib.get_user_special_dir(GLib.USER_DIRECTORY_TEMPLATES)