How to make smart playlist to "Eden" home menu item
#1
Hi all

I searched but always disscussion is the version before Eden, another method is
"System (Settings) -> Skin -> Add-on shortcuts", but there i cannot found favorite path in "Eden"Huh?

now i can make smart playlist to favorites, but i cannot make favorites to home main menu
or home video's sub menu, could someone tell me how to do ? thanks.
Reply
#2
My MOD is capable of doing this...
Or take a look of how to code this in default confluence:
https://github.com/mad-max/skin.moddedco...2cc76b4254

mm
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#3
mad-max Wrote:My MOD is capable of doing this...
Or take a look of how to code this in default confluence:
https://github.com/mad-max/skin.moddedco...2cc76b4254

mm


Sorry, which one mod file i need to download?
GenreFanart for Confluence-MOD ?
GenreCover for Confluence-MOD ?

and you mean if i use your mod version,i can go to
System (Settings) -> Skin -> Add-on shortcuts
then select "favorite" or "smart playlist" to add the new item ?
Reply
#4
You need to install the skin from the xbmcnerds-repository:
http://repository-xbmcnerds.googlecode.c...en-pre.zip

If skin is activated then--->system--->skin--->mod-settings--->home--->custom home playlist...

Please consider that the mod is eden-only...

mm
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#5
Thank you^^ i have been successful with your confluence-mod, but i have 7~9 smart playlist, that'll be not convenient selection because those items are too big even though your limitation is 2, do you know how to do to make these smart playlists into film's sub-menu? not in home menu? thank you.
Reply
#6
You need to edit the IncludesHomeMenuItems.xml...

There in you have the sub for movies:

Code:
<include name="HomeSubMenuMovies">

then you have to create a button for the entry:

Code:
<control type="button" id="90167">
    <include>ButtonHomeSubCommonValues</include>
    <label>Name of your button here</label>
    <onclick>XBMC.ActivateWindow(10025,special://skin/playlists/Playlist.xsp,return)</onclick>
</control>

This requires that the playlist is in the skin folder "playlists"...
But you also can change the path to whatever you like...

cheers,
mad-max
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#7
mad-max Wrote:You need to edit the IncludesHomeMenuItems.xml...

There in you have the sub for movies:

Code:
<include name="HomeSubMenuMovies">

then you have to create a button for the entry:

Code:
<control type="button" id="90167">
    <include>ButtonHomeSubCommonValues</include>
    <label>Name of your button here</label>
    <onclick>XBMC.ActivateWindow(10025,special://skin/playlists/Playlist.xsp,return)</onclick>
</control>

This requires that the playlist is in the skin folder "playlists"...
But you also can change the path to whatever you like...

cheers,
mad-max

Oh ! mad-max , you're really great!!
i'll try it later, but i'm afraid i'll be fail because i'm newer for edit code...
Why don't you make it to be a function into your confluence-mod?
i think this should be more useful for most people...(i think), but anyway, thank you^^.
Reply
#8
one more question, is the number important for XBMC code?
i see two numbers here..
id="90167"
10025,special...
Does the number must be what you write?
Reply
#9
adsi Wrote:Oh ! mad-max , you're really great!!
i'll try it later, but i'm afraid i'll be fail because i'm newer for edit code...
Why don't you make it to be a function into your confluence-mod?
i think this should be more useful for most people...(i think), but anyway, thank you^^.

Having many of these custom items in home and submenu slows down the skin...
It should be really fast as it is designed to run on low-spec machines as atv2 or acer revo and so on...

adsi Wrote:one more question, is the number important for XBMC code?
i see two numbers here..
id="90167"
10025,special...
Does the number must be what you write?

The button id must be ongoing in order to identify the button...first button is as described 90167...the second must be 90168, the third 90169 and so on...

The number 10025 must be always the same...it's the id for the view in video-database and not file-view...

cheers,
mad-max
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#10
Dear mad-max

I cannot found the current code to edit the <onclick>...
my playlists are in
Quote: C:\Users\user\AppData\Roaming\XBMC\userdata\playlists\video\
then, i edit it as below, but fail,
Quote:<onclick>XBMC.ActivateWindow(10025,special:C:\Users\user\AppData\Roaming\XBMC\userdata\playlists\video\playlist.xsp,return)</onclick>

Could you teach me what's the current code for this? Thank you.
Reply
#11
How would one create a menu called say, Kids and under that create 2
submenu enteries for playlists say Movies, and TV that would be playlists. TIA

Reply
#12
(2012-03-13, 13:07)wilson.joe Wrote: How would one create a menu called say, Kids and under that create 2
submenu enteries for playlists say Movies, and TV that would be playlists. TIA

I posted a link to my commit on github...this shows you how to handle it...
You tried that?
If you have a specific problem I can see how I can help you...
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#13
Go get married and enjoy some time together, it can wait. thanks for
the great mod by the way. Smile

(2012-03-13, 14:13)mad-max Wrote: I posted a link to my commit on github...this shows you how to handle it...
You tried that?
If you have a specific problem I can see how I can help you...

Reply
#14
Hey madmax

Thanks for your efforts on this.
I'm having a similar problem to the other poster, where nothing happens where I can create the button,
but it looks like an empty playlist is launched. I suspect this is a path issue.

When I create a new playlist, it is created in:
C:\Program Files\XBMC\portable_data\userdata\playlists\video

I tried adding \video to the special path you mentioned, but no luck.
Could you tell me how to translate this path I have into the "special" path format you demonstrated?

EDIT:
Today seems to be my day for answering my own questions. This is how I solved my problem (for the benefit of previous poster and anyone else who comes along)

From XBMC confluence main, I went to System, then arrow down to 'file manager', then browse the file manager until I can see my playlists.
There were in "special://profile/playlists/video"

I don't suppose you would consider posting some directions to get the same thing on the main menu as opposed to sub menu mad max?
I know you posted your git but I couldn't make head or tails of it :/
thanks


thanks

Reply
#15
There is a wiki topic that will help with this.

If for example you want to open a browse a videos playlist you would use
Code:
ActivateWindow(Videos,special://videoplaylists/YourPlaylistName.xsp,return)
Reply

Logout Mark Read Team Forum Stats Members Help
How to make smart playlist to "Eden" home menu item1