Skip to content

Commit

Permalink
Update Readme docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandcracker committed Jul 5, 2024
1 parent a6ee163 commit 3f9aa7e
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.dfpwm
*.32vid
dictionary.dic
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@ And [Sanic Builtin values].
## Docker Compose

```yml
version: "2.0"
---
services:
youcube:
image: ghcr.io/cc-youcube/youcube:latest
restart: always
hostname: youcube
ports:
- 5000:5000
...
```

[spotify application]: https://developer.spotify.com/dashboard/applications
Expand Down
1 change: 0 additions & 1 deletion src/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ def main() -> None:

if __name__ == "__main__":
main()

1 change: 0 additions & 1 deletion src/youcube/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

if __name__ == "__main__":
main()

1 change: 0 additions & 1 deletion src/youcube/yc_colours.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ class Foreground:


RESET = "\033[m"

1 change: 0 additions & 1 deletion src/youcube/yc_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,3 @@ def my_hook(info):
files.append(get_video_name(media_id, width, height))

return out, files

1 change: 0 additions & 1 deletion src/youcube/yc_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ def setup_logging() -> Logger:
logger.addHandler(logging_handler)

return logger

1 change: 0 additions & 1 deletion src/youcube/yc_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ def live_output():


# pylint: disable=unused-argument

1 change: 0 additions & 1 deletion src/youcube/yc_spotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ def main() -> None:

if __name__ == "__main__":
main()

1 change: 0 additions & 1 deletion src/youcube/yc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,3 @@ def is_video_already_downloaded(media_id: str, width: int, height: int) -> bool:
def is_save(string: str) -> bool:
"""Returns True if the given string does not contain special characters"""
return bool(allowed_characters.match(string))

4 changes: 2 additions & 2 deletions src/youcube/youcube.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
playAudio
This accepts a list of audio samples as amplitudes between -128 and 127.
These are stored in an internal buffer and played back at 48kHz. If this buffer is full, this function will return false.
These are stored in an internal buffer and played back at 48kHz.
If this buffer is full, this function will return false.
"""

"""Related CC-Tweaked issues
Expand Down Expand Up @@ -469,4 +470,3 @@ def main() -> None:

if __name__ == "__main__":
main()

0 comments on commit 3f9aa7e

Please sign in to comment.