•   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 49
  •   
[FRODO release] Skin Widgets
#16
(2012-10-10, 12:39)`Black Wrote: I want a setting where I can disable randomize time... updating on database update etc. is fine. Smile

will do
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#17
Thanks. The default slider value for randomize time needs to be fixed, too... it's 1 by default and if you change it, you can only set to 10 or more minutes. I guess it should be 10 by default?
Image
Reply
#18
(2012-10-10, 11:57)phil65 Wrote: will it be possible to manually trigger randomizing of items? thx.

I just run again it when a random item is selected so it gets reset.

PHP Code:
<onclick>PlayMedia($ESCINFO[Window.Property(RandomMovie.1.File)])</onclick>
<
onclick>RunScript(service.skin.widgets)</onclick

Would be nice if we could run it to only update random items though.

ie

PHP Code:
RunScript(service.skin.widgets,random=true&amp;recommended=false
Reply
#19
(2012-10-10, 12:46)`Black Wrote: Thanks. The default slider value for randomize time needs to be fixed, too... it's 1 by default and if you change it, you can only set to 10 or more minutes. I guess it should be 10 by default?

yep. I left over from testing
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#20
Version 0.0.2
- Add option for randomitems to use the timer or on database update
- Fixed some other things
Downloads

Note:
I have an idea on how to handle the randomitems trigger from the skin but need to try that out so it will take some time to get it right.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#21
Hi Martijn,

Just tested it, but can't get to show the widgets, either for movies or episodes.

I'm sure i'm missing something ...

Changed property for Movies and Episodes like this:

Example

<thumb>$INFO[Window.Property(RecommendedMovie.1.Thumb)]</thumb>

<icon>$INFO[Window.Property(RecommendedEpisode.1.TvshowThumb)]</icon>

Running latest nightly with Version 0.0.2

Thanx
Reply
#22
uhm. all i can say it worked for me.
if i print Debug Log all the vallues are set like they should

since i'm not too familiar with skin code maybe some one else can jump in?
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#23
Try -

PHP Code:
<thumb>$INFO[Window(home).Property(RecommendedMovie.1.Thumb)]</thumb>

<
icon>$INFO[Window(home).Property(RecommendedEpisode.1.TvshowThumb)]</icon
Reply
#24
Thanx,
I think see the bug.

there must be window(home).property

Will try and report.


Ha, thanx hitcher Smile
Reply
#25
(2012-10-10, 20:28)butchabay Wrote: Thanx,
I think see the bug.

there must be window(home).property

Will try and report.


Ha, thanx hitcher Smile

k that seems to have vanished from the wiki while adding new stuff. will put it back
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#26
(2012-10-10, 20:31)Martijn Wrote:
(2012-10-10, 20:28)butchabay Wrote: Thanx,
I think see the bug.

there must be window(home).property

Will try and report.


Ha, thanx hitcher Smile

k that seems to have vanished from the wiki while adding new stuff. will put it back

No need because the wiki is ok Smile My fault ... sorry ... was just too excited to test it out Wink

Wiki says: Code example to play album:

<onclick>$INFO[Window(Home).Property(RecommendedAlbum.%d.Play)]</onclick>

BTW: Everything's working fine!

Fantastic Work as usual mate ...
Reply
#27
shouldn´t window.property() return the properties of the actual window? (so when used in main menu it should return basically window(home).property?)

EDIT: wiki sais:

Window([window]).Property(key) Window property. (key can be any value, optional window can be id or name)

so which properties are returned when no patameter is used?
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#28
Window.property works just fine if it's used in the home window. In other windows you have to use window(home).property.
Image
Reply
#29
(2012-10-10, 23:19)`Black Wrote: Window.property works just fine if it's used in the home window. In other windows you have to use window(home).property.

yes, that´s what i thaught. i assume that butchabay used it in home window (that´s where widgets are supposed to be placed) so i wondered why it didn´t work for him.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#30
Yep ofcourse you're right ... forgot to mention that the problem wasn't window(home).property but:

<visible>!IsEmpty(Window.Property(RecommendedMovie.1.Label))</visible>

as when i made the changes i removed this visible condition too.

Sorry again for the confusion dudes Smile

Cheers and thanx again.
Reply
  •   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 49
  •   
 
Thread Rating:
  • 8 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
[FRODO release] Skin Widgets58