Music-Player

Music Player Application

Overview

This JavaFX-based music player allows you to create and manage playlists, search and sort songs, and navigate through them using a custom iterator. It also features a graphical user interface (GUI) for easy interaction.

Features

How to Use

  1. Create a Playlist: Initialize a playlist and add your favorite audio files.
    • Create an M3U playlist file and add paths to your audio files line by line.
  2. Search and Sort: Utilize the search feature to filter songs and sort them based on your preferred criteria.
  3. Navigate: Use the custom iterator to navigate through your playlist seamlessly.
  4. Load and Save: Load existing playlists from M3U files or save your current playlist to an M3U file for later use.
  5. Use the GUI: Launch the GUI to interact with the music player visually.

Prerequisites

Running the Application

Example Preview

Setup

  1. Clone the repository:
    git clone https://github.com/abdzees/music-player.git
    
  2. Open the project in your preferred Java IDE.
  3. Add your audio files to the project directory.
  4. Run the PlayList class to start the application.

Running the GUI

  1. Compile and run the GUI main class (Player.java).
  2. Use the interface to navigate your playlist from your device.

License

This project is licensed under the General Public License License. See the LICENSE file for more details.