Last.FM Data veiwing Music Script [Beta]

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-Kodi Member
Posts: 9,384
Joined: Jan 2009
Reputation: 165
Post: #31
azido Wrote:so they stay onscreen after stop? are they refreshed on the next track's start though?

yes & yes.

it's not a real issue in the visualisation screen as it will automatically exit when playback stops,
but if you're using those labels in 'now playing' (MyMusicPlaylist) they will stay on screen after the last song ends.
as a workaround you can add <visible>Player.HasAudio</visible> to those labels.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
azido Offline
Posting Freak
Posts: 1,880
Joined: Nov 2008
Reputation: 1
Location: Stuttgart, Germany
Post: #32
ronie Wrote:but if you're using those labels in 'now playing' (MyMusicPlaylist) they will stay on screen after the last song ends.
as a workaround you can add <visible>Player.HasAudio</visible> to those labels.

exactly the idea i would go for next.

cheers,azido :;):
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #33
first one i'll remedy (overlook thanks for the nudge), r24295. second one is sorta by design. it would be a bit involved to do so i think i'll just dump the burden on you skinners ;P
(This post was last modified: 2009-11-05 02:29 by spiff.)
find quote
Gudy Offline
Junior Member
Posts: 7
Joined: Nov 2009
Reputation: 0
Post: #34
The beta is now available for download. IT is beta, it might crash XBMC, but for me on Windows 7 with my music, it works pretty good.

Get it HERE

Thanks

Gudy
find quote
schmoko Offline
Junior Member
Posts: 49
Joined: Jul 2008
Reputation: 0
Post: #35
nice work. for a jukebox use case it is a much better idea than psychedelic visualizations, 1080p fanart, and animated cds...

it does seem like it is now feasible to re-implement most of the functionality using MusicVisualisation.Xml and native xbmc calls, but the amount of information you pull from last.fm (and multiple artist images) is what really makes the script.

smoother integration with existing skin ui and xbmc workflow is all that is really missing. might even overcome my hatred of python and white space sensitivity and drop it at some point.

(working perfectly on ubuntu 8.11, though the image scaling and font scaling is a little odd on 40" 1080p display)
(This post was last modified: 2009-11-13 09:38 by schmoko.)
find quote
Gudy Offline
Junior Member
Posts: 7
Joined: Nov 2009
Reputation: 0
Post: #36
schmoko Wrote:nice work. for a jukebox use case it is a much better idea than psychedelic visualizations, 1080p fanart, and animated cds...

it does seem like it is now feasible to re-implement most of the functionality using MusicVisualisation.Xml and native xbmc calls, but the amount of information you pull from last.fm (and multiple artist images) is what really makes the script.

smoother integration with existing skin ui and xbmc workflow is all that is really missing. might even overcome my hatred of python and white space sensitivity and drop it at some point.

(working perfectly on ubuntu 8.11, though the image scaling and font scaling is a little odd on 40" 1080p display)

Interesting, I have a 42in 1080p and it looks good. But like I said, the code is pretty rough. Personally, python and its tabs can kiss my .... But, it is cool that you can do things like this in XBMC, and it makes since for it to use python. Thanks for the feedback! I hope someone better with python than myself can improve on the design, or someone can integrate it with a skin to make it more fluid!

Gudy
find quote
curtis-r Offline
Donor
Posts: 462
Joined: Feb 2009
Reputation: 3
Location: San Francisco, USA
Post: #37
Is there an InfoLabel to display the artist thumb during music visualization (not the album)? I'm an xml novice, and nothing from the InfoLabels Wiki was helpful. I took a stab @ <info>MusicPlayer.Artist</info> but that didn't work.

Win7x64. Intel Core2Duo E8500 3.26GHz on Gigabyte GA-EP43-UD3L. 4GB RAM. Nvidia GT240 512MB PCIx16. Pioneer 60" Kuro plasma + Epson Pro Cinema 7500UB projector + 100" Da-Lite screen.
find quote
venealis Offline
Senior Member
Posts: 157
Joined: Jan 2009
Reputation: 0
Location: Austin, TX
Post: #38
how do you implement this into XBMC? thanks

V.

*Windows 7 Pro
*EVGA 512-P2-N635-AR GeForce 7950GT 512MB
*ASUS M2N32-WS Pro AM2 NVIDIA nForce 590 SLI ATX Server Motherboard
*AMD Athlon 64 X2 4600+ Windsor 2.4GHz Socket AM2 89W Dual-Core Processor
find quote
joebrady Offline
Team-Kodi Member
Posts: 1,650
Joined: Apr 2007
Reputation: 6
Location: Floyds Knobs, IN
Post: #39
download, put it in your scripts folder
find quote
venealis Offline
Senior Member
Posts: 157
Joined: Jan 2009
Reputation: 0
Location: Austin, TX
Post: #40
thanks for the help Joebrady,
i downloaded and placed in the script file like you said. Yet when i go to script it doesn't list, can't seem to get it to function. Is there something that needs to be registerd?

V.

*Windows 7 Pro
*EVGA 512-P2-N635-AR GeForce 7950GT 512MB
*ASUS M2N32-WS Pro AM2 NVIDIA nForce 590 SLI ATX Server Motherboard
*AMD Athlon 64 X2 4600+ Windsor 2.4GHz Socket AM2 89W Dual-Core Processor
find quote
joebrady Offline
Team-Kodi Member
Posts: 1,650
Joined: Apr 2007
Reputation: 6
Location: Floyds Knobs, IN
Post: #41
I guess I should clarify... Download. Extract all the files to their own folder. Put that folder in the scripts folder. Then go to Scripts in XBMC, find the folder and open it, run the default.py there.

I haven't actually ran this....
find quote
venealis Offline
Senior Member
Posts: 157
Joined: Jan 2009
Reputation: 0
Location: Austin, TX
Post: #42
thanks again for your help, like a nuckelhead i tried to put this in the XBMC main vs putting it under userdata. once i did that i was able to get the option in scripts. tried running controls don't seem to work though. i guess i miss read the thread but i was under the impression this was going to be like a screen saver or visualization vs having to be something that you would have to manually run. iether way i like where it is going hope this keeps on making progress.

thanks.

V.

*Windows 7 Pro
*EVGA 512-P2-N635-AR GeForce 7950GT 512MB
*ASUS M2N32-WS Pro AM2 NVIDIA nForce 590 SLI ATX Server Motherboard
*AMD Athlon 64 X2 4600+ Windsor 2.4GHz Socket AM2 89W Dual-Core Processor
find quote
Post Reply