Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Duplicate Data Resulting from Custom Tags #201

@slipthebit

Description

@slipthebit

CustomTags are parsed in twice when using DecodeWith. This happens because both decodeLineOfMasterPlaylist and decodeLineOfMediaPlaylist are called in decode, and both parse the CustomTags seperatley.

This issue can be observed using the Master Manifest, https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8, and CustomTag example in Issue #160 detailed by @slugalisk.

The Master Manifest includes 5 #EXT-X-MEDIA tags, but DecodeWith produces 10 Values for the CustomTag.

The go-playground link below duplicates the issue as of 9/20/2023 with v0.12.0
https://goplay.tools/snippet/e_p-kLnpqco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions