Pars Player is an IPTV player developed for macOS. You can load IPTV lists in M3U format and watch live streams.
- M3U file loading support
- M3U list loading from URL
- Channel search
- Fullscreen support
- Live stream playback
- Playback controls (play, pause, stop)
- Dark theme
- Swift 5
- SwiftUI
- VLCKit
- Carthage
- CocoaPods
- macOS 11.0 or later
- Xcode 14.0 or later
- CocoaPods
- Carthage
-
Clone the repository:
git clone https://github.com/htutuncu/Pars-Player.git cd Pars-Player -
Install CocoaPods (if not installed):
sudo gem install cocoapods
-
Install Carthage (if not installed):
brew install carthage
-
Install dependencies:
pod install carthage update --platform macOS
-
Open
Pars Player.xcworkspacewith Xcode -
Build and run the project (
⌘R)
Pars Player/
├── Models/
│ └── Channel.swift # Channel model
├── ViewModels/
│ └── ChannelsViewModel.swift # Channel list management
├── Views/
│ ├── ContentView.swift # Main view
│ └── PlayerView.swift # Video player
├── Utils/
│ └── M3UParser.swift # M3U file parser
VLCKit is a wrapper for VideoLAN's VLC media player for macOS applications. It is used for video playback features.
-
Added to Podfile:
pod 'VLCKit'
-
Used VLCMediaPlayer in PlayerView.swift:
import VLCKit
- Load local M3U files
- Download M3U list from URL
- Parse EXTINF tags
- Read channel name, group, and logo information
- VLCKit integration
- Fullscreen support
- Playback controls
- Time bar
- Volume control
- Modern interface with SwiftUI
- Dark theme support
- Responsive design
- Channel search functionality
- Sidebar navigation
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
Hikmet Tütüncü - @htutuncu
Project Link: https://github.com/htutuncu/Pars-Player