Author Topic: Import Music Stream Album Art?  (Read 1532 times)

Nox

  • Posts: 17
Import Music Stream Album Art?
« on: 9 Jan '22 - 20:18 »
Is there an option to show stream album art, as the song plays,  in some capacity?

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #1 on: 10 Jan '22 - 03:28 »
Is there an option to show stream album art, as the song plays,  in some capacity?
Your best bet is trying the Cover Art visual plugin which seems to work pretty well although I have not used it to automatically download album covers as I have always had the covers already.

Nox

  • Posts: 17
Re: Import Music Stream Album Art?
« Reply #2 on: 10 Jan '22 - 05:42 »
I installed CoverArt and set the options as explained in the help pages, but got nothing. Also, I don't have Google or Amazon as options for finding cover art. The only options are lasftFM and Flicker. I tried manually "download now" and it still comes up empty.

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #3 on: 10 Jan '22 - 15:27 »
Hmmm... looking at the source available it looks like Google and Amazon look ups were disabled for some reason, it's possible the other look ups are also out of date stopping them from working like that. I guess I'll take a look at it in future to see if I can fix it up unless someone checks it out first.

Nox

  • Posts: 17
Re: Import Music Stream Album Art?
« Reply #4 on: 15 Jan '22 - 20:49 »
Hmmm... looking at the source available it looks like Google and Amazon look ups were disabled for some reason, it's possible the other look ups are also out of date stopping them from working like that. I guess I'll take a look at it in future to see if I can fix it up unless someone checks it out first.

I think I posted a reply to the same question in our other thread about skins. However, I have contacted people at the MusicBee forum and asked where MB gets it's streaming art. One of the regulars said he was stumped on that one, but that the stations send out the cover art, which could be where MB finds them.

"I would assume it depends on the stream. Quite often the streamer sends art along with the track/artist information. When it doesn't, I don't think MB goes out and gets it. I may be wrong about this last part, but that's my understanding." --phred from Music Bee (very knowledgeable member)

I've also noticed that "some" skins for AMIP also have streaming album art or "covers."

Nox

  • Posts: 17
Re: Import Music Stream Album Art?
« Reply #5 on: 16 Jan '22 - 02:31 »
I just got a reply back from Steven over at Music Bee. He said, "if artwork is not part of the associated data with the stream, as long as there is album, and artist details on the stream, MB will attempt to retrieve artwork from the providers configured in the Tags(2) preferences.
If its a radio stream (only), MB will attempt to retrieve artwork based on the artist and title from a restricted set of providers that have support for that type of lookup."
Forum Link: https://getmusicbee.com/forum/index.php?topic=36046.new;topicseen#quickreply

So MB is getting the art from both the stream and some other areas.

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #6 on: 16 Jan '22 - 05:34 »
I just got a reply back from Steven over at Music Bee. He said, "if artwork is not part of the associated data with the stream, as long as there is album, and artist details on the stream, MB will attempt to retrieve artwork from the providers configured in the Tags(2) preferences.
If its a radio stream (only), MB will attempt to retrieve artwork based on the artist and title from a restricted set of providers that have support for that type of lookup."
Forum Link: https://getmusicbee.com/forum/index.php?topic=36046.new;topicseen#quickreply

So MB is getting the art from both the stream and some other areas.
I actually didn't know streams were sending cover art these days, I'm not sure the plugin can access those as I believe it is up to XMPlay to give it those tags. Do you know of any streams that include the cover art to check out?

I've attached a modified version of xmp-coverart which removes all the old sources and adds iTunes and Discogs as sources instead, iTunes isn't going to help you much with streams but Discogs appears reasonable in my tests. They won't cover everything though so I guess I can look at adding additional sources in future, otherwise I'll have to talk to the big cheese Ian about whether we can get our hands on the embedded cover art from the stream. Attachment temoved, see later post for newer version.
« Last Edit: 3 Feb '22 - 10:59 by Keltic Danor »

yoba

  • Posts: 14
Re: Import Music Stream Album Art?
« Reply #7 on: 17 Jan '22 - 02:39 »
All that is very interesting, and BIG THANKS to Keltic Danor for all his work through the years and especially for recent activity, but it have problems even recognising EMBEDDED album art from some OPUS and OGG files, and you are talking about getting album art for radio streams?

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #8 on: 17 Jan '22 - 15:23 »
To be honest I only found out cover art was being embedded in tags 2 weeks ago and even more recent that it was embedded in streams so it's all news to me. 8)

If you can provide some examples of OPUS/OGG files with album art that is not being detected I can take a look. That said, Bernhard was much better at this coding stuff than I am so I can make no promises on necessarily being able to fix it myself.

Nox

  • Posts: 17
Re: Import Music Stream Album Art?
« Reply #9 on: 17 Jan '22 - 23:57 »
I just got a reply back from Steven over at Music Bee. He said, "if artwork is not part of the associated data with the stream, as long as there is album, and artist details on the stream, MB will attempt to retrieve artwork from the providers configured in the Tags(2) preferences.
If its a radio stream (only), MB will attempt to retrieve artwork based on the artist and title from a restricted set of providers that have support for that type of lookup."
Forum Link: https://getmusicbee.com/forum/index.php?topic=36046.new;topicseen#quickreply

So MB is getting the art from both the stream and some other areas.
I actually didn't know streams were sending cover art these days, I'm not sure the plugin can access those as I believe it is up to XMPlay to give it those tags. Do you know of any streams that include the cover art to check out?

I've attached a modified version of xmp-coverart which removes all the old sources and adds iTunes and Discogs as sources instead, iTunes isn't going to help you much with streams but Discogs appears reasonable in my tests. They won't cover everything though so I guess I can look at adding additional sources in future, otherwise I'll have to talk to the big cheese Ian about whether we can get our hands on the embedded cover art from the stream.

I didn't know streams were passing art either, but it makes sense. The streams I play from Shoutcast always come up in Music Bee with cover art, but I have no idea if it is coming from the stream itself.

This is the station I listen too 99% of the time. I guess you could try it:
http://77.68.84.201/stream/3/
http://www.RelaxingJazz.com

Also, I winder what Steven means by "restricted set of providers"? I haven't gotten a reply back for that question. You could also try last.fm

I did a quick search from Google using " Four80East Viaduct cover art " and got some good hits from last.fm, bandcamp.com, napster.com, etc.

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #10 on: 18 Jan '22 - 00:38 »
I didn't know streams were passing art either, but it makes sense. The streams I play from Shoutcast always come up in Music Bee with cover art, but I have no idea if it is coming from the stream itself.

This is the station I listen too 99% of the time. I guess you could try it:
http://77.68.84.201/stream/3/
http://www.RelaxingJazz.com

Also, I winder what Steven means by "restricted set of providers"? I haven't gotten a reply back for that question. You could also try last.fm

I did a quick search from Google using " Four80East Viaduct cover art " and got some good hits from last.fm, bandcamp.com, napster.com, etc.
I imagine by restricted he meams sources that actually work using just the artist and song title, like iTunes won't return anything without an album name for example.

I'll have a look at the streams and see what I can find out.

Lesmo16

  • Posts: 21
Re: Import Music Stream Album Art?
« Reply #11 on: 27 Jan '22 - 13:53 »
@Keltic Danor: Did you receive my PM about streams with working albun art?

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #12 on: 29 Jan '22 - 16:24 »
@Keltic Danor: Did you receive my PM about streams with working albun art?
Yep, I got them I'll see what I can work out. ;)

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #13 on: 3 Feb '22 - 11:03 »
Attached is a new modified version with the following changes from the original album plugin version.
-snip-
See latest post.
« Last Edit: 7 Feb '22 - 16:42 by Keltic Danor »

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #14 on: 4 Feb '22 - 00:08 »
Thanks Keltic for the new version.  One bug to report has been there "forever", namely, embedded artwork for OPUS files is not shown, despite the use of VorbisComment as in FLAC, where they ARE shown.  Any chance of enabling embedded cover art display for OPUS files?

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #15 on: 4 Feb '22 - 01:10 »
Thanks Keltic for the new version.  One bug to report has been there "forever", namely, embedded artwork for OPUS files is not shown, despite the use of VorbisComment as in FLAC, where they ARE shown.  Any chance of enabling embedded cover art display for OPUS files?
I think so, can you point me in the direction of an OPUS file example to test with?

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #16 on: 4 Feb '22 - 19:01 »
No problem, I've attached one here.

piovrauz

  • Posts: 1006
Re: Import Music Stream Album Art?
« Reply #17 on: 5 Feb '22 - 15:57 »
There's a little issue here: I can't seem to get the config window, or the menus.

Can you help? thanks

PS: system is win7sp1, maybe it's related, but old coverart used to work (well, ages ago)

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #18 on: 5 Feb '22 - 17:09 »
Hold down SHIFT, and left-click in the visuals screen works for me.  The readme says a middle-click works too but mine is AHK "re-tasked."

piovrauz

  • Posts: 1006
Re: Import Music Stream Album Art?
« Reply #19 on: 5 Feb '22 - 20:25 »
Thanks a lot! SHIFT was it. Thank you a lot, now it's set and loading covers again

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #20 on: 6 Feb '22 - 18:56 »
@Keltic:  I forgot to mention in my post about OPUS files not showing embedded cover art that SOME FLAC files also will not show embedded art, and some do.  I PM'd you a link to download examples of all.  Thanks for taking a look at this.

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #21 on: 7 Feb '22 - 16:48 »
I've messed with the flac side of things a bit, to be honest I'm not entirely sure how it works but enough prodding and I got the sample flacs that I was sent working so give it a try and let me know how it goes.

I have also spent a large amount of time on Opus (or Ogg) support adding those without much luck so far, may be a little out of my depth but I'll give it another shot or two. See latest post.
« Last Edit: 8 Feb '22 - 08:39 by Keltic Danor »

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #22 on: 7 Feb '22 - 18:04 »
Keltic:  tried out .84 and it will display embedded cover art on every FLAC I try now, thanks for fixing that!

Unfortunately, display is still broken for every OPUS file I try.  I hope you will stick with this a little longer, the answer has to be just around the corner after all the work you've already put into it.  Thanks for your efforts.  If it would help having more OPUS files let me know and I'll PM more.

sveakul

  • Posts: 144
Re: Import Music Stream Album Art?
« Reply #23 on: 7 Feb '22 - 20:26 »
In .8.4, also just noticed that if the option to enable auto cover download is de-selected on the menu, it only stays that way for the session.  Re-opening XMPlay will re-enable the option on its own.  Work-around: in vis.ini, make sure acd_enabled=0 and then make the file read-only.  This of course may affect other visuals who store settings here.

Keltic Danor

  • XMPlay Support
  • Posts: 881
Re: Import Music Stream Album Art?
« Reply #24 on: 8 Feb '22 - 08:49 »
-snip- See latest post.

@sveakul It seems to work fine on the Opus file you sent me via PM but it does not work on the one you attached here and I have no idea why. Also note this is specifically for Opus files despite having the same header format as Ogg, if you guys want Oggs supported you'll have to throw a few my way for testing.

This one also no longer has auto-download enabled by default, that's what was causing your setting issue.
« Last Edit: 10 Feb '22 - 10:10 by Keltic Danor »