This commit is contained in:
Andrew Dunai 2018-02-18 14:11:58 +02:00
parent 43345f2dd1
commit 36e3681d48
No known key found for this signature in database
GPG key ID: 592B181FC403814E
7 changed files with 2 additions and 16 deletions

View file

@ -15,8 +15,6 @@ RUN apt-get install -y python3.6-dev python3-pip libvlc-dev vlc locales language
RUN locale-gen en_US.UTF-8
RUN useradd ${HOST_USER} -m -G audio -u ${HOST_UID}
#RUN mkdir -p /home/${HOST_USER}/.config/clay
#RUN chown ${HOST_USER} /home/${HOST_USER}/.config/clay
WORKDIR /home/${HOST_USER}

View file

@ -1,7 +1,6 @@
"""
Events implemetation for signal handling.
"""
# pylint: disable=too-few-public-methods
class EventHook(object):

View file

@ -2,11 +2,7 @@
Google Play Music integration via gmusicapi.
"""
# pylint: disable=broad-except
# pylint: disable=too-many-arguments
# pylint: disable=too-many-instance-attributes
# pylint: disable=too-many-return-statements
# pylint: disable=protected-access
# pylint: disable=no-self-use
from __future__ import print_function
from threading import Thread, Lock
from uuid import UUID
@ -86,7 +82,7 @@ class Track(object):
SOURCE_PLAYLIST = 'playlist'
SOURCE_SEARCH = 'search'
def __init__(
def __init__( # pylint: disable=too-many-arguments
self,
title, artist, duration, source,
library_id=None, store_id=None, playlist_item_id=None,

View file

@ -43,7 +43,6 @@ class MyLibraryPage(urwid.Columns, AbstractPage):
if error:
notification_area.notify('Failed to load my library: {}'.format(str(error)))
return
# self.notification.close()
self.songlist.populate(tracks)
self.app.redraw()

View file

@ -91,8 +91,6 @@ class MyPlaylistListBox(urwid.ListBox):
)
items.append(myplaylistlistitem)
# self.notification.close()
self.walker[:] = items
self.app.redraw()

View file

@ -16,10 +16,6 @@ class Slider(urwid.Widget):
_sizing = frozenset([urwid.FLOW])
CHARS = [
# '_',
# u'\u2581',
# u'\u2500',
# u'\u2594'
u'\u2584',
u'\u25A0',
u'\u2580',

View file

@ -9,7 +9,7 @@ try:
# Python 3.x
from string import ascii_letters
except ImportError:
# Python 2.3
# Python 2.x
from string import letters as ascii_letters
import urwid
from clay.notifications import notification_area