Posts: 145
Joined: Feb 2012
Reputation:
1
This seems like it should be so simple, but I just can't figure it out. I want to be able to add my Last.fm favorite (already setup) as a submenu to Music. My understanding is that the script.favorites is supposed to make that possible. I do not have the option of selecting a favorites when I go to Settings>Skin>Add-on Shortcuts and click Add-on 1.
I thought maybe I had to install or enable it, but cannot find it anywhere. The script.favorite folder is present in my ...AppData\Roaming\XBMC\addons directory
Can someone offer some insight into how to make this happen?
Posts: 145
Joined: Feb 2012
Reputation:
1
Disregard this post...
I found a much better way to accomplish what I was looking to do.
Posts: 145
Joined: Feb 2012
Reputation:
1
2012-03-12, 19:46
(This post was last modified: 2012-03-13, 12:58 by VMCosco.)
I ended up editing an unused entry in the IncludesHomeMenuItems.xml for the skin.
I never use the "Songs" submenu because I have over 20,000 songs and it is too cumbersome.
Find the entry (mine was line 142): <include name="HomeSubMenuMusic"> There you can either add a new control or modify an existing one. I modified the "Songs" control.
Changed the label to <label>Last.fm</label>
Changed the action to <onclick>PlayMedia("lastfm://user/USERNAME/personal")</onclick>
This added a Music Submenu item that when I click, opens and starts playing my personal Last.fm station. Other Last.fm stations I still have to access through the library.
Rather than modifying an existing control you could also create a new one using the same format as the others. Just realize the numbers in <control type="image" id="#####"> need to be sequential
Screenshot attached
Posts: 448
Joined: Nov 2010
Reputation:
6
2012-03-13, 12:26
(This post was last modified: 2012-03-13, 12:26 by wilson.joe.)
adding last.fm sounds good , will i need a plugin?
Posts: 145
Joined: Feb 2012
Reputation:
1
2012-03-13, 12:57
(This post was last modified: 2012-03-13, 12:59 by VMCosco.)
No add on required. You have to enter your Last.fm login info into Settings > Music > Song Submission. You can then add Last.fm as a Music Source from Music > Files.
In the path I previously listed you obviously have to substitute your Last.fm user name for USERNAME