mjrgh / PinballY

A table browser and launcher ("front end") for virtual pinball cabinets.
Other
47 stars 22 forks source link

[Request] Give scripts full control over displayed wheel items #223

Open Billiam opened 1 year ago

Billiam commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, if scripts want to add non-game items, or fake a folder structure, new files must be added to represent each new wheel item.

Describe the solution you'd like

Instead, I'd like to see a callback available for scripts that would allow them to add new items directly to the wheel, dynamically, and provide media paths for them (instead of mapping to the now-anonymous wheel item).

I see this allowing meta items on the wheel (like a "settings" item), or to add filters directly to the wheel (appearing like folders), or for adding "index" items to the wheel for sorted lists (like "a", "b", "c" for alphabetic lists, or "80s", "90s" when sorted by year), or toggling launch options for systems (ex: to enabling or disabling anaglyph).

Many of these things can be done now, through custom menus, but I'd like to see more of this moved to the much more graphical wheel.

Related items

https://github.com/mjrgh/PinballY/issues/204 https://github.com/stephenhouser/PinballY-Wheel-Actions