Kodi Community Forum
Last.FM Data veiwing Music Script [Beta] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Last.FM Data veiwing Music Script [Beta] (/showthread.php?tid=60804)

Pages: 1 2 3


Last.FM Data veiwing Music Script [Beta] - Gudy - 2009-11-03

---November 12 2009
---First (and maybe only) beta released

Read more about it, and get it HERE

Long time reader, first time poster, so bare with me here. I thought I would share with you a project I am currently working on. I love the music service from my cable provider (Music Choice) and how it displays pictures of the band or singer and some facts about the group. So, I decided to write a script that did the same thing in XBMC:

Image
(click the picture for full size image)

I've got almost everything working (on windows 7 at least), just need to clean it up a bit, add some error handling in, and should have it ready by the end of the week. It pulls all the data from last.fm.

You can read more about it HERE, and if you have suggestions, let me know.

Thanks!

Gudy
--------------
Gudensoft.com


- joebrady - 2009-11-03

Looking forward to testing this out some. Thanks for sharing!


- spiff - 2009-11-03

uhrr, you know we have native support for this, right?


- Gudy - 2009-11-03

spiff Wrote:uhrr, you know we have native support for this, right?

Really? Where? I've been trying to get the library do something simular, but no such luck. Everything I have found uses the album as the lookup, and my music is so unorginized, XBMC has the wrong album most of the time. And even at that, I never saw any type of Biography information.

Help me find\use it, I would much rather it be integrated in instead of a script.

Thanks

Gudy


- spiff - 2009-11-03

you can do lookups for both album and artists. however sane tags is a prerequisite.

we have discographies, biographies, instruments, style, genr and quite a lot of stuff. however, allmusic is unfortunately (since its so damn slow) the richest backend as the last.fm api is severely restricted in what it offer. (and i won't scrape a site that offers an open api :/)

you can either enable automatic grabbing on info on update library in setting, or alternatively use the 'query info for all albums' / 'query info for all artists' buttons from context.


- joebrady - 2009-11-03

I was hoping to maybe get the Artist Bio on the Music Visualization screen, as we still don't have a MusicPlayer.Artist(Biography) to work with, only ListItem.Property(Biography)


- rwparris2 - 2009-11-03

joebrady Wrote:I was hoping to maybe get the Artist Bio on the Music Visualization screen...
Would be great. I'd much rather see artist bios than any of our current visualization.
</threadjack>


- spiff - 2009-11-03

why haven't you shouted that in my face before Smile that's is a big bad overlook on my behalf.


- joebrady - 2009-11-03

I thought I had mentioned it...http://forum.xbmc.org/showthread.php?tid=56192&highlight=extended+music+info

If you want to get crazy, these could be available as MusicPlayer. Info lables also....

ListItem.Property(Born) Date of Birth of the currently selected Artist
ListItem.Property(Died) Date of Death of the currently selected Artist
ListItem.Property(Formed) Formation date of the currently selected Band
ListItem.Property(Disbanded) Disbanding date of the currently selected Band
ListItem.Property(YearsActive) Years the currently selected artist has been active
ListItem.Property(Instruments) Instruments played by the currently selected artist

http://trac.xbmc.org/ticket/7220


- Gudy - 2009-11-03

spiff Wrote:you can do lookups for both album and artists. however sane tags is a prerequisite.

we have discographies, biographies, instruments, style, genr and quite a lot of stuff. however, allmusic is unfortunately (since its so damn slow) the richest backend as the last.fm api is severely restricted in what it offer. (and i won't scrape a site that offers an open api :/)

you can either enable automatic grabbing on info on update library in setting, or alternatively use the 'query info for all albums' / 'query info for all artists' buttons from context.

So is it possible to, while the music is playing, have this information displayed? Maybe I wasn't clear, the script i wrote, as the music is playing, will display this information about the currently playing song (and change as the music changes). In other words, you would run this instead of a visualization. Does this already exist?


- spiff - 2009-11-03

no. due to the reason joebrady mentioned further up. it's about 5 lines of code though, just an overlook on my behalf.


- ronie - 2009-11-03

spiff Wrote:no. due to the reason joebrady mentioned further up. it's about 5 lines of code though, just an overlook on my behalf.

since we're making requests, would it be just as easy to add MusicPlayer.Property(Fanart_Image) as well?

so we can display all this info against the background of an artist image instead of these hypnotic visualizations.


- spiff - 2009-11-03

yes, that will automagically be included as well.


- joebrady - 2009-11-03

Hooray for Spiff!


- paul - 2009-11-03

joebrady Wrote:Hooray for Spiff!

Ditto to thatSmile