[RELEASE] RandomItems (Random Items) Script

  Thread Rating:
  • 2 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 9,094
Joined: Jan 2009
Reputation: 157
Post: #31
coincidentally i modded the script yesterday to include the alarm stuff...

get it here:
http://pastebin.ca/2017441

if you prefer a diff file instead, just let me know

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #32
ok, just give me the line you use to launch it Wink i'll take a look at that

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
ronie Offline
Team-XBMC Member
Posts: 9,094
Joined: Jan 2009
Reputation: 157
Post: #33
Code:
<onfocus>RunScript(script.randomitems,limit=5&amp;alarm=30)</onfocus>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #34
ronie Wrote:coincidentally i modded the script yesterday to include the alarm stuff...

get it here:
http://pastebin.ca/2017441

if you prefer a diff file instead, just let me know

ok! so if it's ok, just ask for update on addons list Wink

not necessary to do the work twice

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
ronie Offline
Team-XBMC Member
Posts: 9,094
Joined: Jan 2009
Reputation: 157
Post: #35
ppic Wrote:ok! so if it's ok, just ask for update on addons list Wink

Hitcher just took care of that. ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,626
Joined: Aug 2007
Reputation: 91
Location: Eastleigh, UK
Post: #36
I take it the default is OFF.
find quote
ronie Offline
Team-XBMC Member
Posts: 9,094
Joined: Jan 2009
Reputation: 157
Post: #37
Hitcher Wrote:I take it the default is OFF.

yes. :-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #38
I know Ronie and I have discussed this, but the pulling of fan art with tv episodes seems to work sporadically at best. Is anyone else seeing this issue? I was wondering if it might be possible to get the following with a random episode call:

Episode info
Episode thumb
Show poster
Show fan art

I don't think that altering the database call would be that tough to include that info - as a matter of fact wrote the SQL call last night - I'm just not familiar enough with how thumbnails and fan art and such are cached to make the necessary changes to the script.
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,626
Joined: Aug 2007
Reputation: 91
Location: Eastleigh, UK
Post: #39
Are you using Fanart.Image for episodes instead of Listitem.Property(Fanart_Image)?
find quote
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #40
Hitcher Wrote:Are you using Fanart.Image for episodes instead of Listitem.Property(Fanart_Image)?

PHP Code:
<texture background="true" diffuse="DiffuseLandscape.png">$INFO[Window(Home).Property(RandomMovie.1.Fanart)]</texture

I believe this is where he calls the image, but I'll have to check with the expert Tongue
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,626
Joined: Aug 2007
Reputation: 91
Location: Eastleigh, UK
Post: #41
I know we have to use Fanart.Image to display a TV show's fanart but I have no idea if this affects the way the script should get the fanart.
find quote
Jaypeg Offline
Member
Posts: 93
Joined: Mar 2010
Reputation: 0
Post: #42
I can't get fanart to work on episodes either. The image returned doesn't exist in my thumbnails folder. I'm using the same kind of accessing as blacklist showed. Just tried the Fanart.Image aswell
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,626
Joined: Aug 2007
Reputation: 91
Location: Eastleigh, UK
Post: #43
I suspect this line has got to be changed for episodes -

PHP Code:
self.WINDOW.setProperty"LatestEpisode.%d.Fanart" % ( count 1, ), "special://profile/Thumbnails/Video/%s/%s" % ( "Fanart"fanart_cache, ) ) 

but I have no idea how.
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #44
i don't understand what's the problem ?

how do you display the fanart in skin?

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #45
ppic Wrote:i don't understand what's the problem ?

how do you display the fanart in skin?

I'm seeing the same problem as jaypeg. The log shows its looking for a thumb file that does not exist. Im thinking it has something to do with the way its being hashed?
find quote
Post Reply