Geoxor / Amethyst

A cross-platform music player made with Typescript
https://amethyst-geoxor.vercel.app/
MIT License
154 stars 35 forks source link

Enhancement: Support for metadata in playerctl and other song status showing tools #22

Open otiskujawa opened 2 years ago

otiskujawa commented 2 years ago

Controlling songs with playerctl works fine, but it can't tell what track is playing This is how it looks:

$ playerctl metadata
chromium mpris:length              205139592
chromium mpris:trackid             '/org/chromium/MediaPlayer2/TrackList/TrackA3056D73A5E9766EEAE31E9CEB2D948D'
chromium xesam:artist              
chromium xesam:title               /home/otiskujawa/Downloads/Geoxor_-_Kill_Aura.mp3

And how it works on other music players:

$ playerctl metadata
spotify mpris:trackid             /com/spotify/track/1lz2rkoZbAexSOoc75hG48
spotify mpris:length              205090000
spotify mpris:artUrl              https://i.scdn.co/image/ab67616d0000b27317cea63719c243091d319b54
spotify xesam:album               Kill Aura
spotify xesam:albumArtist         Geoxor
spotify xesam:artist              Geoxor
spotify xesam:autoRating          0.48999999999999999
spotify xesam:discNumber          1
spotify xesam:title               Kill Aura
spotify xesam:trackNumber         1
spotify xesam:url                 https://open.spotify.com/track/1lz2rkoZbAexSOoc75hG48

Why i need this: It will allow me to add amethyst to my first arch rice :yay:

image

Geoxor commented 1 year ago

this should now work, verify and reopen the issue if not

otiskujawa commented 1 year ago

It works fine image But there are lot of other data in music files that can be used in this app image and if music have no tags, it shows whole path

otiskujawa commented 1 year ago

Is support for cover possible? image Sunamu (that can be used to test cover): image Amethyst: image Sunamu (Background is cava, sunamu is only overlay): image

Geoxor commented 1 year ago

i assume it gets the cover from artUrl?

otiskujawa commented 1 year ago

controling player from system is broken again movie

Geoxor commented 1 year ago

pain

otiskujawa commented 1 year ago

nvm one time problem with dependencies image works after reinstalling

otiskujawa commented 11 months ago

image image I don't think it is ok

Even manually set ones doesn't appear outside of app image image