simple program that allows you to play music on a linux terminal
Project description
Tsong
Tsong is a simple program that allows you to play, pause, stop, skip, and adjust the volume of audio files in a specified folder. It uses the Pygame library to handle the audio playback and the os module to interact with the file system.
Getting Started
-
Clone the repository to your local machine.
-
Make sure you have Pygame library installed. If not, you can install it by running pip install pygame
-
Run the script by running python Tsong.py
-
When prompted, enter the location of the folder containing the audio files you want to play. The program will only play mp3 files.
Once the first track has been loaded and started playing, you can use the following commands to control the playback:
play: resume playback pause: pause playback stop: stop playback and exit the program next: skip to the next track previous: go back to the previous track current: display the name of the current track skip: skip to a specific time (in milliseconds) volume up: increase the volume volume down: decrease the volume
License
This project is licensed under the MIT License - see the LICENSE file for details.
Additional help
Please let me know if you need more help or have any questions about this program.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Tsong-0.0.1.tar.gz.
File metadata
- Download URL: Tsong-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c6e10915f9de16a585e7744e9ab04fbbcb5c67b404b105922a6f57a2b5db7bd
|
|
| MD5 |
cd340fcfbf1dc47ba517ffa40befec86
|
|
| BLAKE2b-256 |
4680b194647fe9e29eb712b351bdea372dc19335bb027cb1c51f8e5e45240218
|
File details
Details for the file Tsong-0.0.1-py3-none-any.whl.
File metadata
- Download URL: Tsong-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e07ec694dca51477df3b8f95b4660de6290c413f0713390e5c4ac7e4f9eed94
|
|
| MD5 |
4a4f307dad900914b678b907b822d61f
|
|
| BLAKE2b-256 |
9ab26bc5cdb52bf497a530dbd2c346ce6261a1e1e3344a394e8145aaa49a35d0
|