Auto assign channel number #85
Closed
wanderleyteixeira
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
@wanderleyteixeira what I could imagine is that you enter a start number for a group and the channels are then numbered consecutively. I need to think about this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@wanderleyteixeira i have implemented a counter mechanism. pushed to branch counter Please can you test and confirm? Each mapping can have a list of counter. A counter has the following fields:
mapping:
- id: simple
match_as_ascii: true
counter:
- filter: '....some filter....'
value: 9000
field: chno
modifier: assign
mapper:
- <Mapper definition> you can also do something like this mapping:
- id: simple
match_as_ascii: true
counter:
- filter: '....some filter....'
value: 9000
field: title
modifier: suffix
concat: " - "
mapper:
- <Mapper definition> |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. It would be nice to assign a starting channel number and increment it automatically for mapped channels.
The example below would auto increment the
start_chno
for each channel listed in thatid
. Also, if you redefine achno
in theattributes
then subsequent channels will just increment or set something based on the group name.Pattern Sport would start at 2000, Sport1 2001, New 3000, New1 3001, etc
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions