• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 14
[RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners
#46
thanks charrua, most skinners have there own copy now, so i'll just leave your link here for them.

i've made other changes, i'm not sure anybody wants.

if a developer reads this. i notice calling executehttpapi() from a plugin, there is a 1.5 second delay. running the same call from scripts window take .02 seconds. 2/100ths. i can supply a test script if you want.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#47
Nuka1195 Wrote:thanks charrua, most skinners have there own copy now, so i'll just leave your link here for them.

Thank you Nuka, you did all the hard work. I've just made a minor change.
I took the liberty to place the download link in my previous post, because I was asked to by one of the skinners, but if you prefer just replace it with your own.
Reply
#48
Does latestEpisode.1.Fanart work for anyone?
Reply
#49
Nuka1195 Wrote:if a developer reads this. i notice calling executehttpapi() from a plugin, there is a 1.5 second delay. running the same call from scripts window take .02 seconds. 2/100ths. i can supply a test script if you want.

Nuka1195, have you found anything about this delay problem? I found the RecentlyAdded script is very slow on recent svn builds (before the addon merge) and I can see slowly updating movies and tvshows on the home screen Sad

Also, I'm sure others have found out, the script does not work in current svn as xbmc complains of it not being a addon and not finding it....
Reply
#50
I have one profile for me and one for my kids. whenever i update the library, the recentlyadded script adds my kids movies too.

going into recentlyadded through movies>recently added is fine. Its only the script on the homepage.

using r28256 on xbmc live
Reply
#51
charrua Wrote:As I'd posted before the forum db corruption, the view tvshowview doesn't exist in the db anymore since svn r28114.
You should update the queries in RecentlyAdded.py that use that view.

If anybody is interested, I already modified the script not to use tvshowview.
Here is the link to download the updated version:
RecentlyAdded.py

Hey, I tried the one you linked to with XBMC SVN 30442. It doesn't seem to work. I get the following error:

Code:
13:26:53 T:4408 M:289116160    INFO: -->Python script returned the following error<--
13:26:53 T:4408 M:289112064   ERROR: Error Type: exceptions.ValueError
13:26:53 T:4408 M:289112064   ERROR: Error Contents: invalid literal for int():
13:26:53 T:4408 M:289054720   ERROR: Traceback (most recent call last):
                                              File "C:\Users\John Tilly\AppData\Roaming\XBMC\addons\skin.aeon65\extras\RecentlyAdded.py", line 260, in ?
                                                Main()
                                              File "C:\Users\John Tilly\AppData\Roaming\XBMC\addons\skin.aeon65\extras\RecentlyAdded.py", line 73, in __init__
                                                self._fetch_tvshow_info()
                                              File "C:\Users\John Tilly\AppData\Roaming\XBMC\addons\skin.aeon65\extras\RecentlyAdded.py", line 199, in _fetch_tvshow_info
                                                self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeNo" % ( count + 1, ), "s%02de%02d" % ( int( fields[ 13 ] ), int( fields[ 14 ] ), ) )
                                            ValueError: invalid literal for int():
13:26:53 T:4408 M:289054720    INFO: -->End of Python script error report<--
Reply
#52
mindweaver Wrote:Hey, I tried the one you linked to with XBMC SVN 30442. It doesn't seem to work.

latest version of the recentlyadded script is hosted here:

http://mirrors.xbmc.org/addons/dharma-pr...ntlyadded/
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#53
FYI everything hosted there is in serious flux and subject to change at any time. It's being used for internal testing.

TheUni
Reply
#54
ronie Wrote:latest version of the recentlyadded script is hosted here:

http://mirrors.xbmc.org/addons/dharma-pr...ntlyadded/

The latest version gives me this:

22:10:48 T:3792 M:402337792 WARNING: ADDON: cpluff: 'Could not return information about unknown plug-in special://addons/script.recentlyadded/default.py.'

Any ideas?
Reply
#55
mindweaver Wrote:The latest version gives me this:

22:10:48 T:3792 M:402337792 WARNING: ADDON: cpluff: 'Could not return information about unknown plug-in special://addons/script.recentlyadded/default.py.'

Any ideas?

yep, try the one from the T! svn:
http://code.google.com/p/transparency-xb...loads/list

that one is working fine on my end (requires xbmc r30369 or up).
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#56
(special://addons/script.recentlyadded/default.py,limit=8&albums=True&unplayed=True&totals=True)
22:36:19 T:5216 M:269271040 DEBUG: CApplication::ExecuteXBMCAction : To RunScript(special://addons/script.recentlyadded/default.py,limit=8&albums=True&unplayed=True&totals=True)
22:36:19 T:5216 M:269271040 WARNING: ADDON: cpluff: 'Could not return information about unknown plug-in special://addons/script.recentlyadded/default.py.'
22:36:19 T:5216 M:269271040 ERROR: Python script "" does not exist


same error Sad how do you call it?

Code:
<onfocus>RunScript(special://addons/script.recentlyadded/default.py,limit=5&amp;albums=True&amp;unplayed=True&amp;totals=True)</onfocus>

is that incorrect?


EDIT: Weird thing is, the skin installes fine.
Reply
#57
Is it in the folder you've specified?

I put mine in the skin folder and point to it.
Reply
#58
Hitcher Wrote:Is it in the folder you've specified?

I put mine in the skin folder and point to it.

Yes sir!

Code:
C:\Users\XXXX\AppData\Roaming\XBMC\addons\script.recentlyadded\default.py
Reply
#59
mindweaver Wrote:Yes sir!

Code:
C:\Users\XXXX\AppData\Roaming\XBMC\addons\script.recentlyadded\default.py

In my Windows7 setup, XBMC stuff isnt stored in the appdata like before it's stored in:

Quote:C:\Program Files\XBMC\addons
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#60
mindweaver Wrote:same error Sad how do you call it?

Code:
<onfocus>RunScript(special://addons/script.recentlyadded/default.py,limit=5&amp;albums=True&amp;unplayed=True&amp;totals=True)</onfocus>

is that incorrect?

nope, give this a shot:
Code:
<onfocus>RunScript(script.recentlyadded,limit=5&amp;albums=True&amp;unplayed=True&amp;totals=True)</onfocus>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 14

Logout Mark Read Team Forum Stats Members Help
[RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners0