Extract song information from clipboard text and create playlists. This application allows you to easily convert text containing song information (in various formats) into a structured CSV playlist.
- Extract song titles and artists from clipboard text in multiple formats
- Support for various text formats including:
- Time-stamped tracks with quoted titles and artists in parentheses
- Simple "Title - Artist" format
- "Artist: Title" format
- "Title by Artist" format
- And more...
- GUI interface for easy interaction
- Live clipboard monitoring
- CSV export functionality
- Edit capabilities for extracted songs
- Right-click context menu for song deletion
You can install PyClip2Playlist directly from PyPI:
pip install pyclip2playlistOr install from source for development:
# Clone the repository
git clone https://github.com/UntoastedToast/PyClip2Playlist.git
cd PyClip2Playlist
# Create and activate virtual environment (recommended)
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Linux/Mac:
source venv/bin/activate
# Install in development mode
pip install -e .There are several ways to run the application:
After cloning the repository, you can run the application directly:
# Windows
python pyclip2playlist.py
# Linux/Mac
python3 pyclip2playlist.py
# or make it executable and run:
chmod +x pyclip2playlist.py
./pyclip2playlist.pyAfter installing the package, you can run it in one of these ways:
- Using the command line tool:
pyclip2playlist- As a Python module:
python -m pyclip2playlistFor development, after cloning the repository:
-
Set up your development environment as described in the installation section.
-
To publish a new version to PyPI, use the provided scripts:
On Windows:
cd scripts .\publish.bat
On Linux/Mac:
cd scripts chmod +x publish.sh ./publish.shNote: You'll need a PyPI account and appropriate permissions to publish.
- Copy text containing song information to your clipboard
- Press "Refresh Clipboard" in the application to load the clipboard content
- Click "Extract Songs" to parse the text and extract song information
- Edit any entries if needed by double-clicking on them
- Save the extracted songs as a CSV file using the "Save CSV" button or File menu
The application supports various text formats, including but not limited to:
1) 0:10 "Skate Dancer" (Doug Willis);
00:16 Summer Breeze - Piper
Nana kinomi - Omaesan
Michael Boothman: Waiting for Your Love
Summer Breeze by Piper
Track Title | Artist Name
- Python 3.8 or higher
- pyperclip>=1.8.2
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request