tidal-cli 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ticli/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """Ticli - Terminal music player for TIDAL."""
2
+
3
+ __version__ = "1.0.0"
ticli/cli.py ADDED
@@ -0,0 +1,19 @@
1
+ """Ticli - Terminal music player for TIDAL."""
2
+
3
+ import click
4
+
5
+
6
+ @click.command()
7
+ @click.option("--quality", default="HIGH", type=click.Choice(["LOW", "HIGH", "LOSSLESS", "HIRES"], case_sensitive=False), help="Audio quality")
8
+ def cli(quality):
9
+ """Ticli - Terminal music player for TIDAL."""
10
+ from ticli.player import HeadlessTidalPlayer
11
+ HeadlessTidalPlayer(quality=quality).run()
12
+
13
+
14
+ def main():
15
+ cli()
16
+
17
+
18
+ if __name__ == "__main__":
19
+ main()