- IPTV protocol (m3u, m3u8)
- Development is in progress...
This app can play the playlists in m3u/m3u8 formats when able to parse.
Over 8000 channels are available https://github.com/iptv-org/iptv (not mine, please star the project)
- EN
- RU
- Official site https://www.ottclub.tv
- To use you need API_KEY
- Little to modify a source code
- Install dependencies
# Call once to configure bundler
bundle config set --local path 'vendor/bundle'
bundle install
# Call every time when want to install dependencies
bundle exec pod install
-
Open
Apple-TV-Player.xcworkspace
using Xcode/AppCode -
Set your Development Team and BundleID for files:
- Apple-TV-Player/Configuration/Debug.xcconfig
- Channels/Configuration/Debug-Channels.xcconfig
or just change them via Xcode Signing & Capabilities
tab for Apple-TV-Player
and Channels
projects.
- Select your Apple TV and hit Xcode build/run button.
- Make sure Mac and Apple TV have the same network ("AirPlay and HomeKit" > "Allow Access" is set to "Anyone in the Same Network")
- In Xcode open "Devices & Simulators" window
- On Apple TV open "Remote App And Device" > "Remote App And Device"
- Click "pair" and enter code
- If "pair" reappear again then turn off the wifi on your Mac for 10 seconds and then turn it on back (https://developer.apple.com/forums/thread/108459)
- Maybe needed to delete the TV from ignored list https://stackoverflow.com/a/63195311/3614746
It is often the error found Xcode will continue when Apple TV is connected and unlocked
. That is freaking issue, it is better to not spend time to fix this, but just use another way to install the app to Apple TV by building IPA manually and installing it on TV directly.
- Build IPA with fastlane
# Call once to configure bundler
bundle config set --local path 'vendor/bundle'
bundle install
# Call every time when want to create IPA file
bundle exec fastlane make_ipa
- Open Apple Configurator app
- Find there paired Apple TV (must be on the same network)
- Open there
Apps
section - Drag-n-Drop the generated IPA file
- Unpack generated ipa (ipa it is just zip archive)
- Find there
****.app/
directory - Open Xcode -> Window -> Devices and Simulators
- In Devices section find your Apple TV
- Click
Add installed app
plus button - Select there
****.app/
directory
Long tap on TV Remote or press Play/Pause TV Remote button.
Select a playlist and Long tap on TV Remote or press Play/Pause TV Remote button.
- Some app screenshots:
// Open file `IpTvProvider.swift`.
// Add there ottclub provider with your API_KEY.
// That is change function:
public static func builtInProviders() -> [IpTvProviderKind] {
return []
}
// to this:
public static func builtInProviders() -> [IpTvProviderKind] {
return [.ottclub(key: "API_KEY")]
}