iina / iina

The modern video player for macOS.
https://iina.io
GNU General Public License v3.0
38.46k stars 2.58k forks source link

Add support for MPMediaItemPropertyArtwork #1397

Open tzhao11 opened 6 years ago

tzhao11 commented 6 years ago

System and IINA version:

Expected behavior: MPNowPlayingInfoCenter added support for MPMediaItemPropertyArtwork since macOS 10.13.2. IINA could use it to display album artwork in the Now Playing widget in Notification Center. iTunes already does this.

Actual behavior: Currently, IINA icon is displayed as a placeholder in the Now Playing widget. Given that IINA already displays album artwork in the main player window, I think this could be a nice addition to match iTunes behavior.

lhc70000 commented 6 years ago

It's not easy since we cannot get the album art directly. It's rendered as a video by mpv.

uiryuu commented 6 years ago

Actually this API is pretty unstable currently. You can easily observe that sometimes there's no album artwork when iTunes is playing.