autostart station by station name. - #53
Conversation
This originally came from Justin Pletcher and nega0#42
|
I'm not opposed to the concept, but I'd like to see |
|
i'll try to find time to update this next week. This weekend is DragonCon.... also, do you know the maximum length of a station name? |
|
DragonCon. Nice. |
|
im fixing this today |
|
so, I'm not really a C programmer. my skillz are in python. I think the right way to do the strncmp is to use the max buffer length of searchStation, which came from strdup(val) in settings.c where val is char[256]. But, I think that strdup should be the entry point check on the length by being strndup(val, sizeof(val)). Perhaps settings.c should be changed to strndup(val, sizeof(val))? |
This originally came from Justin Pletcher and
#42
I'm re-submitted it since it works well with the latest build.
to use, set the station name in config file:
autostart_station = QuickMix