Is this advanced Home Screen View Mod function idea possible in XBMC Skinning-Engine?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
skunkm0nkee Offline
Team Razorfish
Posts: 1,887
Joined: Aug 2007
Location: London
Post: #31
Work in Progress version of using script in MiniMeedia:

[Image: homelatestvideos.png]
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #32
skunkm0nkee Wrote:Work in Progress version of using script in MiniMeedia:

Kind of not looking very "Mini" anymore though Laugh

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
skunkm0nkee Offline
Team Razorfish
Posts: 1,887
Joined: Aug 2007
Location: London
Post: #33
Hehe, more of Mini that needs a diet Wink
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #34
here is the final version. native support would be better.

http://xbmc-addons.googlecode.com/svn/pa...lyAdded.py

you can call the script with params. all params are optional

eg
Code:
<onfocus>XBMC.RunScript(special://home/scripts/RecentlyAdded.py,limit=3&amp;albums=$INFO[Skin.HasSetting(showalbums)]&amp;partial=$INFO[Skin.HasSetting(showpartialviewed)])</onfocus>

limit = the number of items to set(default=5)

albums = True to display the most recent music albums(default = show most recent songs)

partial = show the videos that have not been finished, but have started

*albums, the path is still set to an individual song as i don't know how to make PlayMedia play an album

**partial, PlayMedia does not support resume, so the video will start from the beginning

skinners you can have settings for these as shown in my example. the setting must be True when selected.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
eseph Offline
Junior Member
Posts: 16
Joined: Jun 2009
Reputation: 0
Post: #35
SO I save RecentlyAdded.py in my scripts folder (C:/Users/Name/AppData/Roaming/XBMC/Scripts) and then where do I place the
<onfocus> code?
I tried in Home but that doesn't seem to work.

Sorry for the probably quite easy questions, but I'm trying to learn.
Thankyou
find quote
dt1000 Offline
Member
Posts: 71
Joined: May 2009
Reputation: 4
Post: #36
I couldn't work out where to place the code either, so I made an autoexec.ph file that runs the script on start up.

You can find out how to do that here.

Once I've got my MediaStream mod to function properly then I'll readdress the script to make it run more dynamically.
find quote
andyblac Offline
Posting Freak
Posts: 768
Joined: Feb 2009
Reputation: 0
Post: #37
Waffa Wrote:Like it, but there should be an option to show / hide the addition.

so do i, so i made it so. Smile
see my mod here
find quote
pilluli Offline
Fan
Posts: 317
Joined: Jul 2006
Reputation: 0
Post: #38
Sorry for the offtopic but Jezz_X, I saw in your screenshot a little arrow under the "watch your videos". Where does it come from? Eek

Regards,

Jezz_X Wrote:This works really well nuka I had a quick play and its easy to get this sort of thing
http://img261.imageshack.us/img261/129/s...ot050c.jpg
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #39
Its just a marker in my version of Mediastream that tells me / people that anything with that icon has a hidden sub menu off in that direction

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
pilluli Offline
Fan
Posts: 317
Joined: Jul 2006
Reputation: 0
Post: #40
Jezz_X Wrote:Its just a marker in my version of Mediastream that tells me / people that anything with that icon has a hidden sub menu off in that direction

Ah Nod, thanks for the reply, I was just thinking you were preparing something cool for a new version!! Big Grin Big Grin Big Grin

Regards,
find quote
Post Reply