Skip to content

Misc code work. - #131

Merged
galenhuntington merged 1 commit into
masterfrom
misc-work
Jun 16, 2026
Merged

Misc code work.#131
galenhuntington merged 1 commit into
masterfrom
misc-work

Conversation

@galenhuntington

Copy link
Copy Markdown
Owner

A few small items:

  • There are a number of checks if the playlist is empty, which are unnecessary because it can never be. The process exits on start-up on empty playlist, and anyhow if it didn't the player would crash.
    • This eliminates the last (empty) UI string.
  • There was some hacky bounds arithmetic for the folder count, now replaced with length.
  • I dropped onPlural since "1/1 dirs" doesn't really read worse than "1/1 dir", and it's an edge case, and anyway it was buggy because it was off by one so only showed the singular with two dirs.
  • Other even more minor stuff.

@galenhuntington
galenhuntington merged commit 9f0002f into master Jun 16, 2026
5 checks passed
@galenhuntington
galenhuntington deleted the misc-work branch June 16, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant