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: windows SystemMediaTransportControls integration #755

Merged
merged 55 commits into from
Jan 24, 2024

Conversation

mokurin000
Copy link
Contributor

@mokurin000 mokurin000 commented Jan 11, 2024

Todo

Status

Support Play/Pause Previous Next Thumbnail Media Title Media Artist App Info Shuffle Repeat Stop Timeline information
🟢 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟪 🟩

reopened due to branch rename

cosven and others added 30 commits January 7, 2024 12:17
* Update hook-feeluown.py

* fix: no need to include *.mo

* fix typo
1. stop the player immediately when user plays a song, so that user knows the action is handling
2. remove some misleading logs from the playlist module
3. fill the cover_label with random color when cover is not available
1. daily recommended songs
2. daily recommended playlists
3. show rank(排行榜) button (but not implemented)
1. add fav page
2. introduce several protocols
    - SupportsCurrentUserFavSongsReader
    - SupportsCurrentUserFavAlbumsReader
    - SupportsCurrentUserFavArtistsReader
    - SupportsCurrentUserFavPlaylistsReader
    - SupportsCurrentUserFavVideosReader
@mokurin000 mokurin000 marked this pull request as ready for review January 11, 2024 08:43
@coveralls
Copy link

coveralls commented Jan 11, 2024

Pull Request Test Coverage Report for Build 7631855666

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.007%) to 55.269%

Totals Coverage Status
Change from base Build 7622603715: -0.007%
Covered Lines: 8623
Relevant Lines: 15602

💛 - Coveralls

@mokurin000
Copy link
Contributor Author

mokurin000 commented Jan 11, 2024

copied from cosven

试了试这个 stop,感觉是存在一个刷新问题。

我试了试,这样是可以让它的 button 变为可用。

  1. 正常启动播放器
  2. 手动调用 service._controls.is_enable = False
  3. 然后手动再启用它,按钮就可用了

还有一种情况,按钮也可以:先启动 fuo,后启动 flyouts 组件,这样按钮也可以用。|

测了测,还发现

  1. 直接修改 is_next_enabled 属性,UI 不会变。
  2. 如果 disable -> 修改 -> enable 这样 UI 就能刷新。

feeluown/plugin.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
@cosven cosven merged commit 6164f48 into feeluown:master Jan 24, 2024
9 of 10 checks passed
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.

4 participants