Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grafov/m3u8
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7
Choose a base ref
...
head repository: grafov/m3u8
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Aug 26, 2014

  1. add waffle.io badge

    waffle-iron committed Aug 26, 2014
    Copy the full SHA
    db5a34a View commit details
  2. Merge pull request #6 from waffle-iron/master

    waffle.io Badge
    grafov committed Aug 26, 2014
    Copy the full SHA
    836de6a View commit details
  3. Badge moved.

    grafov committed Aug 26, 2014
    Copy the full SHA
    fa6f791 View commit details
  4. Badge moved.

    grafov committed Aug 26, 2014
    Copy the full SHA
    693cf3b View commit details

Commits on Nov 5, 2014

  1. Fixing typos.

    itsjamie committed Nov 5, 2014
    Copy the full SHA
    2a6e67f View commit details
  2. Copy the full SHA
    a24137b View commit details
  3. Move the writing of the no cache header to inside playlist type event.

    Let the client determine if it should cache or not unless we are
    publishing a live stream.
    itsjamie committed Nov 5, 2014
    Copy the full SHA
    594a421 View commit details

Commits on Nov 6, 2014

  1. Fix EXT-X-PLAYLIST-TYPE parsing

    kz26 committed Nov 6, 2014
    Copy the full SHA
    9ba6d3a View commit details

Commits on Nov 9, 2014

  1. Merge pull request #9 from jamie-stackhouse/typo-fixes

    Fixing typos in a parsing commands (patch by jamie-stackhouse).
    grafov committed Nov 9, 2014
    Copy the full SHA
    eeef1ad View commit details
  2. Merge pull request #13 from kz26/master

    Fix EXT-X-PLAYLIST-TYPE parsing
    grafov committed Nov 9, 2014
    Copy the full SHA
    c6d1b55 View commit details
  3. Copy the full SHA
    acafc3f View commit details

Commits on Nov 14, 2014

  1. Copy the full SHA
    29b87d1 View commit details

Commits on Jan 10, 2015

  1. Copy the full SHA
    bc6e186 View commit details

Commits on Jan 11, 2015

  1. Change development rules

    Doc update. No code changes.
    grafov committed Jan 11, 2015
    Copy the full SHA
    5a840f6 View commit details
  2. Merge branch 'URI-quotes' into draft

    Fixes #10 request.
    grafov committed Jan 11, 2015
    Copy the full SHA
    f25ead2 View commit details
  3. Realize support for #EXT-X-I-FRAME-STREAM-INF and #EXT-X-I-FRAMES-ONLY

    Both parsing and generation added. With these tags library fully
    supports M3U8 of ver. 4 of the HLS protocol.
    Version bumped up to 0.3-dev.
    grafov committed Jan 11, 2015
    Copy the full SHA
    e677423 View commit details
  4. Copy the full SHA
    abd6472 View commit details
  5. Remove unfinished docs section

    grafov committed Jan 11, 2015
    Copy the full SHA
    9efa7cb View commit details
  6. Copy the full SHA
    80b0466 View commit details
  7. Follow naming convention for examples

    Minor change. As described in https://golang.org/pkg/testing/
    grafov committed Jan 11, 2015
    Copy the full SHA
    d2981a7 View commit details
  8. Copy the full SHA
    6c65116 View commit details

Commits on Feb 1, 2015

  1. Update copyleft info

    Year updated to current. Added missed copyleft headers.
    grafov committed Feb 1, 2015
    Copy the full SHA
    f2e3279 View commit details
  2. Add EXT-X-MAP tag support

    It feature completes support for version 5 of the protocol.
    grafov committed Feb 1, 2015
    Copy the full SHA
    1cb49ac View commit details
  3. Update docs

    grafov committed Feb 1, 2015
    Copy the full SHA
    afe1ae6 View commit details
  4. Fix inversed logic of DuratiofAsInt()

    Function declared as DuratiofAsInt(yes bool) so seems like
    set arg to true will set segments durations to integer values,
    but it has reverse logic. It was fixed and function now works
    as expected.
    
    It changes public API!
    grafov committed Feb 1, 2015
    Copy the full SHA
    9621316 View commit details
  5. Fix #7 EXT-X-DISCONTINUITY parsing error

    It also apply to EXT-X-PROGRAM-DATE-TIME parsing.
    Unit tests updated.
    grafov committed Feb 1, 2015
    Copy the full SHA
    f9895ea View commit details
  6. Copy the full SHA
    72cfa42 View commit details
  7. Update docs in code

    Docs synchronized with README information.
    grafov committed Feb 1, 2015
    Copy the full SHA
    0a47595 View commit details

Commits on Feb 2, 2015

  1. Update date in doc

    grafov committed Feb 2, 2015
    Copy the full SHA
    722e2a5 View commit details
  2. Merge pull request #4 from Makombo/patch-2

    Export count of mediaplaylist segments
    grafov committed Feb 2, 2015
    Copy the full SHA
    d441909 View commit details

Commits on Feb 12, 2015

  1. Copy the full SHA
    3d8f8e7 View commit details
  2. Fixing Handling of the Audio property on VariantParams to write out A…

    …udio group name not Video.
    Zac Shenker committed Feb 12, 2015
    Copy the full SHA
    d7d1e58 View commit details

Commits on Feb 14, 2015

  1. Fixing the HLS version when using alternatives. Fixing Resolution, it…

    … should not be quoted.
    Zac Shenker committed Feb 14, 2015
    Copy the full SHA
    242321d View commit details
  2. Copy the full SHA
    dcf302c View commit details
  3. Fixing setting the version, adding a test and fixing the resolution n…

    …ot in quotes in the test.
    Zac Shenker committed Feb 14, 2015
    Copy the full SHA
    d045058 View commit details
  4. Adding LANGUAGE to EXT-X-MEDIA tag.

    Zac Shenker committed Feb 14, 2015
    Copy the full SHA
    fbd778b View commit details
  5. Type should not be quoted.

    Zac Shenker committed Feb 14, 2015
    Copy the full SHA
    d5609d3 View commit details
  6. Fixing AUTOSELECT

    Zac Shenker committed Feb 14, 2015
    Copy the full SHA
    a848f95 View commit details

Commits on Mar 12, 2015

  1. bug fix

    Mistobaan committed Mar 12, 2015
    Copy the full SHA
    fa8f2b8 View commit details

Commits on Mar 13, 2015

  1. Merge pull request #1 from zshenker/fix-encode-audio-group

    Fix encode audio group and lots of other things
    zshenker committed Mar 13, 2015
    Copy the full SHA
    c096d19 View commit details
  2. Copy the full SHA
    e045850 View commit details
  3. Fixing prevention of duplicates.

    Zac Shenker committed Mar 13, 2015
    Copy the full SHA
    b902929 View commit details

Commits on Mar 21, 2015

  1. fix bug

    Mistobaan committed Mar 21, 2015
    Copy the full SHA
    b3786aa View commit details

Commits on Apr 5, 2015

  1. Merge pull request #17 from zshenker/fix-encode-audio-group

    Fix Audio group name being incorrectly set to the Video group name
    
    Also fixes:
    * When using Alternatives (which writes an EXT-X-MEDIA-TAG, master manifest version should be 4 (not let at the default of 3)
    * RESOLUTION should not be in quotes (mediastreamvalidator will complain about this, and some players will have issues)
    * LANGUAGE was not being included in the EXT-X-MEDIA tag
    * TYPE & AUTOSELECT should not be quoted, they are considered enums
    grafov committed Apr 5, 2015
    Copy the full SHA
    09b6833 View commit details
  2. Merge pull request #18 from Mistobaan/master

    Add check for parameter existence in parsing of #EXTINF tag.
    grafov committed Apr 5, 2015
    Copy the full SHA
    dc971df View commit details
  3. Set empty string as default title for EXTINF

    It change behaviour introduced by #18. I think
    default title is property of application not
    a library, so parser just set it to empty string.
    grafov committed Apr 5, 2015
    Copy the full SHA
    46e8e6d View commit details
  4. Add file with list of authors

    grafov committed Apr 5, 2015
    Copy the full SHA
    878d169 View commit details
  5. Copy the full SHA
    5a99629 View commit details
  6. Merge pull request #16 from dennwc/master

    Fix handling of multiple codecs in params string.
    Code cleanup.
    grafov committed Apr 5, 2015
    Copy the full SHA
    0d40b3d View commit details
  7. Add new author to the list

    grafov committed Apr 5, 2015
    Copy the full SHA
    0455341 View commit details
Showing with 83,935 additions and 1,362 deletions.
  1. +16 −0 .deepsource.toml
  2. +13 −0 .drone.yml
  3. +18 −0 .travis.yml
  4. +24 −0 AUTHORS
  5. +29 −674 LICENSE
  6. +45 −29 M3U8.md
  7. +67 −50 README.md
  8. +0 −37 TODO.org
  9. +47 −52 doc.go
  10. +42 −0 example/example.go
  11. +52 −0 example/template/custom-playlist-tag-template.go
  12. +79 −0 example/template/custom-segment-tag-template.go
  13. +3 −0 go.mod
  14. +506 −200 reader.go
  15. +927 −20 reader_test.go
  16. +14 −0 sample-playlists/master-playlist-with-custom-tags.m3u8
  17. +18 −0 sample-playlists/master-with-alternatives-b.m3u8
  18. +13 −0 sample-playlists/master-with-closed-captions-eq-none.m3u8
  19. +32 −0 sample-playlists/master-with-hlsv7.m3u8
  20. +13 −0 sample-playlists/master-with-i-frame-stream-inf.m3u8
  21. +5 −0 sample-playlists/master-with-independent-segments.m3u8
  22. +12 −0 sample-playlists/master-with-multiple-codecs.m3u8
  23. +12 −0 sample-playlists/master-with-stream-inf-1.m3u8
  24. +10 −0 sample-playlists/master-with-stream-inf-name.m3u8
  25. +80,006 −0 sample-playlists/media-playlist-large.m3u8
  26. +13 −0 sample-playlists/media-playlist-with-byterange.m3u8
  27. +136 −0 sample-playlists/media-playlist-with-cue-out-in-without-oatcls.m3u8
  28. +18 −0 sample-playlists/media-playlist-with-custom-tags.m3u8
  29. +14 −0 sample-playlists/media-playlist-with-discontinuity-seq.m3u8
  30. +15 −0 sample-playlists/media-playlist-with-discontinuity.m3u8
  31. +14 −0 sample-playlists/media-playlist-with-oatcls-scte35.m3u8
  32. +17 −0 sample-playlists/media-playlist-with-program-date-time.m3u8
  33. +11 −0 sample-playlists/media-playlist-with-scte35-1.m3u8
  34. +11 −0 sample-playlists/media-playlist-with-scte35.m3u8
  35. +14 −0 sample-playlists/media-playlist-with-start-time.m3u8
  36. +2 −2 sample-playlists/wowza-vod-chunklist.m3u8
  37. +199 −105 structure.go
  38. +40 −13 structure_test.go
  39. +574 −118 writer.go
  40. +854 −62 writer_test.go
16 changes: 16 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version = 1

test_patterns = [
"*_test.go"
]

exclude_patterns = [
"vendor/**"
]

[[analyzers]]
name = "go"
enabled = true

[analyzers.meta]
import_path = "github.com/grafov/m3u8"
13 changes: 13 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
kind: pipeline
name: default

workspace:
base: /go
path: src/github.com/grafov/m3u8

steps:
- name: test
image: golang
commands:
- go get
- go test
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
language: go

# Versions of go that are explicitly supported.
go:
- 1.6.3
- 1.7.3
- 1.8.x
- tip

# Required for coverage.
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go build -a -v ./...
- diff <(gofmt -d .) <("")
- go test -v -covermode=count -coverprofile=coverage.out
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci
24 changes: 24 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
There are many persons contribute their code (including small patches)
to the project. They listed below in an alphabetical order:

- Alexander I.Grafov <grafov@gmail.com>
- Andrew Sinclair <ajsinclair@gmail.com>
- Andrey Chernov <chernov@bradburylab.com>
- Bradley Falzon <brad@teambrad.net>
- Denys Smirnov <denis.smirnov.91@gmail.com>
- Fabrizio (Misto) Milo <mistobaan@gmail.com>
- Hori Ryota <hori.ryota@gmail.com>
- Jamie Stackhouse <jamie.stackhouse@redspace.com>
- Julian Cooper <jcooper@brightcove.com>
- Kz26
- Lei Gao
- Makombo
- Michael Bow <mbow@brightcove.com>
- Scott Kidder <skidder@brightcove.com>
- Vishal Kumar Tuniki <vishal24.tuniki@gmail.com>
- Yevgen Flerko <md2k@md2k.net>
- Zac Shenker <zshenker@brightcove.com>
- Matthew Neil [mjneil](https://github.com/mjneil)

If you want to be added to this list (or removed for any reason)
just open an issue about it.
Loading