tim-we / py-radio Goto Github PK
View Code? Open in Web Editor NEWA music player simulating a radio written in Python.
License: MIT License
A music player simulating a radio written in Python.
License: MIT License
As the items are currently prepended to the queue the order is reversed. Possible solution: PriorityQueue and https://stackoverflow.com/a/54028394/3315770
Tim, please fix. I want to pause my meme songs to play meme songs that are not on the py, but on my phone, but instead it just skips =( TIM FIX OR I WANT A REFUND
Sincerely,
Josh from Microsoft Tech Support
Traceback (most recent call last):
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/ext/updater.py", line 379, in _network_loop_retry
if not action_cb():
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/ext/updater.py", line 340, in polling_action_cb
allowed_updates=allowed_updates)
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/bot.py", line 67, in decorator
result = func(*args, **kwargs)
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/bot.py", line 2138, in get_updates
result = self._request.post(url, data, timeout=float(read_latency) + float(timeout))
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/utils/request.py", line 333, in post
**urlopen_kwargs)
File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/utils/request.py", line 230, in _request_wrapper
raise NetworkError('urllib3 HTTPError {}'.format(error))
telegram.error.NetworkError: urllib3 HTTPError HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot##########:##################################/getUpdates (Caused by NewConnectionError('<telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0x6c599110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
The code assumes the env vars to be set.
Line 16 in 1c7033f
I think the user should be presented with a nice warning instead.
Tagesschau in 100s update failed.
'NoneType' object has no attribute 'get'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.