Skip to content
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.

Streamlinkdetect is a Objective-C framework and frontend for streamlink. It allows detection information to be parsed and then launch streamlink with the arguments, stream url and stream.

License

MALUpdaterOSXArchive/Streamlinkdetect

Repository files navigation

Streamlinkdetect

Streamlinkdetect is a Objective-C framework and frontend for streamlink. It allows detection information to be parsed and then launch streamline with the arguments, stream url and stream.

How to Build

  1. You will need Xcode 8 or later to build this project
  2. Clone the repo
  3. Type xcodebuild to build the project

How to use

Objective C

  1. Copy the framework to your XCode Project
  2. Add this to the header file.
#import <streamlinkdetect/streamlinkdetect.h>

To use, simply do the following:

	// Create a new instance of streamlinkdetector
	streamlinkdetector * detector = [streamlinkdetector new];

	// Setting the parameters
    [detector setStreamURL:@“http://www.crunchyroll.com/granblue-fantasy-the-animation/episode-1-untitled-729263”];
    [detector setStream:@“360p”];

	// Loads parsed information about a stream
    if ([detector getDetectionInfo]){
		NSLog(@“%@“,[detector getdetectinfo]);
    }

	// Starts the stream
	if (![detector getStreamStatus]){
        [detector startStream];
    }

	// Stops the stream
    if ([detector getStreamStatus]){
        [detector stopStream];
    }

Documentation

Documentation can be viewed here

License

Stramlinkdetect is licensed under GNU Public License version 3.

About

Streamlinkdetect is a Objective-C framework and frontend for streamlink. It allows detection information to be parsed and then launch streamlink with the arguments, stream url and stream.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published