• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8
Is this advanced Home Screen View Mod function idea possible in XBMC Skinning-Engine?
#31
Work in Progress version of using script in MiniMeedia:

Image
Follow development of MediaStream, MiniMeedia and other skins on Twitter (@skunkm0nkee)
Reply
#32
skunkm0nkee Wrote:Work in Progress version of using script in MiniMeedia:

Kind of not looking very "Mini" anymore though Laugh
Reply
#33
Hehe, more of Mini that needs a diet Wink
Follow development of MediaStream, MiniMeedia and other skins on Twitter (@skunkm0nkee)
Reply
#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/
Reply
#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
Reply
#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.
Reply
#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
Reply
#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
Reply
#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
Reply
#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,
Reply
#41
minor update: there is music fanart. so i set that now.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#42
What all is required for this to work? And who is the author? For permission sake of course Smile
Reply
#43
the script? skin code? or idea?

the script is free to do whatever you want.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#44
Mostly I wanna add this to Xperience. wonder if it can be added to the actual engine? Be available for all?
Reply
#45
Hi, All.
I've almost got everything working perfectly...

Image

Image

I changed the layout slightly so that the latest movies/TV episodes only appear when you select Movies or TV from the menu. You can slect the files nicely with the mouse or arrow keys. There are settings to turn it on & off and the little box is animated too!

I also managed to learn enough SQL to alter the script so that it only lists unwatched files and it groups TV episodes by series. Big Grin

I have 2 small issues that I would love some help with.

1) I cannot for the life of me workout how to run the script using <onfocus>. No matter what I do, nothing happens. Ideally I would like to run it when the TV or Movies button is selected from the main menu. I used the following code...

Code:
<item id="2">
              <description>Movies Button</description>
              <label> $LOCALIZE[31111] </label>
              <onclick>XBMC.ActivateWindow(24,Movies)</onclick>
          <onfocus>XBMC.RunScript(special://xbmc/scripts/recentadded.py)</onfocus>
            </item>

...but with no joy. My script is in C:\Program Files (x86)\XBMC\scripts. What am I doing wrong!?!?!?!?

2) Also, a few items do not display their art properly. I can't work out why - it seems to be quite a rare issue and I can't determine what is causing it. Any guesses?

If I can get that script running fixed then everything will be sorted to my satisfaction and I'll happily share my code with everyone!

Smile

Dan

PS XBMCG33K, the original concept was mine and the script that enabled it was Nuka1195's.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
Is this advanced Home Screen View Mod function idea possible in XBMC Skinning-Engine?1