Closed kyl416 closed 8 years ago
Stupid! I did that after testing. I'm a bit sick so not so alert! ;-( Thanks!
Can you take another look at the code for grabbing the channel list from oorboekje.nl? I just reran configure and all the stations from oorboekje vanished
Weird! I did not actually test a channelscan, but the message on a grab that all channels disappeared had gone and I corrected the same there, I thought!? But I however now see that the group assignment might fail for the regional channels. It's the trouble with that I had to do this page through regexes. One changed comma... (or an added '/ ' in this case) In version 3 I do not use regexes anymore. It's all much more sturdy! I'll look deeper into it. I now do recall that that check, resulting in a mail on missing channels does not use the same code as a channelscan!
I lost all channels from them, the oorboekje only stations are gone, while the remaining radio stations just list the VPRO and NPO sources in my configure:
Classic FM;11;7-classic_fm;;;;;;;;classic_fm;;;;;;4;radio_classicfm.png
NPO 3FM;11;4-294;;;;;294;;;3fm;;;;;;7;radio_channel/294/logo/regular_logo3fm.png
And you do not get an error about a failed source? Because it then would refuse to update the config. And nothing in the log? It might be an original logical error, that pops up because of the change.
OK I had to step back into my original thinking. I did not follow my own code anymore. It is the same slash as in the other case. Change line 12938 from:
if not '"stream.php?zender=' in ch:
to
if not '"/stream.php?zender=' in ch:
I'll push an update later.
Looks like there's a typo on the latest commit:
It should say: