mmelko / ad4vol Goto Github PK
View Code? Open in Web Editor NEW16x2 Screen with char - client for Volumio distribution
License: Apache License 2.0
16x2 Screen with char - client for Volumio distribution
License: Apache License 2.0
Traceback (most recent call last):
File "main.py", line 13, in <module>
client.start()
File "/home/volumio/adafruit-lcd/ad4vol/menu/abstract.py", line 47, in start
self.main_screen()
File "/home/volumio/adafruit-lcd/ad4vol/menu/main.py", line 15, in main_screen
self.screen.display_string(self.client.get_current_song() + "\n" + self.client.get_current_time())
File "/home/volumio/adafruit-lcd/ad4vol/client/mpdclient.py", line 29, in get_current_time
temp = self.client.status()['time'].split(":")[0]
KeyError: 'time'
Name of the track should be displayed on LCD screen, with current time.
Raspberry can be turned off from menu.
sudo python main.py
Traceback (most recent call last):
File "main.py", line 2, in
from menu.main import HomeScreen
File "/home/volumio/adafruit-lcd/ad4vol/menu/main.py", line 4, in
from client.spotifyclient import SpotifyClient
File "/home/volumio/adafruit-lcd/ad4vol/client/spotifyclient.py", line 98, in
client = SpotifyClient()
File "/home/volumio/adafruit-lcd/ad4vol/client/spotifyclient.py", line 21, in init
self.playlist = self.init_playlists()
File "/home/volumio/adafruit-lcd/ad4vol/client/spotifyclient.py", line 89, in init_playlists
temp = self.execute_command("ls").split('"index":')
File "/home/volumio/adafruit-lcd/ad4vol/client/spotifyclient.py", line 59, in __execute_command
tel = Telnet(self.host, self.port)
File "/usr/lib/python2.7/telnetlib.py", line 211, in __init
self.open(host, port, timeout)
File "/usr/lib/python2.7/telnetlib.py", line 227, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 111] Connection refused
Playlists, Albums, Artists, Tracks can be browsed and played.
Script should automatically download and install all of dependencies and configure system such as:
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.