LastFM-stream on startup
#1
How can I play this lastFM stream (lastfm://qwyrp/artist/U2/similarartists) while starting up the xbox?
I believe something with autoexec.py
Reply
#2
Qwyrp Wrote:How can I play this lastFM stream (lastfm://qwyrp/artist/U2/similarartists) while starting up the xbox?
I believe something with autoexec.py
Well if you just make a playlist you can point to it in: settings->skin settings->general, "Enable Playlist at Startup". (At least using PMIII)
Reply
#3
Scratch that. Just settings->skin settings in PMIII.
Reply
#4
Yep, but this only works forplaylist i.e. PLS, M3U . I tried toe put lastfm://qwyrp/artist/U2/similarartists in a M3U file but it doesn't work. This stream works fine when I paste it from my (pc)browser to my XBOX
Reply
#5
Code:
import time
time.sleep(2)
import xbmc
xbmc.executebuiltin("XBMC.PlayMedia(lastfm://user/fuggin/neighbours)")

This is my autoexec.py

The 2 second delay is needed to allow xbmc time to login to lastfm at boot. Then my lastfm neighbours music starts playing.

From this you'll be able to figure out how to do what you want.
Kodi Leia v18.6 Android | Sony Bravia KD-65X9000E
Kodi Leia v18.6 X86-64 | ASRock ION 330-BD Intel Dual Core Atom 1.6GHz | 4GB RAM | HDMI Display | Analogue Audio | Flirc IR
Reply

Logout Mark Read Team Forum Stats Members Help
LastFM-stream on startup0