Open ptooey opened 3 years ago
At least in the latest version, the list of options is sorted alphabetically. "All" is one of those, and "Africa" gets sorted before "All" https://github.com/enen92/screensaver.atv4/blob/master/resources/lib/offline.py#L19
The below modification could possibly work, maybe even as one line.
locations = ["All"] + sorted(["Italy to Asia", "Iran and Afghanistan", "Dubai", "Africa and the Middle East",
"California to Vegas", "Southern California to Baja", "China", "Antarctica", "Liwa",
"Sahara and Italy",
"Los Angeles", "San Francisco", "London", "Ireland to Asia", "New York", "West Africa to the Alps",
"New Zealand", "Caribbean Day", "Hawaii", "Caribbean", "Africa Night", "North America Aurora",
"New York Night", "Greenland", "Hong Kong", "Korean and Japan Night"])
- or -
locations.insert(0, "All")
- or -
locations = ["All"] + locations
This should be able to be closed, as it is fixed by #51
Just a little nitpick with this section-- 'Africa Night' and 'Africa and the Middle East' options appear before 'All' in the listing.
Expecting to see 'All' listed as first option.