Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Player sources handling improvements #66

Merged
merged 1 commit into from
Mar 16, 2024
Merged

Conversation

ccatterina
Copy link
Owner

  • Search and set the current player also when the preferred source name changes and not only when a new source is added.
  • Search among all the available sources to choose the player to set as the current one.
  • Set Plasmoid.status on player.onReadyChanged event. Apparently calculating Plasmoid.status using player.ready variable not always works.
  • Add debug log on events like current player change or player readyness change.

Fix #60

- Search and set the current player also when the preferred source name changes and not
only when a new source is added.
- Search among all the available sources to choose the player to set as the current one.
- Set Plasmoid.status on `player.onReadyChanged` event. Apparently calculating
Plasmoid.status using `player.ready` variable not always works.
- Add debug log on events like current player change or player readyness change.

Fix #60
@ccatterina ccatterina merged commit 04cc966 into main Mar 16, 2024
@ccatterina ccatterina deleted the player-improvements branch March 16, 2024 11:45
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.

Widget visible also if there are no active sources
1 participant