As discussed previously -
Container.AddonName to return the current Addon's name as defined in the addon.xml.
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2011-03-08 00:06
Post: #11
![]() |
| find quote |
pecinko
Donor Joined: Dec 2008 Reputation: 26 Location: Prague / Belgrade |
2011-03-08 15:48
Post: #12
I would like to suggest considering different usage of label2, based on Button id="3" (sorting) in Movies.
- Sort by name - no label2 shown - Sort by runtime - label2 shows shorter time (as with listitem.duration) or at least time without seconds - Sort by times played - don't show zeroes |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2011-03-08 23:39
Post: #13
@pecinko: Good suggestions (though I don't see why sort by name should erase label2), please open a separate thread for this.
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. ![]() |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 108 |
2011-03-16 00:59
Post: #14
jmarshall Wrote:There is "files" I think already? i've only just got around to test it... Container.Content(Files) did indeed work on builds before the files_in_lib merge, but it's broken on anything after. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or 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. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2011-03-16 02:06
Post: #15
Where do you think "files" should apply?
ATM we set it to empty everywhere in the files node that does not have content set. I'm not sure what advantage setting it to "files" has, unless you're using it elsewhere as well? Cheers, Jonathan 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. ![]() |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 108 |
2011-03-16 17:38
Post: #16
jmarshall Wrote:Where do you think "files" should apply? i'm trying to create different views for the root of the videolibrary and file nodes with no content set. i don't think there's currently a way to do this, using Container.Content() as a visible condition. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or 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. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2011-03-16 22:43
Post: #17
Ah, so you want Container.Content(files) to apply to the "Files" listing, and everything below that that doesn't otherwise have content set?
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. ![]() |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 108 |
2011-03-16 23:13
Post: #18
jmarshall Wrote:Ah, so you want Container.Content(files) to apply to the "Files" listing, and everything below that that doesn't otherwise have content set? not exactly i think. imo Container.Content(Files) should only apply to sources with no content set. so it should not apply to root/overview listings. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or 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. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2011-03-16 23:46
Post: #19
Sure - root/overview isn't files lists. What I meant is if I have a particular share without any content set, if I go into that share and down 5 folders, it should still be Content(files), right?
Cheers, Jonathan 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. ![]() |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 108 |
2011-03-16 23:48
Post: #20
jmarshall Wrote:Sure - root/overview isn't files lists. What I meant is if I have a particular share without any content set, if I go into that share and down 5 folders, it should still be Content(files), right? correct ;-) Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or 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. |
| find quote |

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help