Skip to content

osc.lua: update track state only when track-list changes#17535

Open
guidocella wants to merge 2 commits intompv-player:masterfrom
guidocella:osc-track-list
Open

osc.lua: update track state only when track-list changes#17535
guidocella wants to merge 2 commits intompv-player:masterfrom
guidocella:osc-track-list

Conversation

@guidocella
Copy link
Contributor

osc.lua: update track state only when track-list changes

There is no need to retrieve track-list on every osc_init().

Also remove the outdated comment.

osc.lua: move {audio,sub}_track_count into state

There is no need to retrieve track-list on every osc_init().

Also remove the outdated comment.
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.

2 participants