Skip to content

Commit 4b77b8c

Browse files
committed
Implementing playlist and station selection
1 parent 81aec8b commit 4b77b8c

File tree

14 files changed

+721
-75
lines changed

14 files changed

+721
-75
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-30 s-n-g
2+
* Minimum python version supported changed. Now it's 2.7+/3.5+
3+
14
2019-02-14 s-n-g
25

36
* Version 0.7.4

README.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 id="table-of-contents">Table of contents</h2>
4444
</ul>
4545
<h2 id="requirements">Requirements</h2>
4646
<ul>
47-
<li>python 2.6+/3.2+</li>
47+
<li>python 2.7+/3.5+</li>
4848
<li>MPV, MPlayer or VLC installed and in your path.</li>
4949
<li><a href="http://www.dest-unreach.org/socat/">socat</a> (if you wish to use MPV)</li>
5050
</ul>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ben Dowling - [https://github.com/coderholic](https://github.com/coderholic)
2020

2121
## Requirements
2222

23-
* python 2.6+/3.2+
23+
* python 2.7+/3.5+
2424
* MPV, MPlayer or VLC installed and in your path.
2525
* [socat](http://www.dest-unreach.org/socat/) (if you wish to use MPV)
2626

pyradio/common.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
""" Modes of Operation """
23
NO_PLAYER_ERROR_MODE = -1
34
NORMAL_MODE = 0
@@ -7,6 +8,8 @@
78
CONFIG_MODE = 4
89
SELECT_PLAYER_MODE = 5
910
SELECT_ENCODING_MODE = 6
11+
SELECT_PLAYLIST_MODE = 7
12+
SELECT_STATION_MODE = 8
1013
REMOVE_STATION_MODE = 50
1114
SAVE_PLAYLIST_MODE = 51
1215
ASK_TO_SAVE_PLAYLIST_MODE = 52
@@ -16,6 +19,8 @@
1619
CONFIG_HELP_MODE = 103
1720
SELECT_PLAYER_HELP_MODE = 104
1821
SELECT_ENCODING_HELP_MODE = 105
22+
SELECT_PLAYLIST_HELP_MODE = 106
23+
SELECT_STATION_HELP_MODE = 107
1924
PLAYLIST_LOAD_ERROR_MODE = 200
2025
PLAYLIST_RELOAD_ERROR_MODE = 201
2126
PLAYLIST_RELOAD_CONFIRM_MODE = 202

pyradio/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
import csv
23
import sys
34
import logging

0 commit comments

Comments
 (0)