heads up: Video library reorganisation via XML
#31
Would be nice to be able to add to tags when looking through videos. a pop up of existing tags or create a new tag option.
In a world without walls and fences who needs windows and gates, open source, opens minds, so open yours today.

Image
Reply
#32
I keep going back th the settings never getting what I want.
This needs a a WYSIWYG editor.

anyways that's not a reality yet so what next ?

I need to control this code.

mmmm



Reply
#33
Is there a way to have links on the home screen to open these nodes yet?

Thanks.
Reply
#34
I used this link in main menu:
xbmc.activatewindow(Videos,library://video/tvshows/test.xml)

With this test node (~\XBMC\userdata\Database\video\tvshows\test.xml):
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<node order="11" type="filter" visible="Library.HasContent(TVShows)">
  <label>test</label>
  <icon>DefaultRecentlyAddedEpisodes.png</icon>
  <content>episodes</content>
  <path>videodb://2/2</path>
  <order direction="descending">dateadded</order>
  <limit>3</limit>
  <rule field="tvshow" operator="contains">dexter</rule>
</node>

Restart to add new.
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#35
You can hardcode them, but the problem is that the user can change them. I was hoping to get static lists filled from a folder, but didn't have enough time.

The only way to make it easy, might be to allow Skin.SetPath() to take a root path (rather than listing all the sources in a particular category).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#36
Thanks.

Couldn't we use Skin.SetFile instead?

Code:
<onclick>Skin.SetFile(string,.xml,special://userdata/system/database/video_flat)</onclick>
Reply
#37
Problem is that some of them are genuine folders.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#38
I'd rather wait for a pretty solution then, when time comes. They are only a click away from the library anyway...
Hoping that frees up time for posters vs banners Wink
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#39
@Hitcher: A win32 test build for skin.setpath(setting_name, path_to_browse) is available here:

http://mirrors.xbmc.org/test-builds/win3...y_path.exe
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#40
(2012-10-09, 01:33)jmarshall Wrote: @Hitcher: A win32 test build for skin.setpath(setting_name, path_to_browse) is available here:

http://mirrors.xbmc.org/test-builds/win3...y_path.exe

Works perfectly, thanks.

PHP Code:
<onclick>Skin.Setpath(Video_Node,library://video/)</onclick> 

PHP Code:
<onclick>ActivateWindow(Videos,$INFO[Skin.String(Video_Node)])</onclick
Reply
#41
Great - will do a PR and slot it in.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#42
Might be the wrong thread to ask this, if so apologies.

I've used the video node editor to create 2 new nodes and the relevant xmls exist in /library/video/movies but the submenu for movies has not changed. What I would like to do is a 2 new default options to the default movies submenu? Can some point me in the right direction please?

Mike.
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
#43
What do you mean with submenu exactly? (screenshots always welcome)
Perhaps you´re just on completely the wrong trail Wink
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#44
Hi Phil,

the sub menu for movies, shown here:

Image

It has as default items the following:

Title
Latest
Seach
Genres
Years
Directors
Actors
Update
Movie Sets
Cinema
Trailers

If possible I'd like to add 2 more additional default movie options. I know I can add a custom sub-menu and assign but that is user specific. I wish to have 2 additional "permanent" options?

Hope that makes a bit more sense?

Mike.
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
#45
(2015-06-10, 19:49)Mike_Doc Wrote: Hi Phil,

the sub menu for movies, shown here:

Image

It has as default items the following:

Title
Latest
Seach
Genres
Years
Directors
Actors
Update
Movie Sets
Cinema
Trailers

If possible I'd like to add 2 more additional default movie options. I know I can add a custom sub-menu and assign but that is user specific. I wish to have 2 additional "permanent" options?

Hope that makes a bit more sense?

Mike.

This is not connected to video library nodes. Either the submenu items are defined in skin code or they are managed by script.skinshortcuts. Depends on skin.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply

Logout Mark Read Team Forum Stats Members Help
heads up: Video library reorganisation via XML1