Help with script.favourites

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
VMCosco Offline
Junior Member
Posts: 48
Joined: Feb 2012
Reputation: 0
Post: #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?
find quote
VMCosco Offline
Junior Member
Posts: 48
Joined: Feb 2012
Reputation: 0
Post: #2
Disregard this post...

I found a much better way to accomplish what I was looking to do.
find quote
wilson.joe Offline
Fan
Posts: 449
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #3
Out of curiousity what did you end up doing to fix the situation?

(2012-02-24 19:12)VMCosco Wrote:  Disregard this post...

I found a much better way to accomplish what I was looking to do.
find quote
VMCosco Offline
Junior Member
Posts: 48
Joined: Feb 2012
Reputation: 0
Post: #4
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(&quot;lastfm://user/USERNAME/personal&quot;)</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
Attached File(s) Thumbnail(s)
   
(This post was last modified: 2012-03-13 12:58 by VMCosco.)
find quote
wilson.joe Offline
Fan
Posts: 449
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #5
adding last.fm sounds good , will i need a plugin?
(This post was last modified: 2012-03-13 12:26 by wilson.joe.)
find quote
VMCosco Offline
Junior Member
Posts: 48
Joined: Feb 2012
Reputation: 0
Post: #6
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
(This post was last modified: 2012-03-13 12:59 by VMCosco.)
find quote