Giter VIP home page Giter VIP logo

ad4vol's People

Contributors

mmelko avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ad4vol's Issues

app crashes when no song is playing

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'

ad4vol won't start if spopd isn't running

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

Add installation script

Script should automatically download and install all of dependencies and configure system such as:

  • MPD Python client
  • Adafruit ldc driver
  • Add i2c modules into kernel
  • Autostart client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.