| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Also adds -v argument to the pydora player to enable debug logging. May
add more logging later as it becomes useful.
|
| |
|
|
|
|
|
|
| |
This makes the previously stateless Screen class stateful because it now
needs to construct and hold a reference to the platform specific echo
driver.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
PyCrypto is no longer supported nor recommended. Cryptography is the
replacement package which is actively maintained by the Python core
committers. Also Cryptography is bundled as binary wheels for all the
platforms we support which removes the install-tiem compiler
requirement, making it easier to distribute Pydora. This commit replaces
all usages of PyCrypto with Cryptography but is completely API
compatible with the previous version.
|
|
|
|
|
|
|
|
|
|
| |
termios is POSIX specific which doesn't work for Windows users using the
CLI. Check for the presence of termios and disable the set_echo function
if it's not present.
The only reason echo is disabled during polling is to prevent control
characters entered by a user from displaying in the playlist so
it's more cosmetic than anything.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Handles the case where a user chooses a non-existent station and sends
them back to the selection menu with a reasonable error message. Also
prints the typed characters for invalid input during playback and prints
errors from the audio backend such as unsupported formats.
|
|
|
|
|
| |
Only VLC supports this but several users have requested it so adding
support if the backend supports it.
|
|
|
|
|
|
|
|
|
| |
Extract core player logic and mpg123-bound logic into parent-child
classes so that other player backend strategies can be added. Create a
headless VLC strategy that uses VLC if it's available. Update the pydora
player to prefer VLC if it's available on the system because it supports
a much more broad set of codecs and Pandora is now preferring AAC
formatted files.
|
|
|
|
|
|
|
|
|
|
| |
Pandora now returns two different responses to the API depending on
which API key the client is using and the tuner endpoint. Instead of a
quality map only a single audio URL is returned which is of AAC SBR
format. This change accommodates that and returns the proper bitrate and
format based on empirical testing.
see: #52
|
|
|
|
|
|
|
|
|
| |
Previously Pandora only surfaced mp3 files in their responses which
worked fairly universally. Recently they started surfacing AAC files
which don't work in the pydora player as-is. Add the encoding to the
sock model so that players can make a decision based on it.
see: #52
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
fixes #48
|
|
|
|
| |
fixes #47
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Add support for searching genre stations.
|
| |
|
| |
|
|\
| |
| | |
Differentiate between types of search results.
|
| | |
|
| | |
|
| | |
|