Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.config/mpv: Fix mpv channels.conf format
Use the azap channels.conf format with mpv Update channel display names & numbers Notes: - "Display Channel" and "Physical Channel" are different! - "Physical Channel" = "RF Channel" and is mapped to the physical frequency in MHz - "Display Channel" = The displayed "channel" number (e.g. 7.1) that the user usually sees when tuning to a channel - `mpv` supports [5 different formats][1], and [6 different `channels.conf.*` filenames][3] - `channels.conf.cbl`: `cbl` format (DVBC) - `channels.conf.atsc`: `atsc` format (ATSC OTA) - `channels.conf.ter`: `ter` format (DVBT) - `channels.conf.isdbt`: `isdbt` format (ISDBT) - `channels.conf.sat`: `sat` format (DVBS) - `channels.conf`: `vdr`, ZAP, or ANY format - The [13 field VDR format][3] appears to be closest to what `w_scan_cpp` produced. $ vdr_conf="%d:%255:%255:%d:%255:%255:%255:%*255:%d:%*d:%*d:%*d\n%n:" $ echo -n "$vdr_conf" | grep -o ':' | wc -l 12 $ echo -n 'Comet:177000:M10:A:6900:113=2:0;116=eng@106:0:0:7:0:461:0:' | grep -o ':' | wc -l 13 - The [ZAP style format][4] supports ATSC, and can be parsed as such $ echo -n 'KDVR KWGN 2.1 CW KWGN Denver:605000000:VSB_8:97:100:6:' | grep -o ':' | wc -l 6 [1]: https://github.com/mpv-player/mpv/blob/f6d931301bd226239d95f59e3f18abfeab692ee9/stream/stream_dvb.c#L257-L264 [2]: https://github.com/mpv-player/mpv/blob/f6d931301bd226239d95f59e3f18abfeab692ee9/stream/stream_dvb.c#L1085-L1107 [3]: https://github.com/mpv-player/mpv/blob/f6d931301bd226239d95f59e3f18abfeab692ee9/stream/stream_dvb.c#L339 [4]: https://github.com/mpv-player/mpv/blob/f6d931301bd226239d95f59e3f18abfeab692ee9/stream/stream_dvb.c#L430
- Loading branch information