script favourites - new features

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
`Black Offline
Skilled Skinner
Posts: 2,004
Joined: Apr 2009
Reputation: 49
Location: Germany
Post: #1
I added a new feature to the favourites script so that it's now very easy to set a favourite as a string for use as a custom home item or something else.

If you run the script like this

Code:
RunScript(script.favourites,property=CustomFavourite1)

it will open a select dialog and if you choose a favourite, the script will set the following strings based on the provided property:

Code:
CustomFavourite1.Label
CustomFavourite1.Path
CustomFavourite1.Icon

I hope this will make things a lot easier for you. Smile

script-favourites is available on ronie's svn
and from the official repo.
http://mirrors.xbmc.org/addons/frodo/script.favourites/

[Image: xp1080.png]
(This post was last modified: 2013-03-27 16:52 by Martijn.)
find quote
Mudislander Online
Skilled Skinner
Posts: 1,155
Joined: Jun 2009
Reputation: 20
Post: #2
Thanks, I'll give it a whirl.

Noli illegitimi carborundum
find quote
Hitcher Online
Skilled Skinner
Posts: 9,930
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #3
Thanks.

[Image: sig_zps3af3b48e.jpg]
find quote
Big_Noid Offline
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #4
Can an option be added for playlist=play in a select dialog? We now run it per custom favorite, would be nice for users to choose thus instead of us.
find quote
Hitcher Online
Skilled Skinner
Posts: 9,930
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #5
If you're taking suggestions can an album be set to play as well?

Thanks.

[Image: sig_zps3af3b48e.jpg]
find quote
`Black Offline
Skilled Skinner
Posts: 2,004
Joined: Apr 2009
Reputation: 49
Location: Germany
Post: #6
If the selected favourite is a playlist, yes/no dialog pops up where you can choose.

@Hitcher
I'll add that.

[Image: xp1080.png]
find quote
Hitcher Online
Skilled Skinner
Posts: 9,930
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #7
Cheers.

[Image: sig_zps3af3b48e.jpg]
find quote
`Black Offline
Skilled Skinner
Posts: 2,004
Joined: Apr 2009
Reputation: 49
Location: Germany
Post: #8
I took a look into it and I think it's not possible because there are several edge cases where you don't know if it's an album or not.

Edit: Only thing I could do is to ask for play every time if it's music. But there will be an error if you try to play an artist or year favourite.

[Image: xp1080.png]
(This post was last modified: 2011-11-15 17:02 by `Black.)
find quote
pecinko Offline
Member+
Posts: 3,015
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #9
`Black Wrote:I took a look into it and I think it's not possible because there are several edge cases where you don't know if it's an album or not.

So it will remain as skinner definable feature?

My skins:

Quartz
Amber
find quote
Hitcher Online
Skilled Skinner
Posts: 9,930
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #10
No worries, thanks for looking.

[Image: sig_zps3af3b48e.jpg]
find quote
Post Reply