https://github.com/maakhai/genm3u
A simple Bash script for generating .m3u playlists from audio or video files in the current directory.
https://github.com/maakhai/genm3u
linux playlist-generator shell-script
Last synced: 8 months ago
JSON representation
A simple Bash script for generating .m3u playlists from audio or video files in the current directory.
- Host: GitHub
- URL: https://github.com/maakhai/genm3u
- Owner: maakhai
- Created: 2024-08-18T23:49:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-25T21:52:59.000Z (about 1 year ago)
- Last Synced: 2024-12-31T09:19:09.576Z (9 months ago)
- Topics: linux, playlist-generator, shell-script
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This script is a simple Bash tool designed to generate `.m3u` playlists from audio or video files in the current directory. It scans for files with specified extensions and creates a playlist file with the name you provide.
## Usage
```bash
./script_name
```### Commands:
- `-a` or `--audio`: Creates a playlist containing all audio files (`.mp3`, `.flac`, `.aac`, `.ogg`) in the current directory.
- `-v` or `--video`: Creates a playlist containing all video files (`.mp4`, `.mkv`, `.avi`) in the current directory.### Example:
```bash
./script_name -a my_playlist
```This command will create a playlist named `my_playlist.m3u` containing all audio files in the current directory.