go-chromecast icon indicating copy to clipboard operation
go-chromecast copied to clipboard

Track information

Open darkzbaron opened this issue 3 years ago • 3 comments

Hi there, is there a way to populate currently playing artist, title etc? The fields are there but when using the load function (both with server and bin) it does not work.

darkzbaron avatar Feb 18 '21 10:02 darkzbaron

Not at the moment, we don't currently try and get any metadata about the file we have loaded.

It is possible to set the playing artist, title etc when loading custom media, but I am not too sure how you would go about getting the metadata from the file you want to play. I suspect some media formats include the metadata in the file? So this would likely need to be done on a media format basis.

vishen avatar Feb 18 '21 14:02 vishen

Yes it is a mess, I have used Mutagen to get track information for most fortmat I use.

So if it would work only at the moment for custom medias ?

darkzbaron avatar Feb 18 '21 15:02 darkzbaron

Yeah, if it was to be implemented it would only work for custom media that is loaded. Usually each chromecast app (Netflix, Plex, etc) will add the track information if it's available.

vishen avatar Feb 18 '21 19:02 vishen