forked from MiczFlor/RPi-Jukebox-RFID
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8fd417
commit 9006d6f
Showing
9 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
class BackendPlayer: | ||
""" | ||
Class to inherit, so that you can build a proper new Player | ||
""" | ||
def __init__(self): | ||
raise NotImplementedError | ||
|
||
def next(self): | ||
raise NotImplementedError | ||
|
||
def prev(self): | ||
raise NotImplementedError | ||
|
||
def play(self, idx=None): | ||
raise NotImplementedError | ||
|
||
def toggle(self): | ||
raise NotImplementedError | ||
|
||
def pause(self): | ||
raise NotImplementedError | ||
|
||
def stop(self): | ||
raise NotImplementedError | ||
|
||
def get_queue(self): | ||
raise NotImplementedError | ||
|
||
def play_uri(self, uri): | ||
raise NotImplementedError | ||
|
||
def repeatmode(self): | ||
raise NotImplementedError | ||
|
||
def seek(self): | ||
raise NotImplementedError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters