heads up: Video library reorganisation via XML

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wilson.joe Offline
Fan
Posts: 449
Joined: Nov 2010
Reputation: 6
Location: Salem, Or
Post: #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: widget]
find quote
nightvision Offline
Junior Member
Posts: 3
Joined: Jul 2012
Reputation: 0
Post: #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
find quote
Hitcher Online
Skilled Skinner
Posts: 10,734
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #33
Is there a way to have links on the home screen to open these nodes yet?

Thanks.
(This post was last modified: 2012-10-09 15:54 by Hitcher.)
find quote
MassIV Offline
Donor
Posts: 1,010
Joined: Mar 2012
Reputation: 34
Post: #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.
(This post was last modified: 2012-10-07 02:15 by MassIV.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #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: badge.gif]
find quote
Hitcher Online
Skilled Skinner
Posts: 10,734
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #36
Thanks.

Couldn't we use Skin.SetFile instead?

Code:
<onclick>Skin.SetFile(string,.xml,special://userdata/system/database/video_flat)</onclick>
(This post was last modified: 2012-10-07 10:33 by Hitcher.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #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: badge.gif]
find quote
MassIV Offline
Donor
Posts: 1,010
Joined: Mar 2012
Reputation: 34
Post: #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
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #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: badge.gif]
find quote
Hitcher Online
Skilled Skinner
Posts: 10,734
Joined: Aug 2007
Reputation: 97
Location: Eastleigh, UK
Post: #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
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #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: badge.gif]
find quote
Post Reply