From 28c64cec72aad15f6dbf917506210015367e6655 Mon Sep 17 00:00:00 2001 From: Dominic Kanrabat Date: Wed, 24 Apr 2019 03:49:43 -0400 Subject: [PATCH] - Increased minor version - Added JSON MySQLdb example - Added feature in README --- README.rst | 1 + example/deefuzzer.json | 30 ++++++++++++++++++++++++++++-- setup.py | 2 +- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 60a0b42..bbc6d7d 100644 --- a/README.rst +++ b/README.rst @@ -35,6 +35,7 @@ Features * Very light and optimized streaming process * Fully written in Python * Works with Icecast2, ShoutCast, Stream-m + * (NEW) Works with MySQL playlists Because our aim is to get DeeFuzzer as light as possible it is NOT capable of re-encoding or transcoding media files for the moment. diff --git a/example/deefuzzer.json b/example/deefuzzer.json index 24a71bb..f5bb4cf 100644 --- a/example/deefuzzer.json +++ b/example/deefuzzer.json @@ -48,7 +48,7 @@ "ogg_quality": 4, "samplerate": 48000, "shuffle": 0, - "voices": "2" + "voices": 2 }, "record": { "dir": "/path/to/archives", @@ -83,6 +83,32 @@ "secret": "your access token secret key", "tags": "parisson deefuzzer" } + }, + "station": { + "infos": { + "description": "MySQL funky playlist", + "genre": "Various Funk Groove", + "name": "My best funky station", + "short_name": "My_station2", + "url": "http://parisson.com" + }, + "media": { + "bitrate": 96, + "format": "mp3", + "ogg_quality": 4, + "samplerate": 48000, + "shuffle": 0, + "voices": 2, + "mysql": { + "host": "127.0.0.1", + "port": 3306, + "user": "username", + "password": "password", + "database": "deefuzze_database", + "table": "deefuzze_playlist", + "field": "mp3" + } + } } } -} \ No newline at end of file +} diff --git a/setup.py b/setup.py index 2c72f7a..d547e99 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( long_description=open('README.rst').read(), author="Guillaume Pellerin", author_email="yomguy@parisson.com", - version='0.7.1', + version='0.7.2', install_requires=[ 'setuptools', 'python-shout', -- 2.47.3