Code Monkey home page Code Monkey logo

apple-tv-player's Introduction

Apple TV player

Supported formats

  • IPTV protocol (m3u, m3u8)

State

  • Development is in progress...

Description

This app can play the playlists in m3u/m3u8 formats when able to parse.

Supported playlists

Over 8000 channels are available https://github.com/iptv-org/iptv (not mine, please star the project)

Localization

  • EN
  • RU

Built-in TV providers

ottclub.tv

How to Build

  1. 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
  1. Open Apple-TV-Player.xcworkspace using Xcode/AppCode

  2. 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.

  1. Select your Apple TV and hit Xcode build/run button.

How to pair Apple TV to Xcode

  • 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

How to install if Xcode fails to connect to Apple TV (but paired)

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

Update / Delete existed playlist (Home Screen only)

Long tap on TV Remote or press Play/Pause TV Remote button.


  • Some app screenshots:


ottclub.tv

// 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")]
}

apple-tv-player's People

Contributors

mikehouse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.