diff options
author | Mike Crute <mcrute@gmail.com> | 2013-12-30 14:12:30 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2013-12-30 14:12:30 -0500 |
commit | cbb044d8850e2ceafd1fbfc0f2980f1f63f6de99 (patch) | |
tree | 5c587432c64847a0d4cc68be32f58e301a886798 /README.rst | |
parent | 7a10c127db7f6fd92fcbc490112f12ff0898c5ca (diff) | |
download | pydora-cbb044d8850e2ceafd1fbfc0f2980f1f63f6de99.tar.bz2 pydora-cbb044d8850e2ceafd1fbfc0f2980f1f63f6de99.tar.xz pydora-cbb044d8850e2ceafd1fbfc0f2980f1f63f6de99.zip |
Update readme
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -26,3 +26,24 @@ Example:: | |||
26 | ... } | 26 | ... } |
27 | >>> client = APIClient.from_settings_dict(SETTINGS) | 27 | >>> client = APIClient.from_settings_dict(SETTINGS) |
28 | >>> client.login("username", "password") | 28 | >>> client.login("username", "password") |
29 | |||
30 | |||
31 | Simple Player | ||
32 | ============= | ||
33 | Contained in `simple_player.py` is a simple Pandora stream player that runs at | ||
34 | the command line. It requires that mpg123 be installed with HTTP support as | ||
35 | well as a `settings.py` file that contains `SETTINGS` (per above), `USERNAME` | ||
36 | and `PASSWORD` which correspond to your Pandora credentials. | ||
37 | |||
38 | The player only supports simple playback for now. It will display a station | ||
39 | list and allow listening to any station but no writeable operations are | ||
40 | supported. The player starts an mpg123 process in remote control mode and feeds | ||
41 | commands to it. It does not download any music but rather streams them directly | ||
42 | from Pandora. | ||
43 | |||
44 | When playing the following keys work (press enter afterwards): | ||
45 | |||
46 | n - next song | ||
47 | p - pause or resume song | ||
48 | s - station list (stops song) | ||
49 | Q - quit program | ||