| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This generalizes the audio URL extraction logic into a synthesized field
that can be extracted from the PlaylistModel class. It also removes a
few transmogrifiers that are no longer needed in the general case.
Technically this breaks a publicly exposed API within playlists models
but it was always considered an implementation detail so nobody should
be relying on it.
|
|
|
|
|
|
| |
This doesn't make any sense. If the dict list key isn't defined it falls
through to the loop which would iterate the keys of a dict and not the
dicts in a list which will likely fail anyhow.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Importing from the base of a module is deprecated and will be removed in
a future major version. Nothing internally should be doing this.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|