Skip to content

Provider Group/Channel Order Passthrough #98

Answered by euzu
solohpgh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @solohpgh,

this is not possible.

The only solution is to define the sorting yourself,

Sorting can be done by using the sort part of input target:

You can sort groups or channels inside groups. You can sort ASC or DESC or define a sequence with the channel names.

  targets:
  - name: test
    output:
      - type: m3u
    filter: "!TEST_FILTER!"
    options: {ignore_logo: true}
    sort:
      groups:
        order: asc
      channels:
        - { field: name,  group_pattern: '^FR.*',  order: asc }
        - field: name
          group_pattern: '^News'
          order: asc
          sequence:
            - CNN
            - BBC
            - NTV
    mapping:

If you want to keep the prov…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@solohpgh
Comment options

Answer selected by solohpgh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants