fix: correct Live 24/7 handling and label regressions

- stream.updateWithIssue: 'Live 24/7: Yes' meant the stream IS 24/7, but it
  was assigned straight to isNot247, inverting the label. A 'No' answer was
  also ignored because the guard skipped falsy values.
- dataSet.getBoolean: an unanswered dropdown is stored as '' by
  parseIssueBody, which getBoolean read as false. Treat it as undefined so
  'no answer' means 'leave unchanged' instead of 'Not 24/7'.
- update.addStream: has() is true for an unanswered field, so it produced
  isNot247 = true for issues that left the dropdown blank.
- generate: sortBy got five orders for four iteratees.
- 2_streams_edit.yml: restore the '~' reset option dropped from the quality
  dropdown when the Label field was removed.
- stream.getLabels: use const to satisfy prefer-const.
This commit is contained in:
Sanaei
2026-09-04 18:02:35 +02:00
parent 3448e44b7e
commit 994b12fb25
6 changed files with 15 additions and 9 deletions
@@ -1,4 +1,4 @@
#EXTM3U
#EXTINF:-1 tvg-id="BBCAmerica.us@East",BBC America East (720p) [Not 24/7]
#EXTINF:-1 tvg-id="BBCAmerica.us@East",BBC America East (720p)
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 Edge/12.246
https://servilive.com:3126/live/tele2000live.m3u8