{"id":13766716,"url":"https://github.com/M3U8Kit/M3U8Parser","last_synced_at":"2025-05-10T22:31:15.496Z","repository":{"id":8487508,"uuid":"10092387","full_name":"M3U8Kit/M3U8Parser","owner":"M3U8Kit","description":"A light weight M3U8 parser. Support X-Key \u0026 X-Session-Key.","archived":false,"fork":false,"pushed_at":"2024-09-17T09:27:23.000Z","size":237,"stargazers_count":261,"open_issues_count":3,"forks_count":84,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-10T02:19:01.266Z","etag":null,"topics":["cocoapods","hls","ios","m3u8","m3u8-parser","objective-c","parser"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/M3U8Kit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-05-16T02:48:40.000Z","updated_at":"2025-01-08T11:59:05.000Z","dependencies_parsed_at":"2024-01-07T09:41:39.741Z","dependency_job_id":"7ee83286-204b-427b-8c43-47f94c66cea0","html_url":"https://github.com/M3U8Kit/M3U8Parser","commit_stats":{"total_commits":93,"total_committers":10,"mean_commits":9.3,"dds":0.4301075268817204,"last_synced_commit":"f7965520f3f8b31ee3a9329739623995a91cc789"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M3U8Kit%2FM3U8Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M3U8Kit%2FM3U8Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M3U8Kit%2FM3U8Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M3U8Kit%2FM3U8Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M3U8Kit","download_url":"https://codeload.github.com/M3U8Kit/M3U8Parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492529,"owners_count":21916959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","hls","ios","m3u8","m3u8-parser","objective-c","parser"],"created_at":"2024-08-03T16:00:59.862Z","updated_at":"2025-05-10T22:31:15.028Z","avatar_url":"https://github.com/M3U8Kit.png","language":"Objective-C","funding_links":[],"categories":["HarmonyOS","Protocols \u0026 Transport"],"sub_categories":["Windows Manager","Adaptive Streaming"],"readme":"# M3U8Kit\n\n[![Build Status](https://github.com/M3U8Kit/M3U8Parser/workflows/Validation/badge.svg?branch=master\u0026event=push)](https://github.com/M3U8Kit/M3U8Parser/actions)\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/M3U8Kit.svg)](https://img.shields.io/cocoapods/v/M3U8Kit.svg)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SPM supported](https://img.shields.io/badge/SPM-supported-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager)\n![Platform](https://img.shields.io/cocoapods/p/M3U8Kit.svg?style=flat)\n[![MIT license](https://img.shields.io/cocoapods/l/M3U8Kit.svg?style=flat)](https://raw.githubusercontent.com/M3U8Kit/M3U8Parser/master/LICENSE)\n![Compatiable with EXT-X-VERSION:4](https://img.shields.io/badge/EXT_X_Version:4-supported-4BC51D.svg?style=flat)\n\n## TODO\n- [ ] Rewrite with Swift\n\n## New Features\n- EXT-X-Version:4 supported\n- Add X-Key parser support that is now for each ts resource.\n- Add support for AVERAGE-BANDWIDTH property\n\n## Installation\n\n### [Cocoapods](https://cocoapods.org/pods/M3U8Kit)\n\n#### Podfile\n\nSpecify it in your Podfile:\n\n```ruby\npod 'M3U8Kit'\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### [SPM ⚠️](https://github.com/apple/swift-package-manager)\n\nReleased from [`0.4.1`](https://github.com/M3U8Kit/M3U8Parser/releases/tag/0.4.1)\n\n### [Carthage](https://github.com/Carthage/Carthage)\n\n#### Cartfile\n\nSpecify it in your `Cartfile`:\n\n```ogdl\ngithub \"M3U8Kit/M3U8Parser\" ~\u003e 1.0.0 \n```\n\nRun `carthage` to build the framework and drag the built `M3U8Kit.framework` into your Xcode project.\n\n### Manually\n\nIf you prefer not to use either of the above mentioned dependency managers, you can integrate `M3U8Parser` into your project manually by adding the files contained in the [Source](https://github.com/M3U8Kit/M3U8Parser/tree/master/Source) folder to your project.\n\n## Usage\n\n- Asynchronous\n\n```objc\n#import \"NSURL+m3u8.h\"\n\n[\u003c#URL#\u003e m3u_loadAsyncCompletion:^(M3U8PlaylistModel *model, NSError *error) {\n                                      }];\n```\n\n- Synchronous\n\n```objective-c\nNSError *error = nil;\nM3U8PlaylistModel *model = [[M3U8PlaylistModel alloc] \n            initWithURL:@\"https://xxx.xxx.com/live.m3u8\"\n              error:\u0026error];\n```\n\n## License\n\nM3U8Kit is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FM3U8Kit%2FM3U8Parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FM3U8Kit%2FM3U8Parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FM3U8Kit%2FM3U8Parser/lists"}